> What exactly does this program output?
just 4s of audio, as float 32bits, endianness of your computer
(probably little endian; almost everyone is little endian today).
You can "aplay" the file, or convert to whatever audio format
that has a header (and if you want compression, lossless or not)
using whatever tool you like (sox, ffmpeg, ...)
Use the python code to directly have a wav file.
I think you don't really need the file though.
Linux-audio-user mailing list