andre v wrote:
>
>
> On 5/29/07, *Alex Holkner* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>>     "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.
>
>
> It would be nice to have some sort of a parity q for the sounds.  
> Playing 100 sounds at once is just bad it would be nice to drop 
> importations sounds while keeping the background and the main gun 
> sound on top.  Does pyglet has any thing like that or i should 
> implement it?  Do you want it inside pyglet or outside?
That's definitely a useful feature, but is beyond the scope of pyglet 
(which is primarily for providing platform-level support).  If you come 
up with something useful, it could be added to the pyglet.ext package, 
which is the more user-friendly "layer" (also the less-developed layer!).

>>     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()
>
>
> thanks it worked very well!  But how to add more Hz to the sound 
> system?  it might be just my sound system but the mixing is sub 
> standard.  I am not a sound expert so i dont know what is goind on.
On Linux you configure this with your .openalrc file.  On Mac and 
Windows the default mixer is used, which should be 44.1k unless your 
hardware supports something better.  I haven't looked into this 
extensively, it's possible that a lower-quality mixer is being selected.

>>     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).
>
>
> when will that be finished?  I only need the 
> loading/playing/moving/acceleration. 
I can't really say.  I'm not able to put any time into pyglet for the 
next few weeks, but after that I'll have some time free.  Apologies for 
the vagueness of this, but such is the nature of unpaid work ;-)

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