lilypond-user
[Top][All Lists]
Advanced

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

RE: New here and first question about using repeat percent over more tha


From: James Lowe
Subject: RE: New here and first question about using repeat percent over more than two measures
Date: Wed, 16 Mar 2011 12:42:17 +0000

Hello,

)-----Original Message-----
)From: Aurelien [mailto:address@hidden
)Sent: 16 March 2011 06:35
)To: James Lowe
)Cc: 'address@hidden'
)Subject: Re: New here and first question about using repeat percent over
)more than two measures
)
)On Tue, Mar 15, 2011 at 01:40:48PM +0000, James Lowe wrote :
)> Hello,
)>
)> )-----Original Message-----
)> )From: Aurelien [mailto:address@hidden
)> )Sent: 15 March 2011 07:54
)> )To: James Lowe
)> )Cc: address@hidden
)> )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.

Unfortunately I cannot compile these, I get errors.

Also your repeat Volta 7 constructs will only show 1 Volta with a 1-7 in it, 
what is it you want? If you want 7 voltas then you need some \alternative { } 
constructions, if you actually want to repeat the music then you use \repeat 
unfold, but it is not clear to me.

Could you compile them yourself and take some screenshots in png to attach?

Alternatively you could try the French speaking list (if it might be easier for 
you to articulate what you want) here:

http://lists.gnu.org/mailman/listinfo/lilypond-user-fr

Sorry for not understanding what you need.

James




reply via email to

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