Function Reference

Audio Processing

General

lin2mu
Converts audio data from linear to mu-law.
mu2lin
Converts audio data from linear to mu-law.
loadaudio
Loads audio data from the file `NAME.
saveaudio
Saves a vector X of audio data to the file `NAME.
playaudio
Plays the audio file `NAME.
record
Records SEC seconds of audio input into the vector X.
setaudio
Execute the shell command `mixer [W_TYPE [, VALUE]]'
wavread
Load the RIFF/WAVE sound file FILENAME, and return the samples in vector Y.
wavwrite
Write Y to the canonical RIFF/WAVE sound file FILENAME with sample rate FS and bits per sample BITS.