condensed in a two-hours lecture.

what the sound sample rate is at each step, i.e., how many samples are needed

to produce one second of sound.

Fs= 44100; % sample rate in Hz

l = 2;

suitably scaled so that f cycles are represented in F s samples.

the machine and operating system where they are running. Matlab offers the

function sound() that receives as input the vector containing the sound and,

optionally, a second parameter indicating the sample rate. Without the second

parameter, the default sample rate is 8192Hz. Up to version 4.2 of Matlab, the

number of reproduction bits was 8 on a Intel-compatible machine. More recent

versions of Matlab reproduce sound vectors using 16 bits of sample resolution.

In order to reproduce the sound that we have produced with the above script

we should write

name" and "extension" as the first and second argument, respectively. The

extension contains information about the audio file format, but so far only the

formats raw data linear and mu-law are supported. Alternatively, the argument

of playaudio can be a vector name, such as Y in our example. The reproduction

is done at 8 bits and 8192 Hz, but it would be easy to modify the function so

that it can use better quantizations and sample rates. Fortunately, there is the

octave-forge project

functions (quoting from the help lines):

to [-1, 1].

Hz sampling rate. The signal has one column per channel.