lilypond-user
[Top][All Lists]
Advanced

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

Re: No volta printed at the beginning


From: Nicolas Sceaux
Subject: Re: No volta printed at the beginning
Date: Mon, 25 Oct 2004 19:49:29 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Erik Sandberg <address@hidden> writes:

> On Saturday 23 October 2004 10.40, Nicolas Sceaux wrote:
>> Paul Scott <address@hidden> writes:
>> > Nicolas Sceaux wrote:
>> >>If that's not a bug, I would be interested in knowing how to make it
>> >> appear:
>> >>
>> >>\version "2.3.22"
>> >>\header {
>> >>    texidoc="The volta bracket is not printed when the manual repeat
>> >>command is at the beginning of the score:
>> >>-->  warning: No volta spanner to end"
>> >>}
>> >>
>> >>\layout { raggedright = ##t }
>> >>
>> >>{
>> >>    \set Score . repeatCommands = #'((volta "1."))
>> >>    c'1
>> >>    \set Score . repeatCommands = #'((volta #f))
>> >>    c'1
>> >>}
>> >
>> > Just use \bar "|:"
>> >
>> > There is not an obvious standard since music is often printed without
>> > this initial repeat back to the beginning.  (If you don't see another
>> > place to repeat to it's to the beginning).
>>
>> This used to work with LilyPond 1.6.x (I am updating a score
>> written for 1.6), that's why I thought that was a regression.
>>
>> Here is what I am trying to achieve:
>>
>> \score {
>>
>>      S   1-----       S
>>   /============||=====||
>>   |                      Dal Segno
>>   \============||=====||
>>      S                S
>> }
>>
>> \score {
>>
>>     2----
>>   /=========||
>>
>>   |=========||
>>
>>   \=========||
>>
>> }
>>
>> That is, in the 2nd volta, there is 3 staves, whereas before there
>> were only 2. So I split the whole score into two scores, the second
>> one beginning by \set Score . repeatCommands = #'((volta "2")).
>> I don't want a \bar "|:" there. HaraKiri is not option (it would make
>> disappear one staff in the first sub score in some places, which I
>> don't want).
>
> I don't see what you want, to me it looks like a hack to use another 
> \score... 
> Why wouldn't something like this work? (I'm not sure I understand fully what 
> you mean, though, so I am probably totally wrong here..)
>
> <<
> \new Staff \relative c'' {\repeat "volta" 2 {c4 d e f } \alternative{{g1}
> {e1}}}
> \new Staff \relative c'' {g2 g g g \break <<{g g} \new Staff {b b} >> }
>>>
>
> Erik

\layout { raggedright = ##t }

<<
\new Staff {
    c'4 d' e' f'
    \set Score . repeatCommands = #'((volta "1."))
    g'1
    \set Score . repeatCommands = #'((volta #f))
    g'
    \set Score . repeatCommands = #'((volta "2."))   
    << \new Staff {b'2 b' b' b'} 
       { g'1
         \set Score . repeatCommands = #'((volta #f))
         g'1 } >>
}
\new Staff {
    g'2 g' 
    g' g' 
    g' g' \break 
    g' g' g' g' }
>>

would be closer to what I would like (ie, no ":|" bar)
But the new staff should be above the 2 former ones, instead of
below. How can I chose where the new staff is placed?

nicolas





reply via email to

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