\version "2.21.0" \paper { indent = 40 } % Hack to stop a multi-note tremolo at the end of a quotation. % stopTremolo = #(define-music-function () () (make-music 'TremoloSpanEvent 'span-direction STOP)) music = \relative c'' { \repeat tremolo 16 { c32 d } | c4 } \addQuote music { \music } \score { << \new Staff \with { instrumentName = "the music" } << \displayMusic \music >> \new Staff \with { instrumentName = "quote s1 | s4" } << \quoteDuring music { s1 | s4 } >> \new Staff \with { instrumentName = "quote s1 |" } << \quoteDuring music { s1 | } >> \new Staff \with { instrumentName = "quote s1 \stopTremolo |" } << \quoteDuring music { s1 \stopTremolo | } >> >> }