Dear Gabriel,

Why does vowel centring fail with a NullVoice?

The snippet source takes the X-parent of a LyricText and hopes that this is a NoteColumn - which is not the case in a NullVoice, since the engraver that creates NoteColumn grobs is not present in a NullVoice. (The X-parent then is a PaperColumn instead. I don't understand in detail yet how this change causes the output you observe.)

If I do

\layout {
  \context {
    \NullVoice
    \consists Rhythmic_column_engraver
  }
}

the spacing becomes what I think you expect, but we get a bunch of programming errors since the note column tries to infer its 'direction' from a Stem, and we don't have a Stem_engraver in NullVoice. I can add

    \consists Stem_engraver
    \omit Stem

in order to make the NullVoice even more Voice-like; then the warnings disappear, but the spacing gets changed.

I do not know at the moment if that's the right path to pursue, but maybe it gives you an idea.

Lukas

Reply via email to