savewave
save data into a sound wav file.
Syntax
savewave(filename,x [, rate , nbits]);
Arguments
- filename
a string. The path of the output wav file
- x
a mxn matrix where m is the number of channels and n the number of samples for each channel
- rate
a scalar giving the sampling rate (number of sample per second) 22050 is the default value.
Description
save x into a wav sound file. you can transform other sound files
into wav file with the sox
program.
Examples
See also
Report an issue | ||
<< playsnd | Sound file handling | sound >> |