6 #ifndef PDSP_MODULE_PANNER_H_INCLUDED 7 #define PDSP_MODULE_PANNER_H_INCLUDED 9 #include "../../DSP/pdspCore.h" 23 class PannerFormula :
public Formula{
25 float formula(
const float &x) noexcept
override;
26 void formulaAudioRate(
float* &output,
const float* &input,
const int &bufferSize) noexcept
override;
30 class SinFormula :
public Formula{
32 float formula(
const float &x) noexcept
override;
33 void formulaAudioRate(
float* &output,
const float* &input,
const int &bufferSize) noexcept
override;
37 class CosFormula :
public Formula{
39 float formula(
const float &x) noexcept
override;
40 void formulaAudioRate(
float* &output,
const float* &input,
const int &bufferSize) noexcept
override;
82 [[deprecated(
"out_0() deprecated, use out_L() instead")]]
85 [[deprecated(
"out_1() deprecated, use out_R() instead")]]
95 PannerFormula panning_step1;
97 CosFormula panning_step2L;
98 SinFormula panning_step2R;
110 #endif // PDSP_MODULE_PANNER_H_INCLUDED float meter_pan_input()
meter the pan value. This method is thread-safe.
Definition: Panner.cpp:60
Patchable & out_R()
Sets "R" as selected output and returns this module ready to be patched. This is the right output cha...
Definition: Panner.cpp:76
Abstract class for implementing Units and Modules.
Definition: BasicNodes.h:82
Patchable & in_signal()
Sets "signal" as selected input and returns this module ready to be patched. This is the default inpu...
Definition: Panner.cpp:64
Multiply in("signal") for in("mod").
Definition: Amp.h:23
Patchable & in_pan()
Sets "pan" as selected input and returns this module ready to be patched. This input is clamped to [-...
Definition: Panner.cpp:68
Thread-safe value control with smoothing.
Definition: SequencerBridge.h:11
A Unit with no dsp inside, it just pass it's input to the output. Patching float to this Unit is thre...
Definition: PatchNode.h:41
Pans a signal between L/R outputs.
Definition: Panner.h:18
Patchable & out_L()
Sets "L" as selected output and returns this module ready to be patched. This is the default output...
Definition: Panner.cpp:72