[Master Index]
[Index for /tools/hpmatlab/toolbox/matlab/sounds]
sound
(/tools/hpmatlab/toolbox/matlab/sounds/sound.m)
Function Synopsis
sound(y,fs)
Help text
SOUND Convert vector into sound.
SOUND(Y) sends the signal in vector Y out the speaker on SPARC, HP,
SGI, PC, and Macintosh computers. The vector is autoscaled to provide
maximum amplitude.
The sound is played at the default sample rate. On the SPARC, the
sample rate is fixed at 8192 Hz. On the Macintosh, the default
sample rate is 22.255K Hz.
SOUND(Y,FS), on the Macintosh, PC, and SGI, plays the sound at a sample
frequency of FS Hz.
Vector Y is automatically scaled so that the maximum and minimum values
in Y correspond to the maximum and minimum input ranges allowed by the
sound hardware. On the Macintosh and the SGI, the volume control on the
Control Panel determines the final sound level.
See also SAXIS, AUWRITE, AUREAD, WAVREAD, WAVWRITE.
Cross-Reference Information
This function calls
- auwrite /tools/hpmatlab/toolbox/matlab/sounds/auwrite.m
- computer /tools/hpmatlab/toolbox/matlab/elmat/computer.m
- else /tools/hpmatlab/toolbox/matlab/lang/else.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
- floor /tools/hpmatlab/toolbox/matlab/elfun/floor.m
- global /tools/hpmatlab/toolbox/matlab/lang/global.m
- if /tools/hpmatlab/toolbox/matlab/lang/if.m
- max /tools/hpmatlab/toolbox/matlab/datafun/max.m
- min /tools/hpmatlab/toolbox/matlab/datafun/min.m
- nargin /tools/hpmatlab/toolbox/matlab/elmat/nargin.m
- playsound /tools/hpmatlab/toolbox/matlab/sounds/playsound.m
- saxis /tools/hpmatlab/toolbox/matlab/sounds/saxis.m
This function is called by
- moddemo /tools/hpmatlab/toolbox/signal/moddemo.m
- playsound /tools/hpmatlab/toolbox/matlab/sounds/playsound.m
- pumpkin ee2200/pumpkin.m
Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON