Thanks, Carl!

The rule about \repeat tremolo expecting 2 musical arguments is no longer 
up-to-date; I think 2.13 or 2.14 introduced the possibility of having more than 
two arguments.


But it only works if there's no clash with the time signature. So you can have 
three arguments in a 3/4 or 3/2 or 6/8 but not in a 4/4. Conversely, you can 
have four tremolo pitches in a 4/4 but not 3 -- at least not without the kind 
of hack devised by Lukas in the first response to my email.


And then again, to do so without generating warnings from LP, I suppose you 
would indeed have to modify tremolo properties on a more fundamental level. 
That's currently beyond my LP knowledge, however.


Jan


________________________________
Van: Carl Sorensen <[email protected]>
Verzonden: dinsdag 16 maart 2021 19:21
Aan: Dijkhuizen, J.F. van; [email protected]
Onderwerp: Re: Three-note tremolo in 4/4






From: lilypond-user <[email protected]> 
on behalf of "Dijkhuizen, J.F. van" <[email protected]>
Date: Tuesday, March 16, 2021 at 10:26 AM
To: "[email protected]" <[email protected]>
Subject: Three-note tremolo in 4/4



Hello everyone,



I'm trying to fit a three-note tremolo into a 4/4 measure.  I've sort of been 
able to do this as follows:



\version "2.22.0"

\relative c''

{

\repeat tremolo 8 {\tuplet 3/4 { g32 d c }}

}



(Of course you could hide the tuplet numbers here.)



or:



\version "2.22.0"

\relative c''

\new Staff = "Example" {

\time 4/4

\set Staff.timeSignatureFraction = 3/4

\scaleDurations 4/3 { \repeat tremolo 8 { g32 d c } }



While both look more or less OK, the notes appear as dotted half notes, rather 
than as whole notes. They should be whole notes, since the tremolo lasts the 
entire measure but I can't figure out how to do this.



Does anybody know of a way to create a 3-note tremolo in 4/4 time in which all 
three notes appear as whole notes?



It appears that this cannot be done with \repeat tremolo.  I’m a little bit 
surprised that your code worked.  Note the following from the Notation 
Reference:



The \repeat tremolo syntax expects exactly two notes within the braces



This could probably be hacked (anything can be in LilyPond).  It looks like you 
would need to modify the properties of tremolo-repeated-music.  
http://lilypond.org/doc/v2.22/Documentation/internals/tremolorepeatedmusic

LilyPond Internals Reference: 1.1.96 
TremoloRepeatedMusic<http://lilypond.org/doc/v2.22/Documentation/internals/tremolorepeatedmusic>
lilypond.org
LilyPond Internals Reference: 1.1.96 TremoloRepeatedMusic





I have no experience working with this type of music, so I can’t give you any 
pointers beyond this.



Carl


Reply via email to