Wikipedia
PySynth
PySynth is a lightweight open source software synthesizer written in Python. It accepts a song as a nested list and outputs a WAV file with the synthesized audio.
There is also some limited support for music in ABC music notation.