Content-Length: 6891 | pFad | https://docs.python.org/2.2/ref/../mac/speech-channel-objects.html

2.9.2 Speech Channel Objects

 
2.9.2 Speech Channel Objects

A Speech Channel object allows you to speak strings with slightly more control than SpeakString(), and allows you to use multiple speakers at the same time. Please note that channel pitch and rate are interrelated in some way, so that to make your Macintosh sing you will have to adjust both.

SpeakText(str)
Start uttering the given string.

Stop()
Stop babbling.

GetPitch()
Return the current pitch of the channel, as a floating-point number.

SetPitch(pitch)
Set the pitch of the channel.

GetRate()
Get the speech rate (utterances per minute) of the channel as a floating point number.

SetRate(rate)
Set the speech rate of the channel.
See About this document... for information on suggesting changes.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://docs.python.org/2.2/ref/../mac/speech-channel-objects.html

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy