Using pyTTS with other languages.

2007-06-04 Thread simon kagwe
Hi, I would like to create a TTS program for a local (Kenyan) language. I have installed pyTTS on my computer and it works perfectly with English sentences. However, my language is very different from English (sylabbles, pronounciation etc.) How can I go about having a TTS program that correctly s

Re: Using pyTTS with other languages.

2007-06-04 Thread simon kagwe
gmail.com> writes: > It describes how to use mis-spelled words to force correct > pronunciation as well as how to do it with XML. > > Mike > Thanks Mike. I had already read that article. I thought the mis-spelling and XML are meant to deal with pronunciation of English words. Will it really

get a list from a string

2007-06-07 Thread simon kagwe
Hi, I have a string "distances = [[1,1,1,1],[2,2,2,2]]". I want to create a variable called distances whose value is the list [[1,1,1,1],[2,2,2,2]]. How can I go about that? I know I can use setattr, but how do I create the list from the string? Regards, Simon -- http://mail.python.org/mailman/

Re: get a list from a string

2007-06-07 Thread simon kagwe
> exec("distances = [[1,1,1,1],[2,2,2,2]]") Wow! So simple! Thanks a lot. :-) -- http://mail.python.org/mailman/listinfo/python-list

Changing sound volume

2007-06-23 Thread simon kagwe
Hi, I am playing sounds using the winsound module. Is there a way I can change the volume? -- http://mail.python.org/mailman/listinfo/python-list

Re: Changing sound volume

2007-06-25 Thread simon kagwe
> And finally a way that might work using ctypes: > > http://mail.python.org/pipermail/python-win32/2006-March/004436.html > > Mike Hi, Thanks for your reply. I had already read about the Snack, but I can't use it since my program uses wxPython for the GUI and Snack requires tk. The best opt