ReadonlychannelThe channel's number (0-based index).
ReadonlypatchThe currently selected MIDI patch of the channel.
OptionalpresetThe preset currently assigned to the channel. This property can be set to directly replace a preset on this channel.
If true, this skips sends as they all go through insertion. Set by SpessaSynthProcessor.
Indicates whether this channel is a drum channel.
An array of MIDI controllers for the channel. This array is used to store the state of various MIDI controllers such as volume, pan, modulation, etc.
The Channel MIDI Parameters of this channel. These are only editable via MIDI messages.
The Channel System Parameters of this channel. These are only editable via the API.
Use MIDIChannel.setSystemParameter to set them.
Current amount of voices that are playing on this channel.
Locks or unlocks a given MIDI controller. This prevents any changes to it until it's unlocked.
The MIDI controller number (0-127).
If the controller should be locked.
Locks or unlocks a given Channel MIDI Parameter. This prevents any changes to it until it's unlocked.
The Channel MIDI Parameter to lock.
If the parameter should be locked.
Toggles drums on the channel and keeps the current program number. Executes a program change so the change is immediately audible.
If the channel should be a drum channel or not.
Sets a system parameter of the channel.
The type of the system parameter to set.
The value to set for the system parameter.
Stops all notes on the channel.
If true, stops all notes immediately, otherwise applies release time.
This class represents a single MIDI channel within a SpessaSynthProcessor.
In terms of old sound modules, it can also be considered a "Part", since the receiving MIDI channel number can be changed.