ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
lowpass_filter_t Struct Reference

Low-pass filter state. More...

#include <lib/audio/mixer.h>

Data Fields

float cutoff_hz
 Cutoff frequency in Hz (frequencies above this are attenuated)
 
float sample_rate
 Sample rate in Hz (set during initialization)
 
float alpha
 Filter coefficient alpha (calculated from cutoff_hz)
 
float prev_output
 Previous output sample (filter state)
 

Detailed Description

Low-pass filter state.

First-order IIR low-pass filter for removing high-frequency noise (hiss, electronic interference) while preserving voice clarity. Combined with high-pass filter creates voice-focused band-pass effect.

Definition at line 241 of file mixer.h.


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