User Manual
www.veear.eu
User Manual (1.0.14) EasyVR 3 63
Parameters:
threshold
(0-1023) is a measure of the strength of the input signal below which
the mouth is considered to be closed (see LipsyncThreshold, adjust
based on microphone settings, distance and background noise)
timeout
(0-255) is the maximum duration of the function in seconds, 0 means
infinite
Return values:
true
if the operation is successfully started
bool fetchMouthPosition (int8_t & value)
Retrieves the current mouth position during lip-sync.
Parameters:
value
(0-31) is filled in with the current mouth opening position
Return values:
true
if the operation is successful, false if lip-sync has finished
bool exportCommand (int8_t group, int8_t index, uint8_t * data)
Retrieves all internal data associated to a custom command.
Parameters:
group
(0-16) is the target group, or one of the values in #Groups
index
(0-31) is the index of the command within the selected group
data
points to an array of at least 258 bytes that holds the command raw
data
Return values:
true
if the operation is successful
bool importCommand (int8_t group, int8_t index, const uint8_t * data)
Overwrites all internal data associated to a custom command. When commands are imported this way,
their training should be tested again with verifyCommand()
Parameters:
group
(0-16) is the target group, or one of the values in #Groups
index
(0-31) is the index of the command within the selected group
data
points to an array of at least 258 bytes that holds the command raw
data
Return values:
true
if the operation is successful
void verifyCommand (int8_t group, int8_t index)
Verifies training of a custom command (useful after import). Similarly to trainCommand(), you should
check results after hasFinished() returns true
Parameters:
group
(0-16) is the target group, or one of the values in #Groups
index
(0-31) is the index of the command within the selected group
int bridgeRequested (Stream & port)
Tests if bridge mode has been requested on the specified port










