LilyPond beginnershandleiding: A.2.1 Solo piano

### 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 \with { instrumentName = "Piano" }
>       <<
>         \new Staff = "upper" \upper
>         \new Staff = "lower" \lower
>       >>
>       \layout { }
>       \midi { }
>     }

#### LilyPond – Beginnershandleiding v2.24.4 (stabiele tak).