Add instrument.json manifest for midiboot
Declares how the model may be played from a MIDI sequencer: the entry
and defaults functions, fixed single-event overrides, the velocity (and
where applicable pitch and duration) parameter mapping, the preview
tier, and the curated knobs. Format simulated-instrument-v1; the schema
is defined and validated in proof-of-concept/midiboot.
1 changed file+15−0
instrument.jsonadded+15−0View file
@@ -0,0 +1,15 @@
1+{
2+ "format": "simulated-instrument-v1",
3+ "name": "triangle",
4+ "label": "Triangle",
5+ "entry": "triangle_render",
6+ "defaults": "triangle_defaults",
7+ "fixed": { "strike_count": 1, "seed": 1, "pre_delay_ms": 0, "normalize": 0 },
8+ "velocity": { "param": "strike_velocity", "min": 0.1, "max": 6 },
9+ "preview": { "oversample": 1 },
10+ "knobs": [
11+ { "key": "strike_pos", "label": "strike position", "min": 0.02, "max": 0.98, "default": 0.17 },
12+ { "key": "strike_angle_deg", "label": "strike angle (deg)", "min": 0, "max": 90, "default": 20 },
13+ { "key": "tail_s", "label": "ring-out (s)", "min": 1, "max": 8, "default": 5 }
14+ ]
15+}