Le 20/12/2022 à 02:41, Kenneth Wolcott a écrit :
I'm still do not understand the math (I'd like to generate a formula!) for tremolos.
I also remained confused by this for a long time till I understood that the rules are pretty simple. The thing to keep in mind is that \repeat tremolo and <note>:<duration> don't work the same. The rules are: - The appearance of the notes in a tremolo determines the total duration. (Even if there are two notes, they count for this duration once.) - The beaming of the notes determines the duration of the notes in the fully developed form where you replace the tremolo notation with actual repeated notes, like \unfoldRepeats does. - The number passed to \repeat tremolo is the number of times the pattern is repeated. - In the syntax <note><duration>:<tremolo duration>, the <duration> is the total tremolo duration, and <tremolo duration> is the duration of one note in the developed form. So your tremolo can be written as \relative d' { \time 3/4 d2.:16 } as William suggested, or \relative d' { \time 3/4 \repeat tremolo 12 d16 } since "duration of dotted half note / duration of sixteenth note = 12". Best, Jean
OpenPGP_signature
Description: OpenPGP digital signature