6 #ifndef PDSP_MODULE_SVFILTER_H_INCLUDED 7 #define PDSP_MODULE_SVFILTER_H_INCLUDED 9 #include "../../DSP/pdspCore.h" 10 #include "../../DSP/filters/SVF2.h" 11 #include "../../DSP/utility/PitchToFreq.h" 102 static const float LowPass;;
103 static const float BandPass;
104 static const float HighPass;
105 static const float Notch;
110 [[deprecated(
"operator[] deprecated, use the ch( int index ) method instead")]]
113 [[deprecated(
"in_0() deprecated for this module, use the ch( 0 ) method instead")]]
116 [[deprecated(
"in_1() deprecated for this module, use the ch( 1 ) method instead")]]
119 [[deprecated(
"out_0() deprecated for this module, use the ch( 0 ) method instead")]]
122 [[deprecated(
"out_1() deprecated for this module, use the ch( 1 ) method instead")]]
125 [[deprecated(
"in_L() deprecated for this module, use the ch( 0 ) method instead")]]
128 [[deprecated(
"in_R() deprecated for this module, use the ch( 1 ) method instead")]]
131 [[deprecated(
"out_L() deprecated for this module, use the ch( 0 ) method instead")]]
134 [[deprecated(
"out_R() deprecated for this module, use the ch( 1 ) method instead")]]
148 std::vector<Submodule*> submodules;
155 #endif // PDSP_MODULE_SVFILTER_H_INCLUDED Multi-mode virtual analog state variable filter. Multichannel.
Definition: SVFilter.h:20
A Unit with no dsp inside, it let you switch between different connected inputs and process and pass ...
Definition: Switch.h:20
2pole Virtual Analog State Variable Filter
Definition: SVF2.h:20
void channels(size_t size)
Allocate a number of channels for processing different inputs. This is automatically called if you qu...
Definition: SVFilter.cpp:39
Patchable & out_signal()
Sets "signal" as selected output and returns this module ready to be patched. This is the default out...
Definition: SVFilter.cpp:160
Patchable & in_signal()
Sets "signal" as selected input and returns this module ready to be patched. This is the default inpu...
Definition: SVFilter.cpp:156
float meter_cutoff() const
Returns the cutoff pitch value.
Definition: SVFilter.cpp:180
Abstract class for implementing Units and Modules.
Definition: BasicNodes.h:82
Patchable & in_mode()
Sets "mode" as selected input and returns this module ready to be patched. This control switches the ...
Definition: SVFilter.cpp:176
Patchable & ch(size_t index)
Uses the selected channel as input/output for the patching operation.
Definition: SVFilter.cpp:60
Patchable & in_reso()
Sets "reso" as selected input and returns this module ready to be patched. This is the filter resonan...
Definition: SVFilter.cpp:172
Converts pitch values to frequency values.
Definition: PitchToFreq.h:19
float p2f(float pitch)
take a pitch value as input an returns a frequency value. Standard reference tuning is 440hz...
Definition: ofxPDSPFunctions.cpp:60
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
Patchable & in_pitch()
Sets "pitch" as selected input and returns this module ready to be patched. This is the filter cutoff...
Definition: SVFilter.cpp:164
Patchable & in_cutoff()
Sets "pitch" as selected input and returns this module ready to be patched. This is the filter cutoff...
Definition: SVFilter.cpp:168