mirror of
https://github.com/smittix/intercept.git
synced 2026-04-28 00:30:00 -07:00
Scottie modes place their horizontal sync pulse between the Blue and Red channels. The decoder was using a fixed offset to skip over it, so any SDR clock error accumulated line-by-line and produced a visible diagonal slant in the decoded image. Fix: search for the actual 1200 Hz sync pulse in a ±10% window around the expected position before decoding the Red channel, then align to the real pulse. This resets accumulated clock drift on every scanline, the same way Martin and Robot modes already handle their front-of-line sync. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>