> "Let me know if you're interested in using pyglet.media without the
> windowing and OpenGL packages, I can probably make some changes to
> remove the dependencies on these." that will probably be one of the  
> better solutions because i will help to debug your code instead of  
> writing my own bugs. Collaboration is always good.
Ok, i will look into this before any release.
> I am using panda3d currently. MyGL (my lib on top of pyopengl) was  
> just too slow to render so much movable stuff on screen. Panda3d i  
> think is fair for a 3d lib. But it gives FMOD as a sound device.  
> Fmod is not free software. So i need some other way to play sounds.  
> It would be great if i can use pyglet.media without using any other  
> components. If you could write a little console tutorial on playing  
> a ogg/mp3 at player location for sound track
from pyglet import media
medium = media.load('music.ogg')
instance = medium.play()
while not instance.finished:
     media.dispatch_events()

> and have many short wav sounds playing at different locations  
> (explosions and such) - that would be fantastic and I will help  
> improve pyglet sound libs.
There are methods on Sound ("instance" in the above example) which  
give positional support.   They're well documented in pyglet/media/ 
__init__.py.  They've not yet been tested much (I only have two  
speakers :-) ).  The "noisy" example shows how to play multiple  
sounds at once efficiently.
> If i bring openAL with me could I use openAL on win b/c dx support  
> is lacking?
This will have to be implemented at some stage anyway, as hardware- 
mixed surround sound has been dropped from Windows Vista.  This would  
not be a difficult problem (basically need to mash the directshow.py  
implementation to use openal.py), but it's not high on my list of  
priorities.

(However, DirectSound support will not be lacking forever... support  
will be included in the first pyglet release, and will be the default  
implementation on Windows).

Cheers
Alex.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to