[Pythonmac-SIG] py access to speech synth?
DavidW
vip at avatar.com.au
Fri Aug 1 00:54:00 CEST 2008
Thanks for replying. I know about "say".
What's wrong with such high-level control is, for example, that there
isn't any tempo or prosody control
or phoneme control - if that's their synthesis method -
(a 'cello that is fixated on the Hall of the Mountain King would soon
become my enemy :-)
I haven't used PyObjC before so I'll have a go at
NSSpeechSynthesizer. Thanks!
Any other views?
David
On 31/07/2008, at 9:08 PM, Alcides Fonseca wrote:
>
> Em 2008/07/31, às 10:54, DavidW escreveu:
>
>> Hello all,
>>
>> Does anyone know whether there's any work being done on a python
>> interface to the OSX speech synthesiser?
>>
>
> What's wrong with
>
> import os
> os.system("say -v Cellos Python does not have braces have braces
> have bracesThats why I love python so much")
>
> I guess there is already a OSA interface, and you can translate the
> following AppleScript to Python:
>
> say "To see other application windows again, select Show All from
> the Finder menu." using "Vicki"
>
> Hope it helped...
>
> Alcides
More information about the Pythonmac-SIG
mailing list