Make a Wav file

/ Published in: C
Save to your folder(s)

Makes a mono 8-bit (i.e. one byte per sample) wav file, "out.wav" containing a 500 Hertz sine wave signal. 22050 is the sample rate, and 64000 is the total size of audio data in bytes.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.