Hello.

I am a new user of LilyPond and this is my firts Post / Question.
Please forgive my mistakes in English (it's not my mother tongue).


The code here under produces a pdf file with 4 lignes :
   - the 1st line is OK (ie it's exactly what I want)
   - 2nd line contains the bar #4 and "Percent Repeat" up to #5   - 3rd line 
contains "Percent Repeat" from #6 to #10 and nothing else
   - 4th line contains the last part of the Staff.


What I want is a Staff on 3 lines :
   - the same 1st line (with the first 3 bars)
   - 2nd line with bar #4 plus "Percent Repeat" up to #8   - 3rd line with 
"Percent Repeat" from #9 to #10
     plus the last part of the Staff.

Can someone help me to control thise "Percent" spacing and/or change of lines ?

\version "2.14.2"
\drums {
   ss8 [ ss ] ss [ ss ] ss [ ss ] ss [ ss ]
   ss8 [ ss ] ss [ ss ] ss [ ss ] ss [ ss ] \noBreak
   sn8 \times 2/3 {sn16 sn16 sn16}
   sn8 \times 2/3 {sn16 sn16 sn16}
   sn8 \times 2/3 {sn16 sn16 sn16}
   \times 4/6 {sn16 sn16 sn16 sn16 sn16 sn16}
   
   \set countPercentRepeats = ##t
   \repeat "percent" 10 {
      sn8 \times 2/3 {sn16 sn16 sn16}
      sn8 \times 2/3 {sn16 sn16 sn16}
      sn8 \times 2/3 {sn16 sn16 sn16}
      \times 4/6 {sn16 sn16 sn16 sn16 sn16 sn16}
   }

   \break sn4 r4 r2
   \compressFullBarRests
   \override MultiMeasureRest #'expand-limit = #2
   R1*3
   \expandFullBarRests
   r8 \times 2/3 {sn16 sn16 sn16} sn4
   r8 \times 2/3 {sn16 sn16 sn16} sn4
   r8 \times 2/3 {sn16 sn16 sn16} sn8 \times 2/3 {sn16 sn16 sn16} sn8 \times 
2/3 {sn16 sn16 sn16} sn8 [ sn8 ]
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to