Any cross platform MIDI modules yet?
BlitzMax Forums/BlitzMax Programming/Any cross platform MIDI modules yet?
| ||
Just wondering. Not much turned up in the forum search :) |
| ||
portMIDI? http://www.nigelibrown.pwp.blueyonder.co.uk/blitz/userlibs/index.htm Fmod is an easier solution, it's not free for shareware/commercial tho. |
| ||
Am about to give up on portmidi, same code won't work on MAC but does on WIN. Unable to pas pre-processor flags to the C compiler... Have had a look at RtMidi as well looks better written and more up-to-date but have same sort of issues as portmidi. portmidi has one glaring problem when using it with a USB midi device sending sysex seems to send more thanb just the data you tell it to. |
| ||
Fixed PortMIDI sysex problem: static PmError winmm_end_sysex(PmInternal *midi, PmTimestamp timestamp) { midiwinmm_type m = (midiwinmm_type) midi->descriptor; PmError rslt = pmNoError; assert(m); if (midi->latency == 0) { /* Not using the stream interface. The entire sysex message is in m->hdr, and we send it using midiOutLongMsg. */ // ******************** m->hdr->dwBytesRecorded = 0; m->hdr->dwBufferLength = m->sysex_byte_count; // ******************** |