mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-16 06:19:21 +00:00
WebAudio synth (oscillators, noise channels) can't be captured by the headless renderer — it only picks up file-based <audio> tracks via FFmpeg. This composition demonstrates the fix: a bake-audio.ts script pre-renders chiptune BGM and SFX offline into WAV files using square/ triangle wave math, then the composition references them as standard <audio> elements with data-start/data-duration/data-volume attributes. Composition: 1080×1920 vertical, 28s, 4 scenes — QR scan → console boot → Tetris gameplay (Penrose cursor AI, line clears, score counter) → game over + attribution. Glitch + chromatic aberration transitions.