violinMusic = { \meterAndTempo \clef "treble" \key b \minor \stub } celloMusic = { \meterAndTempo \clef "bass_8" \key b \minor \repeat volta 2 { \fixed c, { b1 | e | d | a | b1 | e | d | a | } \relative c, { b8 d4 d8 fs4 a, | % 2 g2. r4 | % 3 a8 d r8 d fs4 d | % 4 cs4 r2. | b'8 d,4 d8 d4 fs, | % 2 g2. r4 | % 3 fs2 fs4 g | % 4 a2. r4 | } } } guitarMusic = { \meterAndTempo \key b \minor \repeat volta 2 { \chordmode { \repeat unfold 2 { b,1:m | a,:9 | g, | a, | } \repeat unfold 2 { b,:m | g, | d, | a, | } } } } staffViolin = \new Staff \with { instrumentName = "Viool" shortInstrumentName = "Vln." midiInstrument = "Violin" } \violinMusic staffCello = \new Staff \with { instrumentName = "Cello" shortInstrumentName = "Vcl." midiInstrument = "Cello" } \celloMusic chordNames = \new ChordNames { \guitarMusic } staffGuitar = \new Staff \with { instrumentName = "Gitaar" shortInstrumentName = "Gtr." midiInstrument = "Guitar" } \guitarMusic staffgroupStrings = \new StaffGroup << \staffViolin \staffCello >>