Re: [pygame] Text To Speech PYTTS

2008-02-29 Thread Ian Mallett
I did that and it still doesn't work. Must I use pyTTS-3.0.win32-py2.4.exe-- I have Python 2.5

Re: [pygame] Text To Speech PYTTS

2008-02-29 Thread FT
Subject: Re: [pygame] Text To Speech PYTTS Which one? I downloaded and installed the 2.0MB one, but it said the same thing... Sample: http://www.daniweb.com/code/snippet326.html Try Looking Here: # download installer file pyTTS-3.0.win32-py2.4.exe # from: http://sourceforge.net/projects/u

Re: [pygame] Text To Speech PYTTS

2008-02-29 Thread FT
Subject: Re: [pygame] Text To Speech PYTTS Which one? I downloaded and installed the 2.0MB one, but it said the same thing... Try Looking Here: # download installer file pyTTS-3.0.win32-py2.4.exe # from: http://sourceforge.net/projects/uncassist # also needs: http://www.cs.unc.edu/Research/

Re: [pygame] Text To Speech PYTTS

2008-02-29 Thread Ian Mallett
yea...

Re: [pygame] Text To Speech PYTTS

2008-02-29 Thread Kamilche
Ian Mallett wrote: That is an interesting effect... Thanks for sharing! I don't think that could be adapted to a game very well though. Ian You could have the genie do tts on all the chat stuff, mainly. Other than that, not much application.

Re: [pygame] Text To Speech PYTTS

2008-02-29 Thread Ian Mallett
That is an interesting effect... Thanks for sharing! I don't think that could be adapted to a game very well though. Ian

Re: [pygame] Text To Speech PYTTS

2008-02-29 Thread Kamilche
I just posted an example on comp.lang.python about how to control the Microsoft Genie agent using Python, if you are interested. --Kamilche

Re: [pygame] Text To Speech PYTTS

2008-02-29 Thread Ian Mallett
Which one? I downloaded and installed the 2.0MB one, but it said the same thing...

Re: [pygame] Text To Speech PYTTS

2008-02-29 Thread FT
Download what is needed for your error: http://www.microsoft.com/downloads/details.aspx?familyid=5E86EC97-40A7-453F-B0EE-6583171B4530&displaylang=en >>> import pyTTS >>> tts = pyTTS.Create() Traceback (most recent call last): File "", line 1, in tts = pyTTS.Create() File "C:\dev\Python2

[pygame] Re: sndarray

2008-02-29 Thread Ian Mallett
'k thanks--figured it out.

[pygame] sndarray

2008-02-29 Thread Ian Mallett
How do I reference a list into a sound using pygame.sndarray? Thanks, Ian

Re: [pygame] Open Sounds From URL

2008-02-29 Thread Gary BIshop
You don't need StringIO there. It is just converting a string into a file object. urllib2.urlopen() returns a file object. So this will work also: #! /usr/bin/env python import urllib2, time from pygame import mixer from cStringIO import StringIO #Read the sound from the url snd = urllib2.url

[pygame] Announcing Motherhamster Library

2008-02-29 Thread James Paige
Hello, fellow pygamers, I would like to take this opportunity to announce a library named Motherhamster, built on top of pygame, pyopengl, and wxpython. Motherhamster is intended for making OpenGL accelerated 2D games, with built-in game resource editors. Features: * Easy effects including rota

Re: [pygame] Sound to String

2008-02-29 Thread Greg Ewing
> f = open("shoot.wav") Windows! Binary file! Opened in text mode! Could this be what is causing you problems? -- Greg

Re: [pygame] Sound to String

2008-02-29 Thread PyMike
Yes! It works! Thanks so much guys! You all have been really helpful. On Fri, Feb 29, 2008 at 3:58 PM, Douglas Bagnall <[EMAIL PROTECTED]> wrote: > Alistair Buxton wrote: > > > On windows, you must open binary files as binary: f = open("sound.wav", > "rb") > > > > If you don't do this, windows wi

Re: [pygame] Sound to String

2008-02-29 Thread Douglas Bagnall
Alistair Buxton wrote: > On windows, you must open binary files as binary: f = open("sound.wav", "rb") > > If you don't do this, windows will truncate the file and give no > error, though it will work on linux. > Aha! Pay attention, Mike. This is your problem. The attached script worksforme.

Re: [pygame] Text To Speech PYTTS

2008-02-29 Thread FT
I am not sure what your error would be except that you may not have the recent speech for windows installed. There are certain things to download at the web site, 3 things total. But I did not download anything but the PYTTS and it worked on my Windows XP Pro platform. so take a look a

Re: [pygame] Text To Speech PYTTS

