wavwrite — writes .wav sound file
wavwrite(y,wavfile) wavwrite(y,Fs,wavfile)
real vector or matrix with entries in [-1,1].
string (The .wav extension is appended if no extension is given)
integer, frequency sampling in Hz.
Utility function to save .wav sound file.
wavwrite(y,wavfile) writes a sound file specified by the
string wavfile. The data should be arranged with one channel
per column. Amplitude values outside the range [-1,+1] are
ignored.
wavwrite(y,Fs,wavfile) specifies in Fs the sample rate of the data
in Hertz.