| [ << Templates ] | [Top][Contents][Index][ ? ] | [ GNU Free Documentation License >> ] | ||
| [ < Piano templates ] | [ Up : Piano templates ] | [ Piano and melody with lyrics > ] | ||
A.2.1 Solo piano
Here is a simple piano staff with some notes.
upper = \relative c'' {
  \clef treble
  \key c \major
  \time 4/4
  a4 b c d
}
lower = \relative c {
  \clef bass
  \key c \major
  \time 4/4
  a2 c
}
\score {
  \new PianoStaff <<
    \set PianoStaff.instrumentName = #"Piano  "
    \new Staff = "upper" \upper
    \new Staff = "lower" \lower
  >>
  \layout { }
  \midi { }
}
| [ << Templates ] | [Top][Contents][Index][ ? ] | [ GNU Free Documentation License >> ] | ||
| [ < Piano templates ] | [ Up : Piano templates ] | [ Piano and melody with lyrics > ] | ||
 Other languages: español, français, italiano, 日本語, nederlands.
 
 About automatic language selection.