Re: Sound Libraries in python

2014-06-26 Thread AudioGames . net Forum — Off-topic room : SoundMUD via Audiogames-reflector
Re: Sound Libraries in python set_listener(5, 5, 90) stereo(6, 5) (0.0, 1.0) stereo(4, 5) (0.5, 0.0)Youre right, something is wrong. Ill check what happened.I realize that a simple way of managing a third dimension might be useful for several simple cases: footsteps (z=0) versus shout (z=1.8

Re: Sound Libraries in python

2014-06-26 Thread AudioGames . net Forum — Off-topic room : SoundMUD via Audiogames-reflector
Re: Sound Libraries in python OK, here is what is happening: (4, 5) is considered to be slightly behind the listener so the result is divided by 2. The code is correct but a bit brutal: its 0.5 instead of 1.0 if you cross the line. Something smoother can be done.To have a less surprising

Re: Sound Libraries in python

2014-06-26 Thread AudioGames . net Forum — Off-topic room : SoundMUD via Audiogames-reflector
Re: Sound Libraries in python OK, here is what is happening: (4, 5) is considered to be slightly behind the listener so the result is divided by 2. The code is correct but a bit brutal: its 0.5 instead of 1.0 if you cross the line. Something smoother can be done.To have a less surprising

Re: Sound Libraries in python

2014-06-26 Thread AudioGames . net Forum — Off-topic room : SoundMUD via Audiogames-reflector
Re: Sound Libraries in python OK, here is what is happening: (4, 5) is considered to be slightly behind the listener so the result is divided by 2. The code is correct but a bit brutal: its 0.5 instead of 1.0 if you cross the line. Something smoother can be done.To have a less surprising

Re: Sound Libraries in python

2014-06-26 Thread AudioGames . net Forum — Off-topic room : haqeirah via Audiogames-reflector
Re: Sound Libraries in python So pos.py is part of pygame? I get the trigonometry, Ive just never tried using sound in any language other than bgt.URL: http://forum.audiogames.net/viewtopic.php?pid=178401#p178401 ___ Audiogames-reflector mailing list

Re: Sound Libraries in python

2014-06-26 Thread AudioGames . net Forum — Off-topic room : frastlin via Audiogames-reflector
Re: Sound Libraries in python No,pos.py is the file that is in post 7.at SoundMUD:,It would be awesome if you could create a module that dealt with these sound problems in a very nice way. I looked on pygames website and there is nothing in their packages that help one with 3d sound in any way

Re: Sound Libraries in python

2014-06-25 Thread AudioGames . net Forum — Off-topic room : haqeirah via Audiogames-reflector
Re: Sound Libraries in python Sorry, wheres this module? It sounds like it could be useful for my computing project.URL: http://forum.audiogames.net/viewtopic.php?pid=178281#p178281 ___ Audiogames-reflector mailing list Audiogames-reflector

Re: Sound Libraries in python

2014-06-25 Thread AudioGames . net Forum — Off-topic room : frastlin via Audiogames-reflector
Re: Sound Libraries in python Hello,The pygame sound module is from pygame and the above module is to work with the pygame sound module.URL: http://forum.audiogames.net/viewtopic.php?pid=178296#p178296 ___ Audiogames-reflector mailing list Audiogames

Re: Sound Libraries in python

2014-06-25 Thread AudioGames . net Forum — Off-topic room : frastlin via Audiogames-reflector
Re: Sound Libraries in python I have never tested this till today and it only works when set_listener(5, 5, 90)andstereo(5, 5)then if you toggleset_listener(4, 5, 90)orset_listener(6, 5, 90)I know the sound support for above and below has not come yet (which you should add instantly

Re: Sound Libraries in python

2014-06-25 Thread AudioGames . net Forum — Off-topic room : frastlin via Audiogames-reflector
Re: Sound Libraries in python I have never tested this till today and it only works when set_listener(5, 5, 90)andstereo(5, 5)then if you toggleset_listener(4, 5, 90)orset_listener(6, 5, 90)I know the sound support for above and below has not come yet (which you should add instantly

Re: [Audiogames-reflector] Sound Libraries in python

2014-04-01 Thread AudioGames.net Forum — Off-topic room: SoundMUD
Re: Sound Libraries in python The same mixer deals with sound (loaded before playing) and music (loaded while playing).In Python, a module is actually imported the first time only. The next times the module is only linked.The module should import pygame and eventually initialize

Re: [Audiogames-reflector] Sound Libraries in python

2014-04-01 Thread AudioGames.net Forum — Off-topic room: SoundMUD
Re: Sound Libraries in python The same mixer deals with sound (loaded before playing) and music (loaded while playing).In Python, a module is actually imported the first time only. The next times the module is only linked.The module should import pygame and eventually initialize

Re: [Audiogames-reflector] Sound Libraries in python

2014-03-31 Thread AudioGames.net Forum — Off-topic room: SoundMUD
Re: Sound Libraries in python About the delay in pygame:https://bitbucket.org/pygame/pygame/iss … ted-momentIn short, the default value for the buffer has been changed in version 1.8 to a huge value to avoid any scratchy sound while playing music. The trouble is that this value is not suited

Re: [Audiogames-reflector] Sound Libraries in python

2014-03-31 Thread AudioGames.net Forum — Off-topic room: SoundMUD
Re: Sound Libraries in python About the delay in pygame:https://bitbucket.org/pygame/pygame/iss … ted-momentIn short, the default value for the buffer has been changed in version 1.8 to a huge value to avoid any scratchy sound. The trouble is that this value is not suited for games. Solution

Re: [Audiogames-reflector] Sound Libraries in python

2014-03-31 Thread AudioGames.net Forum — Off-topic room: frastlin
Re: Sound Libraries in python This is fantastic thank you! I must have missed the description of the buffer size as I dont understand any of the arguments in the pre_init call. I reduced the first numbers, but never could find what the last number did. This is great!Do you know if it is better

Re: [Audiogames-reflector] Sound Libraries in python

2014-03-31 Thread AudioGames.net Forum — Off-topic room: SoundMUD
Re: Sound Libraries in python About the separate sound module, its your choice. Add a module if you really need it. Keep it simple.But the mixer should be initialized at the beginning, at least before the game loop starts. Initializing the mixer all the time would be useless, or worse.You

Re: [Audiogames-reflector] Sound Libraries in python

2014-03-31 Thread AudioGames.net Forum — Off-topic room: frastlin
Re: Sound Libraries in python Yes, I used those when I was first messing around with pygame. They were very helpful!Do you know if there is any good way to have a module get the focus, while of the key commands without importing pygame again? Currently I have a menu module that imports pygame

Re: [Audiogames-reflector] Sound Libraries in python

2014-03-31 Thread AudioGames.net Forum — Off-topic room: frastlin
Re: Sound Libraries in python Yes, I used those when I was first messing around with pygame. They were very helpful!Does the music section of the mixer then get the same buffer size as the sound effects? I have music that can have the huge buffer size, but I only want the music to have

Re: [Audiogames-reflector] Sound Libraries in python

2014-03-31 Thread AudioGames.net Forum — Off-topic room: frastlin
Re: Sound Libraries in python [[wow]], I just read clientmediasound.py.That is complex! Have you considered making it into a package and placing it on the pygame website? There is maybe 1 audio package on there and it doesnt do anything useful from what I could tell.Having a package that can

[Audiogames-reflector] Sound Libraries in python

2014-03-30 Thread AudioGames.net Forum — Off-topic room: frastlin
Sound Libraries in python Hello,Ive been asking around on the audio game developers email list, but Ive not really found any quality sound libraries for python.Im using pygame in my programming, but Im having the problem in pygame that:1. the sound has a major delay (500ths of a second