\header { title = "Lilypond test" subtitle = "TH woodwind q 01" composer = "T Hogvall" copyright = "Copyright Torbjorn Hogvall 2008" } \version "2.10.33" global= { \time 4/4 } flute = \new Voice { \relative c'' { \set Staff.instrumentName = "Flute" %\set midiInstrument = #"flute" c2 g e1 \bar "|." } } clarinet = \new Voice { \relative c'' { \set Staff.instrumentName = "Clarinet" %\set midiInstrument = #"clarinet" g8 a b c b4 e4 c1 \bar "|." } } oboe = \new Voice { \relative c' { \set Staff.instrumentName = "Oboe" %\set midiInstrument = #"oboe" %\clef alto e2 d c1 \bar "|." } } bassoon = \new Voice { \relative c { \set Staff.instrumentName = "Bassoon " %\set midiInstrument = #"bassoon" \clef bass c2 b a1 \bar "|."}} "|." } } \score { \new StaffGroup << \new Staff << \global \flute >> %\set Staff.midiInstrument = #"flute" \new Staff << \global \clarinet >> \set Staff.midiInstrument = #"clarinet" \new Staff << \global \oboe >> %\set Staff.midiInstrument = #"oboe" \new Staff << \global \bassoon >> %\set Staff.midiInstrument = "bassoon" >> \layout { } \midi { } }