An engraved PDF carries its text inside it: staff names, rehearsal letters, tempo words, each with its position on the page. We read those directly. A scan has no text, only a picture, so on scans this part stays empty.
Staves
Each page is drawn to an image and searched for groups of five evenly spaced horizontal lines. That works on engraved and scanned pages alike. It struggles when the page is badly tilted or the lines are broken, which is why there is a tool to straighten pages first.
Staves: five lines at an even spacing. The map looks for them on every page, engraved or scanned.
Ink
For each staff we count the dark pixels around it, ignoring the staff lines themselves. Lots of ink means notes; none means an empty bar. That is all it is. It does not know what the notes are.
Ink: the dark pixels in the shaded band, with the staff lines left out. In this drawing, 4% of the band.
Where it goes wrong
Long held notes look emptier than they are. Staves full of text, lyrics or hairpins look busier than they are. When the engraver hides empty staves, matching rows from page to page depends on reading the names.
Where it goes wrong: a held note and a bar of sixteenths. Both are music, but by ink the first is nearly empty: 1% against 22%.
Drawings, not crops of a real page.
BPaid
Bar-by-bar analysis
Reading the notes
We use Audiveris, an open-source music reader, to turn each page into MusicXML. Small scans are enlarged first so that staff lines are about 20 pixels apart; below that the reader fails.
Naming the staves
The reader does not output instrument names or transpositions. We take names from the PDF's text when there is any. When there is none, the page image is sent to a vision model, run by an outside provider, which reads the names. Before you pay, we tell you which provider, and which pages it would see to read the staff names. Either way, the result page shows where each name came from.
The answers
With notes and names in hand, the rest is counting: which parts have notes in each bar, which move in parallel, the lowest and highest sounding note of each.
Who plays when: one line for each part, a thick stroke in the bars where it has notes. Drawn, not a real score.
Where it goes wrong
Percussion staves often disappear. A wrong transposition shifts a whole part's range. Dense pages with many voices on a staff lose notes. Dynamics and articulation are not checked at all.
Where it goes wrong: two staves read, the dashed percussion staff dropped.
CEvidence
The test behind the numbers
Before building this we ran the paid reading on 25 files (63 pages, at most 6 pages from each file). Most were clean digital renders of ensemble scores, parts and full scores. Five were synthetic scans, made by degrading digital files, and only three real scans (a Mozart symphony, a klezmer piece, a Mahler part) and one real full score (Gershwin) were included. We compared the output with the correct score where we had one; the real scans had none to compare against in full, so they are only a rough guide. The figures on this site come from that test and from nothing else. It was a small sample, and real publisher PDFs and scans may do worse. We say so wherever we quote it.
Notes that agree with the correct score, small digital ensemble scores
87%
Bars with the right players, same scores
93%
On full scores of 13 or more staves, the right players in only 61% of bars.