[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] varying sound playback rate
Alex Holkner wrote:
> Greg Ewing wrote:
>
>> Dave LeCompte (really) wrote:
>>
>>> - alternately, you could ditch PyGame's mixer altogether and use an
>>> outside sound library.
>>
>>
>> I've done something like this recently using OpenAL via
>> PyOpenAL, and it works well.
>>
>> The only drawback might be that it seems PyOpenAL is
>> no longer maintained....
>
>
> OpenAL can also be accessed directly using ctypes. For example, here's
> a simple generated wrapper:
>
> http://pyglet.googlecode.com/svn/trunk/pyglet/media/lib_openal.py
> http://pyglet.googlecode.com/svn/trunk/pyglet/media/lib_alc.py
Interesting. Thanks Dave, Greg and Alex.
I looked at PySonic, but it uses a closed source library, so that rules
it out.
PythonSound looks like an interesting project. It is a pretty-much
complete synthetic music composition system. Very neat. I'm not sure how
current it is though. Doesn't look like much has happened since 2002.
Still, if it works that is enough.
I have played with snack. It provides a very simple way for python to
use, play, and filter sounds as well as generating tones. It can also
convert formats on-the-fly. And it lets you view sounds graphically
(waveform, spectrogram, energy section), which can be useful for some
things I want to do in the future.
OpenAL has some interesting 3D capabilities -- something that will be
very useful for me later... but after a quick scan thru the
documentation I can't see much else. Guess I have to sit down and really
delve into the docs.
MusicKit (& SndKit) looks very interesting, for building music, sound,
signal processing & MIDI applications. I haven't had time to investigate
it properly yet.
Also, of course, python itself has a very basic wave module with simple
capabilities.
Best wishes,
- Miriam
--
---------=---------=---------=---------=---------=---------=------
A life! Cool! Where can I download one of those from?
---------=---------=---------=---------=---------=---------=------
Website: http://miriam-english.org
Blog: http://www.livejournal.com/users/miriam_e/