Generated from the repository's README.

simple editor

a simple editor that hides the MEI

simple-editor

"simple editor" is a working title. It names the idea, not a product.

This is an experimental prototype. It is a throwaway spike for trying out ideas on real phones. It is not the editor, its code is not the editor's architecture, and it will be rewritten. Expect rough edges, and do not use it for real work at this point!

The aim is a simple graphical editor for the Let's Encode! project: a way to view and correct music encodings (MEI) directly on the rendered score, without ever having to read or write XML. It is for corrections and small-scale note entry, inside the Let's Encode crowd-encoding workflow and standalone. People using it need no knowledge of MEI, yet what it writes must be valid, well-made MEI.

It is phone-first and touch-first. Every design decision starts from fingers on a phone screen. We hope to support tablets and desktops (with mouse and keyboard) as well, but they come later and are not designed for yet. The prototype does open on a tablet or desktop, and has keyboard shortcuts, but it has been tried and tuned on phones only.

The prototype lives in spike/. It is built with Vite, vanilla JavaScript and Verovio 6.3.

Try it

The prototype is published at https://lets-encode.github.io/simple-editor/. Open it on a phone. Once loaded online, it can be added to the home screen and then runs offline: a service worker keeps the whole app and its example scores. Your edits are kept in the browser, per score, and the cog menu (⚙) can revert a score to its original.

To run it locally:

cd spike
npm install
npm run dev

and open the "Network" address Vite prints on a phone on the same network.

One finger navigates and selects, two fingers edit

The central idea is a clean split, so that nobody edits by accident while finding their way around:

The same editing steps are also available as buttons in the control bar, and from the keyboard (a stop-gap for desktop testing, not a designed desktop experience).

What the prototype shows so far

Proofs of concept, each tried on real phones:

Not yet built: entering rests and chords, ties, beams, slurs and other kinds of element, and checks on bar lengths. Corrections come first; the full design is still being worked out.

Example scores

The scores in fixtures/ keep their own licences, listed in fixtures/README.md: a Chopin mazurka and a Beethoven sonatina, and encodings from Let's Encode test campaigns that come with their facsimile scans. The campaign encodings are tests in progress and are neither correct nor authoritative.

Licence

GNU Affero General Public License 3.0 for the code.