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: Lukas-Fabian Moser
Subject: Re: Three-note tremolo in 4/4
Date: Tue, 16 Mar 2021 18:45:29 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

Hi Jan,


Am 16.03.21 um 17:19 schrieb Dijkhuizen, J.F. van:

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.

I'm unsure what you want to accomplish with the manual setting of timeSignatureFraction etc.


But if I understand you correctly, I think


\version "2.22.0"

\new Staff \relative {
  a'4 b c d
  \omit Dots
  \once\override Beam.positions = #'(2 . 1)
  \repeat tremolo 16 { \scaleDurations 2/3 { c32 g f } }
  \undo\omit Dots
  a4 b c d
}


should come close to your MuseScore mockup (and I think its semantic is correct). The manual positioning of Beam positions seems to be necessary, but it makes LilyPond complain with a warning - which could be silenced if push comes to shove.


Lukas


reply via email to

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