p6: the web editor's preset tables by engine (PHASE HARP and DIGITAL MARIMBA as they were; STRING's own); the layout re-pinned

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
This commit is contained in:
Claude committed 2026-10-26 00:46:13 +00:00
1 parent 63b59cf8af
commit df2b176122
2 files changed
+626 -626

No files matched your search

+622 -622
View File
File diff suppressed because it is too large. Load diff
+4 -4
View File
@@ -1336,7 +1336,7 @@ const FM4 = (() => {
P("BRASS", [0, 1, 1, 1, 70, 40, 20, 0], [40, 70, 100, 40], 20, 0, [0, 20, 20, 40], 6),
P("ORGAN", [7, 2, 3, 4, 0, 0, 0, 0], [2, 60, 127, 20], 0, 0, [10, 40, 0, 30], 6),
P("PAD", [5, 2, 1, 3, 40, 90, 10, 0], [80, 90, 110, 95], 0, 0, [0, 60, 30, 70], 5),
P("MARIMBA", [4, 4, 1, 1, 60, 30, 0, 0], [0, 80, 0, 96], 0, 0, [0, 0, 25, 40], 3),
P("MARIMBA", [4, 4, 1, 1, 60, 30, 0, 0], [0, 80, 0, 60], 0, 0, [0, 0, 25, 40], 3),
P("FUNK KEY", [3, 1, 3, 5, 90, 25, 20, 0], [0, 45, 30, 30], 0, 0, [0, 20, 30, 20], 6)];
const TO_FM6 = [0, 1, 2, 3, 6, 4, 5, 7]; /* DIGITAL preset k -> the FM6 preset (its PTCH) covering it */
const ALG = [[0, [3, 4, 5, 6], [1, 1, 1, 1]], [13, [3, 4, 5, 6], [1, 1, 2, 2]], [7, [3, 5, 6, 4], [1, 2, 1, 2]],
@@ -1591,7 +1591,7 @@ function makeMockDevice(opt = {}) {
P("GROWL", [0, 0, 70, 80, 0, 0, 40, 55], [2, 70, 90, 40], 1, 4), P("FB BASS", [1, 0, 45, 60, 0, 0, 70, 35], [0, 60, 60, 25], 1, 2),
P("CZ PIANO", [3, 0, 55, 85, 0, 0, 15, 0], [0, 78, 30, 55], 0, 6), P("GLASS PAD", [6, 5, 45, 35, 14, 0, 0, 0], [60, 90, 115, 95], 0, 5),
P("DIGI STAB", [4, 2, 75, 70, 0, 1, 0, 0], [0, 55, 20, 40], 0, 6), P("SYN BASS", [1, 0, 50, 70, 0, 0, 60, 0], [0, 58, 50, 25], 1, 2),
P("VOX PAD", [5, 4, 35, 30, 10, 0, 0, 0], [70, 95, 115, 100], 0, 5), P("HARP", [3, 0, 70, 90, 0, 0, 0, 0], [0, 85, 0, 112], 0, 3),
P("VOX PAD", [5, 4, 35, 30, 10, 0, 0, 0], [70, 95, 115, 100], 0, 5), P("HARP", [3, 0, 70, 90, 0, 0, 0, 0], [0, 85, 0, 70], 0, 3),
P("PD LEAD", [0, 2, 65, 55, 9, 0, 20, 10], [4, 70, 95, 45], 1, 4), P("RING KEYS", [2, 4, 60, 60, 0, 1, 0, 0], [0, 75, 25, 60], 0, 6)] },
{ name: "LOFI", titles: ["CHIP", "TONE"], edit: [E("CHIP", ["4BIT", "4B/2", "8BIT", "1BIT", "STEP"], 0), E("WAVE", ["PLS", "TRI", "SAW", "NOIS", "WRAM", "BYTE", "FLOAT"], 0), D("DUTY", F.INT, 0, 127, 64),
D("CRUSH", F.PCT, 0, 127, 0), D("CUT", F.CUTOFF, 0, 127, 110), D("VIB", F.PCT, 0, 127, 0), D("BEND", F.PCT, 0, 127, 0), D("MASK", F.PCT, 0, 127, 0)], /* (JIANT 0.4: CUT BEND MASK) */
@@ -1640,9 +1640,9 @@ function makeMockDevice(opt = {}) {
D("DECAY", F.PCT, 0, 127, 72), D("BRIGHT", F.PCT, 0, 127, 60), D("POS", F.PCT, 0, 127, 28), D("STRETCH", F.PCT, 0, 127, 0),
D("BODY", F.PCT, 0, 127, 40), D("SIZE", F.PCT, 0, 127, 40), D("BOW", F.PCT, 0, 127, 0)],
presets: [P("NYLON", [1, 72, 52, 28, 0, 60, 40, 0], [0, 64, 127, 104], 0, 3), P("STEEL GTR", [2, 86, 88, 24, 6, 40, 52, 0], [0, 64, 127, 104], 0, 3),
P("HARP", [1, 96, 62, 64, 0, 30, 30, 0], [0, 64, 127, 60], 0, 6), P("KOTO", [2, 78, 98, 14, 16, 30, 62, 0], [0, 64, 127, 104], 0, 5),
P("HARP", [1, 96, 62, 64, 0, 30, 30, 0], [0, 64, 127, 112], 0, 6), P("KOTO", [2, 78, 98, 14, 16, 30, 62, 0], [0, 64, 127, 104], 0, 5),
P("BANJO", [2, 52, 112, 10, 4, 90, 92, 0], [0, 64, 127, 96], 0, 4), P("PIANO", [3, 104, 76, 18, 42, 20, 22, 0], [0, 64, 127, 100], 0, 6),
P("DULCIMER", [3, 92, 100, 20, 26, 36, 60, 0], [0, 64, 127, 108], 0, 5), P("MARIMBA", [4, 56, 40, 64, 72, 80, 70, 0], [0, 64, 127, 40], 0, 5),
P("DULCIMER", [3, 92, 100, 20, 26, 36, 60, 0], [0, 64, 127, 108], 0, 5), P("MARIMBA", [4, 56, 40, 64, 72, 80, 70, 0], [0, 64, 127, 96], 0, 5),
P("PLUCK BASS", [1, 62, 36, 20, 0, 50, 10, 0], [0, 64, 127, 80], 1, 2), P("BOWED", [0, 118, 46, 30, 0, 50, 40, 70], [30, 64, 127, 96], 0, 5),
P("KS NOISE", [0, 80, 127, 0, 0, 0, 0, 0], [0, 64, 127, 90], 0, 4), P("METAL STR", [0, 100, 120, 10, 112, 0, 0, 0], [0, 64, 127, 104], 0, 3)] },
/* 9: reserved (PHYS, retired in TONIC: src/engines.c ENG_PHYS_GONE; its sounds load as ANALOG) */