|
| template<typename T = InterpolationType> |
| std::enable_if< std::is_same< T, DelayLineInterpolationTypes::None >::value, SampleType >::type | interpolateSample (int channel) const |
| template<typename T = InterpolationType> |
| std::enable_if< std::is_same< T, DelayLineInterpolationTypes::Linear >::value, SampleType >::type | interpolateSample (int channel) const |
| template<typename T = InterpolationType> |
| std::enable_if< std::is_same< T, DelayLineInterpolationTypes::Lagrange3rd >::value, SampleType >::type | interpolateSample (int channel) const |
| template<typename T = InterpolationType> |
| std::enable_if< std::is_same< T, DelayLineInterpolationTypes::Thiran >::value, SampleType >::type | interpolateSample (int channel) |
| template<typename T = InterpolationType> |
| std::enable_if< std::is_same< T, DelayLineInterpolationTypes::None >::value, void >::type | updateInternalVariables () |
| template<typename T = InterpolationType> |
| std::enable_if< std::is_same< T, DelayLineInterpolationTypes::Linear >::value, void >::type | updateInternalVariables () |
| template<typename T = InterpolationType> |
| std::enable_if< std::is_same< T, DelayLineInterpolationTypes::Lagrange3rd >::value, void >::type | updateInternalVariables () |
| template<typename T = InterpolationType> |
| std::enable_if< std::is_same< T, DelayLineInterpolationTypes::Thiran >::value, void >::type | updateInternalVariables () |
template<typename SampleType, typename InterpolationType = DelayLineInterpolationTypes::Linear>
class juce::dsp::DelayLine< SampleType, InterpolationType >
A delay line processor featuring several algorithms for the fractional delay calculation, block processing, and sample-by-sample processing useful when modulating the delay in real time or creating a standard delay effect with feedback.
Note: If you intend to change the delay in real time, you may want to smooth changes to the delay systematically using either a ramp or a low-pass filter.
- See also
- SmoothedValue, FirstOrderTPTFilter
@tags{DSP}
template<typename SampleType, typename InterpolationType = DelayLineInterpolationTypes::Linear>
template<typename ProcessContext>
Processes the input and output samples supplied in the processing context.
Can be used for block processing when the delay is not going to change during processing. The delay must first be set by calling setDelay.
- See also
- setDelay
template<typename SampleType, typename InterpolationType>
| void DelayLine::pushSample |
( |
int | channel, |
|
|
SampleType | sample ) |
Pushes a single sample into one channel of the delay line.
Use this function and popSample instead of process if you need to modulate the delay in real time instead of using a fixed delay value, or if you want to code a delay effect with a feedback loop.
- See also
- setDelay, popSample, process
template<typename SampleType, typename InterpolationType>
| void DelayLine::setMaximumDelayInSamples |
( |
int | maxDelayInSamples | ) |
|
Sets a new maximum delay in samples.
Also clears the delay line.
This may allocate internally, so you should never call it from the audio thread.