o1.sound.midi.Instrument
See theInstrument companion object
case class Instrument(number: Int) extends MusicElem
A MusicElem that sets the instrument for the upcoming notes. The 128 main instruments of the standard MIDI list are supported. The companion object of this class provides constants that match those instruments.
Parameters
- number
-
the number of a MIDI instrument between 0 and 127, inclusive
Attributes
- Companion
- object
- Graph
-
- Supertypes