Repository navigation
Release/0.5.0 - #83
Merged
Merged
Conversation
- Close temp files before writing to them; Windows can't reopen a NamedTemporaryFile that is still open. - Don't assume audio device names are unique: Windows lists each device once per host API. - Write TSVs with newline="" so csv doesn't emit \r\r\n on Windows. - Run the unit tests on windows-latest too, with FluidSynth from Chocolatey. - README: the conda system-deps step fails on Windows (no fluidsynth or gcc=12.1.0 for win-64); document the build tools and FluidSynth ZIP setup instead, and fix the FluidSynth path pyfluidsynth looks in.
update citations for methods
Windows wheels + sdist on PyPI
add grants to README acknowledgments
The TISMIR paper reports SPARC at 3 kHz, while compute_sparc sampled the held position path at 50 Hz, so the benchmark's smoothness values did not match the paper's. At 3 kHz every audio frame interval (25, 30, 50, 62.5 Hz) spans a whole number of samples and closely spaced MIDI updates stay apart. The rate is SPARC_SAMPLE_RATE, now compute_sparc's default. A full FFT per window is about 140 times slower at that rate. A held path's speed is zero except where a report changes it, and SPARC reads only the bins up to fc, so windowed_spectral_arc_lengths keeps each window's spectrum as a running sum of its nonzero samples at those bins while the windows slide forward, correcting the one-sided gradient at each window's edges. Where that is not cheaper (low rates), it slices and transforms each window as before. The values are the same either way: on random paths at 50, 200 and 3000 Hz every window keeps its status and agrees to 4e-12. A 5-minute piece takes about 7 s at 3 kHz (90 s with a full FFT) and 0.55 s at 50 Hz. smoothness values change; fs=50 reproduces the 0.4.0 ones.
On Ubuntu runners the apt step usually takes about 25 s, but 14 of the last 54 Ubuntu jobs took over a minute and several stalled for 20-45 minutes until cancelled: a slow package mirror, waited on without a limit. Retry dropped downloads, fail the system-package steps after 10 minutes and the job after 30, so a stalled install becomes a quick re-run. Install less on Ubuntu: no recommended packages, which skips qsynth, a Qt GUI for FluidSynth (libfluidsynth3 still brings a soundfont, though matchmaker synthesizes with partitura's bundled one), and no python3-pyaudio (pip builds PyAudio from portaudio19-dev for the setup-python interpreter the tests run in).
…ding Bound Multi-Fold repeat enumeration without changing candidate order
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CarlosCancino-Chacon
approved these changes
Nov 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A new MIDI score follower, Windows wheels, and faster SPARC evaluation. Compatible with 0.4, except that
smoothnessvalues change (see below).Added
method="dannenberg").Changed
SPARC_SAMPLE_RATE) instead of 50 Hz, sosmoothnessvalues differ from 0.4.0; passfs=50tocompute_sparcto reproduce them.arzt_multi_foldbuilds only the repeat unfoldings it uses, so scores with many repeats no longer stall. The hypotheses and their order are unchanged.What's Changed
Full Changelog: v0.4.0...v0.5.0