<P>help wavwrite<BR><BR> WAVWRITE Write Microsoft WAVE (".wav") sound file.<BR> WAVWRITE(Y,FS,NBITS,WAVEFILE) writes data Y to a Windows WAVE<BR> file specified by the file name WAVEFILE, with a sample rate<BR> of FS Hz and with NBITS number of bits. NBITS must be 8, 16,<BR> 24, or 32. Stereo data should be specified as a matrix with two <BR> columns. For NBITS < 32, amplitude values outside the range <BR> [-1,+1] are clipped.<BR> <BR> WAVWRITE(Y,FS,WAVEFILE) assumes NBITS=16 bits.<BR> WAVWRITE(Y,WAVEFILE) assumes NBITS=16 bits and FS=8000 Hz.<BR> <BR> 8-, 16-, and 24-bit files are type 1 integer PCM. 32-bit files <BR> are written as type 3 normalized floating point.<BR> <BR> See also WAVREAD, AUWRITE.</P>