|
From: | David B. Stocker |
Subject: | Re: Changing notehead sizes within chords |
Date: | Mon, 29 Jun 2015 22:17:15 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
Klaus and Thomas, Thank you. These are exactly the kind of thing I was looking for.I've been starting to fool around with scheme and it's going very slowly. Maybe examining these and learning how/why they work will help me with the lilypond-specific scheme knowledge required to start solving some of these challenges.
Do either of you recommend a source on Scheme for beginners? Thanks, David On 06/29/2015 06:32 PM, address@hidden wrote:
Maybe there's a way to have a function tweak all the notes in a music >expression, but that's far beyond my scheme knowledge. > >Cheers, >KlausMaybe: \version "2.18.2" font-size-tweak = #(define-music-function (parser location music) (ly:music?) (map-some-music (lambda (m) (and (music-is-of-type? m 'note-event) #{ \tweak font-size #-3 $m #})) music)) leadVoice = \relative c'' { c4( d e2 ) } bkgdVoiceI = \relative c'' { g4( b c2 ) } bkgdVoiceII = \relative c'' { e4( f g2 ) } \new Voice << \font-size-tweak \bkgdVoiceII \leadVoice \font-size-tweak \bkgdVoiceI>>HTH, Harm
[Prev in Thread] | Current Thread | [Next in Thread] |