On Saturday 13 December 2008 17:41:23 Neil Puttock wrote:
> Hi Tim,
>
> 2008/12/13 Tim Sawyer <list.lilyp...@calidris.co.uk>:
> > I'd like to produce a four bar percent repeat, is this possible in 2.10?
>
> I'm not sure whether this is what you're after (and I haven't tested
> it in 2.10, but it should work):
>
> \drummode {
>   \compressMusic #'(1 . 4) {
>     \repeat "percent" 2 {
>       sn4 sn4 sn4 sn4 \bar "|"
>       sn8 sn8 sn8 sn8 sn4 sn4 \bar "|"
>       sn4 sn8 sn8 sn4 sn8 sn8 \bar "|"
>       sn8 sn8 r8 sn8 sn4 sn4
>     }
>     \bar "|."
>   }
> }

Cheers Neil.

Unfortunately, this just shows a single bar percent style repeat after four 
bars of music.

I need something like the two bar repeat, where all the bar lines are present 
and there's a double line in the middle of the percent.

This is what I'm after, but it only goes over two bars, I'd like it over four,

\drummode { \repeat "percent" 2 {sn4 sn4 sn4 sn4 sn8 sn8 sn8 sn8 sn4 sn4 } 
\bar "|." }

Thanks anyway,

Tim.





_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to