MIDI: fix regtest failure
[lilypond/patrick.git] / input / regression / lyric-combine-switch-voice.ly
blobadc362e02be56753284f7a026b3244bf97bc5e7a
1 \header {
3 texidoc = "Switching the melody to a different voice works even
4 if the switch occurs together with context instantiation."
8 \version "2.12.0"
11 \relative \new Voice = "lahlah" {
12 \set Staff.autoBeaming = ##f
15 \new Voice = "alternative" {
16 \voiceOne
17 \times 2/3 {
18 %% show associations clearly.
19 \override NoteColumn #'force-hshift = #-3
20 r8 f g
24 \voiceTwo
25 f8.[ g16]
26 \oneVoice
27 } >>
28 a8( b) c
30 \new Lyrics \lyricsto "lahlah" {
31 %% Tricky: need to set associatedVoice
32 %% one syllable too soon!
34 \set associatedVoice = alternative % applies to "ran"
35 Ty --
36 ran --
37 \set associatedVoice = lahlah % applies to "sau"
38 no --
39 sau -- rus Rex