Asked

Hey Guys, Up For Discussion Is

Hey guys, up for discussion is the speech API from Microsoft/Azure/Bing. I want to utilize a pay version of this service for CES display. I don't want the service to stop after a limit of speech-to-text is reached making Alan inoperable to voice commands.

There are two EZ plug ins. First which plug do I use with my own API key? And secondly can anyone explain to me the cost breakdown from Microsoft for this service?


ARC Pro

Upgrade to ARC Pro

Become a Synthiam ARC Pro subscriber to unleash the power of easy and powerful robot programming

PRO
USA
#1   — Edited

I found on another thread that the advanced plug in I need, currently is not working because they have added regions to this service (8 total for cognitive service). If so will there be an update for pay for service within the plugin anytime soon?

PRO
Synthiam
#2   — Edited

Paste your API KEY into the field of Advanced Bing Speech Recognition control. No one here can help you with pricing. I recommend visiting microsoft's website to understand the price of their service. The plugin can be installed from here: https://synthiam.com/Software/Manual/Advanced-Bing-Speech-Recgntion-15894

There's instructions on how to use it on the page for it. 

User-inserted image

Get the key from microsoft azure's portal once you create a definition. I can't help you with the microsoft portal part. 

User-inserted image

PRO
USA
#3  

Ok I’ll add the advanced with my own api keys to see if it does work. I was reaching out to anyone using the paid for api keys as there are a few on here who say they pay. The pricing is not as intuitive or easy to find. But after digging thru the pages and turning off my pop up blocker;) I found pricing comes in at about $1 us per hour of usage with no contracts, pay as you go. For any one else interested beyond the daily limits of the free version.

PRO
USA
#4  

...yeah this is not working for me. Have you guys tried a new account using new keys? I get an error with my paid-for keys.

User-inserted image

PRO
Synthiam
#5   — Edited

I updated the plugin to allow the region to be selected, which creates an end point. I can't upload it for a few days until the website programmer fixes the plugin section.

User-inserted image

PRO
USA
#6   — Edited

Thanks very much. I’ll start programming some other stuff until the plug in accessible.

PRO
Synthiam
#7  

the new advanced speech recognition control is ready. You'll have to update ARC for it to work

PRO
USA
#8  

Awsome. Thank you I will get on it first thing in the AM!

PRO
Synthiam
#9  

Haha you better - I ended up fixing the website and the software on my weekend:)

PRO
USA
#10  

That’s no kinda weekend! That’s workdays! Much appreciated!

PRO
USA
#11  

DJ I get a couple of errors. First when I open after the install, it still asks me to download the latest version. Then when I update the advanced speech plug in i get another error.

User-inserted image

#12   — Edited

Same problem for me.

PRO
Synthiam
#13  

Try again? It looks like the file wasn't even there lol

PRO
USA
#14  

Works perfect now! Thank you.................................................!!!

PRO
Synthiam
#15  

Yeah it does:) enjoy!!! Enjoy!!!! Muhahahaha

PRO
USA
#16  

hehhehehe that last laugh....sounded very Dr Evil-ish......are you holding your pinky to your face?

User-inserted image

PRO
USA
#17   — Edited

I'm running some speech tests and after i get my answer, the plug in continues with random responses when no questions were asked. Sometimes 4 to 5 extra answer when nothing was asked. Watch the mic pause go on and off?! I'm using AIMLBot. Anyone seen this before? Soon to throw the new computer out the window....

PRO
Synthiam
#18  

It is hearing itself

PRO
USA
#19  

...yeah good catch, I just noticed there are no record controls like in the other Bing plug in.

PRO
Synthiam
#20  

Get the latest version. I stop listening when SayEZBWait or SayWait are called

PRO
USA
#21  

User-inserted image

Got latest version. Have no idea where to set up saywait, is this with in the in the script? Hint please.

PRO
USA
#22  

Also is there a way to stop the the Advanced Bing Speech from running without removing it from my project? The pay service uses hourly to charge. ARC has been open on and off 9 hours today, so its cost me $9.

PRO
Synthiam
#23  

Press the pause button on the control to stop it from sending. That’s what the button is for.

Where ever your say() command is that makes the robot speak. How are you making the robot speak?

PRO
USA
#24   — Edited

Paid API uses time not amount of queries. As long as the API keys are active the clock is ticking, paused or not. 1 hour of standby is same cost as me asking it a question every 10 seconds for an hour. 1 hour cost a dollar either way.

In Aimlbot, i'm using Say($botResponse).

