1
.TH auread 1 "April 1993" "Scilab Group" "Scilab Function"
4
auread - load .au sound file
9
[y,Fs,bits]=auread(aufile)
10
[y,Fs,bits]=auread(aufile,ext)
15
: string (The .au extension is appended if no extension is given)
19
: integer, frequency sampling in Hz.
22
: string (\fV'size'\fR or \fV'snd'\fR) or integer (to read n samples) or 1 x 2 integer vector [n1,n2] (to read from n1 to n2).
24
Utility function to read \fV.au\fR sound file.
25
\fVauread(aufile)\fR loads a sound file specified by the string aufile,
26
returning the sampled data in y. Amplitude values are in the range
29
Supports multi-channel data in the following formats:
30
8-bit mu-law, 8-, 16-, and 32-bit linear, and floating point.
32
\fV[y,Fs,bits]=auread(aufile)\fR returns the sample rate (Fs) in Hertz
33
and the number of bits per sample used to encode the data in the file.
35
\fVauread(aufile,n)\fR returns the first n samples from each channel.
37
\fVauread(aufile,[n1,n2])\fR returns samples n1 to n2.
39
\fVauread(aufile,'size')\fR returns the size of the audio data contained
40
in the file in place of the actual audio data, returning the
41
vector as [samples channels].
43
\fVauread(aufile,'snd')\fR returns information about the sample and data
46
savewave, analyze, mapsound