You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PLANS.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,9 +29,8 @@ M1 should include:
29
29
30
30
Use this section as the current execution order for agent work. Feature document numbering describes the planned product sequence, but actual issue order may change as dependencies, review feedback, or implementation risks become clearer.
31
31
32
-
1.#5 Lookahead Scheduler -> `docs/features/03-lookahead-scheduler.md` (PR #14 in review)
Copy file name to clipboardExpand all lines: docs/data-model.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,19 @@ Early clips may contain both drum events and note events. This keeps the M1 edit
28
28
29
29
Later, the model can evolve toward separate drum, MIDI, and audio clip types if arrangement and editing workflows need stronger separation.
30
30
31
+
## Initial Drum Clip Implementation
32
+
33
+
The initial drum step sequencer stores drum hits as serializable `DrumEvent` objects in the selected hybrid clip. A 16-step grid maps step indices to ticks with `stepIndex * 120`.
34
+
35
+
Initial drum lanes map to bundled sample IDs:
36
+
37
+
-`kick` -> `kick`
38
+
-`snare` -> `snare`
39
+
-`closedHat` -> `closed-hat`
40
+
-`openHat` -> `open-hat`
41
+
42
+
Drum event IDs are deterministic within a clip using the clip ID, lane ID, and start tick. Runtime playback converts these serializable events into audio engine sample loop events; the project model itself does not store `AudioBuffer` or other Web Audio objects.
43
+
31
44
## Illustrative Types
32
45
33
46
These snippets show model intent. Implementation may refine names and fields, but changes to model semantics must update this document.
0 commit comments