csl::Panner Class Reference

#include <Mixer.h>

Inheritance diagram for csl::Panner:

csl::Effect csl::Scalable csl::UnitGenerator csl::Controllable csl::Controllable csl::Model csl::NtoMPanner

List of all members.

Public Member Functions

 Panner ()
 Constructors / destructor.
 Panner (UnitGenerator &input)
 given an input stream
 Panner (UnitGenerator &input, UnitGenerator &position)
 given input and position stream
 Panner (UnitGenerator &input, float position)
 given an input and an amplitude const
 Panner (UnitGenerator &input, UnitGenerator &position, UnitGenerator &amplitude)
 given an amplitude stream
 Panner (UnitGenerator &input, UnitGenerator &position, float amplitude)
 given an amplitude value
 Panner (UnitGenerator &input, float position, float amplitude)
 given an amplitude value and pan value
 ~Panner ()
void setPosition (UnitGenerator &pan)
 Operations.
void setPosition (float pan)
 set the position to a float
virtual unsigned numChannels () const
virtual void nextBuffer (Buffer &outputBuffer) throw (CException)
 I'm stereo!


Detailed Description

The CSL mono-to-stereo L/R panner class

This Effect simply takes a monophonic input stream and a dynamic panner value and generates a stereo output stream where the panner can range from +- 1.0. You normally create this with both the input and the pan signal, as in Panner(UnitGenerator * in, UnitGenerator * pan) One can also give it an amplitude scaler or envelope


Constructor & Destructor Documentation

Panner::Panner (  ) 

Constructors / destructor.

empty constructor

References csl::UnitGenerator::mNumChannels.

Panner::Panner ( UnitGenerator input  ) 

Panner::Panner ( UnitGenerator input,
UnitGenerator position 
)

given input and position stream

References csl::Controllable::addInput(), CSL_POSITION, and csl::UnitGenerator::mNumChannels.

Panner::Panner ( UnitGenerator input,
float  position 
)

given an input and an amplitude const

References csl::Controllable::addInput(), CSL_POSITION, and csl::UnitGenerator::mNumChannels.

Panner::Panner ( UnitGenerator input,
UnitGenerator position,
UnitGenerator amplitude 
)

Panner::Panner ( UnitGenerator input,
UnitGenerator position,
float  amplitude 
)

Panner::Panner ( UnitGenerator input,
float  position,
float  amplitude 
)

given an amplitude value and pan value

References csl::Controllable::addInput(), CSL_POSITION, and csl::UnitGenerator::mNumChannels.

Panner::~Panner ( void   ) 


Member Function Documentation

void Panner::setPosition ( UnitGenerator pan  ) 

void Panner::setPosition ( float  pan  ) 

set the position to a float

References csl::Controllable::addInput(), and CSL_POSITION.

virtual unsigned csl::Panner::numChannels (  )  const [inline, virtual]

void Panner::nextBuffer ( Buffer outputBuffer  )  throw (CException) [virtual]


The documentation for this class was generated from the following files:

Generated on Thu Sep 17 23:14:17 2009 for CSL by  doxygen 1.5.8