savewave — save data into a sound wav file.
savewave(filename,x [, rate , nbits]);
a string. The path of the output wav file
a mxn matrix where m is the number of channels and n the number of samples for each channel
a scalar giving the sampling rate (number of sample per second) 22050 is the default value.
save x into a wav sound file. you can transform other sound files
into wav file with the sox
program.