Skip to content

ABCarus is a desktop application for working with music encoded in ABC notation.

License

Notifications You must be signed in to change notification settings

topchyan/abcarus

Repository files navigation

ABCarus logo

ABCarus

ABCarus is a desktop application for working with music encoded in ABC notation.

ABCarus is designed for navigating, editing, rendering, and organizing large collections of .abc files. It treats each tune (from X: to the next X:) as an independent unit, which supports archival workflows and large libraries.

Status

Pre-release / under active development. Internal APIs, UI layout, and the feature set may change. Keep backups of your data.

See docs/DISCLAIMER.md and CHANGELOG.md.

Downloads (latest)

macOS note: builds are currently not notarized. On some macOS versions, Gatekeeper may report the app as “damaged” and refuse to open it. After verifying the SHA256 sums, you can remove the quarantine attribute: xattr -dr com.apple.quarantine /Applications/ABCarus.app.

Documentation

For users:

  • User Guide (how to use ABCarus): docs/USER_GUIDE.md

For contributors:

  • Quick workflow (dev + release): WORKFLOW.md
  • Developer documentation index: docs/README.md
  • Detailed release checklist: docs/RELEASE_CHECKLIST.md
  • Product + engineering invariants: docs/REQUIREMENTS.md
  • Methodology (chat-driven, docs-backed): docs/METHODOLOGY.md

Quick workflow

See WORKFLOW.md for:

  • 3–5-command release flow (version → tag → push → verify)
  • What we commit / keep local (e.g. scripts/local/**)
  • Useful debug env vars (e.g. ABCARUS_DEBUG_KEYS=1)

Quick start (development)

Development setup

  • Install dependencies: npm install
  • Run the app: npm start

Python is not required for basic editing/rendering/playback in development. It is only needed for MusicXML import/export.

Soundfonts

ABCarus ships only one bundled soundfont (TimGM6mb.sf2). Additional soundfonts are optional and installed locally. See docs/soundfonts.md.

Notation fonts (SMuFL)

ABCarus ships several bundled notation/text fonts (SIL OFL 1.1) for abc2svg rendering. See docs/notation-fonts.md and NOTICE.md.

Release builds

Release builds bundle a local Python runtime (PBS) for MusicXML import/export. See docs/python-build-standalone.md and docs/python-runtime.md.

Core features

  • Recursive scanning of folders containing .abc files
  • File + tune navigation (tunes are separated by X: headers)
  • Text-first editing of ABC
  • Notation rendering
  • Print/export PDF for single tunes or full files
  • Basic playback for reference
  • Error scanning and grouped diagnostics

Design goals

  • Text-first workflow
  • Predictable, reproducible behavior
  • Minimal abstractions over the ABC format
  • Suitability for large libraries
  • Long-term maintainability

Playback and rendering are implemented to support reading and editing, not to replace musical interpretation.

Rendering notes

  • %%sep can trigger abc2svg errors in some scores. ABCarus currently ignores %%sep during rendering and logs a warning. Keep the original notation in your files.
  • Printing/exporting all tunes includes error summaries and inline error cards for tunes that fail to render.

Versioning & Releases

  • SemVer is used, with package.json as the source of truth.
  • Releases are tagged vX.Y.Z and documented in CHANGELOG.md.
  • See docs/VERSIONING.md and docs/RELEASES.md.

Technology

  • Electron
  • JavaScript
  • ABC notation
  • abc2svg (rendering and basic playback)

Import/Export prerequisites

Import/Export uses external Python converters stored under third_party/:

  • third_party/abc2xml/abc2xml.py (ABC → MusicXML)
  • third_party/xml2abc/xml2abc.py (MusicXML → ABC)

By default, ABCarus prefers a bundled Python runtime (PBS). In development, install it with:

  • Linux: bash devtools/pbs/pbs-install-unix.sh linux-x64
  • macOS: bash devtools/pbs/pbs-install-unix.sh darwin-arm64 or bash devtools/pbs/pbs-install-unix.sh darwin-x64
  • Windows: pwsh -ExecutionPolicy Bypass -File devtools/pbs/pbs-install-windows.ps1 -Platform win-x64

System Python fallback is opt-in only via ABCARUS_ALLOW_SYSTEM_PYTHON=1.

Platforms

  • Linux, Windows, macOS (release builds provided; Linux is the primary development platform)

Credits

Major third-party components used by ABCarus:

See NOTICE.md for licenses and attribution details.

Inspiration

Name Project(s) Why it matters to ABCarus Link
Chris Walshaw ABC notation Where ABC comes from and where the spec lives https://abcnotation.com/
Jean‑François Moine abc2svg, txtmus, abcm2ps The rendering engine we build on (abc2svg) and a lot of ABC craft around it http://moinejf.free.fr/
Seymour Shlien EasyABC, runabc, midiexplorer A long-running desktop editor that shaped many real-world workflows https://ifdo.ca/~seymour/runabc/top.html
James Allwright abcMIDI The classic ABC→MIDI toolbox many people still rely on https://abcmidi.sourceforge.io/
Michael Eskin ABC Transcription Tools A huge set of practical online helpers for everyday ABC work https://michaeleskin.com/abctools/abctools.html
Paul Rosen abcjs One of the most common ABC renderers on the web https://www.abcjs.net/
Johan Vromans ChordPro A strong song/chords world that overlaps with ABC use cases https://www.chordpro.org/
Willem Vree abc2xml, xml2abc The MusicXML bridge (ABC ↔ MusicXML) https://wim.vree.org/
Sergio Di Mico AbcToSheet Another take on turning ABC into sheet music https://abctosheet.my.to/
Benoît Rouits qabc, redrose Small, sharp ABC projects worth studying https://github.com/be1
MTG SymbTr Research angle on symbolic music data https://github.com/MTG/symbtr

Personal acknowledgements

These are personal sources of inspiration and gratitude, separate from the technical projects above:

Licensing

ABCarus source code is licensed under the MIT License.

This project uses third-party components, including abc2svg (LGPL) and CodeMirror (MIT). See NOTICE.md for details.