function for outputing lilypond as string