lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error message using AikenHeads with NullVoice


From: Jean Abou Samra
Subject: Re: Error message using AikenHeads with NullVoice
Date: Thu, 7 Jul 2022 18:43:05 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0



On 7/7/22 18:23, David F. wrote:
On Jul 7, 2022, at 1:59 AM, Valentin Petzel <valentin@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

[Prev in Thread] Current Thread [Next in Thread]