#ogg-vorbis #encode #decode #audio #format

audyo

Simple audio decode/encode library

1 unstable release

0.1.0 Oct 2, 2024

#2066 in Encoding

MIT/Apache

11KB
243 lines

Audyo

Audio decoding/encoding library with a simple api.

Features

  • audio decoding (currently supports all formats supported by symphonia)
  • audio encoding (currently only supports ogg vorbis)

Usage

cargo add audyo
let decoded = audyo::decode::<f32>(File::open("uwu.mp3").unwrap()).unwrap();

let vorbis_encoded = audyo::encode_vorbis(&decoded.1, 320000).unwrap();

Dependencies

~7–15MB
~261K SLoC