Repository navigation
Release 4: groundwork for the app
Groundwork for the desktop app: everything the GTK application will need from the library, usable from Python without a display.
Upgrade note
Run uv run stickler setup once after updating. Models now count as set up only after their setup has finished, and an existing install does not have the new record of that yet. Until it does, stickler doctor reports "weights missing" for every model with weights except Beat This!, and stickler notate --mode quality stops with "not set up" instead of running. Weights you already have are used again; the step only writes the record.
Added
- Progress:
notate,transcribe_songandsetup_adaptersreport each step as it starts and ends, and whether it came from the cache.stickler notateandstickler setupprint the steps. - Cancellation:
api.CancelTokenstops a running analysis or setup. The model or setup process ends within a second, and a cancelled step leaves nothing in the cache. In the terminal, Ctrl+C does the same; press it twice to stop at once. - Readiness:
api.mode_ready("fast")lists the models of a mode that are not set up. An analysis names them before it starts any model, instead of failing halfway. - Bar map:
Notation.barsgives, for every bar of the song, its start and end in seconds and the bar of the sheet music it is written as, through repeats, pickups and multi-bar rests. - Corrections:
api.Correctionsfixes half or double tempo, the beats per bar and which beat is the first "one". On an analysed song a correction takes well under a second and runs no model. api.render_hits: the detected hits as a WAV file of clicks, as long as the song, in three pitches (kick, snare and toms, cymbals).
Changed
stickler doctorchecks the environments and weights the same way as the analysis does. An environment left behind by an interrupted setup, or a half-finished download, no longer counts as ready.stickler setupremoves leftover partial downloads from an interrupted setup.- The library runs on Python 3.12 to 3.14; the models keep their own Python 3.12 environments.
Fixed
- Ctrl+C during
stickler notateorstickler setupno longer leaves the model running in the background.
Full changelog: v3...v4