Game Development Community

dev|Pro Game Development Curriculum

Did I hear someone say, Voice Commands?!

by Leba Lualdi · 04/16/2009 (12:55 pm) · 17 comments

It's true, we've made Green-Ear uh.... awesomer.

With our 2.2 release, available for download now at www.garagegames.com/products/greenear, we've added some kickin' new features, a couple of fixes and a whole lot of charm.

First up: Voice Commands

These voice commands are connected to a library of your own making, just decide on the words/phrases/actions that you would like to illicit a response for and upload them to our site (under downloads/tools) and you will then be able to download a Library file and a Dictionary file to put into the Voice Command folder in your root directory. Easy Breezy. You are not limited to just voice commands, click of a mouse, keystroke, they can all provide the same function with this nifty new tool.

You may have noticed that several days prior to the 2.2 release, last week sometime, there was a 2.1 version up on the site. The difference between the two lies solely in the voice command feature. Instead of trying to guess the beginning and the end of a phrase, we’ve added VoiceCommBeginPhrase() and VoiceCommEndPhrase() functions, so that a phrase is defined explicitly. This reduces the number of false-positive recognitions and allows the function to recognize more complex phrases. Yay! So, if you had already downloaded the 2.1 and plan on using the Voice Command feature, you should get the latest version.

Here are some screen shots of what the upload section of our site looks like with some sample commands:
www.green-ear.com/images/leba/GenerateVoiceCommands.png
www.green-ear.com/images/leba/LanguageModelFile.png
www.green-ear.com/images/leba/VCDictionary.png
Also in the 2.1+2.2 Releases: Out of Game Calling

Out of Game Calling, or PSTN connectivity, allows developers to make it possible for end users to call out of the game to ANY landline or mobile phone. Some popular uses for this would be something like a ‘Phone-a-Friend’ feature in a trivia game, or simply to add people to your clan for a big raid. We provide the tech, the unlimited uses are up to you. I would like to publicly state one caveat on the Out of Game calling, although the feature is readily available in the latest release, its payment model has yet to be decided. Pricing for out of game calls should be available soon. A likely scenario is that it would be similar to Voice Slots in that you could by a bulk number of minutes, like a calling card, or that it could be a micro-transaction inside the game. It is also possible that we will have to do custom pricing for the various uses, if a game lends itself to high minutes of usage, it may make sense to have a different model than a game that makes one 30 second domestic call per session. I’d love to hear the community’s thoughts on pricing for such a feature as well, we are open to the possibilities.

Those are the new big features, now for the nitty gritty changes and fixes:

The library is now distributed as a DLL with a matching .lib file, instead of a static library. That means that an appropriate GearPlatformLib_VSx_xx.dll needs to be distributed to the end user with a game or application. Not a big deal, just important to note.

We have removed the C++ STL dependency from the SDK which allows it to be used in Torque without having to disable the Torque memory manager. I know a few of you who will be stoked about this one. As a result of that change, the API functions that were using STL vectors and strings are now using char pointers- FYI.

The init() function has been added to the TorqueGear class. It has to be called after constructing the object. We found that Torque is calling constructors of all SimObject-derived objects internally several times, so we've moved the initialization functions from the constructor and that should solve that.

On logon, the password is no longer sent as clear text. A hash is now used instead.

Those are the biggies and the smallies.

And below is a simulation of what someone might look like if someone called them with Out of Game Calling!
www.green-ear.com/images/leba/2.png www.green-ear.com/images/leba/3.png www.green-ear.com/images/leba/4.png www.green-ear.com/images/leba/4ish.png www.green-ear.com/images/leba/5.png www.green-ear.com/images/leba/6.png www.green-ear.com/images/leba/7.png www.green-ear.com/images/leba/8.png
Sure the term PSTN Connectivity SOUNDS nerdy, but see how exhilarating and exciting it is?! (This is merely simulated excitement, actual results may vary. Don’t try this at home, well, I mean DO try Green-Ear, don’t try simulated excitement….;)

Peace out.
Leba

#1
04/16/2009 (1:23 pm)
Hooray for awesomer! I look forward to putting this release to work.

- Dave
#2
04/16/2009 (1:25 pm)
Lol great work Leba and the rest of the Green-Ear team, I'll sure be checking out the new version when I get the chance. Out of interest is there any plans for mac support as we've just got a mac developer on board with our team?
#3
04/16/2009 (1:57 pm)
Awesome!

In your face, 'Tom Clancy's EndWar' and your *exclusive* features! :D
#4
04/16/2009 (2:03 pm)
Cool work Greenear team.. I'll have to try it it out at sometime (keep meaning to buy a Mic for my PC)


Love reading your blogs Leba.. always make me smile.
#5
04/16/2009 (2:53 pm)
Awesome stuff! Thanks for the update!

"simulated excitement" ROFL! =D
#6
04/16/2009 (4:38 pm)
Nice post. You don't see technical and goofy come together like this every day.
#7
04/16/2009 (5:22 pm)
Sounds like fun!
#8
04/17/2009 (1:54 am)
Sounds like a really cool set of features
Will be thinking of ways to use it sometime in the future

As for the pricing, one possibility would be to have accounts for the players and maybe have in game management of those accounts (game comunicates with greenear's client site/database) - this way the minute usage of each player could be better managed and maybe even each player could - trough the game - make minute ordering and payment directly to greenear, removing need to middleman

Just an idea
#9
04/17/2009 (6:55 am)
Thanks for the update, definitely addresses some issues and keeps getting better by strides. You guys make a great product!

A couple of questions:

I'm assuming the voice commands are processed on your servers and relayed back to the client. Is this correct (havent tested yet)?

What are your plans/timeline for updating for Torque3D?

Thanks again and keep it up, this software is one of the best values I've purchased and amazingly easy to integrate and use.
#10
04/17/2009 (7:43 am)
I love the simulation! That made the awesomer even awesomer!
#11
04/17/2009 (12:00 pm)
Thanks for the warm reception, everyone! Haha.

@Andy: as far as the Mac support, Our MAC SDK requires OSX 10.5 (Leopard) are you using 10.5 or 10.4? We ran into some issues building for 10.4 because it has older audio technologies than the ones we are using for 10.5. So, if you have 10.4- it will be a little longer and they are working on that as we speak. Technically we have a 10.5 version SDK ready now, so if you are using Torque for 10.5- I can send it on over to you. We were just waiting until we had all the versions to push out a new official Mac release.

@Luis: Good thinking on the pricing, I will add that to the list of possibilities.

@Jameson: Voice commands are entirely client side.

RE: Torque 3d- We will be developing for it when it released in beta and will have something available as soon as we can after it is available to us.

:)
#12
04/18/2009 (5:56 pm)
Leba, I am the mac programmer working with Andy on ZDay and am currently developing in 10.5. It would be great to get a copy to start working with. Just shot an email to your support address.
Thanks
-Dan
#13
04/20/2009 (11:05 am)
@Leba - Lol looks like Dan beat me to responding so if we can get him with access to the Mac SDK that'd be great.
#14
04/20/2009 (1:18 pm)
@ Andy- I sent Dan an email, he should be good to go, for now at least.
Thanks!
#15
04/21/2009 (11:06 am)
Woo hoo :) cheers Leba
#16
05/07/2009 (10:43 am)
"......., just decide on the words/phrases/actions that you would like to illicit a response for and upload them to our site (under downloads/tools) and ........ "

Where is the "our site (under downloads/tools)"?
How can I acess to there?
#17
05/07/2009 (10:45 am)
Can Voice Command recognize Chinese commands?
thanks.