Chris Nandor > Mac-Carbon-0.82 > Speech/Speech.xs

Download:
Mac-Carbon-0.82.tar.gz

Annotate this POD

CPAN RT

New  4
Open  6
Stalled  1
View/Report Bugs
Source  

Types

VoiceDescription

Voice Description Record.

        long        length              size of structure--set by application
        VoiceSpec   voice               voice synthesizer and ID info
        long        version             version number of voice
        Str63       name                name of voice
        Str255      comment             text information about voice
        short       gender              neuter, male, or female
        short       age                 approximate age in years
        short       script              script code of text voice can process
        short       language            language code of voice output
        short       region              region code of voice output
VoiceSpec

Voice Specification Record.

        OSType      creator             ID of required synthesizer
        OSType      id                  ID of voice on the synthesizer

Functions

SpeechManagerVersion
CountVoices
GetIndVoice INDEX
GetVoiceDescription VOICE
NewSpeechChannel VOICE
DisposeSpeechChannel CHAN
SpeakString S
SpeakText CHAN, TEXT
SpeakBuffer CHAN, TEXT, CONTROLFLAGS
StopSpeech CHAN
StopSpeechAt CHAN, WHERETOSTOP
PauseSpeechAt CHAN, WHERETOPAUSE
ContinueSpeech CHAN
SpeechBusy
SpeechBusySystemWide
SetSpeechRate CHAN, RATE
GetSpeechRate CHAN
SetSpeechPitch CHAN, PITCH
GetSpeechPitch CHAN
TextToPhonemes CHAN, TEXT
SpeechToFile CHAN, PATH

Set speech channel CHAN to output to file PATH.

syntax highlighting: