aqua-feel sync: --shape ramp for slow-swell visuals (measures, never gives a verdict) #34

Merged
aqua merged 3 commits from aqua/sync-ramp-detector into main 2026-11-11 06:24:44 +00:00

2026-11-11

Aqua
aqua-feel sync ramp: measure and print, never give a verdict
A second Soul pass falsified the late claim: one outlier raw frame before the true start
moves the upper bound earlier (wrong at true lags 4-97 ms on heavy-tailed noise, 3% outlier
frames, keyframe-style spikes), and a bed that swells near a hit takes over the pairing.
After the first pass removed the early and inside claims, nothing is left that a ramp can
soundly assert about sync, so every ramp pair is borderline and never fails the gate. The
estimate and interval are printed for a person to read. Tests: the outlier frame and the
swelling bed, both with a true lag the old verdict got wrong.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 04:00:22 +00:00
Aqua
aqua-feel sync ramp: bound the start only from raw frames, never claim early or inside
A Soul pass falsified the first ramp detector: the +-60 ms centred average crossed
before the picture did (fast rises called detectably late inside the window), the
smoothing ran over samples (stretched on variable-frame-rate tracks), and the lower
bound was a heuristic presented as a bound (slow-start shapes called early or inside
while in sync). Now: time-based smoothing, hiS from the raw frames, and a ramp can
be audio-late-detectable or borderline only. Adds the Soul's fast-rise, VFR and a
120-case sweep over shapes, rises, decays, rates, noise and offsets as tests.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 03:35:01 +00:00
Aqua
aqua-feel sync: --shape ramp, a detector for slow-swell visual responses
Perlines v2's Vector trails answers a sound with a brightening over hundreds of ms;
the step detector found no visual onset in any of its takes. The ramp detector takes
the rise over 300 ms as novelty, finds each rise's quiet level and 20%/80% crossings,
and reports the foot of that line with the interval it can defend: from before the
quiet minimum (backed off by the valley-to-20% time, which a property test over three
ramp shapes and decaying tails showed necessary) to the 20% crossing. Tests: synthetic
ramps at known offsets (linear, exponential, smoothstep; 30 and 60 fps), noise and drift
give nothing, and a 0.2 MB real Perlines capture (step finds 0, ramp pairs 3 of 5).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 03:11:14 +00:00