|
ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
|
Noise gate settings and state. More...
#include <lib/audio/mixer.h>
Data Fields | |
| float | threshold |
| Gate threshold in linear units (e.g., 0.01f for -40dB) | |
| float | attack_ms |
| Attack time in milliseconds (how fast gate opens) | |
| float | release_ms |
| Release time in milliseconds (how fast gate closes) | |
| float | hysteresis |
| Hysteresis factor (0-1, prevents gate chatter) | |
| float | sample_rate |
| Sample rate in Hz (set during initialization) | |
| float | envelope |
| Current envelope follower state (linear, 0-1) | |
| float | attack_coeff |
| Attack coefficient (converted from attack_ms) | |
| float | release_coeff |
| Release coefficient (converted from release_ms) | |
| bool | gate_open |
| True if gate is currently open (allowing audio through) | |
Noise gate settings and state.
Implements noise gate to suppress background noise below threshold. Uses hysteresis to prevent gate chatter (rapid opening/closing).
GATE BEHAVIOR: