Open Source Toolkit Documentation:

The MITRE Terminal PTT Server


MITRE provides a push to talk server which sends a message to indicate that an audio server should start listening.



Status

History and plans

This implementation originated in the Galaxy Communicator 3.2 distribution. It should be phased out in favor of a more comprehensive control tool. It depends on the MITRE stdin monitoring extension, which is included in the Galaxy Communicator distribution but does not work on Windows.

Version history


Usage

Command line

<OSTK_ROOT>/bin/speech_monitor ...

Default port

26000

Command line arguments

static char *oas[] = {
  "-push_to_talk", "use push to talk (default)",
  "-activate_now", "don't wait for notification of the utterance ID",
  "-auto", "don't use push to talk",
  NULL
};
This server also accepts the standard server arguments. See the command-line argument parsing library in the Galaxy Communicator documentation for details.


Message set



reinitialize sets up the push-to-talk prompt. It returns the frame it's passed.

show_partial is intended to be used to print out a partial SR result. It returns the frame it's passed.
 
  parameter type optional depends on description/constraints
IN: :partial_string string     partial SR result

This dispatch function returns a frame.

show_input is intended to be used to print out an SR hypothesis. It returns the frame it's passed.
 
  parameter type optional depends on description/constraints
IN: :input_string string     hypothesis string
  :hyp_id integer     hypothesis ID

This dispatch function returns a frame.

notify_done is called to inform the server that SR is completed. If the server is waiting for a new utterance ID notification to print out the next prompt, the prompt will now be printed out. It returns the frame it's passed.
 
  parameter type optional depends on description/constraints
IN: :utterance_id integer yes   utterance ID to use for the next input

This dispatch function returns a frame.

update_utterance_id is called to provide a new utterance ID to the server. If the server is waiting for a new utterance ID notification to print out the next prompt, the prompt will now be printed out. It differs from notify_done only in that notify_done prints out "Recognition is done". It returns the frame it's passed.
 
  parameter type optional depends on description/constraints
IN: :utterance_id integer yes   utterance ID to use for the next input

This dispatch function returns a frame.


Messages issued

The speech monitor issues a message to the Hub of this form, each time a newline is typed:
{c main
   :audio_ready 1
   :utterance_id <optional: integer>
}
The utterance ID is sent only if it is > -1 (which will only be true if an utterance ID was passed to the server).


Known bugs

None.


Please send comments and suggestions to: bugs-darpacomm@linus.mitre.org
Last updated January 25, 2002

Copyright (c) 1998 - 2002
The MITRE Corporation
ALL RIGHTS RESERVED