Piano template (simple): Difference between revisions
Appearance
Import snippet from LSR |
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
||
| Line 1: | Line 1: | ||
Here is a simple piano staff with some notes. | Here is a simple piano staff with some notes. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
upper = \relative c'' { | upper = \relative c'' { | ||
\clef treble | \clef treble | ||
Revision as of 18:51, 16 November 2025
Here is a simple piano staff with some notes.
\version "2.24"
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 { }
}