[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
- abs /tools/hpmatlab/toolbox/matlab/elfun/abs.m
- all /tools/hpmatlab/toolbox/matlab/ops/all.m
- disp /tools/hpmatlab/toolbox/matlab/general/disp.m
- elseif /tools/hpmatlab/toolbox/matlab/lang/elseif.m
- end /tools/hpmatlab/toolbox/matlab/lang/end.m
- error /tools/hpmatlab/toolbox/matlab/lang/error.m
- eval /tools/hpmatlab/toolbox/matlab/lang/eval.m
- fix /tools/hpmatlab/toolbox/matlab/elfun/fix.m
- if /tools/hpmatlab/toolbox/matlab/lang/if.m
- length /tools/hpmatlab/toolbox/matlab/general/length.m
- max /tools/hpmatlab/toolbox/matlab/datafun/max.m
- more /tools/hpmatlab/toolbox/matlab/general/more.m
- return /tools/hpmatlab/toolbox/matlab/lang/return.m
- sound /tools/hpmatlab/toolbox/matlab/sounds/sound.m
- unix /tools/hpmatlab/toolbox/matlab/general/unix.m
This function is called by
- beatcontrol ee2200/beatcontrol.m
- enveloper ee2200/enveloper.m
- moddemo /tools/hpmatlab/toolbox/signal/moddemo.m
- sound /tools/hpmatlab/toolbox/matlab/sounds/sound.m
Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON