View Single Post
Old 03-14-10, 09:40 PM   #1
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,547
Downloads: 26
Uploads: 3
Default [REL] Speech Recognition for SH5

Speech Recognition for SH5 – v1.4 - by skwas

Developed in 2010 by skwas, a game enthusiast and ubergeek )
http://sh4.skwas.net
_______________________________________________

DESCRIPTION

This mod enables speech recognition to SH5 allowing you to use a microphone to dictate your crew what to do… Happy sailing!

English vocabulary only! Suggestions, bugs, please post. Also note, English is not my native language so any corrections on spoken phrases/orders are welcome.


CREDITS
VERSION HISTORY




v1.4 – 29-03-2010
  • Renamed Page Voice Recognition.ini to Speech Recognition.ini
  • Renamed Page Voice Recognition.py to Speech Recognition.py
  • Moved XML-files to game data folder Data\Sound\Speech
  • Added XSLT-stylesheet so you can view all supported commands by opening SHSpeech_Commands.xml in a browser.
  • Lowered default confidence level to 0.87
  • Added Microphone-icon to test application
  • Added support for floating point values (max. one decimal), f.ex. 3.6 meters
  • Fixed: when ordering ‘set pistol to magnetic’ you’d get a confirmation, but the pistol setting did not actually change.
  • Added numerous commands. See ‘Supported Voice Commands’-shortcut for a complete overview.
  • Included source code
v1.1 – 1.3
  • Updated test application only.

v1.0
  • Initial release

SYSTEM REQUIREMENTS
  • Windows Vista
  • Windows 7
  • English language pack must be installed!!!
See Windows Update to install a language pack. Alternatively, check these links:

http://windows7center.com/news/windo...indows-update/
http://keznews.com/6149_Download_Win...Download_Links
http://support.microsoft.com/kb/934377

And if you can't install a language, check out this important post by Ernesto78 (it worked for several guys!):

http://www.subsim.com/radioroom/show...1&postcount=47

IMPORTANT: Any older platform may likely NOT work and cause CTD’s.


INSTALLATION INSTRUCTIONS

Install as any other mod using JSGME, and simply run the game.

NOTE: Likely NOT compatible with UI mods...!


SUPPORTED COMMANDS

Open the file Data\Sound\Speech\SHSpeech_Commands.xml in a browser, or view online:

http://sh4.skwas.net/redist/shspeech_commands.xml


HOW DOES IT WORK?

My mod is using a custom written DLL and some Python script-files. The entire speech recognition configuration can be controlled using two XML files, which contain the grammar for the accepted spoken words, and a commands file which controls the translation to a game command. Optionally you can capture any command and alter it’s behavior form the .py files I included.

See the readme for more details.


PERMISSIONS

Do not redistribute or reuse this mod without my permission.


SOURCE CODE

Source code is included in the Documentation\Source code folder. You will need Visual Studio 2008 (C#).


DOWNLOAD

http://sh4.skwas.net/download.aspx?i...d-47cce8e36be8

Miton's improved editions:
English: http://www.subsim.com/radioroom/down...o=file&id=3085

German: http://www.subsim.com/radioroom/down...o=file&id=3057


Have fun, and let me know!


Assistence needed to further improve the commands, and in the future for localization (once the mod has proven to be stable and functional enough)!

Last edited by skwasjer; 04-16-11 at 06:02 PM. Reason: Updated to 1.4
skwasjer is offline   Reply With Quote