I hope these links may be helpful:

My softsynth page with links to more information about synth programming: http://www.emix8.org/static.php?page=SoftSynth

And my open source project ZGameEditor features a synth with source code.