User Manual
www.veear.eu
60 EasyVR 3 User Manual (1.0.14)
Parameters:
index
is the index of the target sound in the sound table
volume
(0-31) may be one of the values in SoundVolume
Return values:
true
if the operation is successful
Note:
To alter the maximum time for the wait, define the EASYVR_PLAY_TIMEOUT macro before
including the EasyVR library.
bool dumpSoundTable (char * name, int16_t & count)
Retrieves the name of the sound table and the number of sounds it contains
Parameters:
name
points to an array of at least 32 characters that holds the sound table
label when the function returns
count
is a variable that holds the number of sounds when the function
returns
Return values:
true
if the operation is successful
bool playPhoneTone (int8_t tone, uint8_t duration)
Plays a phone tone and waits for completion
Parameters:
tone
is the index of the tone (0-9 for digits, 10 for '*' key, 11 for '#' key and
12-15 for extra keys 'A' to 'D', -1 for the dial tone)
duration
(1-32) is the tone duration in 40 milliseconds units, or in seconds for
the dial tone
Return values:
true
if the operation is successful
bool resetAll (bool wait = true)
Empties internal memory for custom commands/groups and messages.
Parameters:
wait
specifies whether to wait until the operation is complete (or times
out)
Return values:
true
if the operation is successful
Note:
It will take some time for the whole process to complete (EasyVR3 is faster) and it cannot be
interrupted. During this time the module cannot accept any other command. The sound table and
custom grammars data is not affected.
bool resetCommands (bool wait = true)
Empties internal memory for custom commands/groups only. Messages are not affected.










