digitalmars.com                      
Last update Sun Mar 4 12:00:59 2018

sound.h


sound_beep

Header
sound.h
Prototype
void sound_beep(int freq);
Description
The sound_beep function causes the built-in speaker to sound a beep. Any frequency in Hertz can be approximated by multiplying by a conversion factor of 1.331 and using this value for freq. This function works only on machines that are hardware and software compatible with the IBM PC.
Return Value
None
Compatibility
DOS Windows 3.x Phar Lap DOSX Win32
See Also
sound_click sound_tone

sound_click

Header
sound.h
Prototype
void sound_click();
Description
The sound_click function causes the built-in speaker to click. This function works only on machines that are hardware and software compatible with the IBM PC.
Return Value
None
Compatibility
DOS Windows 3.x Phar Lap DOSX Win32
See Also
sound_beep sound_tone

sound_tone

Header
sound.h
Prototype
void sound_tone(int cycles, int uptime, int dntime);
Description
The sound_tone function plays tones through the built-in speaker. The number of cycles and the cycle times are specified. This function works only on machines that are hardware and software compatible with the IBM PC.
Return Value
None
Compatibility
DOS Windows 3.x Phar Lap DOSX Win32
See Also
sound_beep sound_click
Home | Compiler & Tools | IDDE Reference | STL | Search | Download | Forums