Asked — Edited

Speech Recognition Disable, Enable Phrase Still Has An Question

I know we discussed this before in this thread: https://synthiam.com/Community/Questions/2264

Forgive me if it's not proper to start a new thread on the same issue but I left that thread thinking everything was OK. Well, I've had time now to test this. I've found that there is still a problem with the Speech Recognition Disable, Enable in the Voice Recognition Panel. However I think I see what's going on:

At the start up of the ARC program this feature works great. When I disable the Voice recognition with a phrase I have listed in the Voice Recognition Panel it stays disabled till I re-enable it with a phrase (just like it should). However if I first use a different voice command I've listed in the panel "and" I've set a timed parameter (like this: MP3TriggerPlayTrack( d0, 38400, 3, 16000), it will screw things up. It seems like the last timed parameter that was set (ie: 16000 in the last example) stays in memory . Then if I ever want to disable the Speech Recognition using the phrase method in the Speech Recognition panel it will only stay disabled for the amount of time that was set by the last timed parameter used.

Hope this makes sence and makes it easier to find and correct,

Thanks, Dave Schulpius


ARC Pro

Upgrade to ARC Pro

Your robot can be more than a simple automated machine with the power of ARC Pro!

#9  

No real issue. :) I guess I was just asking for a new feature. Sorry I feel I'm wasting your valuable time. Thanks for hanging in there with me though.

I'll try again to describe what's in my addled mind. sick If we cant connect this time, then perhaps it's just me living in a dream world. blush

As it stands now; When you first start ARC you can place a check mark in the little box on the Speech Rrecongnition box and the SR will stay paused as long as you don't use a SR Timeout Value in a command somewhere. This is also the case if you have a command entered in the box inside the SR box at the top and speak that command to pause the SR. As soon as you use a SR Timeout Value in a command somewhere else, that check mark that was placed at start up will uncheck after this new command's timeout value expires. I understand that it's designed that way.

I was hoping there could be a feature added that would override that last SR timeout value (this value may or may not be in memory depending on if one has been used yet). This new command would now halt any Speech Rrecongnition and only listen for one phrase. Once it hears that phrase the program would start listening again.

If I cant get my thoughts across this time, I promise I'll stop. ;)

Thanks again, Dave Schulpius

#10  

@Dave...I think I understand you conflict. The mp3 trigger function will always disable the speech for the specified time, then reenable automatically. Of course to disable after the mp3 track you must say" B9 disable speech" when so desired as in a noisy environment. An alternative to the mp3 trigger is when in a noisy enviroment is to "B9 enable speech followed by B9 play song1 cc(song1script,pauseoff). within the song1script is a Exec(C:/music/Mr Roboto.mp3or(.wav), CC(speech recognition,pauseOn), sleep(180000), cc(speech recognition,pauseOff)if soo desired, or manually "B9 enable speech! OR keyboard control(thanks DJ) letter whatever to pauseon or off Speech........hope that helps...if not please keep asking and I could continue to help find a solution!

PRO
Synthiam
#11  

Okay, I get it:)

When mp3 trigger played with timeout set AND SR pause is set, then don't unpause after timeout.

That easy! Consider it done

#12  

Ever on top of it DJ Sures!

#13  

:P Easy? For you I'm sure it is! Heck, I couldn't even convey my thoughts on it logically. Sorry again for the lame attempt. I guess this revels again what a nub I still am.

Thanks for hanging in there DJ. I'm glad you finally understood my mumblings. So once you add, as you say a " don't unpause after timeout" featuer, will I be able to un pause with a unique command?

Please don't feel you have to do this right away. I'm sure there area other priority's.

irobot58, thanks for chiming in! I think I understand what your saying. I know DJ is now on board but I'm still trying to learn. So... What you are proposing tis hat I keep the SR busy waiting on file playing on the laptop? However will using your "Sleep(180000)" then the "cc(speech recognition,pauseOff)" will only keeps the SR off for 18 seconds till it's re-enabled?

#14  

DAVE have a blessed safe christmas and a happy new year.

#16  

@dshulpius..dont be toooo hard on yourself! we're all in the same bo(a)t:) "What you are proposing is that I keep the SR busy waiting on file playing on the laptop?" yes! and yes to the last question except that 180000 I believe is 1000=1 sec so 180 sec would be 3 mins? ;) just saying! ,my friend dave. @robotmaker I like your use of capitals...in this case! :)