On 7/7/22 18:23, David F. wrote:
On Jul 7, 2022, at 1:59 AM, Valentin Petzel <valen...@petzel.at> wrote:

A different way to approach the problem would be to also specify something like

\context {
      \NullVoice
      shapeNoteStyles = ##()
}

It is still questionable why NullVoice would hickup on simply changing the
NoteHead style, so think this is worth creating a bug report.

Cheers,
Valentin
Yes, it does seem odd—and avoidable—that NullVoice would have a problem with 
shape notes.

With aikenHeads, there is one note-head shape (the triangle that is not a 
pyramid) that depends on the stem direction.  My assumption is that’s where the 
error is coming from.

Yup.

But if the note is not being shown at all, that logic doesn’t need to be 
executed.

The definition of NullVoice in ly/engraver-init.ly contains

  %% provide non-printing NoteHeads with proper extents for lyric alignment
  \consists Note_heads_engraver
  \omit NoteHead
  \override NoteHead.X-extent = #(lambda (g)
    (ly:stencil-extent (ly:note-head::print g) X))


Best,
Jean


Reply via email to