Applies waveshaping to audio samples as single samples or AudioBlocks. More...
#include <juce_WaveShaper.h>
Public Member Functions | |
void | prepare (const ProcessSpec &) noexcept |
Called before processing starts. | |
template<typename SampleType > | |
SampleType JUCE_VECTOR_CALLTYPE | processSample (SampleType inputSample) const noexcept |
Returns the result of processing a single sample. | |
template<typename ProcessContext > | |
void | process (const ProcessContext &context) const noexcept |
Processes the input and output buffers supplied in the processing context. | |
void | reset () noexcept |
Public Attributes | |
Function | functionToUse |
Applies waveshaping to audio samples as single samples or AudioBlocks.
|
noexcept |
Called before processing starts.
|
noexcept |
Returns the result of processing a single sample.
References dsp::WaveShaper< FloatType, Function >::functionToUse.
|
noexcept |
Processes the input and output buffers supplied in the processing context.
References dsp::WaveShaper< FloatType, Function >::functionToUse, and dsp::AudioBlock< SampleType >::process().
|
noexcept |
Function dsp::WaveShaper< FloatType, Function >::functionToUse |