FtErrors SetSound(ShmIfId_TXT shmId, UINT16 index, UINT16 repeat);
Activate a sound file with index and repeat it.
Call:
ShmIfId_TXT shmId
- controller ID (master or extension controller)
UINT16 index
- index of the sound file on the TXT. This can be found in the public map Sound.
UINT16 repeat
- repeat factor [1..]
Return:
INT16 - the state the halve axe [0..15]
bool IsSoundReady(ShmIfId_TXT shmId);
Check if the activated sound has been finished.
Call:
ShmIfId_TXT shmId
- controller ID (master or extension controller)
Return:
bool - Sound is ready
UINT16 GetMicLin(ShmIfId_TXT shmId);
Get microphone data.
Call:
ShmIfId_TXT shmId
- controller ID (master or extension controller)
Return:
UINT16 - the microphone level
UINT16 GetMicLog(ShmIfId_TXT shmId);
Get microphone data compressed(logarithmic.
Call:
ShmIfId_TXT shmId
- controller ID (master or extension controller)
Return:
UINT16 - the microphone level
Version 1.1.2.1 (c) 2020 TesCaWeb ing. C. van Leeuwen Btw.