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
Loading...
Searching...
No Matches
Public Member Functions | List of all members
juce::dsp::Limiter< SampleType > Class Template Reference

A simple limiter with standard threshold and release time controls, featuring two compressors and a hard clipper at 0 dB. More...

#include "juce_Limiter.h"

Public Member Functions

 Limiter ()=default
 Constructor.
 
void setThreshold (SampleType newThreshold)
 Sets the threshold in dB of the limiter.
 
void setRelease (SampleType newRelease)
 Sets the release time in milliseconds of the limiter.
 
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.
 

Detailed Description

template<typename SampleType>
class juce::dsp::Limiter< SampleType >

A simple limiter with standard threshold and release time controls, featuring two compressors and a hard clipper at 0 dB.

@tags{DSP}

Definition at line 36 of file juce_Limiter.h.

Member Function Documentation

◆ prepare()

template<typename SampleType >
void juce::dsp::Limiter< SampleType >::prepare ( const ProcessSpec spec)

Initialises the processor.

Definition at line 46 of file juce_Limiter.cpp.

◆ process()

template<typename SampleType >
void juce::dsp::Limiter< SampleType >::process ( const ProcessContext context)
noexcept

Processes the input and output samples supplied in the processing context.

Definition at line 60 of file juce_Limiter.h.

◆ reset()

template<typename SampleType >
void juce::dsp::Limiter< SampleType >::reset ( )

Resets the internal state variables of the processor.

Definition at line 61 of file juce_Limiter.cpp.

◆ setRelease()

template<typename SampleType >
void juce::dsp::Limiter< SampleType >::setRelease ( SampleType  newRelease)

Sets the release time in milliseconds of the limiter.

Definition at line 38 of file juce_Limiter.cpp.

◆ setThreshold()

template<typename SampleType >
void juce::dsp::Limiter< SampleType >::setThreshold ( SampleType  newThreshold)

Sets the threshold in dB of the limiter.

Definition at line 31 of file juce_Limiter.cpp.


The documentation for this class was generated from the following files: