[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 4 bar repeat
From: |
Tim Sawyer |
Subject: |
Re: 4 bar repeat |
Date: |
Sat, 13 Dec 2008 18:41:59 +0000 |
User-agent: |
KMail/1.10.3 (Linux/2.6.27-9-generic; KDE/4.1.3; x86_64; ; ) |
On Saturday 13 December 2008 17:41:23 Neil Puttock wrote:
> Hi Tim,
>
> 2008/12/13 Tim Sawyer <address@hidden>:
> > 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.