lilypond-user
[Top][All Lists]
Advanced

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

RE: Volta endings and using \set Score.repeatCommands


From: Mark Stephen Mrotek
Subject: RE: Volta endings and using \set Score.repeatCommands
Date: Mon, 10 Apr 2017 09:24:59 -0700

Jacques,

 

When I insert

\repeat volta 2 {c1}

Before the \alternative, no error messages appear.

 

Mark

 

From: lilypond-user [mailto:address@hidden On Behalf Of Jacques Menu Muzhic
Sent: Monday, April 10, 2017 12:47 AM
To: Stan Mulder <address@hidden>
Cc: lilypond-user <address@hidden>
Subject: Re: Volta endings and using \set Score.repeatCommands

 

Hello Stan,

 

Here is what I get with 2.19.55:

 

Starting lilypond 2.19.55 [Untitled]...

Processing `/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6m0000gn/T/frescobaldi-9sn6c32v/tmp3a9rlkcp/document.ly'

Parsing...

\alternative {

Interpreting music...

Preprocessing graphical objects...

Finding the ideal number of pages...

Fitting music on 1 page...

Drawing systems...

programming error: Spanner `VoltaBracket' is not fully contained in parent spanner. Ignoring orphaned part

continuing, cross fingers

Layout output to `/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6m0000gn/T//lilypond-gglOd2'...

Converting to `document.pdf'...

Deleting `/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6m0000gn/T//lilypond-gglOd2'...

fatal error: failed files: "/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6m0000gn/T/frescobaldi-9sn6c32v/tmp3a9rlkcp/document.ly"

Exited with return code 1.

 

Your code lacks something like:

 

\repeat volta 5 { … }

 

ahead of \alternative.

 

Le 10 avr. 2017 à 03:45, Stan Mulder <address@hidden> a écrit :

 

Hi group.

I'm trying to construct a certain volta ending where there is a first and second ending, but the first ending does a D.S. to the sign, while the the second ending is a multiple repeat for solos. I seem to have made it render correctly, but I keep getting this error. Hopefully this is enough code:

 

 

warning: already have a volta spanner, ending that one prematurely

[64]

 

 

DSalCoda = {
  \once \override Score.RehearsalMark.self-alignment-X = #RIGHT
  \mark \markup "D.S. al Coda"
}

voltaSolos = \markup { "2, 3, 4 . . ." }

  \alternative {
    {
      s1
      \DSalCoda
      \bar "||"
    }
    {
      \set Score.repeatCommands = #(list (list 'volta voltaSolos) 'start-repeat)
      s1
      \bar ":|."
    }
  }


Stan

<stan-example.jpg>_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user

 


reply via email to

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