This event is called when the loop count changes (decreases).
The new loop count.
This event is called when a MIDI Meta event is encountered.
It may be useful for listening for events such as tempo change or lyric event.
The MIDI message of the meta event.
The index of the track where the meta event was encountered.
This event is called when a MIDI message is sent and externalMIDIPlayback is true.
The channel offset of this message, it is useful for multi-port MIDI files. For example, offset of 0 means the first 16 channels (0-15). Offset of 16 means the second port (channels 16-31). The second port could be routed to a second MIDI output or a second MIDI device.
The binary MIDI message data.
The value of SpessaSynthProcessor.currentTime when this event was sent. Use this for scheduling MIDI messages to your external MIDI device.
This event is called when the song changes.
The index of the new song in SpessaSynthSequencer.songs.
This event is called when the playback stops.
This event is called when the song list changes.
The new song list.
This event is called when SpessaSynthSequencer.currentTime is changed.
This event also gets called when a song gets changed.
The new time in seconds.
SequencerEvent represents an event that SpessaSynthSequencer emits.
Events can be received by specifying a SpessaSynthSequencer.onEventCall callback.