2008-02-29 Thread Ian Mallett
>>> import pyTTS >>> tts = pyTTS.Create() Traceback (most recent call last): File "", line 1, in tts = pyTTS.Create() File "C:\dev\Python25\Lib\site-packages\pyTTS\__init__.py", line 28, in Create raise ValueError('"%s" not supported' % api) ValueError: "SAPI" not supported >>>

Re: [pygame] Text To Speech PYTTS

2008-02-29 Thread FT
Hi! Below is a nice demo game using the text to speech. It is a maze game using it. I guess anything can go from here. From: "kschnee" <[EMAIL PROTECTED]> Sent: Friday, February 29, 2008 11:22 AM Subject: Re: [pygame] Text To Speech PYTTS On Fri, 29 Feb 2008 11:16:26 -0500, "FT" <[EMAIL P

Re: [pygame] Hardware acceleration

2008-02-29 Thread Jake b
Someone converted the NeHe tutorials 1-10 to python, here: http://www.pygame.org/gamelets/games/nehe1-10.zip I got started by working off of the base code SDL has: http://www.libsdl.org/opengl/OpenGL-intro-1.1.1.zip ( Which is c(++) code of the NeHe tutorials, which uses SDL + OpenGL ) And convert

Re: [pygame] Text To Speech PYTTS

2008-02-29 Thread FT
On Fri, 29 Feb 2008 11:16:26 -0500, "FT" <[EMAIL PROTECTED]> wrote: > > To get text to speech software, or PYTTS, this is the download page for > the Text To Speech engine. > > North Carolina Assistive Technology Downloads: > http://sourceforge.net/project/showfiles.php?group_id=65529#downloads

Re: [pygame] Text To Speech PYTTS

2008-02-29 Thread Davy Mitchell
pyTTS is a wrapper round the MS Speech API - its pretty good. I prefer it to Festival and have used it in a few programs. Cheers, Davy On Fri, Feb 29, 2008 at 4:32 PM, FT <[EMAIL PROTECTED]> wrote: > > Hi! > > Below is a page of the tutorial that you will find at the web site. > > > > > On

Re: [pygame] Text To Speech PYTTS

2008-02-29 Thread FT
Hi! Below is a page of the tutorial that you will find at the web site. On Fri, 29 Feb 2008 11:16:26 -0500, "FT" <[EMAIL PROTECTED]> wrote: > > To get text to speech software, or PYTTS, this is the download page for > the Text To Speech engine. > > North Carolina Assistive Technology Downlo

Re: [pygame] Text To Speech PYTTS

2008-02-29 Thread kschnee
On Fri, 29 Feb 2008 11:16:26 -0500, "FT" <[EMAIL PROTECTED]> wrote: > > To get text to speech software, or PYTTS, this is the download page for > the Text To Speech engine. > > North Carolina Assistive Technology Downloads: > http://sourceforge.net/project/showfiles.php?group_id=65529#downloads

[pygame] Text To Speech PYTTS

2008-02-29 Thread FT
To get text to speech software, or PYTTS, this is the download page for the Text To Speech engine. North Carolina Assistive Technology Downloads: http://sourceforge.net/project/showfiles.php?group_id=65529#downloads

Re: [pygame] Sound to String

2008-02-29 Thread Alistair Buxton
On windows, you must open binary files as binary: f = open("sound.wav", "rb") If you don't do this, windows will truncate the file and give no error, though it will work on linux. On 29/02/2008, PyMike <[EMAIL PROTECTED]> wrote: > I tried some others and still get the same error. (error: Unrecogn

Re: [pygame] PyDay #1

2008-02-29 Thread Juan José Alonso.
thanks, 2008/2/29, PyMike <[EMAIL PROTECTED]>: > > Juan: > > http://groups.google.com/group/pyday > > On Thu, Feb 28, 2008 at 6:57 PM, Juan José Alonso. < > [EMAIL PROTECTED]> wrote: > > > The event website? > > > > thanks. > > > > 2008/2/28, PyMike <[EMAIL PROTECTED]>: > > > > > You may only use

Re: [pygame] Sound to String

2008-02-29 Thread PyMike
I tried some others and still get the same error. (error: Unrecognized sound file type) On Fri, Feb 29, 2008 at 8:00 AM, PyMike <[EMAIL PROTECTED]> wrote: > Hi Douglas > > Just to let you know, my sound will load and play with pygame without the > string compression. It's a mere 0.18 seconds long

Re: [pygame] Sound to String

2008-02-29 Thread PyMike
Hi Douglas Just to let you know, my sound will load and play with pygame without the string compression. It's a mere 0.18 seconds long. I tried some other sounds that were short and I got ~around~ the same results. After editing sound2.py, "RIFF\x16\xe9\x00\x00WAVEfmt \x10\x00\x00\x00\x01\x00\x0