Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • General Settings includes the recording time before and after the "Speak" button is pressed; default is .25 seconds.  This added time allows AcquireSpeech to capture the entire spoken utterance bracketed by silence or background noise without requiring any special action from the user.
  • VHMSG Settings covers how AcquireSpeech interacts with other components.  For most users, the Server and Scope will be filled in automatically with the values "localhost" and "DEFAULT_SCOPE", respectively.  We do not recommend changing these values without referring to the expanded documentation.
  • Microphone Settings are the bottom block and cover the sound setup for AcquireSpeech.  The Microphone check box at the top should be checked, indicating a microphone will be used.  The sound input can be changed with the drop down box, but the default setting should work for most users.  If AcquireSpeech isn't hearing you, try a different input or microphone.  If no options are presented in the drop down, please check that your microphone is connected and working properly in your OS's configuration tool.
  • Show recognition results toggles display of the recognition feedback from Pocket Sphinx, or whichever recognition server is connected, underneath the 'Speak' button in the Recording Tab.  'Default speaker' is used to connect to NPCEditor, and supports multiple speakers.  The speaker here should match the 'Agent Name' in the "Smartbody" account in 'People' > 'Accounts' of NPCEditor.
  • Record Session and Record Utterances toggle recording of the user's speech.  The session recording is of everything said into the microphone from when an AcquireSpeech session is started.  Utterances are split recordings from when the 'Speak' button is depressed.

Developers

Message API

Receives

 vrAllCall  

Broadcasts AcquireSpeech VHMsg ID. It is set to asr.

...

acquireSpeech action action description in xml

Tell AcquireSpeech to perform the specified action.  The action xml schema can be found insrc/java/acquirespeech.xsd.  It takes two attributes:

1. targetComponentID defines the component to apply this action to; if the ID is missing, the action is applied to the overall model structure

2. command defines the action command; see the list of action commands for the complete reference

Output

AcquireSpeech sends out events transmitting recognition result and notifications about the state of recording

...

acquireSpeech stoppedSession inputComponentID sessionID timeInMilliseconds

This message is sent when a session recording stops.

Known Issues

Provide a list of known issues and peculiarities. Allow the reader to give feedback, probably by giving a link to the Support page.

FAQ

FAQ

See main FAQ.

 Probably just link to the appropriate section in the Main FAQ.