hello, I am still asking for your help, I wish a servo control by voice command, but I have a python error, missing something?

revesecret

9 years 8 months ago

ok sent

revesecret

9 years 8 months ago

the script works I hear his voice, and error message at the end that says sérial device is null

revesecret

9 years 8 months ago

ok sent

GroG

9 years 8 months ago

In reply to by revesecret

you executed the python script Twice...

So, usually I try to make the Python re-entrant, which means .. you "can" execute it twice without bad effects, but this may not be the case..

The first time it executed I can see the last log statement..

"I am Listening" .. which usually means its waiting for a command, but I don't see any verbal command.. Did you try something like "rest" or "open hand" ?

If so it did not see it...  Do you have a microphone?  Have you verfied that it works ?

revesecret

9 years 8 months ago

 
hello, grog, yes my microphone works, but I can not do

 

wvantoorn

9 years 8 months ago

Maybe try another file, maybe a file from gael.3 file they work here so they should work with you.

 

there are many scripts in the repo, do they all not work? And iif a file does not work, quit mrl, look for zombie java files, and restart mrl, and use another file. If that does not work, send again a noworky.

and if the sliders move manually, they should work with voice, and it is important to put the mic right in front of your mouth and put a hand over the mic and mouth so it gets the command better. This is important for cheap mics.

if it listens and does not hear anything, and your mic works fine, you could also turn up the volume for the mic so it is more sensitive. 

But when started a new script, check if you can slide manually before giving a voice command to see if the connected arduino works!

revesecret

9 years 8 months ago

hello, I used a different computer, I disabled the original microphone to the computer and use a headset, and I put java update, the voice command and I replied but comfirme servo is turned ??
manual servo works

revesecret

9 years 8 months ago

the voice command works, resolved, thank you for grog and those who helped me onsmiley