On Tue, Mar 15, 2011 at 01:40:48PM +0000, James Lowe wrote : > Hello, > > )-----Original Message----- > )From: Aurelien [mailto:tyran...@free.fr] > )Sent: 15 March 2011 07:54 > )To: James Lowe > )Cc: lilypond-user@gnu.org > )Subject: Re: New here and first question about using repeat percent over > )more than two measures > ) > ) > )No, I really want to use %. Or at least, I'd like to be able to draw > )*automatically* the number of repetitions. So, two options: > ) > )| a bar | % | % | % | > )or > )||: a bar :||x4 (or x3, following the way you want to read it). > > What about http://lilypond.org/doc/v2.13/Documentation/notation/short-repeats > > Scroll down to the snippet 'Isolated percent repeats'
No, it's not really what I want. I guess that my english is not good enough concerning musical notations, and thus I don't explain it correctly. See below. > > ) > )Actually, when dealing with only one measure to repeat (or even two), it's > )OK. But when you have more than two measures repeating, the percent > )way doesn't work anymore (someone exlained me why), > > Doesn't work 'anymore' or has *never* been supported? Once again, my english. I meant that it works for 1 or 2 measures repeating, and for more than 3, it doesn't work. In french I would have had "anymore" at the end of the sentence. ;) > > ) and the volta > )way doesn't show the number of repetitions. > > \repeat volta 3 { c4 d e f | } > \alternative { > { c2 e | } > { f2 g | } > { a2 g | } > } > c1 > > Gives you three distinct voltas (this was taken from the manual), so what am > I missing, doesn't this give you what you want? > I know that way too, but that's not what I'm looking for. Let's take a true example: This works: \repeat percent 12 { r16 <\parenthesize a,,\4>16 <a,,\4>16 <ais,,\4>16 r16 <\parenthesize a,,\4>16 <a,,\4>16 <ais,,\4>16 r16 <\parenthesize a,,\4>16 <a,,\4>16 <ais,,\4>16 <a,,\4>16 <ais,,\4>16 r16 <\parenthesize a,,\4>16 <a,,\4>16 <ais,,\4>16 r16 <\parenthesize a,,\4>16 <a,,\4>16 <ais,,\4>16 r16 <\parenthesize a,,\4>16 <a,,\4>16 <ais,,\4>16 <a,,\4>16 <ais,,\4>16 r16 <\parenthesize a,,\4>16 <a,,\4>16 <ais,,\4>16 } However, this doesn't show the number of repetitions: \repeat volta 12 { r16 <\parenthesize a,,\4>16 <a,,\4>16 <ais,,\4>16 r16 <\parenthesize a,,\4>16 <a,,\4>16 <ais,,\4>16 r16 <\parenthesize a,,\4>16 <a,,\4>16 <ais,,\4>16 <a,,\4>16 <ais,,\4>16 r16 <\parenthesize a,,\4>16 <a,,\4>16 <ais,,\4>16 r16 <\parenthesize a,,\4>16 <a,,\4>16 <ais,,\4>16 r16 <\parenthesize a,,\4>16 <a,,\4>16 <ais,,\4>16 <a,,\4>16 <ais,,\4>16 r16 <\parenthesize a,,\4>16 <a,,\4>16 <ais,,\4>16 } OK, and now, my problem, this doesn't work: \repeat percent 7 { <d,\3>16 <dis,\3>8 <dis,\3>16 <dis,\3>16 <fis,\2>8 <d,\3>16 <d,\3>16 <dis,\3>16 <dis,\3>16 <fis,~\2>16 <fis,\2>16 <d,\3>16 <d,\3>16 <dis,~\3>16 <dis,\3>16 <dis,\3>16 <dis,\3>16 <fis,~\2>16 <fis,\2>16 <d,\3>16 <d,\3>16 <dis,~\3>16 <dis,\3>16 <dis,\3>16 <dis,\3>16 <fis,\2>16 <d,\3>16 <dis,\3>8 <dis,\3>16 <dis,\3>16 <fis,\2>8 <d,\3>16 <d,\3>16 <dis,\3>8 <dis,\3>16 <dis,\3>16 <fis,\2>16 <d,\3>16 <dis,\3>8 <dis,\3>16 <dis,\3>16 <fis,~\2>16 <fis,\2>16 <d,\3>16 <d,\3>16 <dis,\3>8 <dis,\3>16 <dis,\3>16 <fis,\2>8 <d,\3>16 <d,\3>16 <dis,\3>16 <dis,\3>16 <fis,\2>8 r16 } And still, this doesn't show the number of repetitions: \repeat volta 7 { <d,\3>16 <dis,\3>8 <dis,\3>16 <dis,\3>16 <fis,\2>8 <d,\3>16 <d,\3>16 <dis,\3>16 <dis,\3>16 <fis,~\2>16 <fis,\2>16 <d,\3>16 <d,\3>16 <dis,~\3>16 <dis,\3>16 <dis,\3>16 <dis,\3>16 <fis,~\2>16 <fis,\2>16 <d,\3>16 <d,\3>16 <dis,~\3>16 <dis,\3>16 <dis,\3>16 <dis,\3>16 <fis,\2>16 <d,\3>16 <dis,\3>8 <dis,\3>16 <dis,\3>16 <fis,\2>8 <d,\3>16 <d,\3>16 <dis,\3>8 <dis,\3>16 <dis,\3>16 <fis,\2>16 <d,\3>16 <dis,\3>8 <dis,\3>16 <dis,\3>16 <fis,~\2>16 <fis,\2>16 <d,\3>16 <d,\3>16 <dis,\3>8 <dis,\3>16 <dis,\3>16 <fis,\2>8 <d,\3>16 <d,\3>16 <dis,\3>16 <dis,\3>16 <fis,\2>8 r16 } I know the example I've given is not using |, but it's the exact output of tuxguitar. Anyway, the result is exactly the same using |. Don't know if that's clearer by now, but I hope so. Thanks a lot. Aurélien -- Aurélien _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user