[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Repeat volta not at beginning of piece doesn't get initial repeat ba
From: |
Patrick or Cynthia Karl |
Subject: |
Re: Repeat volta not at beginning of piece doesn't get initial repeat bar line |
Date: |
Thu, 26 Jun 2014 11:22:35 -0500 |
> In lilypond-user Digest, Vol 139, Issue 98 Message: 6, Jay Anderson wrote:
> Date: Thu, 26 Jun 2014 08:53:23 -0700
> From: Jay Anderson <address@hidden>
> To: Patrick or Cynthia Karl <address@hidden>
> Subject: Re: Repeat volta not at beginning of piece doesn't get
> initial repeat bar line
>
> On Thu, Jun 26, 2014 at 8:37 AM, Patrick or Cynthia Karl <address@hidden>
> wrote:
>> Section 1.4 of the Notation Manual says about volta repeats:
>>
>> volta The repeated music is not written out but enclosed between
>> repeat bar lines. If the repeat is at the
>> beginning of a piece, a repeat bar line is only printed at the end of the
>> repeat.
>>
>> But the following snippet does not generate the initial repeat bar line,
>> apparently because of the "||" bar line. But the "||" bar line does not
>> indicate the end of a piece.
>>
>> I have tried several things to get the inital repeat bar line to appear
>> without success. I suspect it's not very difficult. Can anyone please tell
>> me how to do it? And if I'm correct about the problem being caused by the
>> "||" bar line, the documentation should probably be changed.
>>
>> \version "2.18.2"
>>
>> music = \relative b' {
>> a1 a a a
>> \bar "||"
>>
>> \break
>>
>> \repeat volta 2 { a4 b c d }
>> }
>
> You're right that the \bar "||" is overriding the repeat bar. I assume
> you're wanting a double bar before the break. Use \bar ".|:-||"
> instead. You can lookup valid bar strings in bar-line.scm.
Sorry, that doesn't work for me, result is the same. I assume you're saying to
replace the \bar "||" with \bar ".|:-||".
I still don't understand why the "||" bar is overriding the repeat bar, as "||"
doesn't signify end-of-piece so the \repeat volta is not at the beginning of a
piece so the initial repeat bar line should be printed.
- Re: Repeat volta not at beginning of piece doesn't get initial repeat bar line,
Patrick or Cynthia Karl <=