|
An accidental, a grace note, a clef change and a repeat barline walk into a bar. It’s the first bar of a system, so it’s already crowded. The clef change says, ‘Don’t worry, I sent word ahead’, and points to the courtesy clef waiting at the end of the previous system. The repeat barline says, ‘I’ve been here before’. The grace note says, ‘I can’t stay long’. The accidental just nods at the notehead and says, ‘I’m with him’. Most bartenders sigh and reach for the special-case drawer. Ooloi’s hands each of them a spring (‘boinggg’) and goes back to polishing glasses. A postscript, since the joke is less of one than it looks.
I’ve dreaded this part for two years. Casting off and spacing are where the Minotaur lives: the centre of the labyrinth, where the model finally has to become a page. I assumed I’d have to go in and wrestle it, and I spent the pipeline years arming myself. I knew what the fight would look like. In a conventional architecture, each kind of object that needs room at a system start has a formatter of its own: one for accidentals, one for grace notes, one for clefs, one for barlines. Each is reasonable in isolation. The trouble is that they’re independent, so they needs must negotiate. The accidental takes its room, the grace note needs some of it back, the courtesy clef changes what’s left over, and every pair that meets needs an agreement. Too many of those agreements end up as correction passes, and correction passes are the bane of notation programs, and their elephant graveyard: it’s where Finale finally went, after more than three decades. The agreements grow with the combinations, not with the objects. It isn’t one hard problem; it’s herding cats, each one patched where it was caught, until adding one more kind of object costs more than the program can bear. Instead the Minotaur stretched out a hand: ‘Pleased to meet you, Peter. Let’s get to work, shall we?’ There were no cats to herd. There was only one Master Ring, if I may mix my metaphors further. Information in Ooloi’s pipeline flows one way, and every horizontal rule has to take one of four forms before breaking begins. By the time the accidental, the grace note, the clef and the barline reach the breaker, they’re all springs, combined the same way every time. The problem I met wasn’t the one I’d prepared for. I’d expected a fight with chaos. What I got was a choice between two pieces of mathematics, and the only question was which one was right. The chaos had been dealt with upstream, years earlier, without my quite realising that this was what I was doing. I’m increasingly convinced this is also why Hegazy and Gourlay’s method hasn't been used in interactive programs. The usual explanation is that optimal breaking is too slow to recompute after every edit. It isn’t. It hasn’t been for decades. What it needs is width data that’s settled before breaking begins and stays put while the breaker works. An army of negotiating formatters can’t supply that, because in such an architecture widths are what layout produces, not what it starts from. Speed was never the obstacle; the cats were. The single model also makes the rest of the formatting much, much more straightforward to implement. Every rule that remains has one thing to become and one place to go, and none of them has to know about the others. Foundation work succeeds by disappearing, and this is what it looks like when it does: you walk into the room where the monster is supposed to be, and find a bartender polishing glasses.
2 Comments
Roland Gurt
18/10/2026 19:26:14
Congratulations on yet another productive and intriguing series of posts!
Reply
Peter Bengtson
19/10/2026 07:03:40
Roland, thank you. It’s a real pleasure to hear from you, and on exactly the questions that matter.
Reply
Leave a Reply. |
AuthorPeter Bengtson – SearchArchives
November 2026
Categories
All
|
|
|
Ooloi is an open-source desktop music notation system for musicians who need stable, precise engraving and the freedom to notate complex music without workarounds. Scores and parts are handled consistently, remain responsive at scale, and support collaborative work without semantic compromise. They are not tied to proprietary formats or licensing.
Ooloi is currently under development. No release date has been announced.
|
RSS Feed