WaveRs (pronounced wavers) is a Wav file reader/writer written in Rust and designed to fast and easy to use. WaveRs is also available in Python through the PyWaveRs package.
dtype | PyWavers | SoundFile | SciPy | TorchAudio (Sox) | TorchAudio (SoundFile) | TensorFlow Audio-IO |
---|---|---|---|---|---|---|
int16 | 17.5396 | 30.319 | 16.4971 | 210.996 | 200.896 | 65.6674 |
int32 | 31.436 | 139.251 | nan | nan | nan | 57.5891 |
float32 | 41.0127 | 200.828 | nan | 236.309 | 234.03 | 57.4289 |
float64 | 80.6825 | 204.586 | nan | nan | nan | 56.2501 |
All times in microseconds µs and are the time taken (on average) to load a single file from the list of files
< EXPLAIN NANs here >