summaryrefslogtreecommitdiff
path: root/assets/music.track
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-02 22:05:50 +0100
committerskal <pascal.massimino@gmail.com>2026-02-02 22:05:50 +0100
commit5d2ec00c0179d1ee1b07883511d34dac272c680f (patch)
treebdb50394baa8c5df1ac64e39a9560b0d5d8e0fcc /assets/music.track
parent4fc02a8d2acf1eafce36c1348261890d54b8b5b5 (diff)
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.
Diffstat (limited to 'assets/music.track')
-rw-r--r--assets/music.track35
1 files changed, 35 insertions, 0 deletions
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