bug-lilypond
[Top][All Lists]
Advanced

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

Re: Ottava bracket in one voice


From: Nick Payne
Subject: Re: Ottava bracket in one voice
Date: Tue, 05 Mar 2013 12:51:59 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3

On 04/03/13 20:24, Colin Hall wrote:
Nick Payne writes:

I just encountered issue 1473 (ottavation marking in one voice affects
all voices on the staff), and it took a bit of digging to find the
solution (change Voice.middleCPosition in the other voices). Maybe there
should be a short "Known issues and warnings" in the section of the NR
dealing with ottava brackets - all the examples shown there are a single
voice.
That sounds like a good idea, Nick. Would you mind drafting some
suitable text and sending it in?

Colin

Is the suggested text and example below clear or not? I grabbed the example notes from a question on the lilypond user list a couple of years ago, which seemed to demonstrate more clearly than anything else the problem and how to solve it: http://comments.gmane.org/gmane.comp.gnu.lilypond.general/61276. I guess that any work done on issue 1473 would affect this as well.

This is for a "Known issues and warnings" paragraph to be placed at the end of the subsection on ottava brackets in NR 1.1.3 Displaying Pitches.

"If you have more than one voice on the staff, setting ottavation in any voice will transpose the position of notes in all voices for the duration of the ottava bracket. If the ottavation is only intended to apply to that one voice, you can set the middleCPosition in the other voice(s) to stop them being transposed. For instance, in this example, set Voice.middleCPosition in the upper voice for the duration of the ottava bracket in the lower voice in order to prevent the tied chord in the upper voice from appearing an octave higher than it should. Note that the value you need to assign to middleCPosition will vary depending on the both the ottavation and clef being used.

\relative c {
  \clef bass
  <<
    {
      <fis cis' g'>1~
      \set Voice.middleCPosition = #6
      <fis cis' g'>4
      \unset Voice.middleCPosition
    }
    \\
    { r2. \ottava #-1 <b,,,~ bes'^~>4 <b bes'>4 \ottava #0 }
  >>
}



reply via email to

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