On 28/12/2025 21:52, Eric Benson wrote:
In order to exclude some notes from the ambitus range calculation, I
use \voiceOne and \voiceTwo, putting the excluded notes in \voiceTwo
and putting spacer rests in \voiceOne.
How about using ignore-ambitus instead?
\version "2.24.0"
\layout {
\context {
\Voice
\consists "Ambitus_engraver"
}
}
{
c'4 d' e' f'
\override NoteHead.ignore-ambitus = ##t
c''4 d'' e'' f''
\revert NoteHead.ignore-ambitus
g4 a b c'
\once \override NoteHead.ignore-ambitus = ##t g'' g' a' b'
}
--
Timothy Lanfear, Bristol, UK.