SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   [REL] sh4speech - voice command for SH4 (https://www.subsim.com/radioroom/showthread.php?t=119430)

billko 02-01-09 12:47 PM

Quote:

Originally Posted by scott613
What a great program you have - it really increases the immersion factor...

One possible issue I noticed with TMO - when requesting "Depth Below Keel" it seems to select "Periscope Depth" instead...

Not sure if anyone else has this problem...

Thanks again...

Just a guess, but maybe in TMO there's no "depth below keel" command?

Bill

tomoose 02-01-09 09:20 PM

Depth below keel
 
Scott;
I just noticed that same issue today. Biilko may be right in that the command isn't set, however that should be an easy fix (i.e. type in the command into the Excel spreadsheet and give it a go).:up:

Since getting 1.5 I've noticed that after a while, SH4 seems to stop acknowledging any of my voice commands. I haven't adjusted SH4 Speech since getting 1.5 so perhaps there's a setting for 1.5 that I missed? Yes? No?

I'm still having trouble with SH4 Speech recognizing any Aft tubes. There's no problem with the Forward tubes. Weird.

tomoose 02-01-09 09:29 PM

I stand corrected
 
Depth below Keel is, in fact, in the voice_commands.csv file, so it should work.
I'm guessing that the phrase "depth under...." and "depth below...." or just the word "depth" is triggering the "periscope depth" response".
One of the other phrases is "give me a depth reading" so try that. If that doesn't work then I think a phrase could be inserted that doesn't use the word 'depth' (i.e. "distance to bottom" or "how far to bottom" or simply just "under keel?".

billko 02-01-09 10:15 PM

Quote:

Originally Posted by tomoose
Depth below Keel is, in fact, in the voice_commands.csv file, so it should work.
I'm guessing that the phrase "depth under...." and "depth below...." or just the word "depth" is triggering the "periscope depth" response".
One of the other phrases is "give me a depth reading" so try that. If that doesn't work then I think a phrase could be inserted that doesn't use the word 'depth' (i.e. "distance to bottom" or "how far to bottom" or simply just "under keel?".

Maybe scott should have a few less beers before game time so he won't slur his speech so much. ;)

Sorry scott, that was just a dumb joke. No offense intented. :)

Bill

tomoose 02-01-09 10:37 PM

further to my last
 
I tried "depth below keel" with just SHIV Speech on and without the game. It seemed to recognize it correctly every time. Perhaps there's something in-game that is causing the crossed-wires so to speak.

billko 02-01-09 10:43 PM

forgot to ask scott a serious question...
 
Have you trained the speech engine yet?

Bill

scott613 02-02-09 12:41 PM

Hi Bill / Tomoose...

LOL - Yes - and thanks for taking the time to reply...

I just tried it again - and - then checked the Sh4speech window on my desktop... It lists each command as they are executed... It does in fact recognize that I am asking for "Depth Below Keel" as that is the last command listed in the window...

I have tried it at two different screen resolutions with the same result... It looks like the command is just mapped to press the wrong button on the screen... All the other commands seem to work fine...

Have you tried this command "in game" to see if you get the same result ???

I just recently downloaded the program from the first page in the thread...

Does the owner still work on this mod ???

FYI: Same issue as Tamoose with aft tubes...

Thanks again...

billko 02-02-09 03:22 PM

Quote:

Originally Posted by scott613
Hi Bill / Tomoose...

LOL - Yes - and thanks for taking the time to reply...

I just tried it again - and - then checked the Sh4speech window on my desktop... It lists each command as they are executed... It does in fact recognize that I am asking for "Depth Below Keel" as that is the last command listed in the window...

I have tried it at two different screen resolutions with the same result... It looks like the command is just mapped to press the wrong button on the screen... All the other commands seem to work fine...

Have you tried this command "in game" to see if you get the same result ???

I just recently downloaded the program from the first page in the thread...

Does the owner still work on this mod ???

FYI: Same issue as Tamoose with aft tubes...

Thanks again...

Scott:

I don't use that mod (because I still want to have *fun* playing the game - I have enough stress at work). I'm glad you've gotten so far as to know the command is being processed.

On a side note:
I thought the training exercise was hilarious. It made me sound like the world's most adamant advocate of the Microsoft Speech engine. My wife thought I was nuts. Well she's right, but not for that reason. ;)

Bill

tomoose 02-02-09 06:17 PM

Key commands
 
Scott;
you've raised a good point and it's something I didn't check. Perhaps the key command linked to the voice command is messed up between stock and TMO or TMO 1.4 vs TMO1.5, anyhoo, it's worth checking out in the various .csv files etc.
:hmmm:

Entirago 02-03-09 08:25 AM

I don't play with Trigger Maru, but I do have fair experience with the shspeech program. I had a look at the csv files and found they should work alright from a mechanics standpoint.

The command for clicking depth under keel is a mouse command with no keystroke involved. The only way for it to order periscope depth is to click on a button in another tab.

Now, if you move the mouse during the mouse command, it'll foul the command and cause a mis-click, but it'll end up in a different place every time.

If you're using mouse look-around, such as in a periscope, on the deck gun, or on the bridge, the command will throw your view significantly, miss its click to change tabs but unlock from the view, then move down to hit what it thinks is the appropriate button, but is actually still in the wrong tab.

The other possibility I see is that the resolution in your bat file might be set wrong. To fix this, right-click the bat file and change '1024x768' to your current in-game resolution.

Hope this helps. Sorry for the length.

Entirago 02-03-09 08:38 AM

And another possibility, mentioned above, is that the mouse co-ordinates are wrong. To fix this, you need a screenshot from trigger maru at 1024x768 resolution and a paint program that'll read pixels in x and y. Then it's just a matter of modifying the command_bar.csv file

If it's clicking on the wrong tab, change the following:
500,Tab,LowerLeft,Command Room,,x,y
Where x is currently 48 and y is 687

If it's clicking on the wrong button, change:
504,Button,LowerLeft,Depth Under Keel, 500, x, y
Where x is currently 189 and y is 739

It has to be at 1024x768 because the shspeech program will automatically scale these values up for higher resolutions.

scott613 02-03-09 10:10 AM

Thanks for all the great responses...

I'll check the CSV - as that is where I suspect the problem lies...
The program directly reads the CSV in real time ???
Thought it needed to be compiled or something...

I should be able to handle the edits...
:up:

Again - thanks for taking the time - folks...
I can't live without this program - LOL - I love giving orders !!!

scott613 02-03-09 10:50 AM

AWESOME !!!

Worked like a champ...
All better now...
:03:

And - now I can change some of the phrases to suit my likeing...
What a great program...

"Helm - steady as you go"
"Fathometer - Sounding"

Woohoo...

billko 02-03-09 12:15 PM

Quote:

Originally Posted by scott613
AWESOME !!!

Worked like a champ...
All better now...
:03:

And - now I can change some of the phrases to suit my likeing...
What a great program...

"Helm - steady as you go"
"Fathometer - Sounding"

Woohoo...

Awesome!!! It increses the immersion factor by several orders of magnitude. :)

Have fun!

Bill

tomoose 02-03-09 02:05 PM

Scott
 
What number values did you use to get it to work?:D


All times are GMT -5. The time now is 02:13 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.