lilypond-devel
[Top][All Lists]
Advanced

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

Music function extension...


From: David Kastrup
Subject: Music function extension...
Date: Fri, 29 Oct 2010 12:46:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Are there good reasons left for not allowing music functions to take
pitches as arguments?  That would allow implementing something like
\transpose as a music function.  The alternative, letting it take a
music event and not checking its duration and hoping that it is a single
note, seems quite less elegant.

Since argument signatures of music functions and markup functions are by
now processed as lists instead of fixed combinations, adding new
argument types does not seem to have significant drawbacks.

-- 
David Kastrup




reply via email to

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