PetoiCamp / OpenCatEsp32

An ESP32-based open source quadruped robot pet framework for developing Boston Dynamics-style four-legged robots that are perfect for STEM, coding & robotics education, IoT robotics applications, AI-enhanced robotics application services, research, and DIY robotics kit development.
MIT License
78 stars 28 forks source link

use raw voice input #18

Closed ysj1173886760 closed 1 week ago

ysj1173886760 commented 1 week ago

hello, do we have options not parse the voice collected by microphone into command, but output it directly?

borntoleave commented 1 week ago

The microphone only returns the mapped strings listed at https://docs.petoi.com/extensible-modules/voice-command-module#id-2.-use-the-predefined-voice-commands

On Sun, Jun 23, 2024 at 5:26 PM sheep @.***> wrote:

hello, do we have options not parse the voice collected by microphone into command, but output it directly?

— Reply to this email directly, view it on GitHub https://github.com/PetoiCamp/OpenCatEsp32/issues/18, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACKLZGB6G3MHIOEA5KLATFTZI2IEJAVCNFSM6AAAAABJYGRJ7GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3DQNBWG4YDQOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- ~~ Rongzhong Li, PhD http://borntoleave.github.io

ysj1173886760 commented 1 week ago

get, thanks for your reply. Guess i need another microphone to collect additional sounds

este-este commented 1 week ago

I have a related question. Can those mapped strings be changed programmatically (perhaps by reflashing the memory in the voice module)? Basically, I 'd like to programmatically trigger voice feedback (e.g. have the voice module say "Object detected", triggered by a programmatic detection of an object on one of the sensors. Would be pretty cool to be able to do this...)