| [ << Templates ] | [Top][Contents][Index] | [ GNU Free Documentation License >> ] |
| [ < Piano templates ] | [ Up : Piano templates ] | [ Piano and melody with lyrics > ] |
A.3.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 \with { 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 > ] |