From 458b00d254f5e3b1fece6e57462769ce43c96a72 Mon Sep 17 00:00:00 2001 From: skal Date: Thu, 5 Feb 2026 00:03:44 +0100 Subject: docs: Extract sequence documentation to dedicated SEQUENCE.md file Moves comprehensive sequence system documentation out of demo.seq into a proper documentation file, keeping the timeline file clean and focused. Changes: - New file: doc/SEQUENCE.md with complete .seq format reference - Streamlined: assets/demo.seq reduced from 207 to 104 lines - Updated: README.md to include SEQUENCE.md reference Benefits: - Easier to read and navigate the actual timeline - Documentation separately viewable in markdown - Better for version control (timeline vs doc changes separated) - Follows project convention of dedicated doc files - Makes demo.seq more approachable for quick edits The timeline file is now 50% smaller while all documentation remains easily accessible in the standard doc/ directory. --- assets/demo.seq | 137 +++++--------------------------------------------------- 1 file changed, 10 insertions(+), 127 deletions(-) (limited to 'assets/demo.seq') diff --git a/assets/demo.seq b/assets/demo.seq index 0d73374..35935a7 100644 --- a/assets/demo.seq +++ b/assets/demo.seq @@ -1,139 +1,22 @@ # ============================================================================ # DEMO SEQUENCE DEFINITION # ============================================================================ -# This file defines the timeline and layering of visual effects. +# Defines the timeline and layering of visual effects for the demo. # Compiled by seq_compiler into src/generated/timeline.cc at build time. # -# DEBUGGING & VALIDATION: -# Validate without generating code: -# ./build/seq_compiler assets/demo.seq +# DOCUMENTATION: See doc/SEQUENCE.md for complete syntax reference # -# Generate ASCII Gantt chart: -# ./build/seq_compiler assets/demo.seq --gantt=timeline.txt +# QUICK REFERENCE: +# SEQUENCE [optional_end] +# EFFECT # -# Generate HTML/SVG Gantt chart (recommended): -# ./build/seq_compiler assets/demo.seq --gantt-html=timeline.html -# Open timeline.html in browser for interactive visualization +# Time notation: 0b (beats), 0.0 (seconds) +# Priority: Higher numbers render later (on top) # -# All modes can be combined: -# ./build/seq_compiler assets/demo.seq timeline.cc --gantt=t.txt --gantt-html=t.html +# VALIDATION & VISUALIZATION: +# ./build/seq_compiler assets/demo.seq # Validate only +# ./build/seq_compiler assets/demo.seq --gantt-html=t.html # HTML Gantt # -# BPM 120 -# -# -# SYNTAX: -# -# END_DEMO