bug-lilypond
[Top][All Lists]
Advanced

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

Re: Contexts do not inherit...


From: Rune Zedeler
Subject: Re: Contexts do not inherit...
Date: Wed, 28 Aug 2002 11:02:41 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529

address@hidden wrote:

I've noticed what I'd call a bug (but really doesn't look like one),
when creating an instance of a Voice inside a voice using the voicify
function.

The Voicyfy function creates two new voices - not within the old voice but within the Staff.

 The bug isn't related to the function but rather how
Lilypond threats the newly created voice:

  \context Voice = voiceI < \notes \transpose c''' \sequential {
    \stemUp
    \property Voice.NoteHead \set #'style = #'diamond
a4 b c d e f g
    <
      { a8 b c d d c b a } \\
      { f g a b b a g f }
    >
}>

In this case the solution is to set the property on Staff-level - ensuring that the new voices properly inherit the property.
\property Staff.NoteHead \set #'style = #'diamond

-Rune





reply via email to

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