Take the 2-minute tour ×
Musical Practice & Performance Stack Exchange is a question and answer site for musicians, students, and enthusiasts. It's 100% free, no registration required.

I'm trying to copy a score that indicates the repeat of a 4-bar phrase that has the 4 repeat bars laid out on the sheet, with a single (4-slash) percent-repeat symbol symbol in the middle, sort of like this:

   | music | music | music | music |

                   4
   |       |       %       |       |

The snippets don't help me with this.

Note: I'm using ver. 2.14, so it might just be that my version is somewhat old.

share|improve this question
1  
The third image in lilypond.org/doc/v2.15/Documentation/notation/… shows percent repeat signs that are good for several bars. Is that not what you want? –  Kilian Foth Jun 24 '13 at 12:35
    
No, I've only seen percent's applied to chunks <=2 measures; I want lilypond to recognize that I have a 4-bar phrase, and lay-out the 4-bars, with an appropriate repeat symbol (but not fill in the music) –  Dave Jun 24 '13 at 13:03
2  
@Dave - perhaps posting an image of the excerpt from the score you are trying to copy will help clarify exactly what you are asking. Frr me personally, I am thinking of a few different possibilities concerning what you're looking for. –  jjmusicnotes Jun 24 '13 at 21:14
    
I second jjmusicnotes. –  SuperMusicman Sep 23 '13 at 1:06

1 Answer 1

up vote 3 down vote accepted

Maybe adapting the "Isolated percent repeats" snippet may help: just replace the whole note by a longa:


    makePercent =
    #(define-music-function (parser location note) (ly:music?)
       "Make a percent repeat the same length as NOTE."
       (make-music 'PercentEvent
                   'length (ly:music-length note)))

    \relative c'' {
      c1 | d1 | c1 | b1 \break
      \makePercent s\longa \break
      c1 | c4 d4 b4 f4 | a1 a1 \bar "|."
    }

will result in:

Lilypond output

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.