Re: Devnull ignores tie and slur
On 2021-05-22 14:51, Lukas-Fabian Moser wrote: Hi Kaj, Am 22.05.21 um 14:25 schrieb Kaj Persson: How surprising! I tried using Devnull for a piece, but the lyrics did not synchronize with the music. So I discovered that it ignores ties and slurs. This makes this finesse useless for lyrics, which is a pity. Could be useful. Well, yes, I know it is intended for cadenzas parties in the music, but it could be useful also for the lyrics. Try \new NullVoice instead of \new Devnull - I think this does what you want. Lukas Hello Lukas! Yes it does. Wunderbar. Vielen Dank! Kaj
Re: Devnull ignores tie and slur
Hi Kaj, Am 22.05.21 um 14:25 schrieb Kaj Persson: How surprising! I tried using Devnull for a piece, but the lyrics did not synchronize with the music. So I discovered that it ignores ties and slurs. This makes this finesse useless for lyrics, which is a pity. Could be useful. Well, yes, I know it is intended for cadenzas parties in the music, but it could be useful also for the lyrics. Try \new NullVoice instead of \new Devnull - I think this does what you want. Lukas
Devnull ignores tie and slur
How surprising! I tried using Devnull for a piece, but the lyrics did not synchronize with the music. So I discovered that it ignores ties and slurs. This makes this finesse useless for lyrics, which is a pity. Could be useful. Well, yes, I know it is intended for cadenzas parties in the music, but it could be useful also for the lyrics. /Kaj Here is an example: \version "2.22.0" preMusic = \relative { a2 a } voltaMusic = \relative { b'4 b~ b b } finalMusic = \relative { c''4 c( c) c } preTxt = \lyricmode { Pre text } voltaOne = \lyricmode { The first time } voltaTwo = \lyricmode { And next time } finalPart = \lyricmode { Here's the end } \score { << \new Staff << \new Voice { \preMusic \repeat volta 2 { \voltaMusic } \finalMusic } \new Devnull = "VerseOne" { \preMusic \voltaMusic } \new Devnull = "VerseTwo" { #(skip-of-length preMusic) \voltaMusic \finalMusic } >> \new Lyrics \lyricsto "VerseOne" { \preTxt \voltaOne \skip 1 \finalPart } \new Lyrics \lyricsto "VerseTwo" { \voltaTwo \skip 1 \finalPart } %% %% The \skip 1 should not be necessary if Devnull had worked correct >> \layout {} \midi {} } Devnull.pdf Description: Adobe PDF document