SAS Functions and CALL Routines under Windows |
Category: | Special |
Windows specifics: | all |
Syntax | |
Example | |
Producing a Tone |
Syntax |
CALL SOUND(frequency,duration); |
specifies the sound frequency in terms of cycles per second. The frequency must be at least 20 and no greater than 20,000.
specifies the sound duration in milliseconds. The default is -1.
Example |
The following statement produces a tone of frequency 523 cycles per second (middle C) lasting 2 seconds:
data _null_; call sound(523,2000); run;
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.