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