Expand description
Audio decoding, resampling, and channel mixing utilities.
This module exposes the decoding pipeline used by the audio processing pipeline:
WAV/PCM parsing (WavDecoder), linear resampling
(SampleRateConverter), and channel mixing (ChannelMixer). Samples are
normalized to the range [-1.0, 1.0] and converted to mono/16kHz.
Structs§
- Channel
Mixer - Channel mixer for converting multi-channel audio to mono.
- Decoded
Audio - Decoded audio data with normalized samples and metadata.
- Mixed
Audio - Mono audio with metadata from channel mixing.
- Sample
Rate Converter - Sample rate converter using linear interpolation.
- WavDecoder
- WAV/PCM audio decoder using the
houndcrate.