top of page

General Discussions

Public·236 members

voice.h - pick custom behavior + custom audio response

I have read through the voice information here: https://docs.petoi.com/extensible-modules/voice-command-module I would like the bittle to respond to a custom command with the behavior "backflip" and the audio response "good stuff" However, I'm having a tough time discerning if it possible as the return value to serial seems to only contain a behavior command? Is there a way to make such a mapping in voice.h ?

54 Views
Rongzhong Li
Rongzhong Li
Oct 17, 2023

Hi, it's only allowed to record your new voice command and register it as an indexed command. Then you can link the index with a specific behavior, either a preset one, or your created one.


The preset voice and response are fixed. It used some training in a remote server to generate the recognition model and voice. There's no convinient way to customize it.

bottom of page