lilypond-user
[Top][All Lists]
Advanced

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

Ambitus_engraver causes ghost laissezVibrer ties on first note of Voice


From: Jeff Olson
Subject: Ambitus_engraver causes ghost laissezVibrer ties on first note of Voice
Date: Tue, 22 Mar 2022 23:16:42 -0600
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

Do you like ghosts?

Putting an LV tie on the first note of a Voice in which there is an ambitus generates two unwelcome "ghost" LV ties floating unattached above and below the note, in addition to the desired single LV tie that is properly attached to the note.  Here is the MWE (see also attached image Ambitus-LV-ghosts.png):

\version "2.22.0"
\new Voice \with { \consists "Ambitus_engraver" } {
  a'\laissezVibrer c'' c'
}

In this example, the c'' and c' are necessary to establish a range for the ambitus to display that is distinct from the note with the proper LV tie.  By experimenting with these notes (or simply by visual inspection of the output) you see that the two floating ghost LV ties are at vertical positions within the first note column that match the two extrema of the ambitus.  They are the same LV ties that would be properly expected had the ambitus extrema been included as notes in a chard with the first note, like this:

<a' c'' c'>\laissezVibrer

So the vertical position of the ghosts is determined by the ambitus even though their horizontal position is in the first note column.

This behavior exists at least in 2.22.1 and 2.18.2.  Log files are clean.

The ghosts disappear when the LV tie is not on the first note (e.g. just add initial g'):

\new Voice \with { \consists "Ambitus_engraver" } {
  g' a'\laissezVibrer c'' c'
}

The ghosts also disappear if the ambitus belongs to the Staff context (just change Voice to Staff):

\new Staff \with { \consists "Ambitus_engraver" } {
  a'\laissezVibrer c'' c'
}

I don't like ghosts.  Please fix.

Jeff

Attachment: Ambitus-LV-ghosts.png
Description: PNG image


reply via email to

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