>-----Original Message----- >From: David Kastrup [mailto:[email protected]] >Sent: Monday, June 29, 2015 3:13 PM >To: Peter Gentry >Cc: [email protected] >Subject: [SPAM] Re: [SPAM] Re: Tweaking in scheme > >David Kastrup <[email protected]> writes: > >> "Peter Gentry" <[email protected]> writes: >> >>>>-----Original Message----- >>>>From: David Kastrup [mailto:[email protected]] >> >>>>One can also try to do this kind of iteration oneself in order to >>>>only use the less invasive tweaks and get the color covered: >>>> >>>>\version "2.19.22" >>>>tweakIV = >>>>#(define-music-function (music) (ly:music?) >>>> (map-some-music >>>> (lambda (m) >>>> (and (music-is-of-type? 'note-event) > >Yikes. Of course (music-is-of-type? m 'note-event) here. > >>>> (tweak 'color red (tweak 'style 'harmonic m)))) >>>> music)) > >-- >David Kastrup
Big improvement in clarity (smugness justified) - and comforting to see that even the gods can slip up occaisionally (it's a daily occurrence for mere mortals) :) _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
