Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

TSE3::Mixer Class Reference

TSE3 Mixing desk. More...

#include <Mixer.h>

Inheritance diagram for TSE3::Mixer:

Inheritance graph
[legend]
Collaboration diagram for TSE3::Mixer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Mixer (size_t noPorts, Transport *transport)
virtual ~Mixer ()
MixerPortoperator[] (size_t n)
void command (MidiCommand mc)
virtual void Notifier_Deleted (Transport *)
virtual void Transport_MidiIn (MidiCommand mc)
virtual void Transport_MidiOut (MidiCommand mc)

Friends

class MixerPort

Detailed Description

TSE3 Mixing desk.

The Mixer class acts in a similar way to a studio mixing desk - it represents the values of all the knobs and sliders you might find (in the MIDI realm). The values it stores include main volume, channel volume, channel pan, channel reverb, etc.

The values can be updated in real time according to MIDI input, MIDI output, or both. Values can be altered and sent back out through MIDI out.

It contains a number of MixerPort objects which hold the state for each MIDI port in the system.

Author:
Pete Goodliffe
Version:
3.00
See also:
MidiCommand

MixerPort


Constructor & Destructor Documentation

TSE3::Mixer::Mixer size_t  noPorts,
Transport transport
 

The Mixer object is created with all values at GM default.

Parameters:
noPorts The number of MIDI ports to hold mixing information for - you can get the appropriate value from the MidiScheduler object

virtual TSE3::Mixer::~Mixer  )  [virtual]
 


Member Function Documentation

MixerPort* TSE3::Mixer::operator[] size_t  n  )  [inline]
 

Returns this Mixer's MixerPort object for the specified port.

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

Parameters:
n Index
Returns:
MixerPort for this MIDI port number

void TSE3::Mixer::command MidiCommand  mc  ) 
 

Process a MidiCommand.

This accepts the specified command, and sends it to the appropriate MixerPort.

Parameters:
mc MidiCommand to process

virtual void TSE3::Mixer::Notifier_Deleted Transport  )  [virtual]
 

virtual void TSE3::Mixer::Transport_MidiIn MidiCommand  mc  )  [virtual]
 

Implements TSE3::TransportCallback.

virtual void TSE3::Mixer::Transport_MidiOut MidiCommand  mc  )  [virtual]
 

Implements TSE3::TransportCallback.


Friends And Related Function Documentation

friend class MixerPort [friend]
 


The documentation for this class was generated from the following file:
Generated on Wed May 25 14:46:41 2005 for TSE3 by doxygen 1.3.2