Expand description
Official alias crate for decibri.
decibri-rs re-exports the full public API of the decibri crate. It exists
so the -rs name points at the canonical package.
New projects should depend on decibri directly.
Modules§
- denoise
- Single-channel speech enhancement (denoise) for the capture path.
- device
- Audio device discovery and selection.
- error
- gain
- Adaptive level control for the capture chain.
- microphone
- Microphone capture: open an input device and pull
AudioChunks from it. - sample
- speaker
- Speaker playback: open an output device and push
f32samples to it. - vad
- Voice Activity Detection using the Silero VAD v5 ONNX model.
Structs§
- Audio
Chunk - A chunk of captured audio data.
- Microphone
- An input device you capture audio from.
- Microphone
Config - Configuration for a microphone capture session.
- Microphone
Info - Information about a microphone (audio input) device.
- Microphone
Stream - An open capture stream you pull
AudioChunks from. - Silero
Vad - Silero VAD v5 inference engine.
- Speaker
- An output device you play audio to.
- Speaker
Config - Configuration for audio output.
- Speaker
Info - Information about a speaker (audio output) device.
- Speaker
Sink - A cloneable,
Sendhandle to a runningSpeakerStream’s sample channel and drain state. - Speaker
Stream - An open playback stream you push
f32samples to. - VadConfig
- Configuration for Silero VAD.
- VadResult
- Result of processing an audio chunk through Silero VAD.
Enums§
- Decibri
Error - Errors produced by decibri operations.
- Denoise
Model - Single-channel speech-enhancement (denoise) model selector.
- Device
Selector - How to select an audio device.
- Highpass
Filter - High-pass filter selector for the capture chain.
Constants§
- CPAL_
VERSION - Resolved cpal version (major.minor) extracted at build time from the
crate’s
Cargo.toml.
Functions§
- input_
devices - List the available microphone (input) devices.
- output_
devices - List the available speaker (output) devices.