send method
Implementation
void send(Uint8List midiMessage) {
final buffer = calloc<Uint8>(midiMessage.lengthInBytes);
for (var i = 0; i < midiMessage.length; i++) {
buffer[i] = midiMessage[i];
}
_send(buffer, midiMessage.length);
}
void send(Uint8List midiMessage) {
final buffer = calloc<Uint8>(midiMessage.lengthInBytes);
for (var i = 0; i < midiMessage.length; i++) {
buffer[i] = midiMessage[i];
}
_send(buffer, midiMessage.length);
}