Yes. I started a project doing this a long time ago and never really completed it. It has a pyglet example and some pyrex coded waveform generators. It's quite feature incomplete, but should give you all examples you need.
Code is here: http://code.google.com/p/poise-sfx/ Check out PygletSource.py and test-pyglet.py for the general approach. Regards Crispin On Wed, Nov 16, 2011 at 1:41 PM, makemachine <[email protected]> wrote: > Is it possible to use any of the audio capabilities of pyglet to perform > real-time audio synthesis? I am not looking to write anything extremely > complex, but I would like to be able to generate waveforms ( sine, square, > triangle ) in real-time and hopefully perform some simple dsp operations. I > have enough knowledge of dsp to write a simple API for these sorts of > things, but I'm not sure where to begin with Pyglet or if I should find some > other library that provides basic audio buffer/playback capabilities. > Thoughts? > Thanks, > ~J > > -- > You received this message because you are subscribed to the Google Groups > "pyglet-users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/pyglet-users/-/-yP1ovxcgfAJ. > 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.
