Modern music notation places notes on a five-line staff, with a clef at the start fixing exactly which pitch each line and space represents. It looks like a single, obviously correct design once you know how to read it, but it wasn't handed down all at once — it emerged gradually, over roughly five centuries, from earlier and considerably less precise ways of writing music down, most significantly through the work of an eleventh-century Italian monk named Guido of Arezzo, whose staff-line system is usually credited as the decisive step toward something recognisably like today's notation.
Before the staff, pitch was a rough gesture, not a precise instruction
Earlier medieval notation used symbols called neumes, marks placed above a line of text that indicated roughly whether a melody moved up or down and by roughly how much, functioning mainly as a memory aid for singers who already knew the melody by ear rather than as a self-sufficient instruction a stranger could read cold. This worked reasonably well within a single monastic community that shared an oral tradition, but it didn't transfer reliably between communities, or preserve a melody accurately across generations, since the same rough up-down gesture could be reasonably interpreted several different ways by someone who hadn't already learned the tune some other way.
Guido's staff lines fixed pitch to an exact, readable position
Guido of Arezzo's key innovation was placing notation on a fixed set of horizontal lines, each line and space assigned to represent one specific pitch, which for the first time let a written melody specify exact pitches rather than just approximate melodic direction — a singer unfamiliar with a piece could now, in principle, read it correctly from the page alone. Guido himself worked primarily with four staff lines rather than the five that eventually became standard, and the system continued to be refined by many later musicians and printers over the following centuries — settling on five lines, standardising clef symbols, and developing the note-shape and rhythm notation that would eventually sit alongside pitch — before something close to the fully modern system was in general, consistent use across Western music, a genuinely gradual convergence rather than a single clean invention.
What we're still unsure about
Guido of Arezzo's role in developing staff notation, and the broad multi-century timeline of its refinement into something close to the modern system, are well documented in music history, based on surviving manuscripts from across the period. What's less precisely settled is exactly how quickly and evenly the new notation actually spread and was adopted in day-to-day practice across different regions of Europe, since manuscript survival is uneven, and a notational innovation that was current in one well-documented centre of musical activity may have taken considerably longer to reach — or may never have fully displaced older regional practices in — less well-documented areas, a gap historians studying the period's actual, on-the-ground practice are still working to fill in.
This sits inside Pitch, Notation & the Staff, one of eight topics in Music Theory, one of four domains in Music, one of seventeen subjects the app can quiz you on.