![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#166 | |
Silent Hunter
![]() Join Date: Jul 2007
Location: The Peach State
Posts: 4,171
Downloads: 141
Uploads: 10
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#167 |
Planesman
![]() Join Date: Dec 2006
Posts: 192
Downloads: 77
Uploads: 0
|
![]()
oh yeah, what a great Mod, i missed this feature in SH.
I regulary playing DW and missed the voice commands then in SHIII and IV. Only one thing i want to ask you. Sometimes i get missinterpretations when i talk to my wife while im playing or i was just to close on the microphon or something like that. So finally the question: Is it possible to configure something like a push to talk button and if, how could i do so? |
![]() |
![]() |
![]() |
#168 |
XO
![]() Join Date: Mar 2007
Posts: 411
Downloads: 1
Uploads: 0
|
![]()
Yeah I've been thinking about a "push to talk" option. It would probably avoid most problems. My highly sensitive mic picks up "Pause" when I type or breath heavily, so I changed it to "pause game" and that helped. Not to mention my brother yelling "dive dive dive" every time he walks in to the room and laughing. If you tune the pronunciation sensitivity in the control panel > speech this is rarely an issue though.
I actually have some code already where I can monitor the status of a key. So I could build this in and probably will. Basically you just need the Perl script to monitor a particular key and if it's not down, throw away the recognized voice command. I don't think it would be efficient to actually start and stop the Python recognizer component with this key, as there would be some overhead to launching it and probably wouldn't respond quickly enough. But isn't this an amusing feature? Especially when you're running on headphones so she can't hear the game? Wife: Honey, I'll be right back, emergency at the neighbors house, you know how they are. SH4: Back Emergency, Aye Sir! You: Full speed ahead! Wife: It's not that big of a deal, I'm not rushing over there. Her problems are always on the surface. SH4: Surface the boat, aye sir! You: Crash dive! Wife: Don't be melodramatic. I don't think her marriage is heading for a "crash dive" like you're always saying. She just sets a small fire once in a while for attention. SH4: Firing tube one, aye sir! You: Dammit. Close tube one. Wife: Secure from silence! Blow Ballast! Tube 3! Fire! Tube 4! Fire! Knuckle left! Ramming speed! You: I want a divorce. Of course, if your wife really loves you, she'd XO your boat lol. You would stand around in a captain's hat and your underwear and relay casually-phrased orders to her, and she would actually speak the correctly enunciated orders into the mic and confirm the setting - after all, the helmsmen generally don't react directly to the captain's order, it's all through the XO right? And it's a bit of an immersion breaker when you ask for one thing and occasionally get another or a bad recognition and have to correct it manually. The wife would shield you from all that, resulting in the perfect sim! Let me know if any of you find a woman like that. ![]() Last edited by minsc_tdp; 08-27-07 at 06:53 PM. |
![]() |
![]() |
![]() |
#169 |
Planesman
![]() Join Date: Dec 2006
Posts: 192
Downloads: 77
Uploads: 0
|
![]()
looooool, ok its not exactly the same when i play with the voice commands.
The last comment from my wife was "first you spend more time with the Computer than with me and now you start talking to him" For that reason, can u implement an feature where i can command my wife with voice commands? something like "silent" would help very much *g* |
![]() |
![]() |
![]() |
#170 | |
XO
![]() Join Date: Mar 2007
Posts: 411
Downloads: 1
Uploads: 0
|
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#171 |
The Old Man
![]() Join Date: Apr 2005
Posts: 1,336
Downloads: 6
Uploads: 0
|
![]()
Well, my wife doesn't seem to mind it with SH4 so far - though she does still get a little freaked when I start yelling at my computer in German for SH3
![]() Although it'd be cool to have playable Japanese subs in SH4, I'm not sure if I could handle learning enough Japanese to make this work for that ![]()
__________________
![]() |
![]() |
![]() |
![]() |
#172 | |
XO
![]() Join Date: Mar 2007
Posts: 411
Downloads: 1
Uploads: 0
|
![]() Quote:
kidding |
|
![]() |
![]() |
![]() |
#173 |
XO
![]() Join Date: Mar 2007
Posts: 411
Downloads: 1
Uploads: 0
|
![]()
So there are two issues I'd like to address and I thought I'd think out loud here and get some feedback.
1.) Memory usage out of control/crashing This appears to be a definite issue affecting everyone without exception. The problem is the MS Speech SDK executable gets out of control after about an hour or so, and uses up a ton of memory, then stops responding which forces an sh4speech restart. I'm going to check a few more things but I don't think I can stop this from happening unless I terminate myself and restart periodically. The main program (voice.exe) doesn't have to restart, just the hear.exe part, so it would keep track of the tube status and all that, and it would restart very quickly and invisibly. 2.) JGSME Support This is tricky since the idea of JGSME is when a mod is installed, it's active only when you run the game. So I have to link it to that somehow. So, when sh4speech is activated with JGSME (now don't panic) I would have to rename the game exe to something else, and put my own in its place. When you launch the game with your usual shortcut, you're actually launching my exe, which would load sh4speech and then the game. Thoughts? |
![]() |
![]() |
![]() |
#174 | ||
Silent Hunter
![]() Join Date: Jul 2007
Location: The Peach State
Posts: 4,171
Downloads: 141
Uploads: 10
|
![]() Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#175 |
Sparky
![]() Join Date: Jun 2006
Location: Blackburn, Lancashire, ENGLAND
Posts: 154
Downloads: 23
Uploads: 0
|
![]()
With regard to the "memory overload" problem, and the need to restart sh4speech......would it be possible to add something to the programme that would automatically force a restart every 45 mins (for example)? To prevent this happening right in the middle of some major SH4 event, perhaps an automatic "Pause" could first be triggered, to allow a restart of sh4speech?
Pardon me, if I'm suggesting something which is either impossible, or stupid. I am not at all programming-minded, but merely trying to help with a (hopefully) constructive thought! ![]() |
![]() |
![]() |
![]() |
#176 |
XO
![]() Join Date: Mar 2007
Posts: 411
Downloads: 1
Uploads: 0
|
![]()
mountainman, regarding the memory overload, you've got the right idea, that's exactly what I'm proposing. I've just done some experiments and determined that I can do this no problem. When I terminate the hear.exe component, the MS sapi stuff goes away with it, and it can all be restarted almost instantly, and this can all be managed from the main sh4speech program (voice.exe) and happen invisibly. So I'll probably implement this and post tonight.
digitaltrucker, regarding JGSME, I think you misunderstand a bit. I don't think any mods out there are executable. They just replace resource files in the DATA dir. In fact now that I think about it I'm not even sure JGSME will support replacing the game EXE in the root folder, but anyway, I'll figure all this out. |
![]() |
![]() |
![]() |
#177 | |
XO
![]() Join Date: Mar 2007
Posts: 411
Downloads: 1
Uploads: 0
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#178 |
Swabbie
![]() Join Date: Jul 2007
Posts: 11
Downloads: 238
Uploads: 0
|
![]()
Hello Minsc!!!
First of all, wanted to congratulate you on a very fine and impressive poece of work!...I have been using the program now for a few days and am completly hooked!..It seems soooo much smoother now trying to manually target ships. I have actually been able to score a destroyer or two instead of always trying to evade them! I to have experienced the lock up after about an hour of play. It hasn't been that big of a bother for me though. I was happy to just be playing at all after all my startup trouble. I hope everyone knows and appreciates all the personal support and patience you have provided for begginers to the modding community like myself....never a smartass answer to whatever ignorance displayed...Thank you. Hats off to you and I look forward to any updates or new projects you decide to share!!! Thanks again ![]() GhengasCon |
![]() |
![]() |
![]() |
#179 | |
XO
![]() Join Date: Mar 2007
Posts: 411
Downloads: 1
Uploads: 0
|
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#180 |
XO
![]() Join Date: Mar 2007
Posts: 411
Downloads: 1
Uploads: 0
|
![]()
Hot Off The Presses:
2.2 http://knepfler.com/sh4speech/sh4speech2.2.zip New in 2.2: Push To Talk Mode added and enabled by default (using PrintScreen key) Long term memory leaks in sapisvr.exe fixed I chose the PrintScreen key for a good reason. You can change the key or disable it if you want though. See the ChangeLog and new csv files/press_to_talk.csv file for more information. For my loyal users who actually follow this monstrous thread, a little undocumented bonus is that you can hold the key right at the end of your phrase and it will still recognize it. See, instead of not hearing you at all when the key isn't pressed, it just decides at the last moment whether to throw it away, so you can do: make your speed 15 [press and hold the key] knots ... [release key, preferably once the command is confirmed] As long as it's being held down when the command is actually finally heard, it will be processed. For you customizers, the only existing CSVs that were altered is key_codes.csv, with two new ones added at the top. |
![]() |
![]() |
![]() |
|
|