pygame: example of creating a Sound from an object
I'm creating a small framework to reproduce sounds. As I have to make a number of calculations to actually know what I want to put on the channel, I'd like to create a Sound from an object so that the sound is read (somehow) from this object (or buffer, if it's possible).
Are there examples out there of how to achieve this?
Thanks in advance