[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Broken beam to the left not working?
From: |
Jean Abou Samra |
Subject: |
Re: Broken beam to the left not working? |
Date: |
Tue, 29 Mar 2022 21:39:14 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 |
Le 29/03/2022 à 19:51, Knute Snortum a écrit :
I've come across an odd behavior, maybe a bug. I am trying to create
a broken/partial/fragmented beam to the left of the note group. I can
do it to the right just fine. Some code may help illustrate what I mean:
%%%
\version "2.23.7"
% This doesn't work: no beams are created
\relative c''' {
\hideNotes g8[ \unHideNotes f16 e f]
}
% This works: beams are created with a partial beam at the end
\relative c'' {
f16[ e f \hideNotes g8] \unHideNotes
}
%%%
The "\hideNotes" trick works when I want the partial beam to the
right, but not to the left. Bug? Is there a work-around?
I didn't investigate, but using \hideNotes is always hacky. There is a
much better way:
\version "2.22.2"
\relative c''' {
s8
\set stemLeftBeamCount = 1
f,16[ e f]
}
\relative c'' {
f16[ e
\set stemRightBeamCount = 1
f] s8
}
https://lilypond.org/doc/v2.22/Documentation/notation/beams#manual-beams
Best,
Jean