On 16/11/11 05:41, makemachine 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

I'm just using numpy with a modified Source so I can change the sound on
the fly. If you just wanted plain waves you could produce the arrays and
set the StaticSource()._data manually.

HTH,
Adam.

-- 
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