Most of the time, .wav files are thin wrappers around a big blob of PCM data. However, it's possible to stick non-PCM chunks in .wav files and not break anything. Some fancy audio editing tools have been known to do this, for example. But since Python Audio Tools previously routed all audio through PCM streams, those chunks would get lost during any conversion.
That's not entirely lossless.
Therefore, I've short-circuited the conversion to/from RIFF WAVE files to ensure those chunks are kept by the formats that support them - namely FLAC 1.2.1, WavPack and RIFF WAVE.
Log in to post a comment.