But, doesn't NullVoice create a Staff ? I am trying to set the lyrics to float in between some random parts.
music = { c'4(~ 2) d'4 } words = \lyricmode { a b c } << \new Staff << \new Voice = "1" \music \new Lyrics \lyricsto "1" \words >> << % said null part \new NullVoice = "2" \music \new Lyrics \lyricsto "2" \words >> >> Le mar. 29 août 2023, à 17 h 33, Carl Sorensen <carl.d.soren...@gmail.com> a écrit : > > > > On Tue, Aug 29, 2023 at 3:12 PM Pierre-Luc Gauthier > <p.luc.gauth...@gmail.com> wrote: >> >> Hi there, >> >> I need some standalone rhythmically correct lyrics that I place around >> scores. Devnull seems perfect since it does not create a Staff. Yet, >> ties and slurs are not taken into account when placing otherwise >> correct lyrics. Why? Take the following MnWE. >> >> music = { c'4(~ 2) d'4 } >> >> words = \lyricmode { a b c } >> >> << >> \new Staff \new Voice = "1" \music >> \new Lyrics \lyricsto "1" \words >> \new Devnull = "2" \music >> \new Lyrics \lyricsto "2" \words >> >> >> > Use NullVoice instead of Devnull. > > HTH, > > Carl > -- Pierre-Luc Gauthier