NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void PlaySound ( const int &  aCode)

Play a system sound.

Play a sound that mimics the RCX system sounds using one of the RCX and Scout sound constants.

aCodeResulting Sound
SOUND_CLICKkey click sound
SOUND_DOUBLE_BEEPdouble beep
SOUND_DOWNsweep down
SOUND_UPsweep up
SOUND_LOW_BEEPerror sound
SOUND_FAST_UPfast sweep up
Parameters
aCodeThe system sound to play. See RCX and Scout sound constants.
Examples:
ex_playsound.nxc.