#include <Mixer.h>

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 &litude) | |
| 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! | |
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
| Panner::Panner | ( | ) |
| Panner::Panner | ( | UnitGenerator & | input | ) |
given an input stream
References csl::Controllable::addInput(), CSL_POSITION, and csl::UnitGenerator::mNumChannels.
| 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 | |||
| ) |
given an amplitude stream
References csl::Controllable::addInput(), CSL_POSITION, and csl::UnitGenerator::mNumChannels.
| Panner::Panner | ( | UnitGenerator & | input, | |
| UnitGenerator & | position, | |||
| float | amplitude | |||
| ) |
given an amplitude value
References csl::Controllable::addInput(), CSL_POSITION, and csl::UnitGenerator::mNumChannels.
| 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 | ) |
| void Panner::setPosition | ( | UnitGenerator & | pan | ) |
Operations.
set the position to a UGen
References csl::Controllable::addInput(), and CSL_POSITION.
Referenced by csl::BasicFMInstrument::parseArgs(), csl::SndFileInstrument::playNote(), csl::BasicFMInstrument::playNote(), csl::AdditiveInstrument::playNote(), csl::SndFileInstrument::playOSC(), csl::AdditiveInstrument::playOSC(), csl::SndFileInstrument::setParameter(), csl::BasicFMInstrument::setParameter(), csl::AdditiveInstrument::setParameter(), and testStereoverb().
| void Panner::setPosition | ( | float | pan | ) |
| virtual unsigned csl::Panner::numChannels | ( | ) | const [inline, virtual] |
| void Panner::nextBuffer | ( | Buffer & | outputBuffer | ) | throw (CException) [virtual] |
I'm stereo!
Reimplemented from csl::UnitGenerator.
Reimplemented in csl::NtoMPanner.
References CSL_POSITION, DECLARE_SCALABLE_CONTROLS, csl::kLogError, LOAD_SCALABLE_CONTROLS, csl::logMsg(), csl::Port::nextValue(), csl::Controllable::pullInput(), csl::Effect::pullInput(), and UPDATE_SCALABLE_CONTROLS.
1.5.8