I've been using the textspanner to indicate vibrato on notes.  This works on 
the whole quite well, usually a bit better if I use a hidden grace note to stop 
the textspan when finishing the vibrato.  However, it doesn't quite work as I'd 
hoped for notes at the end of a bar.  I would like the vibrato sign (the wavy 
line) to stop before the bar not continue on to the next bar.  (This is even 
more so when the vibrato is at the end of a line.)

The following example shows the issue:

\version "2.18.2"

startVib = -\single\override TextSpanner.style = #'trill
  -\single\override TextSpanner.minimum-length = #10
  -\single\override TextSpanner.springs-and-rods = #ly:spanner::set-spacing-rods
  -\startTextSpan

\score {
  <<
  \new Staff { \clef "treble"
    \relative c' {
      c \startVib c \stopTextSpan c c |
      c \startVib \hideNotes \grace c \stopTextSpan \unHideNotes c c
      c \startVib \hideNotes \grace c \stopTextSpan \unHideNotes |
      c c c c |
    }
  }
  >>
}

Any advice?

Martyn
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to