lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Music functions and markup


From: Br. Samuel Springuel
Subject: Re: Music functions and markup
Date: Thu, 22 Dec 2016 16:03:50 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

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 ☧ ΧΡΙΣΤΟΣ



reply via email to

[Prev in Thread] Current Thread [Next in Thread]