Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Support Software > PowerVoice


Closed Thread
 
Share Thread Tools Display Modes
Old 09-10-2004, 12:35 AM   #61
Maximum Bitrate
 
MoFo's Avatar
 
Join Date: May 2004
Location: TX
Posts: 478
MoFo is on a distinguished road
can you add a new value such as <p VAL=305">play wav</p> that would play a specified wav defined in the .ini file.
The reason for this is for cool factor. Imagine the following:

Me: Good morning computer (p val=305)
Computer: "Good morning MoFo" (plays the defined wav file)

or
Me: Computer, Check system status (p val=306)
Computer: "All systems functional" (plays another wav)

What do you think? Cool or no?
MoFo is offline  
Sponsored links
Advertisement
 
Advertisement
Old 09-10-2004, 02:05 AM   #62
My Village Called
 
0l33l's Avatar
 
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 10,517
0l33l is on a distinguished road
Big Zack: could you please zip the ICO file and upload it here. It looks real ****ty when I needed to cut off the white added to it by converting ti to BMP.
0l33l is offline  
Old 09-10-2004, 03:08 AM   #63
Constant Bitrate
 
ccblanket's Avatar
 
Join Date: Sep 2003
Location: SF Bay Area
Posts: 124
ccblanket is on a distinguished road
man, this thing is awesome. I'd like to extend my thanks to Microsoft for such a good engine, and absolutely to our friend 0l33l for this amazing utility. I just tried this thing w/ iguidance and it is very successful.

Few glitches I had were:
1- I couldn't get it to type digits (eg 'enter 1' didn't work)
2- When I say 'close navigation' or 'exit navigation', the utility shuts down itself instead of iGuidance.

and I agree w/ MoFo on his last post. Imitating a dialogue w/ the computer would be fun to show friends

congratulations again,
--ccb
ccblanket is offline  
Old 09-10-2004, 03:08 AM   #64
My Village Called
 
0l33l's Avatar
 
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 10,517
0l33l is on a distinguished road
New Version

New: New Icon - Still need the original ICO file so it would look 1000x better
Starts up minimized
Put in menu in task bar so u can left click on it and it will show the form, and then right click on it and select exit or hide

Quote: Originally Posted by MoFo
What do you think? Cool or no?

Cool yeh, doable yeh. I was planning on adding voice conformation (say open navigation and it will say naviation opened) to it, so you would not even have to do WAV files

Quote: Originally Posted by ccblanket
man, this thing is awesome. I'd like to extend my thanks to Microsoft for such a good engine, and absolutely to our friend 0l33l for this amazing utility. I just tried this thing w/ iguidance and it is very successful.

Few glitches I had were:
1- I couldn't get it to type digits (eg 'enter 1' didn't work)
2- When I say 'close navigation' or 'exit navigation', the utility shuts down itself instead of iGuidance.

Thanks. I don't feel like getting a version of iGuidance. Do u mind telling me the title (top left corner) of the app? Basically I send a message to shutdown title, and since iGuidance's name is not Routis then it doesn't do ****.
Code:
PostMessage(GetHandleFromWindowTitle('Routis'), WM_QUIT, 0, 0);

That's why.

U guys think that voice conformation is a good idea??

Last edited by 0l33l; 09-10-2004 at 03:14 AM.
0l33l is offline  
Old 09-10-2004, 03:21 AM   #65
Constant Bitrate
 
ccblanket's Avatar
 
Join Date: Sep 2003
Location: SF Bay Area
Posts: 124
ccblanket is on a distinguished road
Re:app title
I am at home now, and I can find that out tomorrow. But I guess it would just be
PostMessage(GetHandleFromWindowTitle('iGuidance'), WM_QUIT, 0, 0);

To me; voice confirmation is not so much necessary cause I already see everything take place in front of me. But it is more for fun, to have the computer respond w/ some text. I personally would find it irritating if the computer gave me a voice conf. for each and every command. I still think MoFo's idea combined w/ your modification is very good (responding with a preselected text spoken through the speech engine).
ccblanket is offline  
Old 09-10-2004, 07:28 AM   #66
Constant Bitrate
 
Big Zack's Avatar
 
Join Date: Oct 2003
Posts: 176
Big Zack is on a distinguished road
Quote: Originally Posted by 0l33l
Big Zack: could you please zip the ICO file and upload it here. It looks real ****ty when I needed to cut off the white added to it by converting ti to BMP.

I'm going to have to dig for it a bit... as soon as I can find it I will put it up.


Quote: Originally Posted by ccblanket
Few glitches I had were:
1- I couldn't get it to type digits (eg 'enter 1' didn't work)
2- When I say 'close navigation' or 'exit navigation', the utility shuts down itself instead of iGuidance.

1 - Edit the config and replace all of the numbers with the spelled out word. (1=one, 2=two, etc) That fixed the “Navigation view three d 1” issue I was having.

2 – are you running iG 2? I'm pretty sure “exit navigation” worked for me yesterday. Does Routis/iG need to be the active window to close it? I did run into a few problems where I would speak a command and it would activate something in another app that had focus. Strange things were happening to my rear view cam app or NetStumbler – that's actually what gave me the idea of a more complete system integration.

