Previous Up Next

15.1.12  Writing a wav file: writewav

The writewav command writes sound data to a wav file.


Example.
Input:

writewav("la.wav",2^14*sin(2*pi*440*soundsec(1)))

Output: There will be a file la.wav containing a sound of frequency 440 Hz sampled 44100 times per second.


Previous Up Next