Shared types for the WaveKat audio processing ecosystem.
[!WARNING] Early development. API may change.
What's Inside
| Type | Description |
|---|---|
AudioFrame |
Audio samples with sample rate, accepts both i16 and f32 |
IntoSamples |
Trait for transparent sample format conversion |
Quick Start
use AudioFrame;
// From f32 — zero-copy
let frame = new;
// From i16 — normalizes to f32 automatically
let frame = new;
// Same API regardless of input format
let samples: & = frame.samples;
let rate: u32 = frame.sample_rate;
Audio Format Standard
The WaveKat ecosystem standardizes on 16 kHz, mono, f32 [-1.0, 1.0].
AudioFrame handles the conversion so downstream crates don't have to.
Your audio (any format)
|
v
AudioFrame::new(samples, sample_rate)
|
+---> wavekat-vad
+---> wavekat-turn
+---> wavekat-asr (future)
License
Licensed under Apache 2.0.
Copyright 2026 WaveKat.