Can now procedurally generate music and write to .wav files.