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.
- Value parameters:
- number
the number of a MIDI instrument between 0 and 127, inclusive
- Companion:
- object