lilypond-user
[Top][All Lists]
Advanced

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

Re: Ties in second endings


From: Mats Bengtsson
Subject: Re: Ties in second endings
Date: Thu, 22 Sep 2005 10:39:33 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511



Peter Mogensen wrote:
Fairchild wrote:

Graham -

Here's a trim-down of the thread, for sticking in the manual, in the section
on ties, or repeats, or both.  Edit to suit.

There ought to be a better way that makes the tie more pronounced, but a
simple way eludes me.

                     - Bruce

================================


Ties are not normally continued into second endings, but a standard trick is
to add a tie from an invisible note.  One way is to make the invisible note
a grace note.  In that way, it doesn't destroy the rhythm.


\version "2.4.6"
\layout{ raggedright = ##t }
\score{
\relative c' {
\repeat volta 2 { f g a2 ~ }
\alternative {
{ a4 g2 f4 }
{ \grace{ \hideNotes a4~ } \unHideNotes a g2. }
}}}


No... because this won't work when there's more than one staff. You'll
get 2 second voltas:

See http://lists.gnu.org/archive/html/lilypond-user/2005-09/msg00444.html
for the simple extra work-around that's needed.

  /Mats


\version "2.4.5"
\layout{ raggedright = ##t }
\score{
  <<
    \relative c' {
      \repeat volta 2 { f g a2 ~ }
      \alternative {
        { a4 g2 f4 }
        { \grace{ \hideNotes a4~ } \unHideNotes a g2. }
      }
    }
    \new DrumStaff {
    \drummode {
      \repeat volta 2 { sn4 sn sn sn}
      \alternative {
        {sn4 sn sn sn }
        {sn4 hh2. }
      }
    }
    }
  >>
}


Try this instead:

\version "2.4.5"
\layout{ raggedright = ##t }
\score{
  <<
    \relative c' {
      \repeat volta 2 { f g a2 ~ }
      \alternative {
        { a4 g2 f4 }
        { s64 \grace{ \hideNotes a4~ } \unHideNotes a4*1/2 s16 s32 s64 g2. }
      }
    }
    \new DrumStaff {
      \drummode {
        \repeat volta 2 { sn4 sn sn sn}
        \alternative {
          {sn4 sn sn sn }
          {sn4 hh2. }
        }
      }
    }
  >>
}



yes... ugly.


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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