Voice/AI · voice
RNNoise FFI — Noise Suppression
FFI bindings to the RNNoise C library for real-time noise suppression in the Portal voice pipeline.
rnnoise-sysv0.2.0voice
133
Lines of Code
5
Tests
3
Files
Architecture
Low-level FFI bindings — wraps RNNoise C functions (rnnoise_create, rnnoise_process_frame, rnnoise_destroy) in safe Rust wrappers.
Overview
rnnoise-sys provides Rust FFI bindings to the RNNoise C library, which implements real-time noise suppression using a recurrent neural network. It's used in the Portal voice pipeline to clean up microphone input before VAD and STT processing.
Data Flow
Raw microphone audio → RNNoise denoising → clean audio → VAD → STT
Dependencies
Links against librnnoise. Used by portal-voice preprocessing module.