[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
NqcPlaySound
The six predefined sounds are:
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
NqcPlaySound
(NQC) PlaySound
Function that plays one of six predefined sounds. To play any single tone, use PlayTone.//Sytax PlaySound( [SoundIndex] );
The six predefined sounds are:
- 0 : Key click
- 1 : Beep beep
- 2 : Decreasing frequency sweep
- 3 : Increasing frequency sweep
- 4 : Buhhh error sound
- 5 : Fast increasing sweep
Example
Plays all six sounds.
task main()
{
PlaySound(0); Wait(100);
PlaySound(1); Wait(100);
PlaySound(2); Wait(100);
PlaySound(3); Wait(100);
PlaySound(4); Wait(100);
PlaySound(5); Wait(100);
}
Code links
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
