lilypond-user
[Top][All Lists]
Advanced

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

Problem with sustain brackets with polyphony


From: Christoph
Subject: Problem with sustain brackets with polyphony
Date: Sat, 27 Nov 2010 22:58:02 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Hallo,

I am trying to figure out how to use sustain brackets correctly in polyphony. If
the notes of the two voices are shifted horizontally on the same time, the
bracket end at one note and start again at the other leaving a gap in between
(you can see it in the attached example) I would like to have the brackets
always connected. How can I do it?

Thanks a lot for your help

Christoph


  \version "2.12.3"
  bass = \relative g {
  e2 fis4|
  e4 d4 b4|
  }





  \version "2.12.3"

  bass = \relative g {
  e2 fis4|
  e4 d4 b4|
  }


  tenor = \relative g {
  g2. ~|
  <e g>2. |
  }

  pedal = {
  \set Staff.pedalSustainStyle = #'bracket

  s2 \sustainOff \sustainOn s4 \sustainOff \sustainOn |
 s4 \sustainOff \sustainOn s4 \sustainOff \sustainOn s4 \sustainOff \sustainOn |
}
  
  \score { <<
  \new PianoStaff 
  \new Staff = top {  \bar "||"}
  \new Staff = bottom {\clef "F" \time 3/4 <<  
            \context Voice=tenor {\voiceOne  \tenor}
            \context Voice=bass {\voiceTwo \bass}
            \pedal      >> \bar "||"} >>  
  }







reply via email to

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