ZIGMOON DESIGN

designer Simon Dupont-Gellert

CUT THE FLOW v3.7.5 — Audio Pipeline Audit

Released — May 24, 2026

Audio Quality — End of the Crackles fix

  • AudioContext locked to 48 kHz — built with { sampleRate: 48000, latencyHint: 'playback' } → no more browser resampling artifacts on MP3/AAC sources
  • Opus bitrate doubled — export audioBitsPerSecond bumped 128 kbps → 192 kbps on both primary and fallback MediaRecorder paths (matches optimized-export.js)
  • Seed-once audio sync — export per-frame loop no longer writes audioEl.currentTime on every frame (the cause of decoder click/crackle). Seek once at clip entry, then only resync on catastrophic drift (> 250 ms)
  • Preview drift threshold — relaxed during playback (0.25 s while playing, 0.05 s when paused) → no micro-seeks while listening
  • playbackRate + preservesPitch enforced each tick → zero time-stretch artifacts

Extract Audio — No More Double Playback fix

  • Source video is now marked audioUnlinked = true + audioMuted = true after extraction → no more double audio / clipping when both the video clip and the extracted audio track play together
  • Extraction now uses media.originalUrl (full-quality source) instead of the lightweight preview proxy

→ Open CUT THE FLOW