This tool is designed for detailed analysis and display of WAV file header information, akin to ffprobe but specifically focused on the WAV format. For in-depth details about the WAV file format, please refer to the following link:
- WAV File Format Documentation(https://docs.fileformat.com/audio/wav/)
-
Integer PCM at 8, 16, 24, or 32 bits per sample (format tag 1)
-
Floating point PCM at 32 or 64 bits per sample (format tag 3)
-
The formats above when using WAVE_FORMAT_EXTENSIBLE (format tag 65534)
$ cargo build --release
$ cargo install --path .
$ myffprobe -i filename.wav
RIFF: RIFF
Chunk size: 1767588
Format: WAVE
fmt identifier: fmt
fmt chunk size: 40
sound format: Extensible
channels: 2
sample rate: 44100
byte rate: 352800
block size: 8
bits per sample: 32
extend parameter size: Some(22)
extend parameter: Some([32, 0, 3, 0, 0, 0, 3, 0, 0, 0, 0, 0, 16, 0, 128, 0, 0, 170, 0, 56, 155, 113])
subchunk identifier: data
subchunk size: 1767528
- Modified the Sound identifier to accept inputs other than 'data'.