| MATLAB Function Reference | ![]() |
Write Microsoft WAVE (.wav) sound file
Syntax
Description
wavwrite supports multi-channel WAVE data, with up 32 bits per sample and supports writing 24- and 32-bit .wav files.
writes a WAVE file specified by the string wavwrite(y,'filename')
filename. The data should be arranged with one channel per column. Amplitude values outside the range [-1,+1] are clipped prior to writing.
specifies the sample rate wavwrite(y,Fs,'filename')
Fs, in Hertz, of the data.
wavwrite(y,Fs,N,'filename')
forces an N-bit file format to be written, where N <= 32.
See Also
| wavrecord | web | ![]() |