|
ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
|
High-pass filter settings and state. More...
#include <lib/audio/mixer.h>
Data Fields | |
| float | cutoff_hz |
| Cutoff frequency in Hz (frequencies below this are attenuated) | |
| float | sample_rate |
| Sample rate in Hz (set during initialization) | |
| float | alpha |
| Filter coefficient alpha (calculated from cutoff_hz) | |
| float | prev_input |
| Previous input sample (filter state) | |
| float | prev_output |
| Previous output sample (filter state) | |
High-pass filter settings and state.
Implements first-order IIR high-pass filter to remove low-frequency noise, rumble, and DC offset. Useful for cleaning up microphone input.
FILTER BEHAVIOR: