#format #decode #encode #convert #codec

audrey

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

#473 in Audio

Download history 943/week @ 2024-06-10 956/week @ 2024-06-17 875/week @ 2024-06-24 408/week @ 2024-07-01 720/week @ 2024-07-08 1123/week @ 2024-07-15 1098/week @ 2024-07-22 797/week @ 2024-07-29 908/week @ 2024-08-05 1642/week @ 2024-08-12 981/week @ 2024-08-19 1083/week @ 2024-08-26 915/week @ 2024-09-02 920/week @ 2024-09-09 833/week @ 2024-09-16 915/week @ 2024-09-23

3,712 downloads per month
Used in 18 crates (11 directly)

MIT/Apache

81KB
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.

License

Licensed under either of

at your option.

Contributions

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.

Dependencies

~0–1.6MB