lilypond-user
[Top][All Lists]
Advanced

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

Re: Macro/multiply notes


From: Johan Vromans
Subject: Re: Macro/multiply notes
Date: Fri, 13 Jun 2014 20:01:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

Thomas Morley <address@hidden> writes:

> { \"*3" { \"*4" { c'8 d' e' d' \"*2" g'4 \bar "||" } \bar "S" } }

Allow me to quote David's approach:

  "\\*" =
  #(define-music-function (parser location n m) (index? ly:music?)
    (make-music 'UnfoldedRepeatedMusic
     'repeat-count n
     'element m))

  %% Use: \* 6 {c8 g e g}

Warning: It's addictive.

-- Johan



reply via email to

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