diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-16 16:16:13 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-16 16:16:13 +0100 |
| commit | a3583f4c704bb14e02f49cade6996e215d0ee6b4 (patch) | |
| tree | 340258c6791ac56ce54bc144befe83af4b0c5fea /workspaces/test/timeline.seq | |
| parent | 6ac4fa8fb8c045232575036f4a140b9a0ec1995a (diff) | |
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 <noreply@anthropic.com>
Diffstat (limited to 'workspaces/test/timeline.seq')
| -rw-r--r-- | workspaces/test/timeline.seq | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
