Lets say I have a text file which contains a long list of 8bits data and i want to create a .wav or .au file from it.
Forexample, my text file contains 8000 bytes for 1 second of audio with the sample rate of 8kHz.
How do I create a .wav file that can be played in Windows Media Player? It is the creating .wav part that I am not so sure of.. Any advice or reference..?
I have read that .wav file contains headers which contain information like sample rates, file size etc..
Oh.. lets say if i have a choice between .wav file and .au file, which is easier to create..?