Re: Howto have the number of volte printed out above an end-repeat bar?

2010-11-18 Thread Jakob Lund
I've been messing with the same idea, and after reading this thread I came up with something similar but a little different. I posted it on my blog here http://krimskrams.dk/node/3 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists

Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-12 Thread Vicente Solsona
On Tue, 12 Oct 2010 19:58:18 +0200, Gilles Filippini wrote: Looking for another method :/ I think the following code does it, but putting the music inside a function is probably not a good idea. Maybe some scheme specialist can help you better, I'm surpassed beyond that... Well, it does the

Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-12 Thread Gilles Filippini
[ oops; forgot to cc the list ] Message original Vicente Solsona a écrit , Le 12/10/2010 01:53: > On Tue, 12 Oct 2010 01:00:28 +0200, Gilles Filippini > wrote: >> Looking for another method :/ > I think the following code does it, but putting the music inside a > function is pro

Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread Vicente Solsona
On Tue, 12 Oct 2010 01:00:28 +0200, Gilles Filippini wrote: I thought I could trigger the mark using a function and a global variable, but that doesn't work as expected. It seems the function is evaluated only once while setting the "toto" part instead of being evaluated in the context of each

Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread Gilles Filippini
Vicente Solsona a écrit , Le 11/10/2010 23:57: > On Mon, 11 Oct 2010 21:40:30 +0200, Gilles Filippini > wrote: >> To me the "standard" way would be to have the Volta_engraver doing this >> for me, and taking care not to do it when inside \unfoldrepeats {}. > > afaik \unfoldRepeats is intended mai

Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread Vicente Solsona
On Mon, 11 Oct 2010 23:57:42 +0200, Vicente Solsona wrote: afaik \unfoldRepeats is intended mainly for the output... sorry I meant "afaik \unfoldRepeats is intended mainly for the midi output..." ___ lilypond-user mailing list lilypond-user@gn

Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread Vicente Solsona
On Mon, 11 Oct 2010 21:40:30 +0200, Gilles Filippini wrote: To me the "standard" way would be to have the Volta_engraver doing this for me, and taking care not to do it when inside \unfoldrepeats {}. afaik \unfoldRepeats is intended mainly for the output... maybe you could just override the

Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread Gilles Filippini
Vicente Solsona a écrit , Le 11/10/2010 18:17: > On Mon, 11 Oct 2010 14:22:36 +0200, Gilles Filippini > wrote: >> From the answers I've had I infer that there is no standard way of doing >> that. > > well, with Rehearsal Marks you can print almost whatever you want over a > bar line. how far is t

Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread Gilles Filippini
Xavier Scheuer a écrit , Le 11/10/2010 16:08: >> Can I ask how do you achieve the right aligned 'repeat 4 times' in this >> score? > > I would do something like that: > > \relative c'' { > \repeat volta 4 { > c1 > % displayed at the end of a line and at the end of the score > \once

Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread Vicente Solsona
On Mon, 11 Oct 2010 14:22:36 +0200, Gilles Filippini wrote: From the answers I've had I infer that there is no standard way of doing that. well, with Rehearsal Marks you can print almost whatever you want over a bar line. how far is that from the "standard" way? The answer the closest fr

Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread James
Hello, On 11/10/2010 14:13, Gilles Filippini wrote: James a écrit , Le 11/10/2010 14:42: If you say there is no 'alternate' then you simply make a text markup saying 'repeat 4 times' - this is typically right aligned below or above the stave where the repeat mark is. Can I ask how do you achi

Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread -Eluze
an approach is: \relative c'' { \repeat volta 4 { c1 } \override Score.RehearsalMark #'self-alignment-X = #1 \mark \markup "repeat 4 times" \bar ":|" } maybe you'll want to tweak it to fit the text over the measure! Gilles Filippini wrote: > > James a écrit , Le 11/10/2010 14:42: >>

Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread Xavier Scheuer
On 11 October 2010 15:13, Gilles Filippini wrote: > > Can I ask how do you achieve the right aligned 'repeat 4 times' in this > score? I would do something like that: \relative c'' { \repeat volta 4 { c1 % displayed at the end of a line and at the end of the score \once \override S

Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread James
Hello, On 11/10/2010 13:22, Gilles Filippini wrote: Hi, From the answers I've had I infer that there is no standard way of doing that. http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Long-repeats#Manual-repeat-marks AFAIK this is the standard if using Volte. If you say there is n

Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread Gilles Filippini
James a écrit , Le 11/10/2010 14:42: > If you say there is no 'alternate' then you simply make a text markup > saying 'repeat 4 times' - this is typically right aligned below or above > the stave where the repeat mark is. Can I ask how do you achieve the right aligned 'repeat 4 times' in this scor

Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-11 Thread Gilles Filippini
Hi, >From the answers I've had I infer that there is no standard way of doing that. The answer the closest from what I expected is to use a rehearsal mark (thanks to Vicente). Unfortunately it doesn't work when the end-repeat bar is the last bar of the score: % This score doesn't have "x4" print

Re: Howto have the number of volte printed out above an end-repeat bar?

2010-10-10 Thread Marc Mouries
you have to set countPercentRepeats to true. http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Short-repeats#Short-repeats \relative c'' { \set countPercentRepeats = ##t \repeat percent 4 { c1 } } On 10/10/2010

RE: Howto have the number of volte printed out above an end-repeat bar?

2010-10-10 Thread James Lowe
Hello, -Original Message- From: lilypond-user-bounces+james.lowe=datacore@gnu.org on behalf of pini Sent: Sun 10/10/2010 22:56 To: lilypond-user@gnu.org Subject: Howto have the number of volte printed out above an end-repeat bar? Hi, I have a score where a part has to be repeated mo