From 4cc9a30144cab2d967a7bd5542e425d01255b314 Mon Sep 17 00:00:00 2001 From: "prompt.ac/@jeffrey" Date: Wed, 22 Apr 2026 14:49:03 -0700 Subject: [PATCH] lacma-2026 demo: clean audio concat + drop prompt sim + retime narration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Audio sync fix: switching from `ffmpeg -f concat -c copy` (demuxer stream-copy, brittle when source sample rates/PTS differ) to the `concat` filter with full re-encode and explicit aresample on each input's audio: [0:a]aresample=48000:async=1,pan=stereo|c0=c0|c1=c0[a0]; [1:a]aresample=48000:async=1[a1]; [v0][a0][v1][a1]concat=n=2:v=1:a=1[v][a] This ensures sample-aligned, PTS-continuous output across the boundary between demo-viennese and the shutdown strobe. Fixes user-reported "notepat audio playback still isn't heard in time with the video". Sequence simplified — prompt-off simulation dropped. On real hardware prompt.mjs receives "off" to trigger draw_shutdown_anim(); my PIL prompt sim was a full-screen cream box that didn't reflect the actual piece and made the flow feel more fake than it needed to. Cleaner to go boot → notepat → shutdown directly with a byline explaining how the real trigger works. New 19.27s video: 0.00 – 3.00 boot greeting (real capture, own TTS) 3.00 – 17.75 notepat playing the Viennese waltz (real capture) 17.75 – 19.27 shutdown strobe (simulated, matches C code exactly) Narration retimed: cues at 0:06, 0:09, 0:13, 0:16 land squarely on the instrument section, nothing over the boot (has own TTS) or the shutdown (will have own TTS + chime once hardware-recaptured). Caption sequence chip + byline updated to match. Cachebuster v=4 → v=5. --- grants/lacma-2026/demo-narration.md | 22 +++++++++++----------- system/public/lacma-2026/index.html | 14 +++++++------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/grants/lacma-2026/demo-narration.md b/grants/lacma-2026/demo-narration.md index 5cfd6f2669..0e354d10ed 100644 --- a/grants/lacma-2026/demo-narration.md +++ b/grants/lacma-2026/demo-narration.md @@ -1,15 +1,15 @@ -# title: AC Native — full demo narration (intro → prompt → notepat → prompt → off → bye) +# title: AC Native — demo narration (boot → notepat → shutdown) # voice: Daniel # rate: 175 # -# Subtitles only during the notepat section and the brief "type off" -# moment. The intro (0:00–0:03) has its own boot TTS ("hi @jeffrey, -# enjoy Los Angeles!"), and the shutdown animation (0:19.75+) has its -# own TTS + chime baked into ac-native — no narration needed there. +# Subtitles narrate only the instrument section. The boot (0:00–0:03) +# has its own "hi @jeffrey" TTS baked into the recording; the shutdown +# (0:17.75+) will have its own "bye @handle" TTS + chime from ac-native +# once hardware-recaptured. Both left unnarrated to let native audio +# stand on its own. -[0:04] notepat - the default piece. -[0:07] Thirty-two voices, 192 kilohertz. -[0:11] Chord colors track what you play. -[0:14] A Viennese waltz, played live. -[0:18] Back to the prompt. Type 'off'. -[0:20] --silence-- +[0:06] notepat - the default piece. +[0:09] Thirty-two voices, 192 kilohertz. +[0:13] Chord colors track what you play. +[0:16] A Viennese waltz, played live. +[0:18] --silence-- diff --git a/system/public/lacma-2026/index.html b/system/public/lacma-2026/index.html index 7051696f63..56cb2fdeb3 100644 --- a/system/public/lacma-2026/index.html +++ b/system/public/lacma-2026/index.html @@ -617,11 +617,11 @@
@@ -637,16 +637,16 @@
- boot→notepat→waltz→prompt→type 'off'→bye @jeffrey + boot→notepat→Viennese waltz→bye @jeffrey
- +