|
From: | Jonathan Scholbach |
Subject: | Re: repeat |
Date: | Sat, 13 Feb 2016 15:25:22 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
I had a similar problem when managing different spread of text in
different stanzas of a song. Maybe the following solution (which
does not produce the correct midi-output!) is appropriate for you? -
for me it looks like a bit of cheating, but it seems to work. \version "2.19.22"
verseOne = \lyricmode { \set stanza = "1." This is the first al -- ter -- na -- tive } verseTwo = \lyricmode { \set stanza = "2." And this is the se -- cond one }
melodyOne = \relative c'' { c4 d e f f e d c }
melodyTwo = \relative c'' { %make voice effectively invisible \override Slur.transparent = ##t \override Stem.transparent = ##t \override Dots.transparent = ##t \override Beam.transparent = ##t \override NoteHead.transparent = ##t
\voiceTwo
r4 d e f f e d c }
\score { \new Staff << \new Voice = "first" { \repeat volta 2 { \melodyOne } } \new Lyrics \lyricsto "first" { \verseOne } \new Voice = "second" { \voiceTwo \melodyTwo } \new Lyrics \lyricsto "second" { \verseTwo } >>
} Instead of manually overriding the visibility of the notes you can use \hideNotes after the rest in verseTwo, too. Hope that helps, Jonathan On 02/13/2016 02:35 PM, David Kastrup
wrote:
BB <address@hidden> writes:I do NOT want to copy/paste or repaet the notes. My problem is, that only the first note is different. With using repeat volta usually just the "tail" of a sequence of notes is different and not all with the exception of the first.Put in both notes in different voices and add texts {1.} and {2.}. |
[Prev in Thread] | Current Thread | [Next in Thread] |