MIDIEventListAdd example needed

It would be nice to have an example on what to pass to MIDIEventListAdd() as UInt32 * words if you have MIDI 1 type of messages (status, data1, data2), more so because MIDISend() crashes on iOS14.


Did you find an answer? I am having the same problem understanding MIDIEventListAdd

"noteSee https://bradleyross.github.io/ObjectiveC-Examples/Documentation/BRossTools/FunctionalArea.html

A major problem is that MIDISend is not for working with EventList items. You have to use MIDISendEventList. There are actually 3 different APIs listed under CoreMidi in the documentation. The first set does not use blocks for processing the MIDI messages. However, this results in a lot of timing problems. The second set uses blocks for processing the messages. The third set uses Universal MIDI Packets to handle both MIDI 1 and MIDI 2. The page above is my attempt to split the items into groups.

One thing is that the individual words in UMP apparently, according to one of the books, have the bytes in the words in native-endian order. It appears that the order of the bits is scrambled and it may be scrambled differently on different system.

MIDIEventListAdd example needed
 
 
Q