James Worlton <[email protected]> writes:

> That is starting to make sense, after reading it a few times :) I've
> replaced #note with $note in both cases in the function and it works
> properly. Thanks!
>
> I need to go back and re-read the part about the difference between # and $
> in Scheme variables...

As a rule, don't use a music argument twice without copying in the same
expression.  \music copies music, just like $music does.  #music is very
Scheme-like: it does not change anything.  Often, that's what you want.

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to