/ simulated_instruments / recorder
Sign in
simulated_instruments / recorder
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.
Jeremy Magland <jmagland@flatironinstitute.org> committed commit be47a3e606ee parent 5623b11 Browse files
1 changed file+26−0
instrument.jsonadded+26−0View file
@@ -0,0 +1,26 @@
1+{
2+ "format": "simulated-instrument-v1",
3+ "name": "recorder",
4+ "label": "Recorder",
5+ "entry": "recorder_render",
6+ "defaults": "recorder_defaults",
7+ "fixed": { "note_count": 1, "seed": 1, "pre_delay_ms": 0, "normalize": 0 },
8+ "pitch": {
9+ "param": "note1",
10+ "mode": "table",
11+ "table": [
12+ { "midi": 72, "value": 1 }, { "midi": 74, "value": 2 }, { "midi": 76, "value": 3 },
13+ { "midi": 77, "value": 4 }, { "midi": 79, "value": 5 }, { "midi": 81, "value": 6 },
14+ { "midi": 83, "value": 7 }, { "midi": 84, "value": 8 }, { "midi": 85, "value": 9 },
15+ { "midi": 86, "value": 10 }, { "midi": 88, "value": 11 }, { "midi": 89, "value": 12 },
16+ { "midi": 91, "value": 13 }, { "midi": 93, "value": 14 }
17+ ]
18+ },
19+ "velocity": { "param": "breath_pa", "min": 220, "max": 520 },
20+ "duration": { "param": "note_dur_s", "min": 0.15, "max": 4 },
21+ "preview": { "oversample": 1 },
22+ "knobs": [
23+ { "key": "attack_ms", "label": "attack (ms)", "min": 2, "max": 60, "default": 12 },
24+ { "key": "release_ms", "label": "release (ms)", "min": 5, "max": 80, "default": 25 }
25+ ]
26+}
↑↓ move↵openescclose