SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [REL] Voice Recognition for SH5 (https://www.subsim.com/radioroom/showthread.php?t=164926)

Gusteno8 03-18-10 10:01 AM

Quote:

Originally Posted by skwasjer (Post 1322070)
Did you run the 'Configure microphone'? Does the volume detection bar show any input? After changing all these settings, make sure to close the
windows speech applet, close the test app and then relaunch it... I'm fairly confident this is all there is to it. I can't think of anything else at the moment.

If not, then you will need to have some more patience so I can spend some time expanding the test app to check for issues.

[edit] Perhaps I've set my recognizer to 'strict' so that it ignores speech that is not fluent enough. I didn't have any problems, but my English is reasonable... I can change this and make it less strict in the next version.

Yes I've ran the "Configure microphone". and the volume detection bar shows a good result. I have restarted the speech applet and the test app.
Feels like i have done everything.:wah:

I don't think it depends on my English, its pretty good i think.

Well, I really appreciate all the help you've been given me! Thanks

skwasjer 03-18-10 10:07 AM

No problem, we will succeed!!

[I hope]
:O:

skwasjer 03-18-10 10:37 AM

Updated first post with v1.3. The test app now reports if it actually detects speech (and if it rejected a phrase). Look at the bottom line while speaking (after the engine initialized). It should say 'Speech detected...' and 'Phrase not recognized' etc. Additionally, you can tweak the Confidence level a bit (lower it if it rejects alot of phrases). Note: changing the confidence level at this point has NO EFFECT to the ingame speech!! This is just for testing purposes.

Now, if the bottom line does not change if you speak (it still says 'Listening...'), then the app is not receiving any audio AT ALL.

Gusteno8 03-18-10 10:46 AM

Quote:

Originally Posted by skwasjer (Post 1322158)
Updated first post with v1.3. The test app now reports if it actually detects speech (and if it rejected a phrase). Look at the bottom line while speaking (after the engine initialized). It should say 'Speech detected...' and 'Phrase not recognized' etc. Additionally, you can tweak the Confidence level a bit (lower it if it rejects alot of phrases). Note: changing the confidence level at this point has NO EFFECT to the ingame speech!! This is just for testing purposes.

Now, if the bottom line does not change if you speak (it still says 'Listening...'), then the app is not receiving any audio AT ALL.

Awesome, will try it right away!

Gusteno8 03-18-10 10:50 AM

WOHO!!!:D

Finally it works!!

First it heard the speech and recognized my command, but it was'nt reliable enough. So lowered the confidence to 0,85. And now every command works.

Will now try it Ingame!

Will be back with the result.:D:D:up::yeah::arrgh!:

panosrxo 03-18-10 10:50 AM

Version 1.2:
-I couldnt get the commands to work, so I changed the confidence level to 0.75 and now I can get the commands ingame, without having to shout.
-Every command except for All Stop, and Torpedo speed was working for me. Added some more commands to all stop (stop, engine stop) and now it is working too.
-Also managed to combine this mod with minimal tdc dials. I dont now if I am allowed to say how since its your mod.

Anyway:
http://img708.imageshack.us/img708/900/capture2w.jpg
http://img97.imageshack.us/img97/1948/capture1sa.jpg
http://img32.imageshack.us/img32/3271/capturetn.jpg

By the way this is the greatest mod.

Ernesto78 03-18-10 11:02 AM

Quote:

Originally Posted by skwasjer (Post 1318597)
A german version will be provided at a later date... Editting the files is not yet recommended.

I could support the "german-version-team" if needed, I'm german, too.

Gusteno8 03-18-10 11:03 AM

Finally it works. Ingame to!
I'm so happy, now i'll feel like a real sub captain!

It could'nt been done without you skwasjer! Thanks for everything!
Cant explain how grateful I am!

Thaaaaanks!:salute::yeah:

Ernesto78 03-18-10 11:04 AM

Quote:

Originally Posted by skwasjer (Post 1322158)
Updated first post with v1.3. The test app now reports if it actually detects speech (and if it rejected a phrase). Look at the bottom line while speaking (after the engine initialized). It should say 'Speech detected...' and 'Phrase not recognized' etc. Additionally, you can tweak the Confidence level a bit (lower it if it rejects alot of phrases). Note: changing the confidence level at this point has NO EFFECT to the ingame speech!! This is just for testing purposes.

Now, if the bottom line does not change if you speak (it still says 'Listening...'), then the app is not receiving any audio AT ALL.

You're such a working Horse !

:yeah: RESPECT

If nothing goes right, go left!!!

Ernesto78 03-18-10 11:18 AM

Quote:

Originally Posted by Gusteno8 (Post 1322196)
Finally it works. Ingame to!
I'm so happy, now i'll feel like a real sub captain!

It could'nt been done without you skwasjer! Thanks for everything!
Cant explain how grateful I am!

Thaaaaanks!:salute::yeah:

so i think the laguage-tool works!

skwasjer 03-18-10 11:20 AM

Great :)

Again, take note! Changing the confidence level in the test app has NO effect of the speech engine in the game. To change this you will have to edit the Data\Scripts\Menu\Page Speech Recognition.py file. In that file, scroll all the way down until you see the line where the confidence level is set and change it there to a value that works for you:

http://s3d.skwas.com/downloads/confidence_level.jpg

Enjoy everyone! :yeah:

skwasjer 03-18-10 11:23 AM

Quote:

Originally Posted by panosrxo (Post 1322178)
Version 1.2:
-I couldnt get the commands to work, so I changed the confidence level to 0.75 and now I can get the commands ingame, without having to shout.
-Every command except for All Stop, and Torpedo speed was working for me. Added some more commands to all stop (stop, engine stop) and now it is working too.
-Also managed to combine this mod with minimal tdc dials. I dont now if I am allowed to say how since its your mod.

By the way this is the greatest mod.

Sure you can say so. But I don't really want to see redistribution as of yet as the mod will change alot for the next couple of weeks (more commands and different languages, and
I am also going to move some files to different directories).
All stop should work, but torpedo speed is 'borked', so that's correct. There's some more commands that do not work correctly yet. If you want to modify it for your own install that's fine with me, but please let us improve this base mod first before it gets included in other mods... :salute:

skwasjer 03-18-10 11:24 AM

Quote:

Originally Posted by Ernesto78 (Post 1322194)
I could support the "german-version-team" if needed, I'm german, too.

Perfect, talk to KarlKoch. He will be the 'chef' of the german version ;)

Ernesto78 03-18-10 11:32 AM

Quote:

Originally Posted by skwasjer (Post 1322237)
Perfect, talk to KarlKoch. He will be the 'chef' of the german version ;)

OK, sounds good! :salute:

Gusteno8 03-18-10 11:33 AM

Quote:

Originally Posted by Ernesto78 (Post 1322223)
so i think the laguage-tool works!

Yes! Super thanks!!
The language tool made it all work. Never thought I would be able to change language! Yesterday I was really sad and mad and had really given up on this mod. But when I woke up today and saw your post with the language tool. I saw the light shine over the mod again!!!

Could'nt been done without you either! Thanks!!!!!!!


All times are GMT -5. The time now is 02:22 PM.

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