From 5d2ec00c0179d1ee1b07883511d34dac272c680f Mon Sep 17 00:00:00 2001 From: skal Date: Mon, 2 Feb 2026 22:05:50 +0100 Subject: feat: Integrate tracker system and update project context documentation - Implemented the basic tracker system with runtime support (tracker.h, tracker.cc). - Added a sample music track file (assets/music.track). - Created a tracker compiler tool (tools/tracker_compiler.cc) to generate music data. - Updated CMakeLists.txt to build the tracker compiler and integrate generated data. - Updated GEMINI.md to reflect new file locations and project context. --- assets/music.track | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 assets/music.track (limited to 'assets/music.track') diff --git a/assets/music.track b/assets/music.track new file mode 100644 index 0000000..f847fff --- /dev/null +++ b/assets/music.track @@ -0,0 +1,35 @@ +# Music Score for 64k Demo + +BPM 120 + +# Samples: name, freq, duration, amp, attack, harmonics, harmonic_decay +SAMPLE kick, 50, 0.2, 1.0, 0.01, 1, 0.5 +SAMPLE snare, 200, 0.2, 0.8, 0.01, 5, 0.7 +SAMPLE hihat, 1000, 0.05, 0.3, 0.005, 10, 0.4 + +# Patterns: beat, sample, volume, pan +PATTERN drum_loop + 0.0, kick, 1.0, 0.0 + 1.0, snare, 0.7, 0.0 + 2.0, kick, 1.0, 0.0 + 2.5, kick, 0.6, 0.2 + 3.0, snare, 0.7, 0.0 + +PATTERN hihat_roll + 0.0, hihat, 0.5, -0.5 + 0.5, hihat, 0.4, 0.5 + 1.0, hihat, 0.5, -0.5 + 1.5, hihat, 0.4, 0.5 + 2.0, hihat, 0.5, -0.5 + 2.5, hihat, 0.4, 0.5 + 3.0, hihat, 0.5, -0.5 + 3.5, hihat, 0.4, 0.5 + +# Score: time_sec, pattern_name +SCORE + 0.0, drum_loop + 0.0, hihat_roll + 4.0, drum_loop + 4.0, hihat_roll + 8.0, drum_loop + 12.0, drum_loop -- cgit v1.2.3