v0.63.0: DJ mode — two decks, sync, keep-pitch speed, scratching, vocal stems
View > DJ Mode (or the turntable button under BPM) parts the window under the transport boxes and opens a dark shelf: a record per deck (drag a song on to load it; drag the record to scratch), play/pause and Sync to other track beside it, a ±8% speed fader on each edge, Keep pitch, the two waveforms stacked around one playhead, a vocals/instrumental slider and the crossfader. Deck A is blue, Deck B orange; loaded songs are tagged in the lists. Its own engine (lintunes/dj): whole-song decode, tempo refined to 0.01 BPM plus the first beat (exact on synthetic kicks), WSOLA time-stretch or varispeed, a QAudioSink on its own thread. Sync matches tempo and, while both play, nudges the beats into line. A missing BPM is calculated and saved. Vocals come from Demucs, run once per song in the background and cached; Demucs lives in its own venv.
This commit is contained in:
@@ -26,6 +26,15 @@ def _no_real_device(monkeypatch):
|
||||
monkeypatch.setattr(device_sync, "find_device", lambda: None)
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def _no_dj_sound(monkeypatch):
|
||||
"""DJ mode's sink never opens in a test: the mixer would play the decks
|
||||
out of the real speakers (Round 93)."""
|
||||
from lintunes.dj import output
|
||||
monkeypatch.setattr(output.DjOutput, "start", lambda self: None)
|
||||
monkeypatch.setattr(output.DjOutput, "stop", lambda self: None)
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def _no_real_sound(monkeypatch):
|
||||
"""No test may play the finish "tink" out loud: every test that runs an
|
||||
|
||||
Reference in New Issue
Block a user