Yes, the other frameworks are compiled. But it is not possible to simply compile portmidi.framework from the command line. It was quite tricky to create a framework from it using Xcode and manual copying. Someone with better skills would need to modify the CMakeLists of portmidi to make it compile as framework.Am 21.12.2023 um 19:29 schrieb Bob Carpenter <hatari@xxxxxxxxxx>:
Andreas,
This build works and I see the portmidi framework is included. Unfortunately, I have no idea how to make Hatari use the built-in MIDI devices in Audio MIDI setup so I do not know if the MIDI functionality is working. I also do not know if Thomas will be willing to simply copy your framework into Hatari.app. I am not a GitHub or cirrus-ci guru so I cannot find the YML file to see if other frameworks are being compiled. I think they are being compiled rather than simply copied into Hatari.app.
Bob C On Dec 21, 2023, at 10:59 AM, Andreas Grabher <andreas_g86@xxxxxxxxxx> wrote:
Sorry, my fault! Forgot one of my building steps (annoyingly on my system it always links against the MacPorts version of zlib instead of the system version). This build is fixed: https://www.dropbox.com/scl/fi/iynlnlbbie2oryjzd5biz/hatari_test.zip?rlkey=t7ct3u7i6a2grk4vulp0m4ec7&dl=0Am 21.12.2023 um 18:07 schrieb Bob Carpenter <hatari@xxxxxxxxxx>:
Andreas,
Unfortunately, this version does not work on my Mac. I receive the following error: Library not loaded: /opt/local/lib/libz.1.dylib
I assume this is something you installed manually on your Mac.
Bob C On Dec 21, 2023, at 7:48 AM, Andreas Grabher <andreas_g86@xxxxxxxxxx> wrote:
I think I got it. I glued together a portmidi.framework. Please check, if this binary works and portmidi is usable: https://www.dropbox.com/scl/fi/4g4q9vmvy9php4dhk5azn/hatari_test.zip?rlkey=t0pajef7crg2gqbaru3wv4fzg&dl=0
In case it is, I can provide the pre-built framework. Am 21.12.2023 um 09:47 schrieb Andreas Grabher <andreas_g86@xxxxxxxxxx>:
Seems I am not able to create a working portmidi.framework. Does someone have the skills to build it? Am 21.12.2023 um 04:59 schrieb Andreas Grabher <andreas_g86@xxxxxxxxxx>:
I‘ll try to find/compile portmidi. But it might be a bit less clean compared to what we did with SDL2 and PNG.
Am 21.12.2023 um 01:34 schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
Hi,
On 20.12.2023 20.40, Bob Carpenter wrote: I completely understand. Your reply gives me the opportunity to thank you for the work you have done on this even though you are not a macOS user. Since I do not use MIDI, I cannot justify the time to spend on this. If there is not someone who has the interest in working on this, a simple note should suffice letting Mac users know that portmidi is not available in 2.5.0 when it is finally released.
Especially Falcon has some pretty nice non-MIDI music programs, so I can understand not being interested in MIDI music SW, although ST has a lot of interesting MIDI programs.
(E.g. MidiSquare is an interesting one even for non-musician, as one can get somewhat interesting music just by moving mouse around a grid.)
There are also quite a few games that work faster and with better sound when music goes to MIDI though (Bad Mood, ScummVM and graphical native ST adventure games...), and even few demos.
- Eero
Bob C
On Dec 20, 2023, at 11:20 AM, Thomas Huth <th.huth@xxxxxxxxx> wrote:
Am Wed, 20 Dec 2023 10:18:26 -0700 schrieb Bob Carpenter <hatari@xxxxxxxxxx>:
Since some Mac Hatari users try to use MIDI, it would be helpful if the portmidi framework were included.
If someone supplies me with the command line instructions how to create a framework / usable universal library for this, I can try to add it. But I don't have that much spare time to figure it out on my own.
As far as I know, the portaudio framework is only needed if you use the microphone in Falcon mode.
Portaudio is not needed anymore, microphone input is available via the SDL library since a while already.
Thomas
|