Re: [pygame] Voice Text To Speech and Wav File Make and Save

2008-07-12 Thread FT
Hi Ian I could try it but would be looking at the the key-up. For you will note in my old event key char, or OnKey function I was looking ahead. That is OK and it worked with the elif list, but the textctrl edit field can have pointers that do not point to the actual text position. When r

[pygame] Voice Text To Speech and Wav File Make and Save

2008-07-05 Thread FT
Hi! Does anyone have a good example on capturing key events? I got my text to speech to work better, will in the future remove the buttons and only have the file menu. It seems to work fine and now use sub menu's for voice settings. What will be needed as an event to capture the

Re: [pygame] Mixer Quit / Restart

2008-07-03 Thread FT
Hi! It never worked, it is just that it never worked. Wyatt Olson To: pygame-users@seul.org This appears to get the total number of channels, not the number of active channels. However, I tried using get_busy(), but it still does not seem to work. See the following modifications to m

[pygame] A SAPI Module With Pitch and Create

2008-06-22 Thread FT
Hi! I have made a SAPI 5 module for those who are blind/visually impaired programmers. I have reduced down and added a few features into the SAPI 5 speech module I have created. You can now save and read wav files. The test module tests most of the features I have in it at the moment.

Re: [pygame] Using SAPI 5 Voices and Methods

2008-06-18 Thread FT
As a note to this message post: the error I was getting for both the spell and the isfilename was traced down to simple factors. One problem is finding clear explanations and then checking the erroor codes. I found both on the issues mentioned about the SAPI 5 issues. The test I was ru

[pygame] Using SAPI 5 Voices and Methods

2008-06-16 Thread FT
Hi! I guess in some cases the email message gets messed up so I attached the SAPI 5 test for voices along with an HTML version using Java Script. It also has the methods and a voice by name assignment since the voices are an array list by element. So I use the description to find the name. It

Re: [pygame] Using SAPI 5 Voices and Methods

2008-06-15 Thread FT
Hi! No, but maybe, pytts has no pitch method. This is just for those who wish to have just the sapi 5 directly. Is this related to PyTTS? -- Jake

[pygame] Using SAPI 5 Voices and Methods

2008-06-15 Thread FT
Hi! Below is the settings to use the built in SAPI 5 voices. It will also read any other voices loaded into the SAPI 5 and stores the list of all of them. You can change the names of the methods if you so desire. I am giving you an example of how to set up your voices. NOTE: The pitc

Re: [pygame] pygame in wxNotebook

2008-04-23 Thread FT
Hi! I guess one approach would be to use OcempGUI http://ocemp.sourceforge.net/manual/manual.html From: Astan Chee Hmm, Im stuck then. I need my game to have texboxes, comboboxes, labels and various other text-input widgets. Can pygame do this easily as I do it in wx? Im not sure how to

Re: [pygame] Images and Movies

2008-04-20 Thread FT
Hi Ian, Yes, and also sound recording for pygame because the web site showed only playing options, no recording... Bruce Hi, Given some image files, how can you convert them to get a movie file using Python? I'm hoping it can be done in PyGame, though perhaps not. In the latt

Re: [pygame] Python and Speed

2008-04-19 Thread FT
Ian, Below is a simple check knowing only the angle of the vector. The while loop is moving along that vector in steps. Now this is what is needed inside a normal screen with 2 or more objects. For the angle between them is what is being used here. This assumes one is static and one moving

Re: [pygame] Python and Speed

2008-04-18 Thread FT
Hi! I guess we could talk any language to death on speed, but being smart on how to speed up the existing one is the best approach. As I said, Ian could use the example I gave him and the other comments which he has already said he does. The distance instead of the square root for that is

Re: [pygame] Python and Speed

