bug-lilypond
[Top][All Lists]
Advanced

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

Re: font size override and grace notes


From: Matt Cary
Subject: Re: font size override and grace notes
Date: Fri, 19 Oct 2012 05:28:08 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

David Kastrup <dak <at> gnu.org> writes:
 
> What about
> strumFn = 
> #(define-music-function
>   (parser location strums)
>   (ly:music?)
>    #{
>       \new Voice \with {
>       \consists "Pitch_squash_engraver" 
>       squashedPosition = #-2
>       \override NoteHead #'style = #'slash
>       \override NoteHead #'font-size = #1
>       \override Beam #'positions = #'(4 . 4)
>       \override Stem #'length = #8
>       \override Accidental #'stencil = ##f
>       \override AccidentalCautionary #'stencil = ##f
>       \stemUp
>      }
>      { #strums
>      }
>    #})
> 
> \new Voice = "melody"
> {
>  \strumFn { c8[ c] } \acciaccatura a'16 b'8
> }
> 

Adding an extra voice makes it hard to put in lyrics that are sung to both 
the strumming as well as the plucked notes:

<<
\new Voice = "melody"
{
 \strumFn { c8[ c] } \acciaccatura a'16 b'8
}

\new Lyrics \lyricsto "melody" { when I sing }
>>

I'm still not clear why this is happening in the first place. Why should the 
revert affect an override that occurs in the following expression?




reply via email to

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