A processor to perform panning operations on stereo buffers. More...
#include <juce_Panner.h>

Public Types | |
| using | Rule = PannerRule |
Public Member Functions | |
| Panner () | |
| Constructor. | |
| void | prepare (const ProcessSpec &spec) |
| Initialises the processor. | |
| template<typename ProcessContext > | |
| void | process (const ProcessContext &context) noexcept |
| Processes the input and output samples supplied in the processing context. | |
| void | reset () |
| Resets the internal state variables of the processor. | |
| void | setPan (SampleType newPan) |
| Sets the current panning value, between -1 (full left) and 1 (full right). | |
| void | setRule (Rule newRule) |
| Sets the panning rule. | |
Private Member Functions | |
| void | update () |
Private Attributes | |
| Rule | currentRule = Rule::balanced |
| SmoothedValue< SampleType > | leftVolume |
| SampleType | pan = 0.0 |
| SmoothedValue< SampleType > | rightVolume |
| double | sampleRate = 44100.0 |
A processor to perform panning operations on stereo buffers.
@tags{DSP}
| using juce::dsp::Panner< SampleType >::Rule = PannerRule |
| juce::dsp::Panner< SampleType >::Panner | ( | ) |
Constructor.
| void juce::dsp::Panner< SampleType >::prepare | ( | const ProcessSpec & | spec | ) |
Initialises the processor.
|
inlinenoexcept |
Processes the input and output samples supplied in the processing context.
References jassert.
| void juce::dsp::Panner< SampleType >::reset | ( | ) |
Resets the internal state variables of the processor.
| void juce::dsp::Panner< SampleType >::setPan | ( | SampleType | newPan | ) |
Sets the current panning value, between -1 (full left) and 1 (full right).
| void juce::dsp::Panner< SampleType >::setRule | ( | Rule | newRule | ) |
Sets the panning rule.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |