Hi, I don't know of a current example like that. Maybe if you create a Sound from a buffer(like array.array or numpy.array), then you can modify that... but I haven't tried.
Also, have a look at the examples/sound_array_demos.py, maybe something like that will do. cheers, On Sun, Feb 5, 2012 at 1:55 AM, Will Woods <will.woo...@gmail.com> wrote: > I want to be able to continuously modify a sound buffer from a > callback, exactly as shown in the pygame 0.09 example loopwave.py > > http://hg.pygame.org/pygame/src/d1cbb8c9d94b/test/loopwave.py > > This uses direct access to SDL which seems to have disappeared in more > recent versions of pygame. I need to be able to continuously vary the > frequency modulation of a tone in response to user input. > > Will >