v0.67.0: the air horn done properly; djay-style loops; a gentler grab zoom
Air horn: the recording's first blast wobbles on a ~0.15 s cycle, so the old 0.30 s loop jumped every lap (the repeating beat). Held, it now loops exactly one cycle (found by self-similarity), levelled and crossfaded; a release crossfades into the recording's own ending, so a click is a short blast that trails off; each press cuts a still-sounding blast in 25 ms, so taps stay separate. Exact at any block size. Loops start on the nearest beat (djay's Quantize), and resizing a running loop keeps its start and keeps looping. Grabbing a waveform zooms out only a little, gently, and drags at the zoom it was grabbed at. The sync button just says Sync.
This commit is contained in:
@@ -433,9 +433,24 @@ persistence) → GUI (Qt widgets that read the manager and connect to its signal
|
||||
both waveforms. **Sync sets once** (trav's call): it puts this deck at the
|
||||
other's tempo and stays lit only while that holds (`_check_sync`: same
|
||||
song on the other deck, tempos still equal) — nothing follows anything.
|
||||
**The horn** plays like a real DJ horn: every press a fresh blast (older
|
||||
ones fade under it), held = the first blast's steady middle looped, let
|
||||
go = a 90 ms fade. **Opening/closing slides a picture** (`SlideOverlay`):
|
||||
**The horn** (Round 97, the third go — measure before touching it): the
|
||||
recording's first blast wobbles in pitch and loudness on a ~0.15 s
|
||||
cycle, so a loop cut against that cycle *is* a repeating beat. Held, it
|
||||
loops exactly one cycle (`Horn.LOOP` 0.0779 s + 0.1494 s, the best
|
||||
self-similarity, corr 0.81), levelled (envelope divided out: min/max
|
||||
0.74 → 0.88) and crossfaded equal-power; a press is a fresh blast and
|
||||
cuts any still sounding in 25 ms (taps stay separate); a release, after
|
||||
at least `MIN_BLAST` 0.18 s, crossfades into the recording's own ending
|
||||
(`TAIL` 0.42–0.60 s: the pitch drop and fade) — a click is a 0.37 s BWAH
|
||||
that trails off. `render` works in pieces that stop at each state change,
|
||||
so a block's size never changes the sound. test_round97 holds all of it
|
||||
to numbers (no step bigger than the recording's own, held swing > 0.7).
|
||||
**Loops** (Round 97, djay's Quantize behaviour): a loop starts on the
|
||||
*nearest* beat (it may be just behind — playback carries on inside it);
|
||||
under a beat, it snaps to its own grid; resizing keeps the start and
|
||||
folds a playhead left outside back in, so it never breaks out. The
|
||||
zoomed lanes ease out only ×1.35 when grabbed, and a drag converts
|
||||
pixels at the zoom it was grabbed at. **Opening/closing slides a picture** (`SlideOverlay`):
|
||||
the window jumps to its final layout once and a grab of what was below
|
||||
the transport boxes moves over it — animating the real shelf height
|
||||
re-laid-out the window every frame, which flickered.
|
||||
|
||||
Reference in New Issue
Block a user