macos: demo.sh \u2014 boot \u2192 prompt \u2192 notepat waltz, single mkv (Phase D)
End-to-end pipeline tying together the pieces from phases A\u2013C:
- AC_WIN_W / AC_WIN_H env overrides for SDL_CreateWindow so the demo
renders natively at 1280x800 instead of the 640x480 dev default.
Falls back to INITIAL_WIN_* when unset (notepat.app still launches
at its original size).
- scripts/demo.sh ties everything together:
1. Generates a "good afternoon <handle>. enjoy <city>." greeting
via /usr/bin/say (Samantha @ 165 wpm).
2. Runs ac-native with AC_BOOT_ANIM + AC_INJECT_SEQUENCE typing
'notepat<enter>', then an oom-pah-pah 3/4 waltz across four
bars in C minor (Cm \u2192 Fm \u2192 Gm \u2192 Cm) using notepat's z (low
bass), c/e/f/a/g/b (mid chord) keys. 12 notes, 500 ms/beat.
3. Frame-dumps during boot anim + main loop so the video is one
contiguous 60 fps h264 stream.
4. Mixes the synth WAV tap + TTS AIFF with ffmpeg amix (TTS
delayed 167 ms to line up with the boot-anim f==10 cue that
drives the greeting on Linux), then encodes mkv.
- Boot-animation prelude now also dumps frames when AC_FRAME_DUMP_DIR
is set; the piece loop seeds its frame index from there so both
halves of the run form one sequence.
Output: ~/Desktop/ac-boot-shots/demo.mkv \u2014 ~14 s, 1280x800, 60 fps
h264 + 48 kHz stereo aac. Override HANDLE / CITY / HOUR / OUT for
other greetings; KEEP_STAGES=1 preserves /tmp/ac-demo-final for
debugging.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>