boolean SetDuration(short nDuration, short nDex)
boolean SetFrequency(short nFreq, short nDex)
Function SetDuration(nDuration As Integer, nDex As Integer) As Boolean
Function SetFrequency(nFreq As Integer, nDex As Integer) As Boolean
Sets a value in the local Tone array.
Return value
True=successful, False=error, array size exceeded, RF link lost.
Parameters
nFreq
Tone frequency in Hertz.
nDuration
Tone duration in milliseconds.
nDex
The index of the sound item in the tone array (0 based).
Remarks
Example