Sonora
Pure Rust implementation of WebRTC audio processing -- the full pipeline with echo cancellation (AEC3), noise suppression, automatic gain control (AGC2), and high-pass filtering.
Provides a Rust API. A C API is available via the separate sonora-ffi crate.
Usage
use ;
use ;
let config = Config ;
let mut apm = builder
.config
.capture_config
.render_config
.build;
// Process 10ms frames (48kHz * 10ms = 480 samples)
let src = vec!;
let mut dest = vec!;
apm.process_capture_f32.unwrap;
See the workspace README for benchmarks, platform support, and the full crate listing.
License
BSD-3-Clause. See LICENSE for details.