addNoteOff method

void addNoteOff({
  1. required int noteNumber,
  2. required double beat,
})

Adds a Note Off event to this track. This does not sync the events to the backend.

Implementation

void addNoteOff({required int noteNumber, required double beat}) {
  final noteOffEvent = MidiEvent.ofNoteOff(
    beat: beat,
    noteNumber: noteNumber,
  );

  _addEvent(noteOffEvent);
}