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: Jacques Menu Muzhic
Subject: Re: Volta endings and using \set Score.repeatCommands
Date: Tue, 11 Apr 2017 09:29:41 +0200

Ooops, forget the ‘Something new’…

Le 11 avr. 2017 à 08:55, Jacques Menu Muzhic <address@hidden> a écrit :

2.19.55 does not issue thie message, though:

Starting lilypond 2.19.55 [Untitled (2)]...
Processing `/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6m0000gn/T/frescobaldi-9sn6c32v/tmp9vqxhrdx/document.ly'
Parsing...
Interpreting music...
warning: already have a volta spanner, ending that one prematurely
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6m0000gn/T//lilypond-6CJE49'...
Converting to `document.pdf'...
Deleting `/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6m0000gn/T//lilypond-6CJE49'...
Success: compilation successfully completed
Completed successfully in 0.8 ».

Something new in 2.19.58?

JM

Le 11 avr. 2017 à 05:41, Stan Mulder <address@hidden> a écrit :

Mark,

The output looks the way I want it as I showed in a previous image attachment. It's just that  I am getting that warning, so I thought something is wrong somewhere.

Stan


On 04/10/2017 11:19 PM, Mark Stephen Mrotek wrote:
Stan,
 
I get the same warning.
What in the output do you want changed?
 
Mark
 
From: Stan Mulder [mailto:address@hidden] 
Sent: Monday, April 10, 2017 8:02 PM
To: Mark Stephen Mrotek <address@hidden>
Subject: Re: Volta endings and using \set Score.repeatCommands
 

Mark & Jacques,

My example was not complete. But if you try this, you still get this warning:

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



\version "2.19.58"

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

voltaSolos = \markup { "2, 3, 4 . . ." }
\repeat volta 2 {c4 c c c }
\alternative {
  {
    c4 c c c
    \DSalCoda
    \bar "||"
  }
  {
    \set Score.repeatCommands = #(list (list 'volta voltaSolos) 'start-repeat)
    c4 c c c
    \bar ":|."
  }
}


So I think I am doing something wrong with the Score.repeateCommands.

Stan
 
On 04/10/2017 12:24 PM, Mark Stephen Mrotek wrote:
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@hiddenhttps://lists.gnu.org/mailman/listinfo/lilypond-user
 
 

_______________________________________________
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]