Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Road Runner > RR Plugins


Reply
 
Share Thread Tools Display Modes
Old 01-26-2006, 07:37 PM   #1
Constant Bitrate
 
Join Date: Nov 2005
Posts: 215
whodwho is on a distinguished road
Integrated voice control in RR...

I found voice control to be a nice complement to car computing, I found if very useful and fairly accurate for the most part but I was running into limitations with adding commands and keeping focus on the apps I was trying to control from ones that I have tried. So I created one so I could modify as needed and made it very flexible for other apps. I made it so it would load a different command sets for the different apps and sets focus on apps it does not have api access too. Nothing hardcoded but some system commands (open CD, time and date, etc.)

Anyways I wrote it in VB6 to possibly integrate it with RR since that turned out to be the front end of choice for me - Thanks Guino. Well that day came and I integrated a simple version of it and since RR is capable of sending commands to other apps it works well in the simple form.

It can easily be modified to add for any commands RR can send and there is a SendKey function to send alphanumeric for text input and edit commands so you can add other sendkey commands but striped everything else for now. I added two indicators one for !MIC_ENABLED one and one for !ONCOMMAND for visual aid in the skin. There is a hotkey to trigger command mode - currently it is F10

kth

Highlights:
* Supports most Road Runner Commands
* Support for Destinator
* Support for FreeDrive
* Support for MapPoint
* Support for iGuidance
* Support for PhoneControl.NET - thank you zorro!
* Support for XM and Sirus
* Configurable greeting and randomized replies
* hotkey to use as the keyword - currently is F10

Recent Additions:
~ added confirmation for dial, shutdown and hibernate/standby commands
~ Dictation - free speech recognition for quick notes and textboxes
~ added confirmation to dictation
~ activate rules (command sets) by current screen - i.e. enable navigation rule only in GPS screen
~ added dynamic voice dialing - currently by switching to dictation mode(need to automate the switch) and saying "dial 7025551212"
~ added static voice dialing ie "dial home", this also works with buttons as well ("PHOCO_DIAL;7025551212")
~ added read from file - currently only txt files "read files"
~ added read from clipboard - allows you to copy text and it will read it "read clipboard"
~ added standby/hibernation back in since pulling code out of the rr.exe - 05-02
~ added doevents loop to rid of the gui hesitations while speaking - done - 05-02

Current Efforts: - in current test version
~ added progressbar for mic volume - done
~ added configuration to setup different voices for commands, alerts, and reading - done
~ added Outlook schedule - "today's appointments", "next appointment" - done
~ added Outlook read email - "check email", "read last email" - done

ToDo List:
~ finish 'What commands can I say' type help support
~ Playlist by voice - working!!! need to make it so you don't need exact title

Other software:
Here is a link to the Speech Recognition Engine - you will need to install the SDK as they don't have just the engine install available alone
http://www.microsoft.com/speech/download/sdk51/

Here is a MS tool to backup and restore Speech Profiles. It maybe possible to transfer from home to car, but I don't know how sensitive it would be on using a different Mic or different acoustics of home versus car.
http://www.microsoft.com/downloads/d...DisplayLang=en

05-02:
added standby/hibernation back in
added doevents while speaking to avoid hesitations

05-20:
added voice configuration
added read email for Outlook
added read appointments from Outlook
added progressbar for mic volume

Voice Control is now in Road Runner starting with 5-1 release - Thank you for including it Guino

You will need to add the files below to your RR directory and
add a UseVoiceControl=True line to the RR.ini
Attached Files
File Type: zip VoiceControl_04-12.zip (141.4 KB, 1617 views)
File Type: zip VoiceControl_05-02.zip (145.8 KB, 2249 views)
File Type: doc Available Commands.doc (78.0 KB, 2337 views)
File Type: zip test_Version_05-25.zip (104.2 KB, 1465 views)

Last edited by whodwho; 05-25-2006 at 01:43 PM.
whodwho is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 01-26-2006, 08:02 PM   #2
Tainted Love
 
Cris's Avatar
 
