[Django]-Minimal audio (wav or mp3) file in bytes for unit testing

4👍

Here’s a very simple .wav file. You can make these with python quite easily using the wave module.

b'RIFF$\x00\x00\x00WAVEfmt \x10\x00\x00\x00\x01\x00\x01\x00\x00\x04\x00\x00\x00\x04\x00\x00\x01\x00\x08\x00data\x00\x00\x00\x00'
👤blues

Leave a comment