#format #decode #encode #convert #codec


A crate to simplify reading, writing and converting between a range of audio formats

3 releases (breaking)

0.3.0 Jan 14, 2021
0.2.0 Dec 15, 2017
0.1.0 Feb 20, 2017

#516 in Audio

Download history 457/week @ 2023-12-22 322/week @ 2023-12-29 530/week @ 2024-01-05 651/week @ 2024-01-12 569/week @ 2024-01-19 593/week @ 2024-01-26 442/week @ 2024-02-02 763/week @ 2024-02-09 948/week @ 2024-02-16 698/week @ 2024-02-23 730/week @ 2024-03-01 904/week @ 2024-03-08 670/week @ 2024-03-15 892/week @ 2024-03-22 1048/week @ 2024-03-29 769/week @ 2024-04-05

3,493 downloads per month
Used in 17 crates (11 directly)


683 lines

audrey Build Status Crates.io Crates.io docs.rs

A crate to simplify reading, writing and converting between a range of audio formats.

The crate specifically focuses on pure-rust implementations of audio format decoders and encoders to ensure ease of use, portability, safety and performance.

Supported Formats

Format Extensions Read Write Cargo Feature Dependencies
FLAC "flac" YES - flac claxon
Ogg Vorbis "ogg", "oga" YES - ogg_vorbis lewton
WAV "wav", "wave" YES - wav hound
ALAC (within CAF) "caf" YES - caf_alac caf alac

All supported formats are enabled by default, however you can hand-pick only the formats you require using cargo features. For example, if you only required the WAV and FLAC formats, you could use the --no-default-features and --features "wav flac" flags when building with cargo.


Licensed under either of

at your option.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.