wav_io for Rust
This crate provides utilities for reading and writing WAV files.
Supported formats
- PCM 8-, 16-, 24-, and 32-bit integer
- PCM 32- and 64-bit float
Functions
Installation
Add wav_io to your project:
Samples
use PI;
Examples
CLI
Build and run the bundled CLI:
Basic commands:
# Show WAV header and sample length
# Generate a WAV from MML text
# Split by silence and write files to a directory
# Resample to a new sample rate (Hz)
Debug option:
# -d or --debug can be placed after the command