This sounds like what I was originally looking for, but I didn't get any
responses to that message. It's a little strange that it's documented under
AmbitusNoteHead when it really doesn't have anything to do with the note
heads of the ambitus itself. It's a way to exclude notes from the ambitus
calculation. It should be explained on the main Ambitus documentation page.

This is exactly what I needed.

On Sun, Dec 28, 2025 at 1:29 PM Timothy Lanfear <[email protected]> wrote:

> 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.
>
>

Reply via email to