On Sat, Jun 28, 2008 at 2:03 AM, altern <[EMAIL PROTECTED]> wrote: > > hi > > i am checking the sound examples but i get this error > > >>> import OpenAL > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > ImportError: No module named OpenAL > > I am on ubuntu studio and already installed pyOpenAL > $ sudo apt-get install libalut-dev libalut0 libopenal-dev libopenal0a > python-openal >
You should not have had to install python-openal - pyglet interfaces with openal lib via ctypes. To see which driver your system is using: >>> import pyglet.media >>> print pyglet.media.driver_name pyglet.media.drivers.openal There is also an example you can run to test in the source tree: examples/soundspace/soundspace.py I sounds like rubbish on my laptop ... but, it "works." -- \\\\\/\"/\\\\\\\\\\\ \\\\/ // //\/\\\\\\\ \\\/ \\// /\ \/\\\\ \\/ /\/ / /\/ /\ \\\ \/ / /\/ /\ /\\\ \\ / /\\\ /\\\ \\\\\/\ \/\\\\\/\\\\\/\\\\\\ d.p.s --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
