Data Sheet

www.veear.eu
66 EasyVR 3 (Plus) User Manual (1.0.17)
interrupted. During this time the module cannot accept any other command. The sound table and
custom grammars data is not affected.
void recordMessageAsync (int8_t index, int8_t bits, int8_t timeout)
Starts recording a message. Manually check for completion with hasFinished().
Parameters:
index
(0-31) is the index of the target message slot
bits
(8) specifies the audio format (see MessageType)
timeout
(0-31) is the maximum recording time (0=infinite)
Note:
The module is busy until recording times out or the end of memory is reached. You can interrupt
an ongoing recording with stop().
void playMessageAsync (int8_t index, int8_t speed, int8_t atten)
Starts playback of a recorded message. Manually check for completion with hasFinished().
Parameters:
index
(0-31) is the index of the target message slot
speed
(0-1) may be one of the values in MessageSpeed
atten
(0-3) may be one of the values in MessageAttenuation
Note:
The module is busy until playback completes and it cannot accept other commands. You can
interrupt playback with stop().
void eraseMessageAsync (int8_t index)
Erases a recorded message. Manually check for completion with hasFinished().
Parameters:
index
(0-31) is the index of the target message slot
bool dumpMessage (int8_t index, int8_t & type, int32_t & length)
Retrieves the type and length of a recorded message
Parameters:
index
(0-31) is the index of the target message slot
type
(0,8) is a variable that holds the message format when the function
returns (see MessageType)
length
is a variable that holds the message length in bytes when the function
returns
Return values:
true
if the operation is successful
Note:
The specified message may have errors. Use getError() when the function fails, to know the reason
of the failure.
bool realtimeLipsync (int16_t threshold, uint8_t timeout)
Starts real-time lip-sync on the input voice signal. Retrieve output values with fetchMouthPosition() or
abort with stop().