#wav #wave #audio #sound #dsp


Wave file reader and writer. Random access and streaming is supported for reading, random access is supported for writing

3 releases (breaking)

new 0.3.0 May 20, 2023
0.2.1 Feb 20, 2023
0.2.0 Feb 20, 2023
0.1.0 Feb 12, 2023

#277 in Audio




A streaming wav reader and writer for Rust. Wave_stream supports the following:

  • Reading, both in random access and streaming modes
  • Writing in random access mode.

Wave_stream supports any sample rate. It supports 8-bit, 16-bit, 24-bit, and floating-point wave files.

Wave_stream does not load the entire wav file into RAM. This allows working with extremely large files with low RAM overhead.

For a full example, and instructions, see: https://github.com/GWBasic/wave_stream_example/blob/main/src/main.rs


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.

Note: Pull requests require that "cargo fmt" is run. If you are using Visual Studio Code, enable "Format on Save": https://stackoverflow.com/a/67861602/1711103

No runtime deps