prepareNoteOn method

Uint8List prepareNoteOn(
  1. int note,
  2. int velocity
)

Prepares a Note On message (0x90) for this channel.

Implementation

Uint8List prepareNoteOn(int note, int velocity) {
  return Uint8List.fromList([0x90 | channel, note, velocity]);
}