On 2016-12-22 8:24 AM, Simon Albrecht wrote:
hold = #(define-music-function (note) (ly:music?) (withMusicProperty 'duration (ly:make-duration -1 0) note))
This revised function works marvelously for me. I did have to look up the arguments to ly:make-duration in order to figure out what the appropriate settings were for the different conventions (first argument is exponent of denominator in base 2 for note duration, i.e. -1 for breve, 0 for whole note, and 1 for half), but I've now noted the comments close by so I won't forget. Thanks for the help.
-- ✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝ Br. Samuel, OSB St. Anselm’s Abbey Washington, DC (R. Padraic Springuel) PAX ☧ ΧΡΙΣΤΟΣ _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user