Silk-rs
How to use
Encode
let input = read.unwrap;
let output = encode_silk.unwrap;
write.unwrap;
Decode
let input = read.unwrap;
let output = decode_silk.unwrap;
write.unwrap;
Encode
let input = std::fs::read("input.pcm").unwrap();
let output = encode_silk(input, 24000, 24000, true).unwrap();
std::fs::write("output.silk", output).unwrap();
Decode
let input = std::fs::read("input.silk").unwrap();
let output = decode_silk(input, 24000).unwrap();
std::fs::write("output.pcm", output).unwrap();