wavekat-core 0.0.2

Shared types for the WaveKat audio processing ecosystem
Documentation
  • Coverage
  • 100%
    4 out of 4 items documented2 out of 2 items with examples
  • Size
  • Source code size: 9.77 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.59 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 18s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • wavekat/wavekat-core
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • wavekat-eason

Crates.io docs.rs

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

cargo add wavekat-core
use wavekat_core::AudioFrame;

// From f32 — zero-copy
let frame = AudioFrame::new(&f32_samples, 16000);

// From i16 — normalizes to f32 automatically
let frame = AudioFrame::new(&i16_samples, 16000);

// Same API regardless of input format
let samples: &[f32] = 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.