lilypond-user
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Obtain the number of notes and rests from "ly:music?" parameter passed t
From
:
Paolo Prete
Subject
:
Obtain the number of notes and rests from "ly:music?" parameter passed to a function
Date
:
Fri, 2 Mar 2018 17:33:07 +0000 (UTC)
Hello,
in the snippet below how can I replace "4" (in the denominator of "\times") with the number of notes+rests (including "s") in $notes ?
Thanks
%%%%%%%%
createTuplet = #(define-music-function (parser location notes) (ly:music?)
#{
\times 2/4 $notes
#})
{
\createTuplet {c' e' r g'}
}
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
Obtain the number of notes and rests from "ly:music?" parameter passed to a function
,
Paolo Prete
<=
Re: Obtain the number of notes and rests from "ly:music?" parameter passed to a function
,
Paolo Prete
,
2018/03/02
Re: Obtain the number of notes and rests from "ly:music?" parameter passed to a function
,
Thomas Morley-2
,
2018/03/02
Prev by Date:
Re: Understanding the eps bounding box (rounding)
Next by Date:
Re: Stem forced to be at the right (or left) of the notehead
Previous by thread:
SVG export failed w/ Gonville
Next by thread:
Re: Obtain the number of notes and rests from "ly:music?" parameter passed to a function
Index(es):
Date
Thread