Equal-power 2-channel panner. More...
#include <Effects.h>
Public Member Functions | |
Pan (T pos=0) | |
Vec< 2, T > | operator() (T in) |
Filter sample (mono-to-stereo) | |
template<class V > | |
void | operator() (T in, V &out1, V &out2) |
Filter sample (mono-to-stereo) | |
template<class V > | |
void | operator() (T in1, T in2, V &out1, V &out2) |
Filter sample (stereo-to-stereo) | |
void | pos (T v) |
Set position. | |
void | posL (T v) |
Set position using a linear approximation. |
Equal-power 2-channel panner.
Pan | ( | T | pos = 0 | ) |
[in] | pos | Signed unit position in [-1, 1] |
void pos | ( | T | v | ) |
Set position.
Set position using a quadratic approximation.