Synthesizer.mesa
Copyright © 1986 by Xerox Corporation. All rights reserved.
Polle Zellweger (PTZ) July 17, 1986 3:11:35 pm PDT
Swinehart, October 22, 1986 9:19:18 am PDT
DIRECTORY
Rope USING [ ROPE ],
Thrush USING [ ActionID ]
;
Synthesizer: CEDAR DEFINITIONS = {
Types for specifying and keeping track of synthesizer requests.
Unique ID's for individually-submitted ropes
ActionID: TYPE = Thrush.ActionID; -- LONG CARDINAL
nullActionID: ActionID = 0;
Combine ropes with unique ID's; defined here as a convenience for clients and servers; this data structure may be used in both client and service, but is not used in the service interface.
SynthSpecs: TYPE = LIST OF SynthSpec;
SynthSpec: TYPE = REF SynthSpecBody;
SynthSpecBody: TYPE = RECORD [
textToSpeak: Rope.ROPE, -- service interface value: what to say
actionID: ActionID ← nullActionID, -- service interface value: unique id of this utterance
synthMarker: INT ← 0, -- for use by service implementations.
clientData: REFNIL -- for use by client or service implementations.
];
BreakText: PROC [text: Rope.ROPE, maxlen: INT] RETURNS [packet, remainder: Rope.ROPE];
}.
Polle Zellweger (PTZ) July 17, 1986 3:10:51 pm PDT
changes to: DIRECTORY, Synthesizer, BreakText