2008-04-17 Thread FT
Hi! Another thought, same as before but adding the other comment about bins. If your object is heading in a certain direction and you know the surface point of that object, now make a dictionary key point for it. Same for all other objects, knowing there direction. key=str(x)+str(-y)+str(

Re: [pygame] Python and Speed

2008-04-17 Thread FT
Hi! I am just making an observation on this and objects, maybe I am missing the point, but when checking collisions, if you know your objects size, the vertex, or point depending on direction, could you not not solve this by just the direct line between the 2 objects and not the surface?

Re: Re: [pygame] Python and Speed

2008-04-17 Thread FT
Hi! No, this is the place to discuss it because if we wish to make games, work with existing platforms, and want speed, that is the way to go. Now that we have had this discussion, and found solutions, now we have a list of ways to resolve it. This is the place to discuss all of this and

Re: [pygame] Python and Speed

2008-04-16 Thread FT
Hi Ian, I think what you are saying and I agree, is that when someone has fixed something by going back to C code, then why not make a module for that code. Thus all you do is insert the C code using a Python/Pygame module name... But slowing down is when it uses the Python interpreter,

Re: [pygame] TTS and VISTA?

2008-04-14 Thread FT
stall and select - uninstall. I guess that is the only way to do it. As what I could see as the fix for SAPI not supported, by getting rid of that voice install... Bruce > FT wrote: >> Hi, >> >> Since Microsoft has deliberately destroyed the use of the TTS >&g

Re: [pygame] TTS and VISTA?

2008-04-14 Thread FT
en reading the Microsoft stuff and errors that is all I found in how to fix his problem. So, someone has to help Ian and what is going wrong with his computer. Bruce pyTTS works on Vista. It just has a different selection of voices. gb FT wrote: > Hi, > > Since Microso

[pygame] TTS and VISTA?

2008-04-14 Thread FT
Hi, Since Microsoft has deliberately destroyed the use of the TTS engines in VISTA, does anyone know if someone is going to make a TTS version for VISTA? Bruce

Re: [pygame] Does PyGame support Ogg Vorbis "OOTB"?

2008-03-29 Thread FT
Hi Ian, Thanks, I downloaded it and saving some of my wav files as ogg. I wanted something that allowed me to easily convert all those huge wav files into something transportable and small. Prior to you sending this I had found one other converter but not friendly to screen readers. T

Re: [pygame] Does PyGame support Ogg Vorbis "OOTB"?

2008-03-29 Thread FT
Hi! I had asked before but centered it on recording and was given the page for the mixer but no record features. The burning onto CD is resolved and works fine but do we have a way to translate wav to OGG? I would like to know if someone has written a module to convert formats into other

Re: [pygame] vista testing...

2008-03-25 Thread FT
e a single forward slash, or double backslash you'll be ok. -Doug FT wrote: > Hi Lenard > > your not going to believe this after extensive testing, what was needed > was the import os.path for that file and only that file would not play > without the path. > > I am not

Re: [pygame] vista testing...

2008-03-25 Thread FT
sound.play() while pygame.mixer.get_busy(): pass Lenard FT wrote: > Hi! > I am not sure if this is related because I do not get any scratching on > my sounds when I only use pygame.init with no mixer init but the attached > file, the only one of the bunch I have will not play at all.

Re: [pygame] vista testing...

2008-03-24 Thread FT
Hi! I am not sure if this is related because I do not get any scratching on my sounds when I only use pygame.init with no mixer init but the attached file, the only one of the bunch I have will not play at all. In fact it says error, no src. Also it says it is a null file. It is an 8 bit,

Re: [pygame] vista testing...

2008-03-24 Thread FT
Hi! It will send the music out slower if you have increased the buffer size. Not at a slwoer speed entirely, just starting the music slower, more of a pause before starting. Bruce Just tried it, no differens I am afraid. One thing I noticed , and that was true for the mingw version

Re: [pygame] vista testing...

2008-03-22 Thread FT
Hi! I think there was also an issue of pre-init for any init would wipe out any settings. So the pre-init was setup to prevent the loss of any settings besides the size of the buffer to hold the data. The issue comes up all the time and is in the specs on the mixer and sound. Where it recommen

Re: [pygame] vista testing...

2008-03-22 Thread FT
Hi! Did you try 4096 instead of 2048? It is a problem as the specs say. It is what is in cash verses load speed to get the sound started... I have just tried the RC5 build from http://www3.telus.net/len_l/pygame.htm . Graphicly everything seem to work well so far but the music output sounds r

Re: [pygame] Pygame 1.8.0rc5 Windows installers available

2008-03-18 Thread FT
early for me to get a full understanding of what can be done. Writing and expanding is the way I learn. Each method used when needed and such. Bruce On, Wed Mar 19, 2008, FT wrote: > > Hi, > > Marcus was going to work on the version to allow text and such for > buttons

Re: [pygame] Pygame 1.8.0rc5 Windows installers available

2008-03-18 Thread FT
Hi Marcus, I know, I am busy with doing what I have to work with. Besides, what I am doing will keep me busy until you have something. Then, with what I have written, I can then use what you have made up for me. As with all stuff, it is hard to find a complete knowledge base for all stuff, es

Re: [pygame] Pygame 1.8.0rc5 Windows installers available

2008-03-18 Thread FT
was a developer who could serve as a mentor, accessibility features could possibly be a google summer of code project. On Tue, Mar 18, 2008 at 3:57 PM, FT <[EMAIL PROTECTED]> wrote: > > Hi! > > When will the MSAA or handicapped, blind, accessible version be looked > at? To

Re: [pygame] Pygame 1.8.0rc5 Windows installers available

2008-03-18 Thread FT
Bruce You would have to look at the MSAA and the definition, Micro Soft Access... What? On Wed, Mar 19, 2008 at 9:57 AM, FT <[EMAIL PROTECTED]> wrote: > > Hi! > > When will the MSAA or handicapped, blind, accessible version be looked > at? To allow easy acce

Re: [pygame] Pygame 1.8.0rc5 Windows installers available

2008-03-18 Thread FT
Hi! When will the MSAA or handicapped, blind, accessible version be looked at? To allow easy access to the buttons and such? Bruce From: "Brian Fisher" <[EMAIL PROTECTED]> Sent: Tuesday, March 18, 2008 4:50 PM They are official release candidates, meaning we think they could be an

Re: [pygame] py2exe problems

2008-03-15 Thread FT
Ian, This error sounds like a wrong revision level or change in the data type structure, usually related to revision levels. So probably it was not compiled correctly or just the wrong revision level. Ian Sent: C:\dev\Python25\Projects\Pygame Programs\Parabola\4\dist>Parabola4.exe Traceba

Re: [pygame] py2exe problems

2008-03-15 Thread FT
Run it at the DOS prompt or command line New problem. My program (which only uses pygame) doesn't run when py2exe'd. It says something about not being able to find the surfarray module when the .exe is run, but it closes almost instantly, so I can't really tell. I upgraded to pygame 1.8, if

Re: [pygame] TTS and Pitch Parameter

2008-03-08 Thread FT
"Gary BIshop" <[EMAIL PROTECTED]> Wrote: I repeat, pyTTS, at least the version 3.0 that I have, does not have a method or property named Pitch. You are, I think simply assigned those values to an instance variable that you are adding to the tts object. Do you hear the pitch change when you assign

Re: [pygame] TTS and Pitch Parameter

2008-03-07 Thread FT
aid I don't understand - so the script you emailed works fine for you in python 2.5 on your windows box, right? So then what exactly doesn't work? I still don't get why you think pygame is involved... On Fri, Mar 7, 2008 at 3:45 PM, FT <[EMAIL PROTECTED]> wrote: > Belo

Re: [pygame] TTS and Pitch Parameter

2008-03-07 Thread FT
Hi! Below is the speech.py file which will load in python25 from my windows OS. It uses the same command as in the pygame example, no different. So, the same import should be in affect, except if pygame uses these same commands, the pitch does not work. import pyTTS import time tts = pyTTS.Cr

Re: [pygame] TTS and Pitch Parameter

2008-03-07 Thread FT
different revision level...Mixer??? Bruce Brian Fisher Wrote: pygame doesn't have any text-to-speech features. I don't think pygame is related to the problem. I think it's a red herring. On Fri, Mar 7, 2008 at 11:31 AM, FT <[EMAIL PROTECTED]> wrote: > > When ru

[pygame] TTS and Pitch Parameter

2008-03-07 Thread FT
When running a python25 game I get the tts.Rate and tts.Pitch to work fine. But when using pygame the tts.Pitch is not there, is there a reason why? Is it because of the wrong version used to make pygame? I am using pygame 1.8.0 rc3 and it just says that this parameter is not a part of th

Re: [pygame] CD Burning Of Games?

2008-03-06 Thread FT
Thanks, I want to make copies that are not on a hard drive to have a backup storage. Give it to some friends getting into programming, and family... Bruce This does audio in pygame programs: http://www.pygame.org/docs/ref/cdrom.html If you just want to distribute, can just burn prog

[pygame] CD Burning Of Games?

2008-03-06 Thread FT
Was there ever a project to write CD/DVD Burning programs to save games? Bruce

Re: [pygame] space ships (Re: Misnamed threads (Re: Posting styles (Re: Text To Speech PYTTS)))

2008-03-03 Thread FT
What ever happened to a list talking about game writing and code? Besides, the ship in the garage was, "My Favorite Martian!" Any other would be copy right infringement, a stolen idea. Ha! Ha! Also Rod Serling wrote about the "Will The Real Martian Stand Up?" where footsteps came out

Re: [pygame] Text To Speech PYTTS

2008-03-02 Thread FT
Yes Laura, my very point! Since some do it at the bottom as noted, it is a pain to read all the way down. The bottom is only for first time readers. It also depends on how someone receives there mail and reads first to last or last to first, if organized by date, or date and subject. Bruc

[pygame] Proper Posting Format

2008-03-02 Thread FT
From: "Joe Johnston" <[EMAIL PROTECTED]> Sent: Sunday, March 02, 2008 9:22 AM Subject: Re: [pygame] Text To Speech PYTTS Luke Paireepinart wrote: > So you read "lane fire" instead of "fire lane". Joe Johnston Wrote: I think top-posting is useful in those places where the correspondants stubbo

[pygame] Other Engines

2008-03-01 Thread FT
Gary, NVDA uses a large choice of engines and wondering if you have looked at it? Gives you choices on what to use. Bruce

Re: [pygame] Text To Speech PYTTS

2008-03-01 Thread FT
Ian, I am not sure if there is a tts for Vista, but the Vista has gone to SAPI5.3 and the voices are not the same. I am sure the commands are not the same but where is the error? It probably will not support SAPI 5.1 even though they say it will. You probably have to look up in the tt

Re: [pygame] Text To Speech PYTTS

2008-03-01 Thread FT
Hi Gary, Yes, that is probably his problem. It is advertised everywhere, kind of the usual Microsoft joke. Also, I found the web page that had all your hints on getting things to work. After all the no help at the Microsoft site and such I did do the voice install you recommended once I

Re: [pygame] Text To Speech PYTTS

2008-03-01 Thread FT
Did you do the Vista version on that page? same error...

Re: [pygame] Text To Speech PYTTS

2008-03-01 Thread FT
Hi Ian, I do not know if Gary gave you this but try it: http://wwwx.cs.unc.edu/~gb/wp/research/hark-the-sound/install-instructions/ - Original Message - From: Ian Mallett To: pygame-users@seul.org Sent: Saturday, March 01, 2008 1:28 AM Subject: Re: [pygame] Text To Speech PYTTS

Re: [pygame] Text To Speech PYTTS

2008-03-01 Thread FT
. Unless there is something on the XP disk for repair or add. But if there is an add feature let me know. Bruce You need the additional voices. XP comes with only MSSam. You can get Mary and Mike here: http://www.cs.unc.edu/Research/assist/Hark3/SAPI5VoiceInstaller.msi gb FT wrote

Re: [pygame] Text To Speech PYTTS

2008-03-01 Thread FT
more organnized, like below. Bruce - Original Message - From: "Luke Paireepinart" <[EMAIL PROTECTED]> To: Sent: Saturday, March 01, 2008 4:00 AM Subject: Re: [pygame] Text To Speech PYTTS FT wrote: > Try Looking Here: > > # download installer file

Re: [pygame] Text To Speech PYTTS

2008-03-01 Thread FT
Hi! No, for an error will come up if you use the 4 version for Python 2.5 so it will not work. But, having loaded the SAPI5 I can not access the Mary and Mike voices, even though I used the SAPI installer. So something is going on or they are not being installed. Mine does work but o

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 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

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 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 -05

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/show

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. > > Nort

[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-28 Thread FT
ossible there's already a Python library for TTS. >I haven't done any research into TTS in about 5 years. The University of North Carolina wrote one. http://www.cs.unc.edu/Research/assist/doc/pytts/ Laura On 28 Feb, FT <[EMAIL PROTECTED]> wrote: > I am a new programmer and us

Re: [pygame] Sound to String

2008-02-27 Thread FT
Hi! I was also wondering along these lines if anyone knows who has the best text to speech documentation? I would like to learn how to use it, and write my own talking games. I am using the windows OS Bruce Subject: Re: [pygame] Sound to String You can use sndarray to chan

Re: [pygame] #pygame on irc.freenode.net

2008-02-19 Thread FT
Hey! I would like to learn Pygame and watch the bugs and get solutions. Enough is enough, lets just talk about programming. There are hackers everywhere and those who feel good at others suffering and expense. The world is a mess, lets keep it clean, at least try here... Bruce If y

Re: [pygame] timing question

2008-01-29 Thread FT
Yes, the Pygame event is exactly that and using the K_ codes for checks. I also added this other function as well which uses the windows version and is just a little more in the check using a dictionary list for inserting commands. This time inside I use a GG method variable to store the dictionar

Re: [pygame] timing question

2008-01-29 Thread FT
Hi Again, This is the example you want for what you are doing. Enjoy! Bruce # File: msvcrt-example-2.py import msvcrt import time print "press SPACE to enter the serial number" while not msvcrt.kbhit() or msvcrt.getch() != " ": # do something else while we're waiting print "

Re: [pygame] timing question

2008-01-29 Thread FT
You can use this input for your check. Inside the while statement place a keydown check and it should work. This is what I use for my game at the moment for single key strokes. I will send the while check in my second email to the list. Enjoy programming. Bruce import msvcrt #INP

Re: [pygame] py2exe problems

2008-01-22 Thread FT
Hi! Here is the skeleton file to use and the first 2 lines I use a batch file to insert those names. Where the first one is the game to compile and the second variable is the new name for the game and the executable file that will be made. My batch file just looks at what you placed on t

Re: [pygame] Help: improve new module documentation. Read this, and give me comments.

2008-01-22 Thread FT
Hi! A thought, I am sure you probably have tried it. But you mention the vector, and you know the direction, thus you can reduce the field of mask/test then check less pixels in the upcoming collision point(s). Just a thought, just requires that vector and how to write that vector. Knowing the

Re: [pygame] New GUI

2008-01-22 Thread FT
Hi Kamilche Being a blind user and the need for an all text version. It would be nice to have something that is complete text oriented. I have not tried any for the screen does not allow the screen reader to scan unless it is standard Window Classic with classic colors and standard buttons and