Skip to content

Fix track-load freezes, sync timing and tuning-aware key matching - #4

Merged
NathansDomainSolutions merged 8 commits into
mainfrom
fix/mix-reliability
Nov 17, 2026
Merged

NathansDomainSolutions merged 8 commits into
mainfrom
fix/mix-reliability

Conversation

@NathansDomainSolutions

@NathansDomainSolutions NathansDomainSolutions commented Oct 29, 2026 •

Copy link
Copy Markdown
Owner

Track drops could stall the interface through full-file reads, downmixing, waveform generation, scratch-buffer copies and simultaneous decoder completions. Version 0.3.10-beta reads and prepares tracks on the worker, transfers samples without another full-song copy, copies PCM in small yielding chunks, and serializes large decodes while skipping superseded queued loads. Waveform sizing uses resize notifications instead of forcing layout each frame.

New AI separation starts only from Prepare AI stems, one loaded track at a time. Cached stems still load automatically. Worker errors reject pending loads and recreate the worker on retry; a 30-second deadline handles stalled worker jobs without falling back to blocking UI computation.

This PR also contains the 0.3.9-beta transport/sync and tuning-aware key-matching fixes, current-section/manual-grid handling, tempo-only sync feedback, focus-loss nudge release, C/D meters, damaged-library protection and updated packaging dependencies.

Validation: local unit, UI, worker/recovery and full-length stereo-drop tests pass. The final native ARM64 executable loaded the two longest available real songs with the installed AI model and a 62 ms maximum UI gap; the simultaneous 7.5-minute stereo/replacement test measured 74 ms. The load test also passes with 12× CPU throttling (547 ms maximum gap). It checks serialized decoding, retained playback buffers, latest-selection behavior and zero automatic AI jobs. Targeted audio regressions pass. Latest Windows x64 CI has passed the unit, UI and loading checks; its eleven-scenario audio suite is running. The local 0.3.10-beta ARM64 ZIP matches the final source.

Limits: the exact permanent hang was not reproduced; measurable loading stalls and automatic heavy work were identified and removed from the drop path. Physical DJ hardware and full AI model quality were not re-tested. Explicit AI jobs and very long files still require substantial resources. Separate headphone cue remains unavailable, and some recordings need manual grid correction. This PR does not publish a release.

@NathansDomainSolutions
NathansDomainSolutions marked this pull request as ready for review October 29, 2026 22:42
@NathansDomainSolutions NathansDomainSolutions changed the title Fix sync timing, tuning-aware key matching, and playback reliability Fix track-load freezes, sync timing and tuning-aware key matching Oct 30, 2026
@NathansDomainSolutions
NathansDomainSolutions merged commit c4fd009 into main Nov 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant