Gin
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Notch12State Struct Reference

State storage for 12dB/octave notch filter in AudioEquationParser. More...

#include <gin_audiofunctions.h>

Inheritance diagram for Notch12State:

Public Member Functions

 Notch12State (double sr)
 
double process (double v, double freq, double q)
 
void reset () override
 
- Public Member Functions inherited from FuncState
 FuncState (double sr)
 
virtual ~FuncState ()=default
 
virtual void setSampleRate (double sr)
 

Public Attributes

juce::IIRFilter filter
 
- Public Attributes inherited from FuncState
double sampleRate = 44100.0
 

Detailed Description

State storage for 12dB/octave notch filter in AudioEquationParser.

Notch12State implements a one-pole IIR notch (band-reject) filter for use in audio equations. The filter removes frequencies near the center frequency while passing frequencies above and below with adjustable Q for notch width.

See also
Notch24State, AudioFunctionHost

Constructor & Destructor Documentation

◆ Notch12State()

Notch12State::Notch12State ( double  sr)

Member Function Documentation

◆ process()

double Notch12State::process ( double  v,
double  freq,
double  q 
)

References filter, and FuncState::sampleRate.

◆ reset()

void Notch12State::reset ( )
overridevirtual

Reimplemented from FuncState.

References filter.

Member Data Documentation

◆ filter

juce::IIRFilter Notch12State::filter

Referenced by process(), and reset().


The documentation for this struct was generated from the following file: