On 04/02/12 04:55 PM, Will Woods 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
Hi,
This is from the ctypes-soc branch of Pygame, where Pygame was rewritten
using ctypes. It included an SDL subpackage. The branch is not
maintained, but the SDL package should still work. I don't see why the
SDL package can not be used with mainstream Pygame. Just include it with
your project. Be sure, though, to call pygame.mixer.quit() before using
SDL. Better still, just initialize the Pygame modules you need rather
that calling pygame.init().
Lenard Lindstrom