#wav #wave #dsp #sound #file-reader #reader-writer

wave_stream

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

5 releases (breaking)

0.5.0 Nov 7, 2023
0.4.0 Oct 29, 2023
0.3.0 May 20, 2023
0.2.1 Feb 20, 2023
0.1.0 Feb 12, 2023

#329 in Audio

Download history 6/week @ 2024-02-26 9/week @ 2024-03-11 84/week @ 2024-04-01

93 downloads per month

MIT/Apache

145KB
3.5K SLoC

wave_stream

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

License

Licensed under either of

at your option.

Contribution

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