passing a bytearray as a parameter of a method (CoreMIDI implementation)
问题 I'm trying to create a method that outputs MIDI information to a virtual client using CoreMIDI. The "action" method is MIDIReceived, which sends midi data in the form of MIDI packets to a virtual client. Below, I've created a method that accepts a MIDI byte as a parameter, which the method should add to a MIDI Packet List which is then sent to a virtual client with MIDIReceived. It doesn't work. I've tested this code without trying to use a custom method-- that is, manually inputing midi byte