Quote: Originally Posted by MoFo
can you add a new value such as <p VAL=305">play wav</p> that would play a specified wav defined in the .ini file.

Voice confirmation is cool, but I would suggest making it optional. I would also like to see (hear, actually) some kind of command confirmation that a command was processed. Just a simple option in the ini to specify a wav file to play when a command is accepted and sent to the app. (things like “set speed on” or “colors auto” aren't easily noticed while trying to drive) So I say “navigation set speed off” and I get a soft little “beep” confirmation or whatever.

An option in the config file to enable/disable the confirmations for each command would also make sense – I would set some commands to “beep” a response, some could have a custom wav response and others would have nothing.

[settings]
PVAL_1_RESPOND = c:\ViewingMap.wav
PVAL_2_RESPOND = c:\ViewingGuidence.wav
PVAL_3_RESPOND = c:\beep.wav
PVAL_4_RESPOND = c:\beep.wav
PVAL_5_RESPOND = none


Another thought...

Would it be possible to allow editing of the PVAL command(s)? What I'm imagining is an ini file consisting of the PVAL number and the corresponding keystroke(s). That would allow the end user to customize the commands to run with most any application. I guess you could also include other values used such as the shutdown title.

[settings]
APP_TITLE = iGuidance
PVAL_1_send = {ALTDOWN}v{ALTUP}m
PVAL_2_send = {ALTDOWN}v{ALTUP}g

etc...

- - -

PostMessage(GetHandleFromWindowTitle('$APP_TITLE') , WM_QUIT, 0, 0);


- Z

Last edited by Big Zack; 09-10-2004 at 10:55 AM.
Big Zack is offline  
Old 09-10-2004, 10:59 AM   #67
Constant Bitrate
 
Big Zack's Avatar
 
Join Date: Oct 2003
Posts: 176
Big Zack is on a distinguished road
Quote: Originally Posted by 0l33l
Big Zack: could you please zip the ICO file and upload it here. It looks real ****ty when I needed to cut off the white added to it by converting ti to BMP.

found it...
Attached Files
File Type: zip RoutisVoice_ico.zip (87.4 KB, 69 views)
Big Zack is offline  
Old 09-10-2004, 11:04 AM   #68
My Village Called
 
0l33l's Avatar
 
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 10,517
0l33l is on a distinguished road
Quote: Originally Posted by Big Zack
I'm going to have to dig for it a bit... as soon as I can find it I will put it up.

1 - Edit the config and replace all of the numbers with the spelled out word. (1=one, 2=two, etc) That fixed the “Navigation view three d 1” issue I was having.

2 – are you running iG 2? I'm pretty sure “exit navigation” worked for me yesterday. Does Routis/iG need to be the active window to close it? I did run into a few problems where I would speak a command and it would activate something in another app that had focus. Strange things were happening to my rear view cam app or NetStumbler – that's actually what gave me the idea of a more complete system integration.

Voice confirmation is cool, but I would suggest making it optional. I would also like to see (hear, actually) some kind of command confirmation that a command was processed. Just a simple option in the ini to specify a wav file to play when a command is accepted and sent to the app. (things like “set speed on” or “colors auto” aren't easily noticed while trying to drive) So I say “navigation set speed off” and I get a soft little “beep” confirmation or whatever.

An option in the config file to enable/disable the confirmations for each command would also make sense – I would set some commands to “beep” a response, some could have a custom wav response and others would have nothing.

[settings]
PVAL_1_RESPOND = c:\ViewingMap.wav
PVAL_2_RESPOND = c:\ViewingGuidence.wav
PVAL_3_RESPOND = c:\beep.wav
PVAL_4_RESPOND = c:\beep.wav
PVAL_5_RESPOND = none

Another thought...

Would it be possible to allow editing of the P VAL? I guess what I'm imagining is an ini file consisting of the P VAL number and the corresponding keystroke(s). That would allow the end user to customize the commands to run with most any application. I guess you could also include other values used such as the shutdown title.

[settings]
APP_TITLE = iGuidance
PVAL_1 = <actual commands being sent>
PVAL_2 = <actual commands being sent>

- - -

PostMessage(GetHandleFromWindowTitle('$APP_TITLE') , WM_QUIT, 0, 0);


- Z

Its easier for me not to put up a mediaplayer in my app and just have the computer say it - would be cooler because it wouldn't be in your own voice.

Yeh, just edit the XML file and replace the 1 with one.

Exit navigation does not work for iGuidance becase of the way I send the procedure to it. I will put in the config (that was my plan). But the correct code is PostMessage(GetHandleFromWindowTitle(APP_TITLE), WM_QUIT, 0, 0); And I get the APP_TITLE from the INI file This app is written in Delphi, so its faster than its VB counterparts and is more stable too

I'll put the things to say in the INI file, and if you leave something blank then it will just not say anything, so you will have an option for "enter k", but if you leave it bank then it just won't say anything.

Doing the thing for all apps is too hard. The "enter LETTER" sends keys to the app that is currently active.

Thanks for the icon... i'll put it in when I get home
0l33l is offline  
Sponsored links
Advertisement
 
Advertisement
Old 09-11-2004, 03:54 AM   #69
My Village Called
 
0l33l's Avatar
 
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 10,517
0l33l is on a distinguished road
Progress:
  • Made space for iGuidance so the program can shutdown it
  • Put in 1/2 the voice conformation interface
  • Voice conformation can be canceled
  • Update icon


MoFo: You have almost the same car as me...
0l33l is offline  
Old 09-11-2004, 02:32 PM   #70
Maximum Bitrate
 
MoFo's Avatar
 
Join Date: May 2004
Location: TX
Posts: 478
MoFo is on a distinguished road
Heh heh. Yeah I need to get around to uploading some pics of my install. My Sc is black. Now that I have all this equipment in it people call me Knight Rider. So I changed RoutisVoice from <"navigation destinaton home"> to <"KIT destination home">
MoFo is offline  
Old 09-11-2004, 10:12 PM   #71
My Village Called
 
0l33l's Avatar
 
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 10,517
0l33l is on a distinguished road
Quote: Originally Posted by MoFo
Heh heh. Yeah I need to get around to uploading some pics of my install. My Sc is black. Now that I have all this equipment in it people call me Knight Rider. So I changed RoutisVoice from <"navigation destinaton home"> to <"KIT destination home">

Yeh, post pics of your installation What's your interior color? Mine's black. my car is Red on back with 150k on the odo

What does KIT stand for
0l33l is offline  
Old 09-11-2004, 10:44 PM   #72
Constant Bitrate
 
Big Zack's Avatar
 
Join Date: Oct 2003
Posts: 176
Big Zack is on a distinguished road
Actually, it's KITT. It stands for Knight Industries Two Thousand. The car in the 80's show "Knight Rider".

In addition to being virtually indestructible, KITT possesses advanced artificial intelligence capable of accepting voice commands, as well as interacting with its operator and making decisions on its own. In fact, KITT's artificial intelligence is so advanced, that it has formed a kind of personality. This human characteristic has enabled KITT to gradually form a unique bond and partnership with Michael and the rest of the FLAG crew. Although his purpose is to fight criminals, KITT by nature is benevolent and compassionate. KITT is programmed in such a way that his top priority is to protect human life, and thus he does not utilize lethal force.

...jeesh, I'm such a freak'n geek.

- Z
Big Zack is offline  
Old 09-11-2004, 10:48 PM   #73
My Village Called
 
0l33l's Avatar
 
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 10,517
0l33l is on a distinguished road
Quote: Originally Posted by Big Zack
Actually, it's KITT. It stands for Knight Industries Two Thousand. The car in the 80's show "Knight Rider".

OH! I've heard of that show, but never saw it
0l33l is offline  
Old 09-11-2004, 11:34 PM   #74
Maximum Bitrate
 
MoFo's Avatar
 
Join Date: May 2004
Location: TX
Posts: 478
MoFo is on a distinguished road
Quote: Originally Posted by Big Zack
Actually, it's KITT. It stands for Knight Industries Two Thousand. The car in the 80's show "Knight Rider".

In addition to being virtually indestructible, KITT possesses advanced artificial intelligence capable of accepting voice commands, as well as interacting with its operator and making decisions on its own. In fact, KITT's artificial intelligence is so advanced, that it has formed a kind of personality. This human characteristic has enabled KITT to gradually form a unique bond and partnership with Michael and the rest of the FLAG crew. Although his purpose is to fight criminals, KITT by nature is benevolent and compassionate. KITT is programmed in such a way that his top priority is to protect human life, and thus he does not utilize lethal force.

...jeesh, I'm such a freak'n geek.

- Z


Ha ha. I see that you like that show also.
MoFo is offline  
Old 09-11-2004, 11:52 PM   #75
My Village Called
 
0l33l's Avatar
 
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 10,517
0l33l is on a distinguished road
I did some investigating and my program turns on Routis faster than Frodo's

Here's why:
Code:
ShellExecuteEx(@sei); for i := 0 to 25 do if BringFormToFront(GetHandleFromWindowTitle('Warning')) = false then sleep(25);

Basically instead of waiting a specified ammount of time, it searches if the warning window has been opened, if it hasn't then it will wait 25 milliseconds and then try again.

0l33l is offline  
Sponsored links
Advertisement
 
Advertisement
Closed Thread

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
Voice activated Light switch surfer6262 Off Topic 3 10-03-2009 07:48 AM
I replaced the male voice of my Delorme Street Atlas with a british female voice... dmbrown73 GPS 21 03-07-2006 11:43 PM
Voice Activated software heezer7 Software & Software Development 3 07-09-2004 02:00 AM
Voice Activated App - Need Team kovan Software & Software Development 0 01-28-2004 11:44 AM
BMW pre-installed system - TFT ? tsingsu LCD/Display 11 08-05-2002 03:16 AM



All times are GMT -5. The time now is 01:56 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