Take a close look at cSounds. There are Python bindings allow you to do pretty flexible digital synthesis. There are some pretty complete packages available, too.
See http://www.csounds.com/node/188 for a package.
See http://www.csounds.com/journal/issue6/pythonOpcodes.html for information on Python scripting within cSounds.
2.1m questions
2.1m answers
60 comments
57.0k users