class MixerPort

TSE3 MIDI port Mixing desk. More...

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

Public Methods

Public Members


Detailed Description

The MixerPort hols all Mixer values for a particular MIDI port. It contains 16 MixerChannel objects which hold the information for each of the port's MIDI channels.

See also: Mixer, MixerChannel

MixerChannel * operator[] (size_t n)

operator[]

Returns this MixerPort's MixerChannel object for the specified channel.

The value returned for an index that is out of range is undefined. The size method describes the valid values.

Parameters:
nIndex

Returns: MixerChannel for this MIDI channel number

unsigned int  volume ()

volume

[const]

Returns this ports's master volume value.

Returns: Port's volume value

See also: setVolume

void  setVolume (unsigned int v, bool send = true)

setVolume

Sets the ports's master volume value.

Parameters:
vNew volume value
sendWhether to send a MIDI command for this setting

See also: volume

void  command (MidiCommand mc)

command

Process a MidiCommand.

This accepts the specified event (which is for this port) and sends it to the appropriate MixerChannel.

This will be called by the Mixer class if the Mixer is given a MidiCommand to process.

Parameters:
mcMidiCommand to process

friend class Mixer

Mixer

friend class MixerChannel

MixerChannel