v0.65.0: DJ mode round three, and the small things

- The shelf is revealed in place: the decks don't stretch or squeeze as
  the window parts.
- The DJ button is the top row's last box (where bpm was), so it stays
  put; bpm moved under it.
- Tempo, vocals and the crossfader snap to their middle and show it. The
  vocals slider has icons, lined up with its ends and middle.
- Sync sticks: a synced deck follows the other's tempo, glows and says
  Synced until its own tempo fader moves. The ½×/1×/2× switch re-syncs,
  and the BPM line says when it's counted half or double.
- A back-to-the-start button per deck.
- The air horn is a real recording (CC0): tap for the phrase, hold to
  stretch the first blast.
- The zoomed waveforms ease out while a deck is paused or held.
- DJ audio follows a change of output device instead of going silent.
- A new playlist folder is named in place, scrolled into view.
- Visualizer bars: choose how many, 1 to 1024 (one per pixel at most).
- The volume slider is as tall as the scrubber.
This commit is contained in:
2026-10-17 04:00:34 -07:00
parent 6d6a0c2385
commit e00aafefba
21 changed files with 807 additions and 179 deletions
+16
View File
@@ -406,6 +406,22 @@ persistence) → GUI (Qt widgets that read the manager and connect to its signal
air-horn button (held = longer; `audio.Horn`, synthesised). The
transport's visualizer draws the mix in DJ mode (`Mixer.tap` →
`VisualizerWidget.set_dj_source/feed_dj`). The sidebar art hides.
**Round 95**: the shelf is laid out at its full height on a body
(`set_layout_height`) and only *revealed* by the opening — the decks
never squeeze. The DJ button is the top row's last box (it swapped with
bpm, which is under it in the header row), so it doesn't move when the
window parts. `dj_shelf.SnapSlider` is every DJ slider with a middle
(tempo, vocals — `VocalSlider`, icons over its ends and middle —
crossfader): a centre line and a snap. Sync is **sticky**: a synced deck
follows the other's tempo every tick (`_follow`), glows and says
"Synced", until its own tempo fader moves; only one deck follows; the
½×/1×/2× switch re-syncs a synced pair (`sync_ratio` folds any number of
octaves). |◀ per deck. The air horn is a real recording
(`sounds/airhorn.mp3`, CC0, see `sounds/CREDITS.md`): a tap plays the
phrase, holding loops its first blast. The zoomed lanes ease out ×2
while a deck is paused or held. The sink reopens when the system's
default output changes (`output._Pump`: `audioOutputsChanged`, a device
id check, an error check) — it used to go silent until DJ mode reopened.
- **`lintunes/importers/itunes_importer.py`** — parses the iTunes XML plist.
Remaps Mac `file:///Volumes/...` paths to the local `--music-root` with