lilypond-user
[Top][All Lists]
Advanced

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

Re: Repeats & alternative endings


From: Mats Bengtsson
Subject: Re: Repeats & alternative endings
Date: Tue, 16 Oct 2007 11:08:57 +0200
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

What LilyPond version do you use? When I try your example
with version 2.10 and 2.11, it compiles without any problems.

  /Mats

Patrick Schmidt wrote:
Dear all,

could anybody please help me with the following problem:

I'm trying to typeset a fragment with 3 repeats and  1 alternative ending but I 
get syntax errors.

What's wrong with this syntax?

frag = {
  \key d \minor%
\set TabStaff.stringTunings = #'(+2 -3 -7 -12 -17 -24)%Dropped C-Tuning
        
        \repeat volta 4 {<d,\6 a,\5 d\4>16 <c,\6 g,\5 c\4> <d,\6 a,\5 d\4>8
        <d,\6 a,\5 d\4>16 <c,\6 g,\5 c\4> <d,\6 a,\5 d\4> <f,\6 c\5 f\4>
        <d,\6 a,\5 d\4>16 <c,\6 g,\5 c\4> <d,\6 a,\5 d\4>8~<d,\6 a,\5 d\4>4}
        
        \alternative { {<c,\6 g,\5 c\4>1 <es,\6 bes,\5 es\4>}
                               {<es,\6 bes,\5 es\4>1 <c,\6 g,\5 c\4>} }
        
}
\new StaffGroup <<
   \new Staff { \clef "G_8" \frag }
        \new TabStaff { \frag }
  >>

Thanks a lot,

PLS


--
=============================================
        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]