Man Scilab

wavwrite
Scilab Function

wavwrite - writes .wav sound file

Calling Sequence

wavwrite(y,wavfile)
wavwrite(y,Fs,wavfile)
wavwrite(y,Fs,bits,wavfile)

Parameters

Description

Utility function to save .wav sound file. wavwrite(y,wavfile) writes a sound file specified by the string wavfile. The data should be arranged with one channel per column. Amplitude values outside the range [-1,+1] are ignored. Supports multi-channel data for 8-bit mu-law, and 8- and 16-bit linear formats.

wavwrite(y,Fs,wavfile) specifies in Fs the sample rate of the data in Hertz.

wavwrite(y,Fs,bits,wavfile) selects the number of bits in the encoder. Allowable settings are bits=8 and bits=16.

See Also

auread ,   wavread ,   savewave ,   analyze ,   mapsound ,  

Back