Color-code every note in a sheet music PDF using Boomwhacker colors.
| Note | Solfège | Color |
|---|---|---|
| C | Do | Red |
| D | Ré | Orange |
| E | Mi | Yellow |
| F | Fa | Lime green |
| G | Sol | Dark green |
| A | La | Purple |
| B | Si | Pink |
Powered by oemer for optical music recognition.
Requirements: Python 3.11+, uv
git clone https://github.com/axelgoris99/chroma-notes
cd chroma-notes
uv sync
uv run chroma-notes input.pdf output.pdfOn first run oemer will download its model checkpoints (~200 MB).
Build and run locally:
docker compose up --buildOpen http://localhost:8000, upload a PDF, download the colored result.
Pull the image built by GitHub Actions — no local build needed:
docker compose pull && docker compose up -dThe docker-compose.yml already points to ghcr.io/axelgoris99/chroma-notes:latest.
git pull
docker compose pull && docker compose up -d"It does not work".
Oof, tough one buddy. Unfortunately many things can go wrong, such as:
- Oemer not recognizing the clef or the note which will lead to the wrong colors
- The queue system messing up if you use the demo version at <chroma.goris.live/>
- The server is busy with other stuff.