|
|
The MixerChannel holds all Mixer values for a particular MIDI channel. It holds information on the current state of the following MIDI parameters:
See also: Mixer, MixerChannel
| unsigned int volume ()
| volume |
[const]
Returns this channel's volume value.
Returns: Channel's volume value
See also: setVolume
| void setVolume (unsigned int v, bool send = true)
| setVolume |
Sets the channel's volume value.
Parameters:
| v | New volume value |
| send | Whether to send a MIDI command for this setting |
See also: volume
| unsigned int pan ()
| pan |
[const]
Returns this channel's pan value.
Returns: Channel's pan value
See also: setPan
| void setPan (unsigned int p, bool send = true)
| setPan |
Sets the channel's pan value.
Parameters:
| p | New pan value |
| send | Whether to send a MIDI command for this setting |
See also: pan
| unsigned int chorus ()
| chorus |
[const]
Returns this channel's chorus value.
Returns: Channel's chorus value
See also: setChorus
| void setChorus (unsigned int c, bool send = true)
| setChorus |
Sets the channel's chorus value.
Parameters:
| c | New chorus value |
| send | Whether to send a MIDI command for this setting |
See also: chorus
| unsigned int reverb ()
| reverb |
[const]
Returns this channel's reverb value.
Returns: Channel's reverb value
See also: setReverb
| void setReverb (unsigned int r, bool send = true)
| setReverb |
Sets the channel's reverb value.
Parameters:
| r | New reverb value |
| send | Whether to send a MIDI command for this setting |
See also: reverb
| unsigned int program ()
| program |
[const]
Returns this channel's program value.
Returns: Channel's program value
See also: setProgram
| void setProgram (unsigned int p, bool send = true)
| setProgram |
Sets the channel's program value.
Parameters:
| p | New program value |
| send | Whether to send a MIDI command for this setting |
See also: program
| unsigned int bankLSB ()
| bankLSB |
[const]
Returns this channel's bank LSB value.
Returns: Channel's bank select LSB value
See also: setBankLSB
| void setBankLSB (unsigned int b, bool send = true)
| setBankLSB |
Sets the channel's blank LSB value.
Parameters:
| b | New bank select LSB value |
| send | Whether to send a MIDI command for this setting |
See also: bankLSB
| unsigned int bankMSB ()
| bankMSB |
[const]
Returns this channel's bank MSB value.
Returns: Channel's bank select MSB value
See also: setBankMSB
| void setBankMSB (unsigned int b, bool send = true)
| setBankMSB |
Sets the channel's bank MSB value.
Parameters:
| b | New bank select MSB value |
| send | Whether to send a MIDI command for this setting |
See also: bankMSB
| void command (MidiCommand mc)
| command |
Process a MidiCommand for this MixerChannel.
This will be called by the MixerPort class if the MixerPort is given a MidiCommand to process. (Indeed, this will indirectly be called by sending an event to the top-level Mixer object).
Parameters:
| mc | MidiCommand to process |
| friend class MixerPort | MixerPort |