Re: pygame sound

Got it. I was editing, not making a new one, but I had to hit "end" first since 
just typing erased the text already there. The odd thing is that jaws11 did not 
read anything, it told me that the edit box was blank. Now, though, it thinks I 
want python23. How can I change this to 26?


Have a great day,
Alex
New email address: mehgcap@xxxxxxxxx
  ----- Original Message ----- 
  From: jaffar@xxxxxxxxxxxxx 
  To: programmingblind@xxxxxxxxxxxxx 
  Sent: Sunday, September 13, 2009 2:12 AM
  Subject: Re: pygame sound


  Hi Alex. No it won't.  I think your mistake was to create a new path, in 
which case, yes, your others environments would be deleted.  However, if you 
editted your environment as per the directives i sent you, it won't affect your 
other environments at all.  Cheers!
    ----- Original Message ----- 
    From: Alex Hall 
    To: programmingblind@xxxxxxxxxxxxx 
    Sent: Sunday, September 13, 2009 1:53 PM
    Subject: Re: pygame sound


    Doing this erased all the variables I had there before, such as c:\windows! 
I know I do not want to do that. Why would this happen? It has never done that 
to me before.


    Have a great day,
    Alex
    New email address: mehgcap@xxxxxxxxx
      ----- Original Message ----- 
      From: jaffar@xxxxxxxxxxxxx 
      To: programmingblind@xxxxxxxxxxxxx 
      Sent: Sunday, September 13, 2009 12:45 AM
      Subject: Re: pygame sound


      Hi Alex.  Here's some help to get your python environment up and smoothly 
running.  Give it a try and let me know if it works for you.
      1.  select the my computer icon on your desktop, or alternatively go to 
your control panel and choose system.
      2.  press the context menu key if you're on the my computer icon on your 
desktop, or press enter if you're at the control panel/system.
      3.  arrow up or down until you hear properties on the desktop my computer 
icon.  If you're on the control panel/system, then arrow right until your hear 
advanced.  same goes for the desktop scenario.
      4.  now for both cases, tab to environment variable, then press the space 
button to evoke it.
      6.  now, what you really want to achieve is to put, in this case python, 
onto your system's environment path, so tab to system variables, then tab to 
the list box which contains all the system variables available to you and 
select path.
      7.  Now, tab to the edit button.
      9.  when you press the space bar to evoke it, you'll see a long line of 
installed programs already present in your system environment path, and this is 
where you'll add your python environment.
      11.  at the end of
        the line, type the following.  I am assuming that your python software 
resides in your c drive, and that you want to put your python2.6 into your 
system's environment path, so type the following line into your environment 
path edit textbox:
        ;c:\python26;c:\python26\lib;c:\python26\scripts
        11.  tab to ok and press space bar, then press ok again, and finally 
press ok again to exit the system properties.
        12. now to test if the instructions work, go to your command prompt.  
type
        python -v.  If you see a message telling you of your python version and 
all it's commands and coordinates, the congrats! you have python on your path 
and can start programming in python.  Cheers!
        ----- Original Message ----- 
        From: Alex Hall 
        To: programmingblind@xxxxxxxxxxxxx 
        Sent: Sunday, September 13, 2009 9:18 AM
        Subject: Re: pygame sound


        I got it. I used the cmd.exe command to run python.exe and manually 
passed it my path/file.py arg, and it worked. Not as good as having python.exe 
on the search path, but at least I can run things.


        Have a great day,
        Alex
        New email address: mehgcap@xxxxxxxxx
          ----- Original Message ----- 
          From: BlueScale 
          To: programmingblind@xxxxxxxxxxxxx 
          Sent: Saturday, September 12, 2009 8:26 PM
          Subject: Re: pygame sound


          Hi,
          I am not sure how to help with that.  I use Linux, so I just type 
python and the file name, and it just works.

               

          On Sat, 2009-09-12 at 19:45 -0400, Alex Hall wrote: 
            I downloaded the tutorials (2 .py files) but they do not work. I 
know this is a basic question, but I never seem to get it right: how do I tell 
edSharp to run these py files? It says that python.exe is not on the search 
path. 
            Have a great day,
            Alex
            New email address: mehgcap@xxxxxxxxx 
              ----- Original Message ----- 
              From: BlueScale 
              To: programmingblind@xxxxxxxxxxxxx 
              Sent: Saturday, September 12, 2009 7:23 PM 
              Subject: Re: pygame sound 



              the Mixer is a media player with multple channels.  If you keep 
track of each channel you are using, you can do things like start, stop, change 
volume, set playback position, get length of the file, etc.  The creater of 
Soundrts has a small tutorial.  Be sure to read the comments too because there 
are some helpful tidbits ther as well  The tutorial is at:
              http://soundrts.blogspot.com/search/label/pygame%20tutorial


                   

              On Sat, 2009-09-12 at 18:16 -0400, Haden Pike wrote: 
I could be completely wrong, but from the little reading I have done 
so far, it would seem that the mixer is like a media player. You should 
be able to set the volume, but I can't find a reference to how this is 
done...I'll try googling for it. Again, this could be completely wrong...
Haden

On 9/12/2009 5:44 PM, Alex Hall wrote:
> Makes sense. How do I do this programatically? Is mixer the only sound 
> object I have, or are there others? Can I set the pitch of a sound 
> dynamically? Is each mixer a sound, or is one mixer like a media 
> player that I pass multiple sounds? Thanks.
>
>
> Have a great day,
> Alex
> New email address: mehgcap@xxxxxxxxx
> ----- Original Message ----- From: "Haden Pike" <haden.pike@xxxxxxxxx>
> To: <programmingblind@xxxxxxxxxxxxx>
> Sent: Saturday, September 12, 2009 5:38 PM
> Subject: Re: pygame sound
>
>
>>  I'm not sure how to play the sound, as I am just starting my 
>> adventures into pygame. However, I suggest you use python 2.6. More 
>> software is compatible with it. Just my suggestion...you are free to 
>> do what you want.
>> Haden
>>
>> On 9/12/2009 5:07 PM, Alex Hall wrote:
>>> Hi all,
>>>
>>> I have pygame working, I think, on Python 3.1, though I still have 
>>> python 2.6 and 2.3 on the computer. The documentation for pySonic 
>>> made sense; you create a world, put the player in it, then have 
>>> sound sources with properties like location. How would I do this in 
>>> pygame? I found the mixer object, but I am not sure how to use it to 
>>> generate sounds that relate to where the user is in the game world. 
>>> Actually, I am not even sure how to create the user's location for 
>>> other sounds to be compared to the player. I hope this makes sense 
>>> and that I am just missing something easy here.
>>>
>>>
>>> Have a great day,
>>> Alex
>>> New email address: mehgcap@xxxxxxxxx
>>> __________
>>> View the list's information and change your settings at 
>>> http://www.freelists.org/list/programmingblind
>>>
>>
>>
>> -- 
>>
>> ---
>> Haden Pike
>> Email: haden.pike@xxxxxxxxx
>>
>> __________
>> View the list's information and change your settings at 
>> http://www.freelists.org/list/programmingblind
>>
>
> __________
> View the list's information and change your settings at 
> http://www.freelists.org/list/programmingblind
>


Other related posts: