The time delay before an event is called, in seconds. Set to 0 to disable it.
Adds a new event listener.
The event type to listen for.
The unique identifier for the event. It can be used to overwrite an existing callback with the same ID.
The callback for the event.
Removes an event listener.
The event type to remove a listener from.
The unique identifier for the event to remove.
The Sequencer supports event handling. For example, the lyrics window in the SpessaSynth web app uses it to show lyrics in real time.
It is accessible via the Sequencer.eventHandler property.
Event types can be found in LibSequencerEvent.