DevMiser / Lumina

Lumina - AI Art Generator for Your TV
107 stars 8 forks source link

Question; add button for mic #14

Open ddave47 opened 4 weeks ago

ddave47 commented 4 weeks ago

If I wanted a to add a button for the mic could you direct me to the code I would need to change? I don't like the idea of it listening to me all day long. Really great project though! thanks!

DevMiser commented 2 weeks ago

You would need to change the wake_word() function to be a button push detection function and would no longer need to import pvporcupine. Keep in mind, however, that pvporcupine is only listening for a wake word and runs locally on the RPi. It does not record anything you say while it is listening for the wake word nor does it send anything you say to the cloud. So the wake_word function is as private as a button push detection function.