StemTremolo is for tremolos on a single note, which are printed over the stem. Yours is just a special case of Beam, so here you go:\version "2.20.0" \score { \new Staff { \override Beam.positions = #'(-1 . 1) \repeat tremolo 16 { c'32 c'' } } }
Thanks Jean. This is indeed a beginning. However, you have to change the positions each time the notes change.And and if you want to shorten the beams, it becomes really very tedious (see below)! Could it be possible to specify vertical AND horizontal positions relative to notes rather than staff?
Philippe Auclair
\version "2.20.0"
\score {
<<
% first staff just to have reasonable measure width
\new Staff {
c' d' e' f'
c' d' e' f'
c' d' e' f'
c' d' e' f'
}
\new Staff {
\repeat tremolo 16 { c'32 c'' }
% horizontal beams : is this really the rule?
\override Beam.positions = #'(-1 . 0)
\repeat tremolo 16 { c'32 c'' }
% this seems better
% and if you want to shorten the beams
\once \override Beam.X-positions = #'(2 . -2)
\repeat tremolo 16 { c'32 c'' }
% this doesn't work; what does X-positions do?
\override Beam.positions = #'(0 . 1)
\repeat tremolo 16 {
\once \override Stem.X-offset = 2.5 e'32
\once \override Stem.X-offset = -0.5 e'' }
}
>>
}
tremolo.pdf
Description: Adobe PDF document
