This is an alternative to the Bing Speech Recognition module for ARC. This skill is a paid service from Microsoft.
How to add the Advanced Speech Recognition robot skill
- Load the most recent release of ARC (Get ARC).
- Press the Project tab from the top menu bar in ARC.
- Press Add Robot Skill from the button ribbon bar in ARC.
- Choose the Audio category tab.
- Press the Advanced Speech Recognition icon to add the robot skill to your project.
Don't have a robot yet?
Follow the Getting Started Guide to build a robot and use the Advanced Speech Recognition robot skill.
How to use the Advanced Speech Recognition robot skill
This is an alternative to the Bing Speech Recognition module for ARC. This skill allows you to specify your own Azure Cognitive Service credentials using the Bing Speech Recognition cloud service. This is by far the most accurate speech recognition service that we've ever used.
Main Window
1. Connect API Button Once you have entered the API Key in the advanced configuration you can connect to it with this button.2. Pause Checkbox This checkbox pauses the detection from the audio input device. When not in use keep the skill paused so that you aren't using up detection time that you are paying for.
3. Audio Waveform This gives visual feedback that your audio input device (microphone) is configured correctly and is picking up voice/sounds.
4. Response Display Here you will get feedback from the Speech Recognition API. It will show the text version of your detected words.
Configuration
1. Language The language that will be used for recognition.2. Variables The variable which holds the text from the speech recognizer. This may be used in your Script for determining what was spoken.
3. Script Script that will execute for every detected phrase. If there is no match for recognition, this script will not be called.
4. Auto Record If enabled, the skill will begin recording audio when it has been detected. The threshold is adjusted in the Level Threshold setting.
5. Level Threshold This is the threshold to be used for both Auto Recording (if enabled) and when to stop recording. If you find that even in manual mode the recording manually stops too quick before your sentence is complete, lower this value.
6. Silence Count How many times the energy volume is below the level threshold before stop recording.
7. Max Recording Currently not enabled.
How to Use Advanced Speech Recognition Skill
In order to use this robot skill, you will need a Microsoft Azure account and an API key. There are many steps to create an Azure key, which isn't very easy for the average person. That is why we made a free version available here. However, if you wish to unlock the full functionality of this skill and manage your own paid subscription, you can create an Azure account. The azure account allows you to create a Cognitive Speech Recognition service. Locate the Region and API key to use in the Advanced tab of this skill. You can create an Azure account by clicking here.Add a Cognitive Services resource in your azure portal account.
Click add and search for the "Speech" service in the Marketplace.
Create the Speech service and then enter in a name (ex: Test), a subscription (ex: Pay-as-You-Go), Location (ex: West US), pricing tier (ex: Free 0) and create a new resource group (ex: BingSpeechTest).
Once your deployment is complete, click the "Go to resource" button.
In the left menu select "Keys and Endpoint".
Click the "Show Keys" button and then copy the generated key in the KEY 1 field.
If you don't remember the location you selected above, you can find the location in the Location field.
Add the Advanced Speech Recognition Skill to your ARC project (Project -> Add Skill -> Audio -> Advanced Speech Recognition).
In the Advanced tab of the Advanced Speech Recognition Configuration menu, enter the region and paste the API key.
- Save your configuration and then start speaking to activate the speech recognition.
*Note: When not in use ensure that the Advanced Speech Recognition skill is PAUSED, as it will be charging your account as it is used.
Script Samples
Add this code to the configuration of this skill to send detected speech to the PandoraBot control.ControlCommand("PandoraBot", SetPhrase, $BingSpeech)
Video
Here's an example of the skill in action combined with the Cognitive Vision and Cognitive Emotion services.Requirements
The Advanced Speech Recognition skill requires you to pay for an API key from Microsoft. We provide another version of this which does not require an API key, and you can install it from here.This service requires an internet connection which means that a second USB WiFi adapter or an ethernet connection will be needed. Read about having 2 network connections here.
Resources
When this control detects a phrase, it will be assigned to the variable and the specified script will execute. With this model, you can have this skill send the detected speech to a PandoraBot skill using ControlCommand(). Here's a sample project: bingsearchtest.EZBRelated Hack Events
Related Robots
Related Questions
Use Voice Recognition For Unsupported Languages
Bing Speech Controlled By A Script
Upgrade to ARC Pro
ARC Pro is your gateway to a community of like-minded robot enthusiasts and professionals, all united by a passion for advanced robot programming.
Let me ask how to add any language pack in the world to ez_builder?
Hello
Language selection is no more working , I just try to switch to fr-FR and recognition is english one,
Is this a new version? 11/25/2019?
ARC Designer Beta Version 2019.11.22.00
Ang plugin Version 24
Updated (version 30) to fix errors that popped up when unpausing and pausing the listener
Updated the plugin to use microsoft's latest library (1.10.0)
Updated: Uses the internal ARC VAD (voice activity detection) rather than continuous speech detection. This means the API usage will be much less because only spoken (Detected) phrases are sent to the API rather than continuous recording.
Is this any more accurate than Bing?
It’s identical. The first paragraph explains that this is the same is Bing. It just allows your to use your own credentials and pay your own service fees.