how to write a song generator