lilypond-user
[Top][All Lists]
Advanced

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

Re: Three-note tremolo in 4/4


From: Dijkhuizen, J.F. van
Subject: Re: Three-note tremolo in 4/4
Date: Tue, 16 Mar 2021 18:45:25 +0000

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 <c_sorensen@byu.edu>
Verzonden: dinsdag 16 maart 2021 19:21
Aan: Dijkhuizen, J.F. van; lilypond-user@gnu.org
Onderwerp: Re: Three-note tremolo in 4/4
 

 

 

From: lilypond-user <lilypond-user-bounces+carl.d.sorensen=gmail.com@gnu.org> on behalf of "Dijkhuizen, J.F. van" <J.van.Dijkhuizen@hum.leidenuniv.nl>
Date: Tuesday, March 16, 2021 at 10:26 AM
To: "lilypond-user@gnu.org" <lilypond-user@gnu.org>
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 


 

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

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