MIDI: fix regtest failure
[lilypond/patrick.git] / input / regression / accidental-voice.ly
bloba1be03b6548e186e7f554132b9f1467b97d0d246
1 \version "2.12.0"
2 \layout { ragged-right = ##t }
4 \header{
5 texidoc="
6 This shows how modern cross voice auto cautionary accidentals are handled.
7 The first two fisses get accidentals because they belong to different voices.
8 The first f gets cautionary natural because of previous measure.
9 The last f gets cautionary natural because fis was only in the other voice.
15 voicea = \transpose c c' {
16 \stemUp
17 fis2 a2 f4 fis a2
19 voiceb = \transpose c c' {
20 \stemDown
21 c2 fis2 f4 c f2
26 \new NoteNames {
27 \set printOctaveNames = ##f
28 \voicea
30 \context Staff <<
31 #(set-accidental-style 'modern-voice-cautionary)
32 \new Voice \voicea
33 \new Voice \voiceb
35 \new NoteNames {
36 \set printOctaveNames = ##f
37 \voiceb