This page describes how to set up the Dialogue System with Stendhal Syndrome Studio's Speech Recognition System. (Speech Recognition System is required.)
Speech Recognition System copyright © Stendhal Syndrom Studio.
Speech Recognition System Setup
This integration allows dialogue UI response menus to respond to speech. To set it up:
- Import Plugins ► Pixel Crushers ► Dialogue System ► Third Party Support ► Speech Recognition Support.unitypackage.
- Add the SRS_microphone prefab to your scene.
- Inspect your dialogue UI's menu panel. Replace the StandardUIMenuPanel component with a SpeechRecognitionSystemMenuPanel. To replace it in-place, see: https://pixelcrushers.com/phpbb/viewtopic.php?f=3&t=4019
- In your response dialogue entries, set Menu Text to the text that will appear on response button labels. In Dialogue Text, enter the words that will match the response when spoken, separated by commas. For example, if the response is "Four", then set:
- Menu Text to: "Four"
- Dialogue Text to: "four, for, fore" to match homonyms.
Additional Settings
The SpeechRecognitionSystemMenuPanel component's settings are at the bottom of its inspector, under the heading "Speech Recognition".
- If you want to only listen for speech in specific conversations, add a custom Boolean field to your conversations. See Templates. Set it true for conversations that should listen for speech. Specify the field's name in the SpeechRecognitionSystemMenuPanel component's "Only Listen If Field Is True" property.
- To also show the response menu as normal, tick Show Menu. If you want to show the response buttons but make them unclickable, UNtick Enable Menu Buttons.
<< Third Party Integration