Generated with
This document is part of the ebook for O1 (aka CS-A1110 Programming 1), a course at Aalto University.
This document is part of the ebook for O1 (aka CS-A1110 Programming 1), a course at Aalto University.
o1.sound.midi.Sequencer
Attributes
-
Graph
-
-
Supertypes
-
-
Self type
-
Members list
Frees up resources associated with the sequencer’s Java peer.
Frees up resources associated with the sequencer’s Java peer.
Attributes
Prepares the sequencer for use. This method needs to be called before calling start for the first time.
Prepares the sequencer for use. This method needs to be called before calling start for the first time.
Attributes
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.
Parameters
-
initialDelay
-
an initial delay, in milliseconds, to allow for the synthesizer’s latency. Defaults to Synthesizer.latency / 1000
.
-
music
-
the music to play
Attributes
the underlying Java MIDI sequencer
the underlying Java MIDI sequencer
Attributes