lilypond-user
[Top][All Lists]
Advanced

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

property problem and repeats


From: Albert Einstein
Subject: property problem and repeats
Date: Fri, 12 Nov 2004 22:22:55 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040803

I tried to lilypond code from

http://lists.gnu.org/archive/html/lilypond-user/2002-11/msg00150.html

but I obtain error message.

What it must be set instead of \property command?
% First possibility:

\score{\notes\relative c'{
  \bar "|:" 
  c d e f | 
  g g g2 
  % Initialize first ending
  \property Score.repeatCommands = #'((volta "1."))
  f4 g e2 | 
  d1 
  % End the first ending, start the second ending.
  \property Score.repeatCommands = #'((volta #f) end-repeat (volta "2."))
  f4 e f2 | 
  g1 \bar "||"
  % End the second ending, start the "Fine" ending.
  \property Score.VoltaBracket \override #'font-style = #'large
  \property Score.repeatCommands = #'((volta #f) end-repeat (volta "Fine"))
  f4 e d2 | 
  c1 \bar "|."
  % End the "Fine" ending.
  \property Score.repeatCommands = #'((volta #f))
  a'4 g a b |
  c b a g |
  f e d2 |
  c1_#'(lines "D.C." "al Fine") \bar "||"
}
}

% Second possibility:
  
\score{\notes\relative c'{
  \bar "|:" 
  c4 d e f | 
  g g g2 
  % Initialize first ending
  \property Score.repeatCommands = #'((volta "1."))
  f4 g e2 | 
  d1 
  % End the first ending, start the "Fine" ending.
  \property Score.VoltaBracket \override #'font-style = #'large
  \property Score.repeatCommands = #'((volta #f) end-repeat (volta "Fine"))
  f4 e d2 | 
  c1 \bar "|."
  % End the "Fine" ending.
  \property Score.repeatCommands = #'((volta #f))
  f4 e f2 | 
  g1 |
  a4 g a b |
  c b a g |
  f e d2 |
  c1_#'(lines "D.C." "al Fine") \bar "||"
}
}

Albert
  



reply via email to

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