class MixerChannel

TSE3 MIDI port Mixing desk. More...

Full nameTSE3::MixerChannel
Definition#include <Mixer.h>
InheritsTSE3::Notifier [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members


Detailed Description

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:
vNew volume value
sendWhether 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:
pNew pan value
sendWhether 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:
cNew chorus value
sendWhether 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:
rNew reverb value
sendWhether 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:
pNew program value
sendWhether 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:
bNew bank select LSB value
sendWhether 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:
bNew bank select MSB value
sendWhether 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:
mcMidiCommand to process

friend class MixerPort

MixerPort