I am actually using pymedia, but it does have a slight problem in linux.... I get crash when I try to either access or get the volume. >>> python2: simple.c:269: snd_mixer_selem_has_playback_channel: Assertion >>> `elem' failed. Aborted
2011/5/5 [email protected] <[email protected]>: > I'd actually use pyglet for playback, and just use libsndfile/scikit > for loading the samples. > The interface for a media source in pyglet seems to be very simple: > http://code.google.com/p/pyglet/source/browse/pyglet/media/riff.py?r=c3868ff2ec609d752606277957fc027be415fca1 > > Cheers, > Jonas > > On May 4, 8:03 pm, Peter Enerccio <[email protected]> wrote: >> But I am trying it with pyaudiere, might work (to play NumpyArrays)! >> Will report when it does. >> >> 2011/5/4 Peter Enerccio <[email protected]>: >> >> >> >> >> >> >> >> > It looks nice, but it only has MacOSX and Linux playback support... >> > I need something that works on the windows as well. >> >> > As for the second file, it looks like wrapper for loading sounds, but >> > there is no writing support, unless I could use it as a converted from >> > ogg to wav? >> >> > Thank you very much for you help. >> > Peter >> >> > 2011/5/4 [email protected] <[email protected]>: >> >> Hi Enericcio, >> >> >>http://pypi.python.org/pypi/scikits.audiolab/0.11.0seems to be a >> >> possible solution. >> >> IMO though it would be nice to have a ctypes wrapper around libsndfile >> >> in pyglet though. >> >> >> Here somebody seems to have already built one: >> >>http://code.google.com/p/pyzic/source/browse/trunk/libsndfile-ctypes/... >> >> >> I hope that helps, >> >> Jonas >> >> >> On May 3, 7:33 pm, Enerccio <[email protected]> wrote: >> >>> Hello! >> >>> Is it possible to support ogg files in pyglet without the need of >> >>> AVBin? >> >>> Maybe with other library? Because I cant use AVBin (since AVBin does >> >>> not support file like objects, only filenames) and using wavs is >> >>> terrible. >> >>> Thank you very much! >> >> >> -- >> >> 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 >> >> athttp://groups.google.com/group/pyglet-users?hl=en. > > -- > 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. > > -- 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.
