sirged/fermata
À propos
Self-hosted sheet music server: organize, search, and practice from your own library — PDF reader plus interactive notation/tab rendering
Design et médiasWhat you can do
- Library scanning — walks your music folder, takes collections, composers, series and titles from the folder structure (and a title from a PDF's embedded metadata when it has a real one), counts pages, and generates cover thumbnails for PDFs only.
- The library — search, a cover grid or a list, sorting by title, last played, recently added or bars still to check, and on a wide screen a detail pane beside it with the score's tabs, its transcription's progress and its recent practice. A Continue card offers the score you last practised, with Resume.
- A page for each score — a score opens on its own page with tabs: Read, Play, Proof and Practice for a PDF, Play and Practice for a notation file, and Read and Practice for a PDF marked not to be transcribed. A Timer in the header times a practice session from any of them, and Score details holds its tags, favourite, content type, key, tempo and difficulty.
- Perform — fullscreen, screen kept awake and half-page turns for a tablet on a music stand. On a PDF the whole page is the tap target: a tap on either side turns, a tap in the middle shows the controls. It is on the Read, Play and Proof tabs, or press F; Esc leaves.
Progression mesurée des étoiles
- in 24h
- Mise à jour retardée
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- Mise à jour retardée
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Original
Fermata
A self-hosted sheet music server. Point it at a folder of sheet music, and get a fast, beautiful library you can browse, search, tag, and practice from — on any device on your network.
Think of it as the music-stand equivalent of Jellyfin or Calibre-Web: your files stay yours, on your hardware, organized the way you already organize them.
Features
- Library scanning — walks your music folder, takes collections, composers, series and titles from the folder structure (and a title from a PDF's embedded metadata when it has a real one), counts pages, and generates cover thumbnails for PDFs only.
- The library — search, a cover grid or a list, sorting by title, last played, recently added or bars still to check, and on a wide screen a detail pane beside it with the score's tabs, its transcription's progress and its recent practice. A Continue card offers the score you last practised, with Resume.
- A page for each score — a score opens on its own page with tabs: Read, Play, Proof and Practice for a PDF, Play and Practice for a notation file, and Read and Practice for a PDF marked not to be transcribed. A Timer in the header times a practice session from any of them, and Score details holds its tags, favourite, content type, key, tempo and difficulty.
- Read: the page on a stand — continuous reading, keyboard/pedal page turns (the arrow keys, Page Up/Down and Space, so any Bluetooth pedal that sends one of them works), and it remembers your last page per score. Dark stand inverts the page for the dark and Dim dims it. The Practice room look opens the stand dark and Paper opens it as printed; the button switches, and that choice is then kept on the device. Half page turns half a page at a time. On a wide touch device, such as a tablet or a foldable held landscape, two pages show side by side and turn one page at a time. Spread switches between automatic, on and off, so a desktop window can have it too. On a touch device a quick sideways swipe turns the page, except one that starts at the very edge of the screen, which is left to the browser. Pinch zooms the page and, zoomed in, a drag pans it rather than turning. Double-tap zoom is off on the page on purpose, so two quick taps in Perform are two turns.
- Play: the staff and its player — a MusicXML file, and a transcription made from a PDF, renders interactively and can be switched between standard notation, tablature, or both staves at once, with audio playback, adjustable speed, and a moving cursor. Guitar Pro files are accepted by the scanner and handed to the same renderer's importer, which reads that format natively; a browser spec carries an original Guitar Pro 7 fixture through that whole path (see the format table below). The built-in synthesizer also drives practice tools: with Loop on, tap a bar and then another to loop them, or drag-select a passage (on a touch device, hold a finger on the first beat until a hint appears, then drag or tap to where the loop ends), then drag the handles on the staff to adjust it; a Count-in of one or two bars; a Click that keeps time with the playback; and, in the loop's settings (where the count-in's length is set too), a tempo ladder that steps the speed up after a set number of passes. Download MIDI takes the rendered score's playback out of the browser as a standard MIDI file. The staff fits its bars to the width of the screen, plays as one scrolling line in Perform on a phone or tablet, and has three staff themes of its own (Parchment, White on black, Black on white), so it can be drawn light on dark for practising in the dark — see how scores are rendered for what the renderer does, what that layer adds, and why this renderer.
- Tab out of a PDF — engraved guitar PDFs carry their tab as real text and their rhythm in the music font's own glyphs, so Fermata reads both directly instead of guessing at pixels, and renders the result on the Play tab as a playable, editable staff. Three music-font vocabularies are calibrated: Finale's Maestro, Sibelius's Opus, and any font following the SMuFL standard, which covers what free engravers such as MuseScore produce. A score drawn in something else still gives up its fret numbers, with the rhythm estimated from note spacing and labelled as such. The transcription is written as MusicXML, so it opens in other notation software rather than only here — see the tab profile for exactly what is written. Fret numbers are the digits the tab prints, and each transcription grades its own frets: high only when every note the notation shows reached the transcription with a fret number, medium or low by how much did not — a notehead with no fret number to match, or a system that could not be read. Most scores come out medium, with some of the page's notes missing. How much of the rhythm survives depends on the engraving, and whatever stayed uncertain is listed rather than hidden. A bar that does not add up — because its voices were flattened into one, or a note was read short, or one was dropped — is reported as such, and that is a stated conformance rule of the profile, so any MusicXML tool finds the same bars from the file alone. Where one voice of a bar has to be filled out with silence for the bar to play in time, that silence is marked in the MusicXML, counted as missing rather than as read, and the bars it happened in are named. Scanned PDFs have nothing to read and are not transcribed. A tie is written where the curve joining its two notes was matched, and a note the engraving marks as a harmonic is written as one, at the fret the tab prints; a tie drawn across a system break is not matched, and the ends of it that were found are counted rather than half-written. What a transcription couldn't place, and its warnings, sit behind one Notes button on the Play tab (More on a phone) rather than above the staff. A folder, or a selection of scores, transcribes in a single background pass rather than one score at a time (the whole library through the API), and a scan transcribes the PDFs it adds. A PDF that is only to be read, such as a book of exercises, can be marked Don't transcribe this PDF under Score details: it is then only shown, and stays out of transcription and the proof queue.
- Proof: check a transcription against the page — the Proof tab goes through a transcription bar by bar, with the bar cropped from the printed page above Fermata's reading of it: Looks right, Skip, or Fix, which opens the note editor on that bar and moves on once it is saved. Whole page shows the page and the staff side by side instead. The bars still to check are also marked over the staff on the Play tab, and the Proof queue in the nav lists every score with bars left to check, most first, and the PDFs with no tab yet.
- Edit the notes — Edit notes on the Play tab opens the same editor on a transcription or a native MusicXML score: turning a rest into a note, extending a selection across a run of notes so a passage's durations, dots, spelling or string change at once rather than one note at a time (fret entry, ties and voice moves stay per note), and editing the bars themselves: the key signature, the time signature, and inserting or deleting a whole bar. A meter the bar's music does not already add up to is refused, naming the bar and saying how many beats it holds against how many the meter asks for, rather than being applied over a bar that would then be wrong; deleting a bar that carries half of a repeat is refused for the same reason. It refuses to open at all on a score with more than one part, rather than silently editing just the first. An edit is kept alongside the file, which is never rewritten.
- Instruments — define what you actually play: one to 24 strings, any tuning including reentrant ones, a capo, and a reference pitch other than A440. Each string shows the note and frequency it sounds and can be played, because choosing between two positions for the same written note is done by ear, and on an unfretted instrument a heard pitch is the reference rather than a convenience. Instruments live under Settings, and presets cover guitars, basses, ukulele, violin, viola and cello. Choose a score's instrument in the notes on its Play tab, or beside Transcribe this PDF before its first transcription, and the tab is read in that instrument's tuning, in a single transcription and a bulk pass alike; changing it offers to transcribe again. Only six-line tab is read so far, so the instrument's tuning applies when it has six strings.
- Metronome, everywhere — one click, available over a score's playback, on the practice page, and on a page of its own under Trainers, because "I just want a metronome" is a real thing to want from a practice tool. Wherever it appears it arrives already set up for that context — over a score, to that score's tempo and time signature — and every pre-filled value is still adjustable, because a marking is sometimes wrong, sometimes aspirational, and frequently not the speed a passage should be practised at today. Tempo is settable as a proportion of the score from 15% to 175% (far below half speed, because for a passage that is beyond you half speed is not slow enough) or as a fixed number, one beat per minute at a time. When a setting asks for a click slower or faster than one can actually be sounded, it shows the rate it is really clicking at and says plainly that it is at the end of its range, rather than leaving a percentage on screen that has stopped describing what you hear. It does not use the renderer's own metronome, which cannot run at a tempo different from the notes beside it — see how scores are rendered.
- Practice tracking — a session timer per score, with Recent and Needs attention views so the library reflects what you are actually working on. A session can record what the work was: which bars (or pages, through the API), at what tempo, section work or a run-through, and how it went. A score's Practice tab shows its own time, tempo session by session, how it went and its goals. Practice that is not a score at all — technique, ear training, playing freely — is recorded the same way and in the same history (the data model); it can be timed on the practice page and closed with how it went and a note. Any session in the practice page's list can be edited or deleted, and one long enough to be a timer left running is marked so it is easy to put right. A session sent again after a dropped connection is stored once.
- Hear a note, name it — the first exercise: a pitch sounds, and you name it from four. The three you did not hear are chosen to be worth confusing — a semitone away, the same name an octave out, and one a few semitones off — because four notes far apart teaches nothing. Hear it again as often as you like, before and after answering, and nothing counts that. With one instrument defined the drill draws from that instrument's own range; otherwise it uses a plain four octaves unless you pick an instrument, because Fermata knows what you own and not which one is in your hands. Two counts are stated and nothing is graded: there is no accuracy percentage and no streak, and a note you could not name is what the practice consists of. The time lands in your practice history as ear training and counts towards a weekly goal like anything else.
- Fretboard drills — Fret to note asks in both directions: a position is shown and you name what it sounds, or a note is named and you tap where it lies. Chord flash cards does the same for major, minor and seventh shapes, both open-position and moveable barre forms, with each chord's tones named from its own root rather than off a fixed table. Either can be narrowed to the strings, the fret range and the key you are actually working on, and that scope can be saved under a name and picked up again in either drill. Every answered question is stored as a structured row — which positions and which chords were missed, counted, never divided into an accuracy percentage — and Fret to note shows its most-missed positions back beside the questions, as Positions answered incorrectly (the data model). The time lands in your practice history like anything else.
- Weekly goals, and an honest review — how many days you mean to practise and for how long, on what. While the week runs it says where you stand so the goal can still change it; afterwards it states plainly what happened and asks whether the goal was realistic. No streaks, no comparison with a better week, and nothing that grades you for a week that did not go to plan.
- Setlists — ordered collections of scores to work through: a gig set, a
lesson plan, a practice rotation. Name one, add scores, and arrange the order
by hand — the order is kept, not left to chance — with each score's own
practice progress shown beside it, then Start practising to work
through it in the ordinary viewer. The viewer steps to the next and
previous score (or
]and[, which no page-turn pedal sends), says where you are ("2 of 5") - in Perform too - and goes back to the setlist rather than the library. Add to a setlist from the score itself or from a selection in the library. A score can be in several setlists at once; removing it from one, or deleting a setlist outright, never deletes the score or its history. A score you have sent to the trash, or whose file has gone missing, stays in its setlists, marked, rather than becoming a dead link, and the walk through steps over it. - Perform — fullscreen, screen kept awake and half-page turns for a
tablet on a music stand. On a PDF the whole page is the tap target: a tap on
either side turns, a tap in the middle shows the controls. It is on the
Read, Play and Proof tabs, or press
F;Escleaves. - Organise — collections (from your folder layout), free-form tags, favourites, content-type labels (notation / tab / notation + tab), search by title, composer, source, series, tag and key, and duplicate detection by file contents. A key signature, a tempo and a 1-5 difficulty rating can be set per score too — the key is filled in on its own from a transcription's decoded key when one is transcribed and left alone once set by hand — and the library grid filters by key and difficulty (a tempo range is available through the API).
- Reorganise, from the app — move scores, make and rename folders, and move a batch in one go (renaming a single file is in the API). The change is applied to the real file on disk and the score follows it, so its practice history, tags, goals and any transcription stay attached. Moving a batch shows you line by line what it will do before it does it, and a move never overwrites a file.
- Delete that isn't destruction — deleting a score moves its file to a trash folder inside your library and keeps everything hanging off it; Trash puts it back exactly as it was. Destroying it for good is a separate, deliberate second step that tells you what it will destroy — and even then, the practice you logged against it stays in your history.
- Upload — pick files with the library's Upload button; they land in
an
Uploadsfolder in your library and a scan picks them up at once. A name that is already taken asks before replacing anything. - Looks, and your data — two looks under Settings: Practice room (dark, the default) and Paper (light). Export library under Your data saves everything, files included, as one archive, and importing one adds what it holds without replacing what is there.
- Single container — SQLite inside, two volume mounts, no external services.
- A documented REST API — everything above is one client of
/api, which is documented, not just present:/docsfor interactive Swagger UI,/openapi.jsonfor the schema itself, generated from response models kept in sync with what each endpoint actually returns. Enough to script the library, log practice, or build a companion app against — see the API guide. A companion server, off by default, speaks the Model Context Protocol, an open standard for describing a set of tools to a program that reads them — a structured-data interface offering a fixed set of read-only tools built from that same API rather than a second copy of it; see the deployment guide.
Quick start
git clone <this repo>
cd fermata
mkdir -p library config
# put some sheet music in ./library (PDF, MusicXML, Guitar Pro)
BUILD_COMMIT=$(git rev-parse --short HEAD) BUILD_DATE=$(date -u +%Y-%m-%d) docker compose up --build -d
The two build variables stamp the image so GET /api/version can tell you
which commit is running; without them it reports dev.
Open http://localhost:8080 — your library is scanned automatically on startup, or press Scan library at the top of the library.
See the deployment guide for backups, upgrading, and current limitations — read that before deciding whether this belongs on your home network.
Volumes
| Mount | Purpose |
|---|---|
/data/library |
Your sheet music files (read + uploads) |
/data/config |
Database, thumbnails, cache — back this up |
Fermata creates /data/config if it needs to, but never /data/library — a
library folder that isn't there is usually a volume that didn't mount, and an
empty one is indistinguishable from a library with nothing in it. It stops with
an explanation instead, and under the compose file's restart policy it comes
back by itself once the mount appears.
Development
Backend (FastAPI, Python 3.12):
cd server
pip install -e .
FERMATA_LIBRARY=../library FERMATA_CONFIG=../config uvicorn fermata.main:app --port 8080 --reload --no-proxy-headers
--no-proxy-headers turns off uvicorn's own X-Forwarded-For handling, which
would otherwise let a request carrying that header rewrite what Fermata sees
as its peer address - see docs/deployment.md's "Reverse proxy
authentication" section for why that matters even for a plain dev server
bound to loopback.
Frontend (Svelte 5 + Vite, proxies /api to :8080; needs Node 22):
cd web
npm install
npm run dev
Everything to do with drawing a staff — appearance, responsive layout, and the
renderer's quirks — lives in web/src/lib/render/, behind the
web/src/lib/score-render.js facade; components never touch the renderer
directly. docs/rendering.md explains
that boundary and the decisions behind it.
Tests:
cd server
pip install -e ".[dev,mcp]"
python -m pytest -q
Tests that need real sheet music read it from FERMATA_TEST_LIBRARY and skip
when it is unset. Setting FERMATA_MUSICXML_XSD to a local copy of the
MusicXML 4.0 schema additionally validates the emitted transcriptions against
it — see the tab profile.
Formats
| Format | How it reads |
|---|---|
| PDF, engraved with a tab staff | Read, plus transcription to MusicXML — a playable staff on Play, checked against the page on Proof, and a file other notation software reads (profile) |
| PDF, engraved without tab | Read only; nothing to transcribe from |
| PDF, scanned | Read only — a scan holds no text or glyphs to read |
MusicXML (.musicxml, .mxl) |
Play: notation, tab or both as the file allows, with audio, and hand-editable when it has one part and a string tuning — an edit is kept alongside the file, which is never rewritten |
Guitar Pro (.gp3–.gp5, .gpx, .gp) |
Scanned and indexed, then handed to the renderer's own importer, which reads the format natively: Play, but not the note editor |
A PDF is a fixed rendering, so the notation/tab switch belongs to the structured formats — and to a transcription made from a PDF, which the Proof tab checks against the page it came from. There's a bundled demo (the Notation and tab demo link at the foot of the library) if your library is PDF-only so far.
Roadmap
- Tuplets when transcribing — the largest remaining gap between a transcription and a score you could practise from, and the reason bars still overfill once voices have been separated
- Grace notes when transcribing — currently read as ordinary notes and given a duration they do not have, which overfills the bar they sit in
- A harmonic's DURATION — the note is marked as a harmonic, but a diamond notehead's own value is still not calibrated, so a harmonic engraved as a half note reads as a quarter
- Tab with other than six lines — seven-string guitar, four- and five-string bass and four-line ukulele tab, read against the instrument they are written for
- Interval and reach drills — finding the third, the fifth or the octave from a given position, and widening a fret span on purpose. The fretboard drills that exist today test recall, not reach
License
The score player is built on alphaTab (MPL-2.0), which draws a small "♪ alphaTab.net" mark on longer scores. It stays: see docs/rendering.md.
Most of the interface's icons are from Lucide (ISC); its
notice travels with them in web/src/lib/ui/icons.js.
Explorer des projets similaires
Chargement…