PRO
USA
#25  

I tried Changing Say($BotResponse) to SayWait($BotResponse) does nothing, it still answers itself. as shown in the video.

PRO
USA
#26  

I’m fried for the day. Thanks for helping. I will get back at it in the morning.

PRO
Synthiam
#27  

Use the latest - i added a connect and disconnect from the API.

I'm pretty sure that's not needed - because the session is what matters. And the PAUSE checkbox will start and stop sessions, which is where you get billed. The previous version (21) that you were using earlier today did not stop and start the session. I added that with the last build (22)

PRO
USA
#28  

Thanks for adding that. I got up this morning and had left one instance of ARC open on office computer with the advanced bing open and checked my cognitive account. Was 17 bucks, so definitely clocks even when paused.

PRO
Synthiam
#29  

You're certain the instance that was left over night was using build 22 that i published yesterday afternoon? Only that version paused the subscription. The previous version from yesterday morning did not pause the subscription.

PRO
USA
#30  

No i went to sleep before i updated to 22, that was still the old 21 version on the office computer. Works good today. Now i'm just struggling with trying to deal with microphone/speaker issue where it listens to itself, as shown in the video.

PRO
Synthiam
#31   — Edited

Send the ControlCommand to PAUSE the speech recognition before SAY and send the Unpause after it's said

It should pause and unpause automatically - mine does anyway. Are you speaking out of the EZ-B or PC speaker?

PRO
USA
#32   — Edited

PC Speakers..................................................................

PRO
USA
#33   — Edited

User-inserted image

Using this script in AIMLBOT, and getting this error with the advanced bing plug in.

ControlCommand("Advanced Speech Recognition", PauseListening) SayWait($BotResponse) ControlCommand("Advanced Speech Recognition", UnpauseListening)

PRO
USA
#34  

I've had another person test and they get the same results. Any idea what might be going on?

PRO
Synthiam
#35  

Looks like MS updated their API again - i updated the plugin. This is a headache

PRO
USA
#36  

Ok cool. Thank you again. Hopefully this will be it. I just need to limp thru CES.hopefully they don’t change it again for sometime.

#37  

Hey Will, is everything working good now? Just curious. I have been following and wanting to know. MS always tinkering around makes it hard for thing like this to stay working. I understand why people would give up and move on.

PRO
USA
#38  

@Dave No, I have some ARC near crashes with this plug in. I've given up on this control for now and I'm thinking about how to best demonstrate Alan at CES, using windows built in voice recognition. I also found out my internet will only be 3 megs/sec! I have Alena working with Amazons Echo, so not sure it thats going to chew up the all the bandwidth. I might be able to use my phone in hotspot mode if they arent jamming the cell service.

#39  

Jamming cell service is illegal, and the casinos and convention centers in Vegas have stopped doing it after getting caught.  However, there are going to be a LOT of people competing for that bandwidth so I would not plan on reliable Hotspot service.  I have had trouble getting Internet phone service in Vegas at much smaller conferences than CES.

Can you pay for a bigger pipe, or is everyone limited to 3mbs?

PRO
USA
#40  

i believe you can upgrade but we are at max budget and upgrade pricing is insane . The upgrade we found for regular CES exhibitors was 10 ($2450) then 20 (+$3500)

#41  

Ugh...  I hate everything about Vegas.  I am going to a conference in February at Ceasars Palice and I plan on arriving an hour before the opening reception, and leaving before  lunch on the last day to spend as little time as possible there.

Alan

PRO
USA
#42   — Edited

Yeah you can’t believe the amount fees and costs for everything. If you exhibited a lot investing in a portable power system and direct link to a satellite might be in order;)

PRO
USA
#43  

...here is a cut and paste and screen grab of the error...

User-inserted image

PRO
Synthiam
#44   — Edited

That’s an error from the service. Other than disabling the pause command in the configuration, I don’t have any suggestions. Did you try googling the error code from the message?

PRO
USA
#45  

Thanks DJ. No worries. I’ve only a few more weeks before CES, so going to move on to other options as times running out.

#46  

The plugin no longer works for me since the update no matter what region I try. It says WebSocket upgrade failed with an authentication error (401).

PRO
Synthiam
#47  

You may have to update the key in azure. Because Microsoft has legacy and ultra legacy and recent key versions - it’s kind of a mess and difficult for us to keep track. This plugin uses the latest key type AND it will tell you in azure what region to use. You MUST use the region they specify. You cannot simply use any random region. They assign the region for you.