Join Date: Apr 2004
Location: Romania
Posts: 4,647
Cris is on a distinguished road
I can't really answer your wuestion, but I've been looking for a voice command software for a while now...I'd love to give it a go.
Cris is offline   Reply With Quote
Old 01-26-2006, 08:39 PM   #3
Low Bitrate
 
Join Date: Apr 2005
Posts: 75
Rosebud6 is on a distinguished road
I'd give it a go.
Rosebud6 is offline   Reply With Quote
Old 01-27-2006, 12:22 AM   #4
Maximum Bitrate
 
tolisn's Avatar
 
Join Date: Dec 2003
Location: Greece
Posts: 663
tolisn is on a distinguished road
__________________
The road is long but we are getting there.
tolisn is offline   Reply With Quote
Old 01-27-2006, 12:58 AM   #5
FLAC
 
Join Date: Apr 2005
Location: Queens, New York
Posts: 1,385
Cheekz185 will become famous soon enough
x2
__________________
2002 Mitsubishi Galant
Progress: 90% [-▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓- ->

Carputer Specs:
Via M10K
512mb Ram
60GB HDD
Souund Blaster Audigy2 NX
OPUS ITX PC Case

Cheekz185 is offline   Reply With Quote
Old 01-27-2006, 02:51 AM   #6
Constant Bitrate
 
Mattkins99's Avatar
 
Join Date: Mar 2005
Location: Seattle Area
Posts: 175
Mattkins99 is on a distinguished road
x3
__________________
Matt Atkins
Seattle5s | President
'01 M5 Lemans Blue/two tone black and silver interior
Factory nav.... for now

Old Car (almost sold)
'98 540i-6 blk/blk
Dell 300m | Xenarc 7" | Road Runner | iBusCOMM | NaviVoice | Streets & Trips GPS
Mattkins99 is offline   Reply With Quote
Old 01-27-2006, 08:56 AM   #7
Terminal flasher
 
Sonicxtacy02's Avatar
 
Join Date: Sep 2004
Location: Woodbridge, VA
Posts: 6,307
Sonicxtacy02 has a spectacular aura aboutSonicxtacy02 has a spectacular aura about
its an open source program. There shouldnt be any issues.
Sonicxtacy02 is offline   Reply With Quote
Old 01-27-2006, 09:51 AM   #8
Tainted Love
 
Cris's Avatar
 
Join Date: Apr 2004
Location: Romania
Posts: 4,647
Cris is on a distinguished road
Wow, this works great!!! I like it a lot!
Oh, the computer is really chatty too...
Thanks a lot whodwho! Awesome!

One thing though. Once you press hide, you can't bring it back up, and it gets a lot of false commands (like "bless you" or "excuse you" - nice add), so there should be a button (maybe integrated in RR, or a short cut key) to enable and siable it. I think mute/unmute the mic is the easiest around this.

Ok, off to train SAPI more... This is fun!

Last edited by Cris; 01-27-2006 at 10:00 AM.
Cris is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 01-27-2006, 10:03 AM   #9
Tainted Love
 
Cris's Avatar
 
Join Date: Apr 2004
Location: Romania
Posts: 4,647
Cris is on a distinguished road
And just noticed: the "mute" command, also mutes the mic, so there's no voice solution to unmute.

Oh, and it works with 5.0 too. I've now upgraded to 5.1, and will try it out with this version.

Last edited by Cris; 01-27-2006 at 10:37 AM.
Cris is offline   Reply With Quote
Old 01-27-2006, 10:36 AM   #10
Constant Bitrate
 
Join Date: Nov 2005
Posts: 215
whodwho is on a distinguished road
You can change the "chatty" when you get tired of it by changing the 'repeat' option in the voices.ini file

You can play with the sensitivity adjustments in the speech properties in control panel to adjust pronunciation sensitivity and accuracy versus speed. I have mine at 3/4 each.

You can delete those out of the keyword.xml and recompile, it was just to show you could add speak entries there. You will find what will help with false recognition is to not use short commands they are more susceptible.

If you hide the window you can say "system show yourself" and the window should pop backup. There is a button command to add to your skin that will enable/disable called 'MIC' could add one for show/hide the window as well.

Mute will mute the response but the microphone is still active and should allow you to say mute again to unmute, let me know if that is not the case.

and don't forget to "thank you" to the computer once in awhile...
whodwho is offline   Reply With Quote
Old 01-27-2006, 10:45 AM   #11
Tainted Love
 
Cris's Avatar
 
Join Date: Apr 2004
Location: Romania
Posts: 4,647
Cris is on a distinguished road
It can be configured according to the skin right? I'm using the iDrive skin, and that has a bit more menus, and it's a bit different that other skins...

Here it is: http://www.mp3car.com/vbulletin/rr-skins-no-longer-supported/68009-idrive-road-runner-originally-btbe.html
Cris is offline   Reply With Quote
Old 01-27-2006, 11:04 AM   #12
Tainted Love
 
Cris's Avatar
 
Join Date: Apr 2004
Location: Romania
Posts: 4,647
Cris is on a distinguished road
I just did a quik session of training, and it worked better wiout training...I think I'm gonna have to train it more.
That "bless you" and "excuse you" thing unfortunatly have to go...every minor thing it hears it starts excusing me...too bad, I kind of liked it...

Oh, and yeah, I will tank the computer every once in a while...but first I'm thanking you Whodwho.
Cris is offline   Reply With Quote
Old 01-27-2006, 11:19 AM   #13
Tainted Love
 
Cris's Avatar
 
Join Date: Apr 2004
Location: Romania
Posts: 4,647
Cris is on a distinguished road
I've just noticed that in the Video menu in RR, speech doesn't want to work...

How do I get rid off the bless you thing?

Also, I don't know why, at first it worked fine, but now it doesn't want to respond...?

Last edited by Cris; 01-27-2006 at 11:26 AM.
Cris is offline   Reply With Quote
Old 01-27-2006, 11:26 AM   #14
Constant Bitrate
 
Join Date: Nov 2005
Posts: 215
whodwho is on a distinguished road
One way you can add the additional screens/menus is to call them by the ExecTBL.ini file and call by that entry for the button and voice command.

example:

change the button command to:
"LOADCLIMATE"

put an entry in the ExecTBL.ini file as:
"LOADCLIMATE","LOAD;climate.skin;;Climate||ACTIVAT E;RoadRunner"

put an entry in the command.xml file under <!--commands from ExecTBL.ini --> using the grammar compiler as:
<P VALSTR="LOADCLIMATE">climate</P>

save and compile
whodwho is offline   Reply With Quote
Old 01-27-2006, 11:36 AM   #15
Constant Bitrate
 
Join Date: Nov 2005
Posts: 215
whodwho is on a distinguished road
Quote: Originally Posted by Cris
I just did a quick session of training, and it worked better wiout training...I think I'm gonna have to train it more.
That "bless you" and "excuse you" thing unfortunately have to go...every minor thing it hears it starts excusing me...

Is this the same mic that you started with? I have two; a wired and a bluetooth and cannot use the same profile. I found that I turned off the background adaptation option as it would seem to degrade after a while and I would have to delete and start a new profile.

to get rid of the "bless you/excuse you" open the keyword.xml with the grammar compiler and delete the three lines or the whole rule from RULE NAME to /RULE for the speak rule, save and recompile.
whodwho is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recommendations : Voice Control wolfebaine Input Devices 49 01-03-2006 06:05 PM
SpeakEasy Voice Recognition - Release 0.9.2 ruairi Software & Software Development 10 11-22-2005 04:29 PM
Voice control Cheekz185 Centrafuse 0 06-23-2005 11:35 PM
request: voice control for videos ryguy Centrafuse 5 06-09-2005 02:04 AM
My hardware/Software computer control system - Wish list/feedback - Easy power off DarkWolf General Hardware Discussion 22 08-13-2001 02:42 PM



All times are GMT -5. The time now is 01:23 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics