Player12
An open source football management simulator
Loading...
Searching...
No Matches
Audio::OnePole Class Reference

#include <synth.h>

Public Member Functions

void set (float cutoffHz)
 
float process (float input)
 
void reset ()
 

Private Attributes

float state = 0.0f
 
float coefficient = 1.0f
 

Detailed Description

One-pole low-pass: darkens noise before it is shaped.

Member Function Documentation

◆ process()

float Audio::OnePole::process ( float  input)
inline

◆ reset()

void Audio::OnePole::reset ( )
inline

◆ set()

void Audio::OnePole::set ( float  cutoffHz)

Member Data Documentation

◆ coefficient

float Audio::OnePole::coefficient = 1.0f
private

◆ state

float Audio::OnePole::state = 0.0f
private

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