rag.ly · 81 lines
\version "2.24.1"
\header {
title = "Espresso Rag"
subtitle = \markup \italic "for café piano"
}
global = { \key c \major \time 2/4 }
upper = {
\tempo "Allegretto" 4 = 92
\global
\clef treble
% ---- A strain, bars 1-4 ----
c''8.\mf e''16 g''8 e''16 g''16 |
a''8. g''16 e''8 c''8 |
f''8. e''16 d''8 f''8 |
g'16 c''16 e''16 g''16 c''4~ |
\break
% ---- bars 5-8 ----
c''8. e''16 g''8 e''16 g''16 |
a''8. b''16 c'''8 a''16 c'''16 |
d'''8. c'''16 a''8 f''8 |
c'''16 g''8. e''4 |
\break
% ---- B strain, bars 9-12: left hand crosses over the right ----
\mark \markup \italic "L.H. crosses over R.H."
<<
{ g'8\mp_\markup \small \italic "R.H." <c'' e''>8 g'8 <c'' e''>8 |
a'8 <d'' f''>8 a'8 <d'' f''>8 |
g'8 <c'' e''>8 g'8 <c'' e''>8 |
b'8 <d'' f''>8 b'8 <d'' f''>8 } \\
{ c'''4^\markup { \bold \italic "L.H." } e'''8 f'''8 |
g'''4 f'''8 d'''8 |
e'''4 c'''8 e'''8 |
b''8 d'''8 f'''8 d'''8 }
>>
\break
% ---- A strain return, bars 13-16 ----
c''8.\mf e''16 g''8 e''16 g''16 |
a''8. g''16 e''8 c''8 |
g''8. f''16 d''8 b'8 |
c''4 r4 |
\bar "|."
}
lower = {
\global
\clef bass
% ---- oom-pah bass, bars 1-8 ----
c,8 <e g>8 g,8 <e g>8 |
c,8 <e g>8 g,8 <e g>8 |
g,8 <d f>8 b,8 <d f>8 |
c,8 <e g>8 g,8 <e g>8 |
c,8 <e g>8 g,8 <e g>8 |
f,8 <a c>8 c8 <a c>8 |
g,8 <d f>8 b,8 <d f>8 |
c,8 <e g c'>8 g,8 <e g c'>8 |
% ---- bars 9-12: bass staff rests while the left hand is up top ----
R2*4 |
% ---- bars 13-16 ----
c,8 <e g>8 g,8 <e g>8 |
c,8 <e g>8 g,8 <e g>8 |
g,8 <d f>8 b,8 <d f>8 |
c,4 <e g c'>4 |
}
\score {
\new PianoStaff <<
\new Staff = "up" \upper
\new Staff = "down" \lower
>>
\layout {
\context {
\Score
barNumberVisibility = #all-bar-numbers-visible
}
}
\midi { }
}round 1 of 2

Espresso Rag, with the left hand crossing over: Pareto 26.10 Preview
modelunbiased/pareto-26.10-previewtasklilypond-espresso-rag@v1, checks c1, harness h1date2026-10-05rounds2 of 8 allowed, 12 minutes on the clockcost$0.1629thinkingmediumtokens40,175 in, 46,907 out, of which 0 reasoningtime4 min 27 sfailedCrossing marked: incomplete, annotation missing, minor, near miss: 1 of 2 marks, the crossing and its release, its note said this very thing was right · Stems apart: unreadable, annotation misencoded, minor, 0 of 37 shared-staff notes with stems apart, three in four needed, its note said nothing was wrong
Piano staffdecided by a number, from the filepass
Sixteen barsdecided by a number, from the filepass
Left hand crossesdecided by a number, from the filepass
Right hand keeps goingdecided by a number, from the filepass
Crossing markeddecided by a number, from the filefail
Stems apartdecided by a number, from the filefail
There is no post about this one, since only some results need one, so the picture, the source and the scoring are here instead.
Write, in LilyPond, 16 bars of café piano music called "Espresso Rag" in which the left hand crosses over the right hand for bars 9 to 12.Frozen at v1. This model got this and nothing else.
LilyPond's own record of every note: its hand, staff, bar, pitch and stem, read while the file is engraved. A voice belongs to the hand whose staff it starts on, unless its notes are labelled with a hand's name. The script was written after hearing Sol's and Pareto's runs, so Luna was its first fair test. How good the music sounds is rated by ear. How it is scored, and this run's files on GitHub.

