On 2 May 2018 at 08:19, Gianmaria Lari <gianmarial...@gmail.com> wrote:

> Is there any way to write this
>
> \version "2.19.81"
> {a( b c' a a b c' a)}
>
>
> with a repeat percent? Something similar to this:
>
> \version "2.19.81"
> {\repeat percent 2 {a( b c' a} ) }
>
> Thank you, g.
>


I found in the documentation the "Isolated percents". Here it is the
documentation excerpt:

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

\relative c'' {
  \makePercent s1
}


What about the midi generation? Should I handle it with tag or there is a
better way?
Thank you, g.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to