man(1) Manual page archive


     MVOICE(2)                                               MVOICE(2)

     NAME
          mvoice - machine dependent voice support to speak text

     SYNOPSIS
          include "mvoice.m";
          mvoice := load Mvoice Mvoice->PATH;

          init:          fn(): string;
          speak:    fn(text: string): string;

     DESCRIPTION
          The function init initializes the module. Call it first.

          Speak uses the host speech support to speak text out loud.
          It returns a null string when successful, or the error
          string otherwise.

          This is a host-dependent module. Refer to the source section
          to see the supported platforms. The file server voice(4)
          uses this facility and can be used as an example.

     SOURCE
          /usr/octopus/MacOSX/mvoice.b
          /usr/octopus/Plan9/mvoice.b

     BUGS
          Punctuation symbols are not handled properly, because of the
          syntax used by the underlying command. Has been tested only
          with simple sentences.