lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: slur and percent


From: Gianmaria Lari
Subject: Re: slur and percent
Date: Wed, 2 May 2018 17:11:02 +0200


On 2 May 2018 at 08:19, Gianmaria Lari <address@hidden> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]