E r g e b n i s / R e s u l t
Send tone to speaker based on frequency and duration
B e s c h r e i b u n g / D e s c r i p t i o n
This language call allows you to send a frequency to your computers speaker. This works identical to the music command found in the Compiler application.
S y n t a x
Code:
ok = CALL ("music", frequency, duration) P a r a m e t e r
frequency - The frequency of the tone to generate
duration - The duration in msec.
R e t u r n s
A boolean value.
B e i s p i e l / E x a m p l e
Code:
ATTACH "music"
ok = CALL ("music", 264, 10)
DETACH "music"