[Master Index] [Index for /tools/hpmatlab/toolbox/matlab/sounds]

playsound

(/tools/hpmatlab/toolbox/matlab/sounds/playsound.m)


Function Synopsis

playsound(y,Fs)

Help text

function playsound(y,Fs);

 Plays the sound represented by vector y with sampling rate Fs.

 RESTRICTIONS: The arguments to playsound are examined 
               to reduce the chance of corrupting the audio
               connection.  The vector and sampling rate
               parameters must meet the following conditions.

 1.  Time - the sound must be between 1/4 and 20 seconds.
            Pad with zeros to play shorter sounds.
 2.  Frequency - the sampling frequency must be between 100 Hz
                 and 50 kHz

Cross-Reference Information

This function calls
This function is called by

Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON