Sequencer
object Sequencer
This object is an interface to the underlying MIDI sequencer. It is a thin Scala wrapper around the sequencer in the Java MIDI API.
Value members
Concrete methods
Frees up resources associated with the sequencer’s Java peer.
Frees up resources associated with the sequencer’s Java peer.
Starts playing the given musical sequence.
Starts playing the given musical sequence.
You must call open once before playing any music with this method,
or an IllegalStateException
will be thrown.
- Value parameters:
- initialDelay
an initial delay, in milliseconds, to allow for the synthesizer’s latency. Defaults to
Synthesizer.latency / 1000
.- music
the music to play