midiCCNow method
Handles a MIDI CC event on this track immediately. The event will not be added to this track's events.
Implementation
void midiCCNow({required int ccNumber, required int ccValue}) {
final nextBeat = sequence.getBeat();
final event =
MidiEvent.cc(beat: nextBeat, ccNumber: ccNumber, ccValue: ccValue);
NativeBridge.handleEventsNow(
id, [event], Sequence.globalState.sampleRate!, sequence.tempo);
}