OOLOI.ORG
Menu

OOLOI

OVERVIEW

FAQ

DOCUMENTATION

NEWSLETTER

Purity

17/10/2026

2 Comments

 
Picture
Oh, and by the way: the stability term is gone.

In 'The Seven Thousand Steps' I described Clear Skies, a cost charged for every system that differs from the layout the user has just been looking at, and concluded that it belonged on by default. I've changed my mind. The reasons say something about why Ooloi adopted Hegazy and Gourlay in the first place, so they're worth a few paragraphs.

The term worked. In the model it cut the share of rhythm edits that moved breaks from 33 in 60 to 8, for under one per cent of the total cost. Cost was never the problem. The problem is what it does to the meaning of a page. With the term in place, the layout of a piece is no longer a function of the piece. It depends on the layout before it, which depended on the one before that, all the way back through every edit since the file was created. Two routes to the same music arrive at different pages. The piece carries, invisibly, a memory of how it was edited, and the part a player eventually reads can be worse than it should be because of the order in which its engraver happened to work.

The springs were adopted to abolish exactly that kind of thing.

LilyPond makes a useful contrast. It is deterministic, as a compiler that starts from scratch every time must be: there is only one route to any page, because there is no history. What LilyPond gave up, in October 1999, was exactness. It added a term comparing each system with its predecessor, judged against a single stored predecessor, so its breaker finds an approximation of its own cost rather than the minimum. Ooloi has neither that term nor any substitute for it. The cost of a system depends on that system alone, as it does in the 1987 paper, and the optimum is exact.

Ooloi doesn't start from scratch, though. It re-optimises after every edit from two stored tables, and that is precisely where history could creep in. So the rule is this: after any edit, Ooloi must arrive at the page a full casting off from scratch would produce. Any route gives the same page, whether after undo, after a reload, on another machine, or with edits made in a different order. That is now an invariant to be tested, not a hope.

Breaks will therefore move, sometimes before the bar you edited. That is the optimum doing its job, and I want it to. Keeping you oriented is a matter of presentation, not of layout: the bar you're working on stays where your eye was, and whatever moves around it moves legibly. Where you want breaks to stay put, you say so, by freezing systems or forcing breaks, and that decision is stored in the piece like any other, where it can be seen, changed and undone. A layout decision you made is part of the music. One the program made for you because of the order you worked in is not.

The anchoring duration won't get the hysteresis I floated either, for the same reason: it gets a value you can pin, and nothing else. ADR-0037 and ADR-0055 have been revised accordingly.
2 Comments
Magnus Johansson
17/10/2026 13:18:36

"Breaks will therefore move, sometimes before the bar you edited."

This will be exciting to see in action.

Reply
Peter Bengtson
17/10/2026 14:54:16

It will. It exposes a real tension between correctness and convenience, and the answer can't come from the algorithm without spoiling it. It has to come from the interface: the bar you're editing stays where your eye is, and what moves around it moves visibly, so you can follow where it went. If that feels right, nobody will mind. If it doesn't, 'exciting' will turn into 'interesting', in the sense of the curse.

Reply



Leave a Reply.

    Author

    Peter Bengtson –
    Cloud architect, Clojure advocate, concert organist, opera composer. Craft over commodity. Still windsurfing through parentheses.

    Search

    Archives

    November 2026
    October 2026
    September 2026
    August 2026
    July 2026
    June 2026
    May 2026
    April 2026
    March 2026
    February 2026
    January 2026
    December 2025
    November 2025
    October 2025
    September 2025
    August 2025
    July 2025
    June 2025
    April 2025
    March 2025
    September 2024
    August 2024
    July 2024

    Categories

    All
    Accidentals
    Alfred Korzybski
    Architecture
    Backend
    Beaming
    Benchmarks
    Casting Off
    Clefs
    Clojure
    CLOS
    Common Lisp
    DDD
    Death Of Igor Engraver
    Documentation
    Donald E Knuth
    Dorico
    Dynamic Programming
    Finale
    Fonts
    FrankenScore
    Franz Kafka
    Frontend
    Functional Programming
    Generative AI
    GRPC
    Hegazy Gourlay
    Hegazy-Gourlay
    Igor Engraver
    Ingmar Bergman
    Instruments
    Jacques Derrida
    JVM
    Knuth Plass
    Knuth-Plass
    License
    LilyPond
    Lisp
    Localisation
    MIDI
    MPL 2.0
    MuseScore
    MusicXML
    Ooloi
    Ortography
    Pitches
    Platforms
    Playback
    Plugins
    Python
    QuickDraw GX
    Rendering
    Rhythm
    Rich Hickey
    Road Map
    Scheme
    Semiotics
    Sibelius
    Silicon Valley
    Site
    Skia
    Sponsorship
    Testing
    Transposition
    UI
    Umberto Eco
    Vertigo
    VST/AU
    Wednesday Addams

    RSS Feed

Home
​Overview
Documentation
About
Contact
Newsletter
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.


  • Home
  • Overview
    • Background and History
    • Project Goals
    • Introduction for Musicians
    • Introduction for Programmers
    • Technical Comparison
  • FAQ
  • Documentation
  • About
  • Contact
  • Workbench
  • Home
  • Overview
    • Background and History
    • Project Goals
    • Introduction for Musicians
    • Introduction for Programmers
    • Technical Comparison
  • FAQ
  • Documentation
  • About
  • Contact
  • Workbench