1 unstable release

new 0.1.0 Nov 6, 2024

#543 in Audio

Download history 55/week @ 2024-11-01

55 downloads per month

MIT license

3KB

silk2wav

Converts silk to wav

install

cargo add silk2wav

example

use silk2wav::silk2wav;

fn main() {
    let silk_buf = std::fs::read("music.silk").unwrap();
    let wav_buf = silk_to_wav(&silk_buf, 24000).unwrap();
    std::fs::write("music.wav", &wav_buf).unwrap();
}

Dependencies

~1.6–4.5MB
~81K SLoC