v0.64.0: DJ mode round two — vocals models, Prepare for DJ, deck volumes, ½×/2×, scrubbing, air horn

- Preferences › DJ: vocals model (Best / Balanced / Fast) and gentle CPU
  use (a quarter of the cores, lowest priority — measured only ~20%
  slower). Splits are cached per model; a deck uses the best one.
- Prepare for DJ on a playlist or songs: BPM and vocals ahead of time.
- Each deck: a volume fader on the outer edge, labelled beside Tempo; a
  ½×/1×/2× switch for half/double-time counting.
- Drag a waveform to scrub (backwards too).
- Crossfader: a handle twice as tall, a middle line, a snap to centre;
  narrower. "calculated, saved" is gone from the BPM line.
- Keep pitch shows a checkmark. An air horn to hold.
- The visualizer draws the mix; the sidebar art hides in DJ mode.
- The Library button has the transport buttons' 8 px corners.
This commit is contained in:
2026-10-17 03:13:59 -07:00
parent 8298450814
commit 6d6a0c2385
16 changed files with 1029 additions and 97 deletions
+2 -1
View File
@@ -189,6 +189,8 @@ def shelf(qapp, monkeypatch):
made.tracks = tracks
yield made
made.stop()
from PyQt6 import sip
sip.delete(made) # deleted here, never by a GC on some thread
class TestShelf:
@@ -196,7 +198,6 @@ class TestShelf:
a, _ = shelf.views
_loaded(shelf, a, shelf.tracks[0], _clicks(124, 0.1, 10), 124.0, 0.1)
shelf._manager.set_tracks_bpm.assert_called_once_with({1: 124})
assert "calculated, saved" in shelf.bpm_notes["A"].text()
assert shelf.bpm_labels["A"].text() == "124.0"
def test_sync_matches_tempo_and_then_beats(self, shelf):