Op zaterdag 3 november 2007, schreef Ben: > I thought I had this figured out, but now I'm stuck. My program generates > midi notes and converts them to lily variables (ie noteone = {ees'} ). What > I need to do next is add my durations onto them. It seems so simple but I > get error after error.
Yes, you can't simply write \noteone4 to get ees'4 when \noteone is set to {ees'} this has bitten me as well, and it is caused by the fact that \noteone is not just some string, but a fully-fledged music expression. I have no simple solution. I think it would involve writing a small scheme function to take a music expr and replaces it's duration. You could maybe look at http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Music-functions Met vriendelijke groet, Wilbert Berendsen -- http://www.wilbertberendsen.nl/ "You must be the change you wish to see in the world." -- Mahatma Gandi _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user