lilypond-user
[Top][All Lists]
Advanced

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

Re: Tweaking in scheme


From: Trevor Daniels
Subject: Re: Tweaking in scheme
Date: Mon, 29 Jun 2015 15:37:42 +0100

David Kastrup wrote Monday, June 29, 2015 12:40 PM

> As 2.19.22 is now available for download, let me smugly suggest:
> 
> \version "2.19.22"
> tweakIII =
> #(define-music-function (music) (ly:music?)
>  (tweak 'color red
>    (tweak 'style 'harmonic music)))
> 
> However, like all of the previous proposals, this relies on "music"
> being a single tweakable item.  For noteheads, there is the more
> thorough style-note-heads function employed by \harmonicNote, so this
> part could be done by (harmonicNote music) instead (\harmonicNote uses a
> tweak for a single note and override/revert for everything else).

These simplifications to music functions are a major improvement!
Your smugness is fully justified!  Pride too.
Thanks!

Trevor

reply via email to

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