NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
ex_syssoundplaytone.nxc

This is an example of how to use the SysSoundPlayTone function along with the SoundPlayToneType structure.

task main()
{
sptArgs.Frequency = 440;
sptArgs.Duration = 1000; // 1 second
sptArgs.Loop = false;
sptArgs.SoundLevel = 3;
SysSoundPlayTone(sptArgs);
}