changeVolumeNow method
Handles a Volume Change event on this track immediately. The event will not be added to this track's events.
Implementation
void changeVolumeNow({required double volume}) {
final nextBeat = sequence.getBeat();
final event = VolumeEvent(beat: nextBeat, volume: volume);
NativeBridge.handleEventsNow(
id, [event], Sequence.globalState.sampleRate!, sequence.tempo);
}