1
wavread Scilab Group Scilab Function wavread
3
wavread - load .wav sound file
8
[y,Fs,bits]=wavread(wavfile)
9
[y,Fs,bits]=wavread(wavfile,ext)
12
: string (The .wav extension is appended if no extension is given)
14
Fs : integer, frequency sampling in Hz.
16
ext : string ('size') or integer (to read n samples) or 1 x 2 integer
17
vector [n1,n2] (to read from n1 to n2).
20
Utility function to read .wav sound file. wavread(wavfile) loads a sound
21
file specified by the string wavfile, returning the sampled data in y.
22
Amplitude values are in the range [-1,+1]. Supports multi-channel data in
23
the following formats: 8-bit mu-law, 8-, 16-, and 32-bit linear, and
26
[y,Fs,bits]=wavread(wavfile) returns the sample rate (Fs) in Hertz and
27
the number of bits per sample used to encode the data in the file.
29
wavread(wavfile,n) returns the first n samples from each channel.
31
wavread(wavfile,[n1,n2]) returns samples n1 to n2.
33
read(wavfile,'size') returns the size of the audio data contained in the
34
file in place of the actual audio data, returning the vector as [samples
38
auread, savewave, analyze, mapsound