I did that and it still doesn't work. Must I use
pyTTS-3.0.win32-py2.4.exe-- I have Python
2.5
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
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/
yea...
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.
That is an interesting effect...
Thanks for sharing!
I don't think that could be adapted to a game very well though.
Ian
I just posted an example on comp.lang.python about how to control the
Microsoft Genie agent using Python, if you are interested.
--Kamilche
Which one? I downloaded and installed the 2.0MB one, but it said the same
thing...
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
'k thanks--figured it out.
How do I reference a list into a sound using pygame.sndarray?
Thanks,
Ian
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
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
> f = open("shoot.wav")
Windows! Binary file! Opened in text mode!
Could this be what is causing you problems?
--
Greg
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
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.
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
>>> 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
>>>
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
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
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
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
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
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
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
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
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
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
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
29 matches
Mail list logo