From a3583f4c704bb14e02f49cade6996e215d0ee6b4 Mon Sep 17 00:00:00 2001 From: skal Date: Mon, 16 Feb 2026 16:16:13 +0100 Subject: feat: Add FlashEffect for audio/visual sync testing - FlashEffect: Beat-synchronized white flash using ShaderComposer - Loads shader from assets (flash.wgsl) with sequence_uniforms include - Uses pow(1.0 - beat_phase, 4.0) for sharp flash at beat start - Updated test_demo.seq to use FlashEffect (was HeptagonEffect) - Added FlashEffect to test suite (test_demo_effects.cc) - Made cnn_test conditional on main workspace (fixes build error) - Flash intensity: 1.0 at beat start, fades to 0.0 by beat end Co-Authored-By: Claude Sonnet 4.5 --- workspaces/test/timeline.seq | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'workspaces/test/timeline.seq') diff --git a/workspaces/test/timeline.seq b/workspaces/test/timeline.seq index 3cbfb93..8907014 100644 --- a/workspaces/test/timeline.seq +++ b/workspaces/test/timeline.seq @@ -2,7 +2,7 @@ # Minimal timeline for audio/visual sync testing # BPM 120 (set in test_demo.track) -SEQUENCE 0.0s 0 "Main Loop" -EFFECT + FlashEffect 0.0s 16.0s +SEQUENCE 0.0 0 "MainLoop" +EFFECT + FlashEffect source -> sink 0.0 16.0 -END_DEMO 32b +END_DEMO 32.0 -- cgit v1.2.3