Jump to content

Extending a TrillSpanner (2): Difference between revisions

From LilyPond wiki
m Lemzwerg moved page Extending a TrillSpanner (alternate) to Extending a TrillSpanner (2) without leaving a redirect
mNo edit summary
 
Line 1: Line 1:
This snippet shows how to get a trill span over the last note of a measure.
This snippet shows how to get a trill span over the last note of a measure.
See also [[Extending a TrillSpanner]].


<lilypond version="2.24">
<lilypond version="2.24">
% LSR: http://lsr.di.unimi.it/LSR/Item?id=959
% LSR https://lists.gnu.org/archive/html/lilypond-user/2014-11/msg00292.html
%=> http://lilypond.1069038.n5.nabble.com/Trill-Span-tc168639.html
% see also : http://lsr.di.unimi.it/LSR/Item?id=912


\relative c' {
\relative c' {

Latest revision as of 12:08, 5 December 2025

This snippet shows how to get a trill span over the last note of a measure.

See also Extending a TrillSpanner.

\version "2.24"

% LSR https://lists.gnu.org/archive/html/lilypond-user/2014-11/msg00292.html

\relative c' {
  \time 4/4
  \clef treble
  \key c \major
  \override TrillSpanner.to-barline = ##t
  c2\startTrillSpan d4 e4 |
  f1
  \stopTrillSpan  |
  \revert TrillSpanner.to-barline
}