audio_samples_io
Fast and simple audio reading and writing in Rust
Rust crate providing audio file I/O utilities and helpers.
audio_samples_io is the IO extension of the audio_samples crate.
audio_samples_io builds on top of the representations provided by audio_samples to provide the functionality necessary for reading, writing and investigating audio files.
NOTE: Still under development
Currently only supports .wav files
- flac
- mp3
- aiff
- ogg
- aac
Quick start
Install via:
use Duration;
use AudioIOResult;
use ;
Benchmarks
Checkout the benchmark summary doc for a comparison against Hound and libsndfile.
To run the benchmarks (Criterion) reading and writing.
I have included a small benchmark reported binary for collating benchmarks to a markdown file
Output files
benchmark_report.md— Markdown summary generated by the reporter binarybenchmark_results.csv— Detailed CSV export of benchmark rows (times in μs)benchmark_summary.csv— Executive summary CSV
License
MIT License
Contributing
Contributions are welcome. Please submit a pull request and see CONTRIBUTING.md for guidance.