AuxPort 0.2
Modules for Audio Software Development
|
#include <AuxPan.h>
Public Types | |
enum | Type { Linear , Sqrt , Sinusoidal , Constant } |
Type of Audio Panner. More... | |
Public Member Functions | |
Pan (const Type &type=Type::Linear) | |
Pan (const Pan &gain)=default | |
void | setPan (float pan, float panStart, float panEnd) |
Use the setPan function to update the panning Value, Specify the range of the parameter so that the internal dsp object can remap the value. | |
void | process (float &leftChannel, float &rightChannel) |
Use the function to apply Pan to a Stereo Frame. | |
Stereo Audio Panner.
2 channel Panning class with 4 algorithms
AuxPort::Audio::Pan::Pan | ( | const Type & | type = Type::Linear | ) |
Definition at line 42 of file AuxPan.cpp.
void AuxPort::Audio::Pan::process | ( | float & | leftChannel, |
float & | rightChannel ) |
Use the function to apply Pan to a Stereo Frame.
Definition at line 61 of file AuxPan.cpp.
void AuxPort::Audio::Pan::setPan | ( | float | pan, |
float | panStart, | ||
float | panEnd ) |
Use the setPan function to update the panning Value, Specify the range of the parameter so that the internal dsp object can remap the value.
Definition at line 47 of file AuxPan.cpp.