MATLAB Function Reference | Search  Help Desk |
wavwrite | See Also |
Write Microsoft WAVE (.wav
) sound file
wavwrite(y,'filename') wavwrite(y,Fs,'filename') wavwrite(y,Fs,N,'filename')
wavwrite
supports multi-channel 8- or 16-bit WAVE data.
wavwrite(y
,'filename
')
writes a WAVE file specified by the string filename
. The data should be arranged with one channel per column. Amplitude values outside the range [-1,+1]
are clipped prior to writing.
wavwrite(y,Fs,
'filename
')
specifies the sample rate Fs
, in Hertz, of the data.
wavwrite(y,Fs,N,'filename')
forces an N
-bit file format to be written, whereN <= 16
.
auwrite
Write NeXT/SUN (.au
) sound file
wavread
Read Microsoft WAVE (.wav
) sound file