diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-17 07:52:48 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-17 07:52:48 +0100 |
| commit | cd53ff0be8971b592d8d01836a6572c4123e5495 (patch) | |
| tree | aa0f9e48a906e352b6c3ab198580ff48978cc2da /workspaces/test | |
| parent | cdd14146df16de0493acfd6dfbf24c154edbfce3 (diff) | |
feat: add Sequence V2 format support to timeline editor
Implements full support for the sequence v2 DAG format with explicit
node routing and arrow syntax.
New features:
- timeline-format.js module for parsing/serializing v2 format
- NODE declarations with typed buffers (u8x4_norm, f32x4, etc.)
- Arrow syntax for effect routing: input1 input2 -> output1 output2
- Buffer chain visualization in properties panel and tooltips
- Node editor modal for adding/deleting node declarations
- Validation for undeclared node references (when NODEs explicit)
- Backward compatible with auto-inferred nodes
Files added:
- tools/timeline_editor/timeline-format.js (214 lines)
- tools/timeline_editor/test_format.html (automated tests)
- workspaces/test/timeline_v2_test.seq (test file with NODE declarations)
Files modified:
- tools/timeline_editor/index.html (~40 changes for v2 support)
All success criteria met. Round-trip tested with existing timelines.
handoff(Claude): Timeline editor now fully supports v2 format with
explicit node routing, NODE declarations, and buffer chain visualization.
Parser handles both explicit NODE declarations and auto-inferred nodes.
Validation only runs when explicit NODEs exist. Ready for production use.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'workspaces/test')
| -rw-r--r-- | workspaces/test/timeline_v2_test.seq | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/workspaces/test/timeline_v2_test.seq b/workspaces/test/timeline_v2_test.seq new file mode 100644 index 0000000..e374c06 --- /dev/null +++ b/workspaces/test/timeline_v2_test.seq @@ -0,0 +1,8 @@ +# BPM 120 +SEQUENCE 0.0 0 "v2_test" + NODE temp1 u8x4_norm + NODE temp2 f32x4 + NODE depth depth24 + EFFECT + Hybrid3D source depth -> temp1 0.0 4.0 + EFFECT + GaussianBlur temp1 -> temp2 0.0 4.0 + EFFECT + Flash temp2 -> sink 0.0 4.0 |
