Fix 524 pitched trill losing accidental.
[lilypond.git] / input / regression / lyric-combine-switch-voice.ly
blob798dc13623f821f805c20308df5dc8d2980a390b
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.10.8"
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