Re: overextended volta alternatives

2017-01-25 Thread tisimst
Andrew,

On Wed, Jan 25, 2017 at 10:48 AM, N. Andrew Walsh [via Lilypond] <
ml-node+s1069038n199535...@n5.nabble.com> wrote:

> Well,
>
> On Wed, Jan 25, 2017 at 6:38 PM, Simon Albrecht <[hidden email]
> <http:///user/SendEmail.jtp?type=node=199535=0>> wrote:
>
>> On 25.01.2017 18:33, N. Andrew Walsh wrote:
>>
>>> the \break statements within an \alternative block are causing the
>>> counter to register another ending, for some reason.
>>>
>>> let me clarify: the \break statements were *in between* the three
> enclosed music statements that comprised the \alternative block. So it
> might have been that Lily assumed them to be independent statements. I
> suppose I could have put them inside the brackets, but as I'm fine with
> Lily's default layout, I'll leave them out.
>

Glad you got it sorted out. Did you try putting the \breaks *within* the
first two music expressions? In other words:

\repeat volta 3 {
  ...
}
\alternative {
  { ... \break }
  { ... \break }
  { ... }
}

Best,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/overextended-volta-alternatives-tp199532p199536.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: overextended volta alternatives

2017-01-25 Thread Simon Albrecht

On 25.01.2017 18:46, N. Andrew Walsh wrote:

Well,

On Wed, Jan 25, 2017 at 6:38 PM, Simon Albrecht 
> wrote:


On 25.01.2017 18:33, N. Andrew Walsh wrote:

the \break statements within an \alternative block are causing
the counter to register another ending, for some reason.

let me clarify: the \break statements were *in between* the three 
enclosed music statements that comprised the \alternative block. So it 
might have been that Lily assumed them to be independent statements. I 
suppose I could have put them inside the brackets, […]


Well, that explains it. You have to put them inside one of the 
alternatives, or it will count as an alternative of its own – a \break 
is a music expression.


Best, Simon

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: overextended volta alternatives

2017-01-25 Thread N. Andrew Walsh
Well,

On Wed, Jan 25, 2017 at 6:38 PM, Simon Albrecht 
wrote:

> On 25.01.2017 18:33, N. Andrew Walsh wrote:
>
>> the \break statements within an \alternative block are causing the
>> counter to register another ending, for some reason.
>>
>> let me clarify: the \break statements were *in between* the three
enclosed music statements that comprised the \alternative block. So it
might have been that Lily assumed them to be independent statements. I
suppose I could have put them inside the brackets, but as I'm fine with
Lily's default layout, I'll leave them out.

Cheers,

A
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: overextended volta alternatives

2017-01-25 Thread Simon Albrecht

On 25.01.2017 18:33, N. Andrew Walsh wrote:
the \break statements within an \alternative block are causing the 
counter to register another ending, for some reason.


That sounds like a bug to me. If you agree, please report it.

Best, Simon

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: overextended volta alternatives

2017-01-25 Thread N. Andrew Walsh
Update: as was pointed out earlier today, fiddling with an MWE often helps
solve the problem. In this case, here's what's going on: the \break
statements within an \alternative block are causing the counter to register
another ending, for some reason. If I delete both \break statements, then I
can have three \alternative blocks with a \repeat volta 3 statement, and
the time/key signatures reappear.

So, uh, thanks for the help?

Cheers,

A

On Wed, Jan 25, 2017 at 6:23 PM, N. Andrew Walsh 
wrote:

> Hi List,
>
> I have a somewhat difficult issue with volta and alternative endings.
> First, a verbal description:
>
> I have a score in which a passage is repeated 3 times, each with a
> different ending. At the last ending, I have a section that repeats thrice,
> followed by three separate endings. So, here is a MWE:
>
> \version "2.19.52"
>
>
> \relative c' {
>   \time 4/8
>   \repeat volta 5 {
> s2*24 |
>   }
>   \alternative {
>{ % 25-28
>\mark \default
>s2*4
>
>| % 29-30
>\time 2,2,3 7/8
>s1*7/8*2
>\bar "||"
>
>| %31
>s1*7/8
>
>| % 32-35
>\time 4/8
>s2*4
>
>
>| %36-37
>s2 | s4 s8 s16 s16^\markup { \right-align { "D.S. al Coda" } } |
>}
>\break
>{
>% 38-52 (copied from "Abschied")
>\mark \default
>\once \override Score.MetronomeMark.extra-offset = #'(1 . 2.75)
>\tempo 8 = 104
>\time 4/4
>\key b \major
> s1*15 \bar "||"
>
>%53-57
>\mark \default
>s1*5 | }
>\break
>{
>% 58-59
>\mark \default
>\once \override Score.MetronomeMark.extra-offset = #'(1 . 0)
>\tempo "Lento (Tempo I)"
>\time 4/8
>\key b \minor
>s2*2 |
>}
>
>}
> s2*4
> \bar "|."
> }
>
> here's the issue: there are only three alternative endings that I can see
> -- the ones starting at 25, 38, and 58 --, but Lilypond gives me the
> following error if I have any fewer that 5 repeats given to volta:
>
> warning: More alternatives than repeats.  Junking excess alternatives
>
> furthermore, in my complete file, the \time and \key statements in the
> last alternative block are ignored, so that I get a bunch of barcheck
> failures.
>
> Can you let me know what I'm doing wrong here?
>
> Cheers,
>
> A
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


overextended volta alternatives

2017-01-25 Thread N. Andrew Walsh
Hi List,

I have a somewhat difficult issue with volta and alternative endings.
First, a verbal description:

I have a score in which a passage is repeated 3 times, each with a
different ending. At the last ending, I have a section that repeats thrice,
followed by three separate endings. So, here is a MWE:

\version "2.19.52"


\relative c' {
  \time 4/8
  \repeat volta 5 {
s2*24 |
  }
  \alternative {
   { % 25-28
   \mark \default
   s2*4

   | % 29-30
   \time 2,2,3 7/8
   s1*7/8*2
   \bar "||"

   | %31
   s1*7/8

   | % 32-35
   \time 4/8
   s2*4


   | %36-37
   s2 | s4 s8 s16 s16^\markup { \right-align { "D.S. al Coda" } } |
   }
   \break
   {
   % 38-52 (copied from "Abschied")
   \mark \default
   \once \override Score.MetronomeMark.extra-offset = #'(1 . 2.75)
   \tempo 8 = 104
   \time 4/4
   \key b \major
s1*15 \bar "||"

   %53-57
   \mark \default
   s1*5 | }
   \break
   {
   % 58-59
   \mark \default
   \once \override Score.MetronomeMark.extra-offset = #'(1 . 0)
   \tempo "Lento (Tempo I)"
   \time 4/8
   \key b \minor
   s2*2 |
   }

   }
s2*4
\bar "|."
}

here's the issue: there are only three alternative endings that I can see
-- the ones starting at 25, 38, and 58 --, but Lilypond gives me the
following error if I have any fewer that 5 repeats given to volta:

warning: More alternatives than repeats.  Junking excess alternatives

furthermore, in my complete file, the \time and \key statements in the last
alternative block are ignored, so that I get a bunch of barcheck failures.

Can you let me know what I'm doing wrong here?

Cheers,

A
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user