Re: [hatari-devel] MIDI support for Windows & OSX (with PortMidi)

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


just to confirm, i tried it on another macbook (also 10.12.6) and without the manual install of port midi it does not work. (i can not choose my interface from the menu)

On 3 Oct 2017, at 14:03, Simon Iten <itensimon@xxxxxxxxx> wrote:

when i tried without installing portmidi, the new midi device selector popped up, but i could not select my interface. after i installed portmidi and rebooted, the device (fastlane-usb by motu) showed up.

so it seems the dynamic library fails to load here.


On 3 Oct 2017, at 13:51, Troed Sångberg <troed@xxxxxxxxxxx> wrote:

Thanks for testing! But .. did you need to install portmidi as well? What happened if you didn't?

(My build includes the portmidi dynamic library)

regards,
Troed


Sent from ProtonMail mobile



-------- Original Message --------
On Oct 3, 2017, 13:47, Simon Iten < itensimon@xxxxxxxxx> wrote:

hey,

home early :-)

it works here after an install of portmidi on 10.12.6. at first glance seems much more stable with sysex data then my hatari build on linux with the same interface. horray!! this is great. will have to test further...

thanks

simon

On 2 Oct 2017, at 15:14, Troed Sångberg <troed@xxxxxxxxxxx> wrote:

patch applied and built for macOS: https://troed.ddns.net/f/54ddaa46c16b4c47b878/

However, I have not followed the instructions at all ... :P I installed portmidi using Macports to get a universal dylib, like I do with all other non-standard libraries. CoreAudio and CoreMIDI are osx default frameworks so those should exist on end user systems and thus I have not added them to the Hatari binary either.

I have no MIDI equipment to test with myself. If there's a Mac user on the list who has, please try to above binary and let me know what happens.

(Since I didn't do this in a separate build environment my nightly builds will from tonight also get this functionality)

regards,
Troed



-------- Original Message --------
Subject: [hatari-devel] MIDI support for Windows & OSX (with PortMidi)
Local Time: October 1, 2017 11:57 PM
UTC Time: October 1, 2017 9:57 PM

Hi,

I got from Jari Kleimola code for adding portmidi library support for
Hatari, which means getting Hatari MIDI working also on OSX and Windows
in addition to Linux.

Attached is patch from him with few bug fixes & CMake stuff from me
(those were needed to make it work also on Linux, so that I could test it).


I would appreciate if somebody with a MIDI device or SW synthetizer
using Windows and/or OSX could test whether it makes MIDI work on their
setup.


Attached are also Jari"s instructions on getting portmidi building on
OSX (he didn"t use CMake for building, but XCode).


- Eero

PS. Jari has also some questions about jitter he"s seeing in MIDI output:






Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/