Plan 9 from Bell Labs’s /usr/web/sources/contrib/nemo/octopus/man/2/mvoice

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


.TH MVOICE 2
.SH NAME
mvoice \- machine dependent voice support to speak text
.SH SYNOPSIS
.EX
include "mvoice.m";
mvoice := load Mvoice Mvoice->PATH;

init:		fn(): string;
speak:	fn(text: string): string;
.EE
.SH DESCRIPTION
The function
.I init
initializes the module. Call it first.
.PP
.I Speak
uses the host speech support to speak
.I text
out loud. It returns a null string when successful, or the error
string otherwise.
.PP
This is a host-dependent module. Refer to the source section to see
the supported platforms. The file server
.IR voice (4)
uses this facility and can be used as an example.
.SH SOURCE
.B /usr/octopus/MacOSX/mvoice.b
.br
.B /usr/octopus/Plan9/mvoice.b
.SH BUGS
Punctuation symbols are not handled properly, because of the syntax
used by the underlying command. Has been tested only with simple
sentences.


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.