|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
A 6 stage phaser that modulates first order all-pass filters to create sweeping notches in the magnitude frequency response. More...
#include "juce_Phaser.h"
Public Member Functions | |
| Phaser () | |
| Constructor. | |
| void | setRate (SampleType newRateHz) |
| Sets the rate (in Hz) of the LFO modulating the phaser all-pass filters. | |
| void | setDepth (SampleType newDepth) |
| Sets the volume (between 0 and 1) of the LFO modulating the phaser all-pass filters. | |
| void | setCentreFrequency (SampleType newCentreHz) |
| Sets the centre frequency (in Hz) of the phaser all-pass filters modulation. | |
| void | setFeedback (SampleType newFeedback) |
| Sets the feedback volume (between -1 and 1) of the phaser. | |
| void | setMix (SampleType newMix) |
| Sets the amount of dry and wet signal in the output of the phaser (between 0 for full dry and 1 for full wet). | |
| void | prepare (const ProcessSpec &spec) |
| Initialises the processor. | |
| void | reset () |
| Resets the internal state variables of the processor. | |
| template<typename ProcessContext > | |
| void | process (const ProcessContext &context) noexcept |
| Processes the input and output samples supplied in the processing context. | |
A 6 stage phaser that modulates first order all-pass filters to create sweeping notches in the magnitude frequency response.
This audio effect can be controlled with standard phaser parameters: the speed and depth of the LFO controlling the frequency response, a mix control, a feedback control, and the centre frequency of the modulation.
@tags{DSP}
Definition at line 40 of file juce_Phaser.h.
| juce::dsp::Phaser< SampleType >::Phaser | ( | ) |
Constructor.
Definition at line 31 of file juce_Phaser.cpp.
| void juce::dsp::Phaser< SampleType >::prepare | ( | const ProcessSpec & | spec | ) |
Initialises the processor.
Definition at line 92 of file juce_Phaser.cpp.
|
noexcept |
Processes the input and output samples supplied in the processing context.
Definition at line 82 of file juce_Phaser.h.
| void juce::dsp::Phaser< SampleType >::reset | ( | ) |
Resets the internal state variables of the processor.
Definition at line 118 of file juce_Phaser.cpp.
| void juce::dsp::Phaser< SampleType >::setCentreFrequency | ( | SampleType | newCentreHz | ) |
Sets the centre frequency (in Hz) of the phaser all-pass filters modulation.
Definition at line 64 of file juce_Phaser.cpp.
| void juce::dsp::Phaser< SampleType >::setDepth | ( | SampleType | newDepth | ) |
Sets the volume (between 0 and 1) of the LFO modulating the phaser all-pass filters.
Definition at line 55 of file juce_Phaser.cpp.
| void juce::dsp::Phaser< SampleType >::setFeedback | ( | SampleType | newFeedback | ) |
Sets the feedback volume (between -1 and 1) of the phaser.
Negative can be used to get specific phaser sounds.
Definition at line 73 of file juce_Phaser.cpp.
| void juce::dsp::Phaser< SampleType >::setMix | ( | SampleType | newMix | ) |
Sets the amount of dry and wet signal in the output of the phaser (between 0 for full dry and 1 for full wet).
Definition at line 82 of file juce_Phaser.cpp.
| void juce::dsp::Phaser< SampleType >::setRate | ( | SampleType | newRateHz | ) |
Sets the rate (in Hz) of the LFO modulating the phaser all-pass filters.
This rate must be lower than 100 Hz.
Definition at line 46 of file juce_Phaser.cpp.