lilypond-user
[Top][All Lists]
Advanced

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

Manual start-repeat (GDP)


From: Palmer, Ralph
Subject: Manual start-repeat (GDP)
Date: Wed, 18 Jun 2008 07:47:12 -0400

Greetings -

I'm running LilyPond 2.11.49 under WinXP SP2.

I've been working on Repeats for the GDP, and found that 
\set Score.repeatCommands = #'( start-repeat )
doesn't work if it's at the beginning of a score. It looks like it has
to follow a note or a skip. Here are three snippets: <Test volta start
a.ly> puts the |: bar line in the wrong place; <Test volta start b.ly>
produces no |: bar line; and <Test volta start c.ly> puts a |: bar line
in the right place, except that it's displaced to the right because of
the skip. Is this a bug?

The snippets follow.

Peace,

Ralph

++++++++++++ Begin Test volta start a.ly +++++++++++

\version "2.11.48"

%%%%%%%%%%%%%  WRONG PLACE  %%%%%%%%%%%%%%%%%%


TestVoltaStart = {
        \key c \major
        \clef "G"
        \time 4/4
        \relative c'' {
        c1
        \set Score.repeatCommands = #'( start-repeat )
        d1
        d4 e f g
        }
}

\score
        {
        \TestVoltaStart
        }

+++++++++++ End Test volta start a.ly +++++++++++

++++++++++++++ Begin Test volta start b.ly +++++++++++

\version "2.11.48"

%%%%%%%%%%%%%  NO REPEAT  %%%%%%%%%%%%%%%%%%


TestVoltaStart = {
        \key c \major
        \clef "G"
        \time 4/4
        \relative c'' {
        \set Score.repeatCommands = #'( start-repeat )
        c1
        d1
        d4 e f g
        }
}

\score
        {
        \TestVoltaStart
        }

++++++++++++ End Test volta start b.ly +++++++++++

++++++++++++ Begin Test volta start c.ly ++++++++++++

\version "2.11.48"

%%%%%%%%%%%%%  THIS WORKS  %%%%%%%%%%%%%%%%%%


TestVoltaStart = {
        \key c \major
        \clef "G"
        \time 4/4
        \relative c'' {
        s1*1/10
        \set Score.repeatCommands = #'( start-repeat )
        c1*9/10
        d1
        d4 e f g
        }
}

\score
        {
        \TestVoltaStart
        }

++++++++++++++++ End Test volta start c.ly +++++++++++






reply via email to

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