[Top][All Lists]

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

Re: Issue #768 - chord repetition shortcut: patch for review

From: Nicolas Sceaux
Subject: Re: Issue #768 - chord repetition shortcut: patch for review
Date: Fri, 13 Nov 2009 19:19:35 +0100

Le 13 nov. 2009 à 13:25, David Kastrup a écrit :

Kieren MacMillan <address@hidden> writes:

Since the patch (as I understand it) ensures that q does not duplicate
anything except the notes, q allows for

  <c e g>8-. q-^ q-. q-^

etc., right? Obviously, this would *not* be possible with something like

  <c e g>4*8

OTOH, something like
{ <c e g>8-. <c e g>-^ }*2

is not doable with the q approach.

Of course not, the chord shortcuts are for something else, as Kieren has
explained.  By the way what you ask is already there.

x = #(define-music-function (parser location times music) (number? ly:music?)
        (make-repeat "unfold" times music '()))

\x#2 { <c e g>8-. q-^ }

Slightly more verbose than what you propose, and more hackish you might say,
but hell, it's gratis.  (P**ain, I should have thought about it sooner.)


reply via email to

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