Skip to content

wav

Planned, wave 2: WAV audio files.

Status: planned (wave 2). No code exists. The package name is provisional.

What it will provide

Microsoft RIFF WAVE files: PCM at 8, 16, 24 and 32 bits, floating point, and the extensible header. WAV is simple enough that the roadmap suggests writing it afresh; go-audio/wav (Apache-2.0) is archived and the go-audio name belongs to a third party.

References

SubjectReference
the formatMicrosoft’s RIFF WAVE specification, as cited in the roadmap’s bibliography

How it will be validated

AreaCriterion
round tripGo writes and scipy.io.wavfile reads, and the other way round, with identical samples
hostile inputgo test -fuzz for panics; a limit on the allocation a hostile header can ask for

scipy.io.wavfile is the oracle. Every item also needs unit tests at 100% coverage and a performance table against the reference.

Created on by tannevaled

Modified on by tannevaled