Asked — Edited

Thinking About Buying A Jd Help

Is this a student toy or adult project. This sounds interesting but it needs to be expandable. I worked with ER1 and AIBO ER7. Is this something I could get into? Suggestions and price help needed!


ARC Pro

Upgrade to ARC Pro

Unleash your robot's full potential with the cutting-edge features and intuitive programming offered by Synthiam ARC Pro.

#97  

@darticus Understanding speech and reacting to it are two different things.

The "understanding speech" part is basically entering the phrase or word you want the computer to understand. The word "understand" is not quite appropriate in this context. A better word would be "respond."

That's what the ARC program does. It responds. It understands nothing. When you use the Speech Recognition control, that control has no idea what you are saying. That is to say, it does not break down the phrase and try to interpret the words and give them meaning. All it does is look for a match in the list of phrases you typed in. When, and if, it finds a match, it responds. It works on the whole phrase. A match is only made if it matches the whole thing. Not just one of the words. Also, a "phrase" can be just one word.

How does it respond? That's the other issue. It responds by what you type into the corresponding code (Command) area. Note; it only responds to the phrase it matched. Any other phrases and their corresponding code do nothing. They could just as well not even be there. They only come into play if a match is found to their phrase. But writing code is a whole other issue. And it's the hard part. I know some on here may tell you it's easy to write code using the script language. That's true to a certain extent. It's knowing what instructions go where and how to start that's the hard part.

The thing to keep in mind is that writing code for the Speech Recognition control is no different than writing code for anything else in ARC. No matter what control you put it in, it does the same thing.

So, let's do a simple example. Click on the gear icon in the Speech Recognition control. Type (or copy and paste) this into a free box under the area labeled Phrase in the Speech Recognition control setup:


This is a test

Then type (or copy and paste) this into the area labeled Command right across from where you entered the phrase:


print("The phrase you said was this is a test")

Click "Save" at the bottom left. Note; the print instruction does not send anything to your printer, but to the screen instead.

Now, making sure the little box next to the word "Pause" (top left of the Speech Recognition control) is unchecked, speak the phrase "This is a test" into the microphone.

If all went well you should see the following in the black area at the bottom of the control.


this is a test (0.95)
The phrase you said was this is a test

It should appear again every time you say the phrase. The number in parenthesis on the first line may be different, however. The Speech Recognition control responded to the phrase it matched by executing the code you wrote in the code input area for that phrase.

Let's carry the example one step further before concluding. Click the gear icon again to bring up the data entry screen. BTW, I don't know if you are aware of it or not, but you can reduce the window from full screen to a separate window by clicking the little box symbol in the upper right just like any Windows window. This can often make it easier to work with. Unfortunately it doesn't remember that and you have to do it every time you call it up.

Now go to the box where the print command was entered and click anywhere in it. That will cause the pencil icon to appear. Click it. You should see a new window appear with the print instruction already in it.

This new window can be resized as you like. I usually make it much wider for easier entry of the code. In this case it will remember that setting and come up the same way the next time.

What you want to do now is add another instruction. Note; every instruction MUST be placed on it's own line. You can place it directly under the first line or you can skip lines if you like. Up to you. Type or copy the following:


Say("The phrase you said was this is a test")

Click Save and then save again. If all went well again, you should hear the same thing that was displayed before (as well as being displayed again).

Hope that helped at least a little.

PRO
Belgium
#98  

choose soundboard pc,you will hear it thru your speakers.

United Kingdom
#99  

@darticus.

Read the following tutorial for an explanation of how to use speech recognition, and what all of the functions do in the speech recognition control...

Speech recognition tutorial

Plus, there's tons of other tutorials in the learn section of this website. Take the time to read through them when you can, as you will get a lot of information from them.

PRO
Belgium
#100  

avery window has a ? mark ,click on that and you get all info.

User-inserted image

#101  

Very helpful I will work on this today and get back hope I have success. Thanks again for all your trouble Ron

#102  

Fantastic! It all worked exactly correct! Reminds me of the old days of programming back in 1975. WOW! Not bad! Freakin' Great! I love it! Now anything else I should try to further my training a bit. No sound and sound with robot voice! Cool! Thanks Again Ron

PRO
Belgium
#103  

there are a lot off sounds out there.mostly not free voices.you can try your own, voice from the laptop you have.

#104  

Great! How do you learn the terms used in program writing for JD? Like goto or print or say. Very much like the old TI99a Texas Instruments computer language from 1975. Thanks Ron