From 84fa7b71efbbe176156895c3eb3c16aa8996bc62 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 5 Dec 2026 11:42:59 +0000 Subject: [PATCH] FX: fuera CRUSH, THROW y DEPTH (las etapas viejas de las perillas); SAVE A..D en la capa SAVE Juan aprobo sacar las etapas que ninguna perilla movia desde la V10.7.59. - perform.c: fuera CRUSH (perf_block), THROW (perf_pre: la mezcla seca a los envios; queda solo FREEZE) y su lectura en perf_begin y en busy. perf_block 95 -> 32 instrucciones en el lazo, perf_pre 30 -> 0 (tests/target_budget.txt). RAM code -396 B, imagen -424 B. - Lo que el sonido fijado lee queda, siempre en 0, para que nada se mueva en tools/audio_layout.txt: perf_k[3] (DEPTH) en perf_buf, pf.td (THROW) en db_block de fx.c y la banda de eco de cinta del delay (nunca entra). El lugar del estado de CRUSH en pf queda como relleno. - ui_input.c / ui_layer.c: perf_k ya no se escribe ni se mira (LED de FX, soltar FX, ALL OFF, el menu). - ui_layer.c: la capa SAVE nombraba sus teclas "SAVE A" con la letra en nm[6], pisando el final: se dibujaba basura detras. Ahora nm[5]: SAVE A .. SAVE D (ui_test lo controla; el render layer_song lo muestra bien). - Tests: perform_test (REPEAT a escala completa sin CRUSH; THROW fuera: los envios intactos), cpu_vg sin la seccion dly/full.throw, ui_render con las macros en vez de perf_k. - MANUAL.md / MANUAL.es.md: las perillas del FX, sin THROW ni su banda. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh --- docs/MANUAL.es.md | 12 +++----- docs/MANUAL.md | 11 +++---- firmware/src/fx.c | 3 +- firmware/src/perform.c | 61 +++++++++++---------------------------- firmware/src/ui_input.c | 3 +- firmware/src/ui_layer.c | 7 ++--- tests/cpu_baseline_vg.txt | 1 - tests/cpu_vg.c | 9 +----- tests/perform_test.c | 35 +++++++++------------- tests/target_budget.txt | 4 +-- tests/ui_render.c | 8 ++--- tests/ui_test.c | 12 ++++++++ tools/audio_map.txt | 22 +++++++------- 13 files changed, 73 insertions(+), 115 deletions(-) diff --git a/docs/MANUAL.es.md b/docs/MANUAL.es.md index cd7ed836..d5a9e26a 100644 --- a/docs/MANUAL.es.md +++ b/docs/MANUAL.es.md @@ -658,7 +658,7 @@ SEQ las suyas). El encabezado nombra la capa en palabras, **[GLO] SET**. El pie | G5 | borra el carril de punch-in | | Teclas negras 1–6 (F#3 G#3 A#3 C#4 D#4 F#4) | mutean T1–T6 mientras las mantenés | | A#4 | a qué pistas afectan los efectos de nota: ALL / SYN / DRM | -| **Perillas** | FILTER, CRUSH, THROW, DEPTH | +| **Perillas** | KNOB 1 el DJ FILTER (el KNOB 4 de MIXER), KNOB 2–4 las macros M2–M4 | **GLO — mezcla** @@ -2625,13 +2625,9 @@ la sección. - **Perillas** con FX mantenido: **KNOB 1 el DJ FILTER** (al centro apagado, a la izquierda pasa-bajos, a la derecha pasa-altos): el mismo valor que el KNOB 4 de GLO › MIXER (OCT+), así que lo que girás acá se ve allá y al revés; queda donde lo dejás al soltar FX (es un ajuste del mixer, y con REC armado se graba como automatización, igual que en - MIXER). **KNOB 2–4 las macros M2–M4**, que vuelven a donde estaban al soltar FX (con FX LATCH quedan). (Hasta la - V10.7.59 las perillas eran FILTER, CRUSH, THROW y DEPTH; el FILTER aparte ya no está, el DJ FILTER es el único filtro.) - (0.9.9-snd2) Mientras THROW manda, y 12 s - después (su cola), las repeticiones del delay pasan por una banda, al estilo de un eco de cinta: un corte de graves en - ~180 Hz y un pasabajos en ~4,8 kHz que se cierra hasta ~3 kHz cuanto más FEEDBK y más todavía (~1,8 kHz) en la cola: - un loop de batería tirado al delay suena a ecos y no a una nube de ruido de hats y caja (cada pasada pierde el ruido - mucho más rápido que las notas). El delay sin THROW queda como antes. + MIXER). **KNOB 2–4 las macros M2–M4**, que vuelven a donde estaban al soltar FX (con FX LATCH quedan). Hasta la + V10.7.59 las perillas eran FILTER, CRUSH, THROW y DEPTH (con la banda de eco de cinta de THROW en las repeticiones + del delay); desde entonces eran las macros, y esas cuatro etapas viejas ya no están: el DJ FILTER es el único filtro. - **Teclas negras 1–6**: mutean T1–T6 mientras las mantenés (no se guarda). - (0.9.9-snd2) **G5 CLR AUTO** (con su nombre en el mapa): FX + G5 vacía el carril de punch-in (su automatización) y nada más, parado o tocando; grabando, sigue borrando solo donde pasa el cursor. La KNOB 4 de FX > PUNCH IN también es diff --git a/docs/MANUAL.md b/docs/MANUAL.md index 529e3b0a..f6c3f01f 100644 --- a/docs/MANUAL.md +++ b/docs/MANUAL.md @@ -635,7 +635,7 @@ breadcrumb, **FX · MAP**. The keys and knobs do exactly what they did. | G5 | erases the punch-in lane | | Black keys 1–6 (F#3 G#3 A#3 C#4 D#4 F#4) | mute T1–T6 while held | | A#4 | which tracks the note effects touch: ALL / SYN / DRM | -| **Knobs** | FILTER, CRUSH, THROW, DEPTH | +| **Knobs** | KNOB 1 the DJ FILTER (MIXER's KNOB 4), KNOB 2–4 the macros M2–M4 | **GLO — mix** @@ -2484,12 +2484,9 @@ passes get it; **G5** held erases where the playhead passes. Saved with the sect - **Knobs** while FX is held: **KNOB 1 the DJ FILTER** (centre off, left low-pass, right high-pass): the same value as GLO › MIXER's KNOB 4 (OCT+), so a turn here shows there and the other way round; it stays where you leave it when FX is let go (a mixer setting, recorded as automation with REC armed, as on MIXER). **KNOB 2–4 the macros M2–M4**, back - where they were when FX is let go (FX LATCH: they stay). (Until V10.7.59 the knobs were FILTER, CRUSH, THROW and - DEPTH; the separate FILTER is gone, the DJ FILTER is the one filter.) (0.9.9-snd2) While THROW sends, and for 12 s after (its tail), - the delay's repeats go through a band, tape-echo style: a low cut at ~180 Hz and a low-pass at ~4.8 kHz that closes - to ~3 kHz as FEEDBK goes up and further (~1.8 kHz) over the tail: a thrown drum loop rings out as echoes instead of a - wash of hats and snare noise (each pass loses the noise much faster than the notes). The delay without THROW is as - before. + where they were when FX is let go (FX LATCH: they stay). Until V10.7.59 the knobs were FILTER, CRUSH, THROW and + DEPTH (with THROW's tape-echo band on the delay's repeats); since then they had been the macros, and the four old + stages are gone: the DJ FILTER is the one filter. - **Black keys 1–6**: mute T1–T6 while held (not saved). - (0.9.9-snd2) **G5 CLR AUTO** (named on the map): FX + G5 empties the punch-in lane (its automation) and nothing else, stopped or playing; while recording it still erases only where the playhead passes. FX > PUNCH IN's KNOB 4 is diff --git a/firmware/src/fx.c b/firmware/src/fx.c index 2aa7e04a..93a46bb0 100644 --- a/firmware/src/fx.c +++ b/firmware/src/fx.c @@ -1041,7 +1041,8 @@ static inline int32_t dly_drive(int32_t x, int32_t g, int32_t gi) u3 = (((u * u) >> 15) * (u >> 2)) >> 13; return mulq15(u - ((u3 * 4855) >> 15), gi); } -/* (0.9.9-snd2) the loop's band, tape-echo style: while THROW (the FX layer's KNOB 3: the punch-in delay) sends the +/* (codex/djfx: THROW gone, pf.td always 0, the band never in: its pinned code kept, tools/audio_layout.txt) + * (0.9.9-snd2) the loop's band, tape-echo style: while THROW (the FX layer's KNOB 3: the punch-in delay) sends the * whole mix in, and DB_HOLD blocks after (its tail), the repeat goes * through a low cut (~180 Hz, one pole) and a low-pass (two poles at ~4.8 kHz, closing to ~3 kHz with FEEDBK at 100 % * and to ~1.8 kHz over the tail's hold), mixed in by the share a: each pass loses a hat's / a snare's noise energy diff --git a/firmware/src/perform.c b/firmware/src/perform.c index 8d19596a..b0c1a7af 100644 --- a/firmware/src/perform.c +++ b/firmware/src/perform.c @@ -19,14 +19,15 @@ * (371 ms). While borrowed, STUT tracks play live; their recordings are dropped afterwards. A REPEAT 1/8 longer * than the loop at the tempo (below 81 BPM) records at 11 kHz (V10.59: lo-fi, down to ~41 BPM; slower: dimmed). * KNOB 1..4 with FX: (V10.7.59) the MACROS M1..M4 (ui_layer.c); (codex/djfx, the owner) KNOB 1 the master DJ FILTER - * (fx.c djf_block, GLO > MIXER's KNOB 4's value): its own LPF / HPF here (perf_k[0]) gone, one filter instead of two. - * perf_k[1..3]: CRUSH, THROW (the dry mix into the delay and reverb sends), DEPTH (the REPEAT's level), set by no knob - * since V10.7.59. + * (fx.c djf_block, GLO > MIXER's KNOB 4's value), KNOB 2..4 M2..M4. The old knob stages, set by no knob since V10.7.59, + * gone (codex/djfx): FILTER (perf_k[0], the LPF / HPF), CRUSH, THROW (the dry mix into the delay and reverb sends, and + * with it fx.c's loop band) and DEPTH (the REPEAT's level). What the sound's pinned code reads of them stays, always 0 + * (perf_k[3] in perf_buf, pf.td in fx.c db_block: tools/audio_layout.txt, unmoved). * MENU > FX LATCH ON (#40, a hand that cannot hold FX, a key and a knob together): a key pressed with FX turns its * effect on, the next press turns it off (perf_latched; letting the key or FX go does nothing), the macros keep * their values when FX is let go, FX + OCT- turns everything off (ui_layer.c), so does the menu or a dialog. - * Chain: REPEAT -> CRUSH, after the master level and before - * master_out (the limiter); THROW and the mutes act before the buses (fx.c mix_block / mix_part). + * Chain: REPEAT, after the master level and before master_out (the limiter); FREEZE and the mutes act before the buses + * (fx.c mix_block / mix_part). * Idle (no key, no knob, no ramp left) every stage is skipped: the output is bit-identical. */ /* (V10.7.59, the owner) B3 REVERSE and C4 FREEZE where the LPF / HPF sweeps were (KNOB 1's FILTER stays); A#4 TAPE STOP, * C#5 D#5 PITCH UP / DOWN, F#5 STRETCH where TRACKS, LOOP 5 / 7 and GLITCH were (the MIDI effects on every track). A lane @@ -60,8 +61,8 @@ static volatile uint32_t kb_mask; /* main: the button bits whose hold makes static volatile uint8_t perf_solo; /* main: tracks soloed in the GLO layer (the others muted as by a black key) */ static volatile uint32_t scene_pfx; /* (JIANT) the punch-in MIDI effects a song row's scene holds (song_play.c), PF bits */ static volatile uint8_t perf_kill; /* main: every effect off (the menu, a dialog, UBOOT) */ -static volatile int8_t perf_k[4]; /* main: the knob macros, 0 = untouched: [0] none (codex/djfx: the FILTER gone), - * CRUSH 0..100, THROW 0..100, DEPTH cut 0..100 (the buffer effects' level) */ +static volatile int8_t perf_k[4]; /* (codex/djfx) the old knob macros, gone: never written, 0 (perf_buf's pinned code + * still reads [3], DEPTH) */ static volatile uint32_t kb_layer; /* ISR: the keys held that are the layer's, a bit per key */ static volatile uint32_t perf_held; /* ISR: the effects held (PF_*) */ static volatile uint8_t perf_latch_on; /* main: MENU > FX LATCH ON (#40): a key with FX toggles its effect */ @@ -132,11 +133,9 @@ static struct { } u; int32_t gone[15]; /* (codex/djfx) the FILTER's LPF / HPF state, gone: its room kept (what follows keeps * its offsets: the sound's pinned code, tools/audio_layout.txt, unmoved) */ - /* CRUSH, THROW, mutes */ int32_t fz; /* (V10.7.59) FREEZE: the reverb's send shut, Q15 */ - int32_t cw, cc, chl, chr; /* CRUSH share, amount, held sample */ - uint32_t cn; - int32_t td; /* THROW: the share of the dry mix sent, Q15 */ + int32_t gone2[5]; /* (codex/djfx) CRUSH's state, gone: its room kept (as gone) */ + int32_t td; /* THROW's share, gone: 0 (fx.c db_block's pinned code reads it) */ int32_t mg[NTRK]; /* mute gains, Q15 (32768 = open) */ } pf = {.src = PF_N, .next = PF_N, .mg = {[0 ... NTRK - 1] = 32768}}; /* (every track open: 0.6, six) */ @@ -311,7 +310,7 @@ static __attribute__((noinline)) int perf_begin(uint32_t n) { uint32_t held = perf_kill ? 0u : (perf_held | perf_latched | PERF_PK(n) | (perf_solo ? (~(uint32_t)perf_solo & ((1u << NTRK) - 1u)) << PF_M1 : 0u)) & perf_avail() & ~(PF_MIDI | PF_LOOPS); uint32_t q, k, ph0, bnd; - if (!held && !pf.busy && !(perf_k[1] | perf_k[2])) { /* idle: the clock only */ + if (!held && !pf.busy) { /* idle: the clock only */ pf.ph += n; pf.sync = 0; perf_act = 0; @@ -393,20 +392,12 @@ static __attribute__((noinline)) void perf_frz(int32_t *sr, uint32_t n) sr[i] = mulq16(sr[i], (uint32_t)(32768 - pf.fz) << 1); } } -/* before the buses: THROW (KNOB 3) adds the dry mix (and the SLICER's bus, bl / br) to the delay and reverb sends */ +/* before the buses: FREEZE on the reverb's send (codex/djfx: THROW, the dry mix into the sends, gone; the arguments + * kept: fx.c's call as it was) */ static __attribute__((noinline)) void perf_pre(const int32_t *ml, const int32_t *mr, const int32_t *bl, const int32_t *br, int32_t *sd, int32_t *sr, uint32_t n) { - uint32_t i; - int32_t m = perf_k[2] * 327; - for (i = 0; i < n; i++) { - pf.td += clamp(m - pf.td, -SL_SLOPE, SL_SLOPE); - if (pf.td) { - int32_t x = mulq16((ml[i] + mr[i] + bl[i] + br[i]) >> 1, (uint32_t)pf.td << 1); - sd[i] += x; - sr[i] += x; - } - } + (void)ml; (void)mr; (void)bl; (void)br; (void)sd; if ((pf.act & PF_BIT(PF_FRZ)) || pf.fz) { /* (V10.7.59, through a register: out of the RAM code's reach) */ void (*f)(int32_t *, uint32_t) = perf_frz; FM1_OPAQUE(f); @@ -656,16 +647,10 @@ static __attribute__((noinline)) void perf_buf(int32_t *pl, int32_t *pr) static __attribute__((noinline)) void perf_switch(uint32_t a) { perf_buf_select(perf_pick(a)); } -/* after the master level: the buffer effect, CRUSH on l / r (stereo, Q15) */ +/* after the master level: the buffer effect on l / r (stereo, Q15) */ static __attribute__((noinline)) void perf_block(int32_t *bl, int32_t *br, uint32_t n) { - uint32_t i, a = pf.act0, sh, hold; - int32_t c = perf_k[1], ct; - if (c) - pf.cc = c; - ct = c ? 32768 : 0; - sh = 4u + (uint32_t)pf.cc * 7u / 100u; - hold = sh - 3u; + uint32_t i, a = pf.act0; if (pf.split) perf_switch(a); for (i = 0; i < n; i++) { @@ -676,20 +661,8 @@ static __attribute__((noinline)) void perf_block(int32_t *bl, int32_t *br, uint3 } if (pf.mode != BM_NONE) perf_buf(&l, &r); - { /* CRUSH: fewer bits, a held sample (KNOB 2) */ - pf.cw += clamp(ct - pf.cw, -SL_SLOPE, SL_SLOPE); - if (pf.cw) { - if (++pf.cn >= hold) { - pf.cn = 0; - pf.chl = ((l >> sh) << sh) + (1 << (sh - 1u)); - pf.chr = ((r >> sh) << sh) + (1 << (sh - 1u)); - } - l = pf_mix(l, pf.chl, pf.cw); - r = pf_mix(r, pf.chr, pf.cw); - } - } bl[i] = l; br[i] = r; } - pf.busy = pf.act || pf.mode != BM_NONE || pf.w || pf.cw || pf.td || pf.fz || pf.mute || perf_k[1] || perf_k[2]; + pf.busy = pf.act || pf.mode != BM_NONE || pf.w || pf.fz || pf.mute; } diff --git a/firmware/src/ui_input.c b/firmware/src/ui_input.c index 74e65c4d..d44eace1 100644 --- a/firmware/src/ui_input.c +++ b/firmware/src/ui_input.c @@ -357,7 +357,7 @@ static __attribute__((noinline)) void ui_leds(void) led_put(nl, panel.btn[FAM_BTN[fam]], 1); if ((k = arp_led()) != 2u && (!ui.layer || layer_btn() != B_ARP)) led_put(nl, panel.btn[B_ARP], FAM_BTN[fam] == B_ARP ? !k : (int)k); /* (on ARP's page: dark flashes) */ - if (!ui.layer && (perf_latched || fx_mon || perf_k[0] || perf_k[1] || perf_k[2] || perf_k[3])) + if (!ui.layer && (perf_latched || fx_mon)) led_put(nl, panel.btn[B_FX], 1); /* FX LATCH: lit while an effect or a macro is on */ if (ui.layer) /* the layer's button breathes while its map is up */ led_put(nb, panel.btn[layer_btn()], 1); @@ -2701,7 +2701,6 @@ static void ui_input_frame(void) if (!layer_allowed()) { perf_kill = 1; /* (effects off until their keys are let go) */ perf_latched = 0; /* (FX LATCH: the latched ones and the macros off) */ - perf_k[0] = perf_k[1] = perf_k[2] = perf_k[3] = 0; fx_macro_back(); /* (V10.7.59: the MACROS as before the FX layer) */ } else if (!kb_layer) diff --git a/firmware/src/ui_layer.c b/firmware/src/ui_layer.c index 2364d641..9bdd402c 100644 --- a/firmware/src/ui_layer.c +++ b/firmware/src/ui_layer.c @@ -365,10 +365,8 @@ static __attribute__((noinline)) void layer_let_go(uint32_t quiet) (void)song_select(lys.song - 1u); lys.nqc = 0; lys.song = 0; - if (ui.ly == LAYER_FX && !perf_latch_on) { - perf_k[0] = perf_k[1] = perf_k[2] = perf_k[3] = 0; + if (ui.ly == LAYER_FX && !perf_latch_on) fx_macro_back(); - } if (ui.ly == LAYER_FX && (ui.ly_t0 & LY_OPEN) && !(ui.ly_t0 & (LY_DEAD | LY_COMBO)) && !lys.used && !kb_layer && layer_allowed()) { fx_lock = 1; /* (0.6.44) held open, nothing used, let go: locked open; @@ -920,7 +918,6 @@ static uint32_t layer_oct(uint32_t pressed, uint32_t oct) tools_key(mine & 2u ? 12u : 1u); if ((mine & 1u) && lys.l == LAYER_FX) { /* OCT- (FX LATCH): every effect and macro off */ perf_latched = 0; - perf_k[0] = perf_k[1] = perf_k[2] = perf_k[3] = 0; fx_macro_back(); ui_message("FX ALL OFF"); } @@ -1142,7 +1139,7 @@ static uint32_t ly_keyname(uint32_t l, int blk, uint32_t p, char *nm) } if (p < SK_STORE + 4u) { str_cpy(nm, "SAVE A", 12); - nm[6] = (char)('A' + p - SK_STORE); + nm[5] = (char)('A' + p - SK_STORE); return (live.dirty >> (p - SK_STORE)) & 1u ? LS_WAIT : LS_OFF; } str_cpy(nm, p == SK_MODE ? (live.mode ? "SONG" : "PART") : p == SK_REC ? "SONG REC" : p == SK_PAGE ? "ARRANGE" : diff --git a/tests/cpu_baseline_vg.txt b/tests/cpu_baseline_vg.txt index c369a4c8..90c03748 100644 --- a/tests/cpu_baseline_vg.txt +++ b/tests/cpu_baseline_vg.txt @@ -4,7 +4,6 @@ cho/pad 1270 cho/pad.fast 1289 dly/full 1301 dly/full.drive 1314 -dly/full.throw 1465 dly/half 1463 dly/half.drive 1473 dly/quarter 1504 diff --git a/tests/cpu_vg.c b/tests/cpu_vg.c index a38ac402..0fa833e4 100644 --- a/tests/cpu_vg.c +++ b/tests/cpu_vg.c @@ -11,7 +11,7 @@ * eng/ANIMAL. (0.8.3) ANIMAL's five sources at their heaviest: 8 notes, no gaps (GROUP HOLD), every option on * rev/ a pad soaked in the reverb, each REVERB TYPE (ROOM SPRING SHIMR RESO CLOUD) * dly/ (0.8.4) a pad into the delay, its line at the full rate, half, a quarter (fx.c dly_lo); (snd2) - * .drive: DRIVE 100; .throw: THROW held (KNOB 3 of the FX layer at 100), the loop's band in + * .drive: DRIVE 100 (codex/djfx: .throw gone with THROW) * cho/pad (snd2) a pad into the chorus only, RATE 40 (.fast: 127) * mix/full six parts: four ANALOG / FM6 chords, drums, every FX on; (snd2) .repeat / .glitch: the FX layer's * REPEAT 1/16 / GLITCH held on it @@ -253,13 +253,6 @@ int main(void) vg_section("cho/pad.fast"); song.g[G_CRATE] = 40; trk[0].p[P_CHOR] = 0; - vg_quiet(); /* (snd2) THROW held (the FX layer's KNOB 3 at 100): the mix */ - song.g[G_DTIME] = DT_FREE + 40; song.g[G_DFDBK] = 70; song.g[G_DMOD] = 20; /* sent, the loop's band */ - vg_part(0, ENGI_ANALOG, 0, 4); - trk[0].p[P_DLY] = 127; - perf_k[2] = 100; - vg_section("dly/full.throw"); - perf_k[2] = 0; vg_quiet(); for (i = 0; i < 4u; i++) { vg_part(i, i == 1u ? ENGI_FM6 : ENGI_ANALOG, 0, 4); diff --git a/tests/perform_test.c b/tests/perform_test.c index 3339ebfb..b46c65ad 100644 --- a/tests/perform_test.c +++ b/tests/perform_test.c @@ -12,7 +12,7 @@ * 5. the keys: a layer key plays nothing and sends no MIDI; a key held before FX stays a note; the white * keys past the first 5 are the layer's too but do nothing. * 6. idle: nothing held, nothing ramping, the mix is bit-identical (and the goldens of regress.c too). - * 7. no clicks, no overflow; the filters, the CRUSH and THROW macros and the mutes do what they say. + * 7. no clicks, no overflow; the mutes do what they say (codex/djfx: the knob stages FILTER CRUSH THROW DEPTH gone). * 8. cost: instructions per sample of the song, idle and with every effect at once (proc_pid_rusage). * 9. the punch-in MIDI effects (pfx.c): OCT+ doubles a held note's frequency and lets it back; A#4 DRM leaves a synth * alone; DEC- shortens a kick's tail (DECY back after the block); STUTTER 1/16 strikes a kick 4 times a beat; @@ -60,15 +60,11 @@ static void perf_reset(void) /* the stage alone on the test signal: samples [t0, t1); ev: press (+e + 1) / let go (-(e + 1)) at block bt */ typedef struct { uint32_t t; int e; } ev_t; static int busy_seen; -static int8_t run_crush; /* KNOB 2 (CRUSH) during run(), 0 = untouched */ -static int8_t run_k4; /* KNOB 4 (DEPTH) during run() */ static void run(uint32_t bpm, int playing, const ev_t *ev, uint32_t nev, uint32_t t1) { uint32_t t, k = 0; host_tracks_init(); perf_reset(); - perf_k[1] = run_crush; - perf_k[3] = run_k4; song.g[G_BPM] = (int16_t)bpm; song.playing = (uint8_t)playing; perf_start(); @@ -468,10 +464,8 @@ static int test_misc(void) } { ev_t e2[] = {{0, PF_R16 + 1}}; - run_crush = 100; run(120, 1, e2, 1, 100000); - run_crush = 0; - snprintf(what, sizeof what, "4x full scale through KNOB 2 CRUSH + REPEAT: peak %d (no wrap)", + snprintf(what, sizeof what, "4x full scale through REPEAT: peak %d (no wrap)", peak(out_l, 0, 100000) > peak(out_r, 0, 100000) ? peak(out_l, 0, 100000) : peak(out_r, 0, 100000)); bad += check(what, peak(out_l, 0, 100000) < 300000 && peak(out_r, 0, 100000) < 300000); } @@ -498,22 +492,25 @@ static int test_misc(void) bad += check("KNOB 1's old FILTER gone: perf_k[0] alone leaves the stage idle, the mix bit for bit", idle && !memcmp(out_l, in_l, 20000u * 4) && !memcmp(out_r, in_r, 20000u * 4)); } - { /* THROW (KNOB 3): the dry mix into the delay and reverb sends; mutes: a track ramps out */ + { /* (codex/djfx) THROW gone: with a mute held (the stage busy) perf_pre sends nothing of the dry mix */ static int32_t ml[CTL], mr[CTL], sd[CTL], sr[CTL], z[CTL]; uint32_t i; + int ran = 0; host_tracks_init(); perf_reset(); song.playing = 1; - perf_k[2] = 100; + perf_press(PF_M1, 1); for (t = 0; t < 1024u; t += CTL) { for (i = 0; i < CTL; i++) ml[i] = mr[i] = 8000, sd[i] = sr[i] = 0; - if (perf_begin(CTL)) + if (perf_begin(CTL)) { + ran = 1; perf_pre(ml, mr, z, z, sd, sr, CTL); + } } - bad += check("KNOB 3 THROW at 100: the dry mix into both sends, full, the dry mix untouched", - sd[CTL - 1] > 7900 && sr[CTL - 1] > 7900 && ml[CTL - 1] == 8000 && mr[CTL - 1] == 8000); - perf_k[2] = 0; + perf_press(PF_M1, 0); + bad += check("THROW gone: the stage busy (a mute), the sends and the dry mix untouched", + ran && !sd[CTL - 1] && !sr[CTL - 1] && ml[CTL - 1] == 8000 && mr[CTL - 1] == 8000); } { int32_t o[2 * CTL]; @@ -566,7 +563,6 @@ static double cost_run(int on) if (on == 1) { for (k = 0; k < sizeof ALL / sizeof ALL[0]; k++) perf_press((uint32_t)ALL[k], 1); - perf_k[1] = perf_k[2] = 100; /* the CRUSH and THROW macros */ } else if (on == 3) { /* REPEAT 1/16 alone: the layer's own cost, for scale */ perf_press(PF_R16, 1); } @@ -575,7 +571,6 @@ static double cost_run(int on) mix_block(o, CTL); for (k = 0; k < PF_N; k++) perf_press(k, 0); - perf_k[1] = perf_k[2] = perf_k[3] = 0; transport_req = 2; return i0 ? (double)(instr_now() - i0) / (2.0 * FS) : 0; } @@ -588,7 +583,7 @@ static int test_cost(void) printf("perform: cost: no instruction counter on this host\n"); return 0; } - snprintf(what, sizeof what, "cost: the song %.0f instructions / sample idle, %.0f with REPEAT+LPF+HPF+MUTE, K2 CRUSH, K3 THROW: +%.0f", + snprintf(what, sizeof what, "cost: the song %.0f instructions / sample idle, %.0f with REPEAT+FREEZE+MUTE: +%.0f", idle, on, on - idle); bad = check(what, on - idle < 400); printf("perform: cost: over the idle song: REPEAT 1/16 alone +%.0f (the layer's own stage)\n", rep - idle); @@ -603,10 +598,6 @@ static void demo_at(uint32_t t) {126592, -(PF_R32 + 1)}, {132096, -(PF_R16 + 1)}, {176384, PF_REV + 1}, {220480, -(PF_REV + 1)}, {264576, PF_TAPE + 1}, {308672, -(PF_TAPE + 1)}, {440896, PF_M1 + 1}, {462848, -(PF_M1 + 1)}}; uint32_t i; - if (t == 462848u) - perf_k[2] = 100; /* KNOB 3 THROW for a moment */ - if (t == 474880u) - perf_k[2] = 0; for (i = 0; i < sizeof D / sizeof D[0]; i++) if (D[i].t == t) perf_press((uint32_t)abs(D[i].e) - 1u, D[i].e > 0); @@ -625,7 +616,7 @@ static void demos(const char *dir) for (t = 0; t < NT - 4096u; t++) wav_put(f, song_l[t], song_r[t]); fclose(f); - printf("perform: demo %s (REPEAT 1/8, a 1/16 -> 1/32 roll, LPF, HPF, MUTE 1, KNOB 3 THROW)\n", path); + printf("perform: demo %s (REPEAT 1/8, a 1/16 -> 1/32 roll, REVERSE, TAPE STOP, MUTE 1)\n", path); } /* ------------------------------------------------- 9. punch-in MIDI --- */ diff --git a/tests/target_budget.txt b/tests/target_budget.txt index 183e2b82..27b418ac 100644 --- a/tests/target_budget.txt +++ b/tests/target_budget.txt @@ -32,8 +32,8 @@ mod_voice 18 mod_end 6 perf_begin 11 perf_mute 13 -perf_pre 30 -perf_block 95 +perf_pre 0 +perf_block 32 perf_master 30 perf_buf 0 perf_rtp 109 diff --git a/tests/ui_render.c b/tests/ui_render.c index 28e63cef..86d28394 100644 --- a/tests/ui_render.c +++ b/tests/ui_render.c @@ -1261,7 +1261,7 @@ static void setup(int s) case S_LY_FX_KNOBS: case S_LY_FX_STATE: /* (0.8.5) a layer's lens: FX's KNOBS, STATE */ go_home(); ui.layer = LAYER_FX; ui.lylv = s == S_LY_FX_KNOBS ? 1 : 2; perf_held = perf_act = PF_BIT(PF_R16) | PF_BIT(PF_REV) | PF_BIT(PF_M1 + 1); - song.g[G_DJF] = -26; perf_k[1] = 25; perf_k[3] = 30; /* (codex/djfx: KNOB 1 the DJ FILTER) */ + song.g[G_DJF] = -26; macro_v[1] = 32; macro_v[3] = 38; /* (codex/djfx: KNOB 1 the DJ FILTER) */ break; case S_LY_GLO_STATE: go_home(); ui.layer = LAYER_GLO; ui.lylv = 2; break; case S_MENU_ROW: case S_MENU_ROW_LEDS: /* (0.8.5) the menu's lens, ROW: COLOR's palettes, LEDS's names */ @@ -1404,17 +1404,17 @@ static void setup(int s) case S_FX_HELD: go_home(); ui.layer = LAYER_FX; perf_held = perf_act = PF_BIT(PF_R16) | PF_BIT(PF_REV) | PF_BIT(PF_M1 + 1); - song.g[G_DJF] = -26; perf_k[1] = 25; perf_k[3] = 30; ui.hot_col = 0; ui.hot_t = 30; /* (codex/djfx) */ + song.g[G_DJF] = -26; macro_v[1] = 32; macro_v[3] = 38; ui.hot_col = 0; ui.hot_t = 30; /* (codex/djfx) */ break; case S_FX_WAIT: song.playing = 1; song.g[G_BPM] = 72; ui.layer = LAYER_FX; perf_held = PF_BIT(PF_R16) | PF_BIT(PF_R8) | PF_BIT(PF_REV); perf_act = PF_BIT(PF_REV); - perf_k[2] = 100; + macro_v[2] = 127; break; case S_FX_HARM: /* (TONIC: no harmonizer) HPF playing, KNOB 4 DEPTH turned */ song.playing = 1; ui.layer = LAYER_FX; perf_held = perf_act = PF_BIT(PF_FRZ); - perf_k[3] = 60; ui.hot_col = 3; ui.hot_t = 30; + macro_v[3] = 76; ui.hot_col = 3; ui.hot_t = 30; break; case S_REVERB: go_title("REVERB"); song.g[G_RTYPE] = 1; ui.hot_col = 0; ui.hot_t = 30; break; /* TYPE: SPRING */ case S_REVERB_RESO: go_title("REVERB"); song.g[G_RTYPE] = 3; song.g[G_RDAMP] = 2; song.g[G_RPRE] = 4; break; /* (0.6.5) PITCH, FOLW */ diff --git a/tests/ui_test.c b/tests/ui_test.c index ec855b5f..5b6d0a06 100644 --- a/tests/ui_test.c +++ b/tests/ui_test.c @@ -12840,6 +12840,18 @@ static int test_lz_glo(void) bad += check("codex/djfx FX + KNOB 1: the DJ FILTER, MIXER KNOB 4's value both ways, card DJ FILT -20% as MIXER's, " "M2..M4 beside it, kept when FX is let go", ok); } + { /* (codex/djfx) the SAVE layer's keys SAVE A .. SAVE D: the letter in its place, the name ended (was "SAVE A" with + * the letter past it, over the end: what followed in the buffer drawn) */ + char nm[16]; + uint32_t k; + ok = 1; + for (k = 0; k < 4u; k++) { + memset(nm, 'x', sizeof nm); + (void)ly_keyname(LAYER_SAVE, 0, SK_STORE + k, nm); + ok &= nm[0] == 'S' && !strncmp(nm, "SAVE ", 5) && nm[5] == (char)('A' + k) && !nm[6]; + } + bad += check("codex/djfx SAVE layer: its keys SAVE A .. SAVE D, nothing after the letter", ok); + } ui_power_on(); frame(); press(B_GLO); frame(); ok = pd_on() && lz_fam() == LZ_GLO && pd_level() == 0u && str_eq(cur_page()->title, "MIXER") && lz_tab_lit(1) && diff --git a/tools/audio_map.txt b/tools/audio_map.txt index 0f0d0c40..ffb74b1f 100644 --- a/tools/audio_map.txt +++ b/tools/audio_map.txt @@ -270,7 +270,7 @@ draw_countin 374 text cv_begin cv_blit cv_key_hint draw_text_box kh_ink lcd_sync draw_crumbs 474 text cv_text_fit cv_text_on cv_text_r fmt_frac fmt_int foot_crumbs foot_strip lz_fam lz_on nav_groups str_cat str_len text_w draw_foot 676 text act_cols act_ready black_held cv_begin cv_blit cv_key_row cv_text_fit draw_crumbs foot_crumbs foot_h foot_hint foot_ph foot_strip foot_y grid_on knob_line lz_hint lz_on memcpy page_title steps_hash str_cpy str_hash tsel_p draw_frame 158 text card_h card_y foot_y graph_h graph_y scr_fill -draw_graph 9444 text clay_desc clay_keys clip_dash cur_page cv_begin cv_clip_text cv_frame cv_line_t cv_pset cv_rect cv_rrect cv_text cv_text_flags cv_text_in cv_text_on cv_text_r div_samples draw_tracks dx_wave_draw ed_cap ed_resp enum_rank face_has fmt_cat fmt_int focus_k focus_slot fop_ok ft_of gen_radio graph_adsr graph_being_at graph_chord graph_colony graph_eco graph_euclid graph_fx_lz graph_grid graph_h graph_harm graph_home_being graph_key graph_lfo graph_lfodest graph_lz_presets graph_lz_tools graph_morph graph_proj graph_project_used graph_roll graph_score graph_signature graph_sing graph_sound graph_sound_lz graph_system graph_tech graph_y gx_chip heat_col home_level ink_in jam_end jam_lanes jam_len lfo_cap lz_fam lz_on lz_sec memcpy mod_dst_name note_col og_node page_big page_desc page_title panel_send param_format ratio_d roll_view save_level scn_notes scope_at sec_col seq_overlay seq_roll_view sine_i str_cat str_cpy str_eq str_len str_nth strip_kind text_fit text_w toast_clear toast_on track_desc trk_eng trk_engp trk_index trk_nvoice tsel_p ux_mix vx_draw vx_fm6_page vx_fm6env vx_kit_page +draw_graph 9440 text clay_desc clay_keys clip_dash cur_page cv_begin cv_clip_text cv_frame cv_line_t cv_pset cv_rect cv_rrect cv_text cv_text_flags cv_text_in cv_text_on cv_text_r div_samples draw_tracks dx_wave_draw ed_cap ed_resp enum_rank face_has fmt_cat fmt_int focus_k focus_slot fop_ok ft_of gen_radio graph_adsr graph_being_at graph_chord graph_colony graph_eco graph_euclid graph_fx_lz graph_grid graph_h graph_harm graph_home_being graph_key graph_lfo graph_lfodest graph_lz_presets graph_lz_tools graph_morph graph_proj graph_project_used graph_roll graph_score graph_signature graph_sing graph_sound graph_sound_lz graph_system graph_tech graph_y gx_chip heat_col home_level ink_in jam_end jam_lanes jam_len lfo_cap lz_fam lz_on lz_sec memcpy mod_dst_name note_col og_node page_big page_desc page_title panel_send param_format ratio_d roll_view save_level scn_notes scope_at sec_col seq_overlay seq_roll_view sine_i str_cat str_cpy str_eq str_len str_nth strip_kind text_fit text_w toast_clear toast_on track_desc trk_eng trk_engp trk_index trk_nvoice tsel_p ux_mix vx_draw vx_fm6_page vx_fm6env vx_kit_page draw_head 2190 text batt_shown cur_page cv_begin cv_blit cv_frame cv_rect cv_rrect cv_text cv_text_fit cv_text_in cv_text_r fmt_cat fmt_int graph_project_used head_load head_msg head_trk project_cur_name roll_note roll_text seq_counting sound_name str_cat str_cpy str_hash str_len text_ink text_w trk_engp tsel_p draw_layer 1778 text bn_on bn_set chain_busy cv_begin cv_blit cv_rect cv_rrect cv_text_in cv_text_up draw_foot draw_tabs ev_len glo_drums graph_grid graph_h graph_roll graph_y hold_banner key_black key_place layer_cards ly_fx_cells ly_keyname perf_avail pfx_rec_ok pk_fill pr_head_step preset_favorite project_recall_slot rec_clearable seq_col seq_sel steps_hash tsel_p draw_menu 1372 text bt_hw_rxdiag bt_hw_status bt_prox_panel card_h card_y cv_begin cv_blit cv_key_row cv_rect cv_rrect draw_foot draw_head draw_tabs fill_around fmt_frac foot_h foot_y gauge_column menu_document menu_get menu_n menu_panel menu_scroll_max menu_set menu_short menu_tab menu_val mtab_first mtab_rows text_column text_w @@ -397,7 +397,7 @@ ed_unpack7 138 text ed_v 32 c2 clamp ed_b ed_val 30 c2 tsel_p ed_wt_handle 914 text ed_bk_pack ed_bk_r32 ed_bk_u32 wt_begin wt_data wt_end wt_get wt_list_dir wt_op wt_used -edit_param 4662 text accel act_cols bt_hw_seg chain_busy comp_knob confirm_open cur_page cursor_set djf_knob dx_knob eng_rank eng_vis eu_anchor eu_every eu_gen eu_kit eu_of ev_knob excite_turn favorite_set fit_span fit_ui_edit fm6_max fm6_set_patch focus_knob fop_byte fop_field fop_ok jam_end jam_len jam_sort knob_cap lfo_fade_restart list_turn load_put memcpy memset mo_knob mod_dst_offer motion_set_enabled pads_knob page_desc param_turn preset_step rp_apply save_level save_on sc_put select_engine settings_save song_end_row song_idx_touch split_field split_value step_edit sw_ui_knob_bt take_busy take_pick track_select trackgen_knob_bt trk_slot tsel_p ui_message undo_mark user_of +edit_param 4658 text accel act_cols bt_hw_seg chain_busy comp_knob confirm_open cur_page cursor_set djf_knob dx_knob eng_rank eng_vis eu_anchor eu_every eu_gen eu_kit eu_of ev_knob excite_turn favorite_set fit_span fit_ui_edit fm6_max fm6_set_patch focus_knob fop_byte fop_field fop_ok jam_end jam_len jam_sort knob_cap lfo_fade_restart list_turn load_put memcpy memset mo_knob mod_dst_offer motion_set_enabled pads_knob page_desc param_turn preset_step rp_apply save_level save_on sc_put select_engine settings_save song_end_row song_idx_touch split_field split_value step_edit sw_ui_knob_bt take_busy take_pick track_select trackgen_knob_bt trk_slot tsel_p ui_message undo_mark user_of edit_recallable 12 text project_recall_slot empty_column 22 text enc_drop 18 text panel_enc @@ -753,7 +753,7 @@ gnote 118 text go_home 44 text gpc 56 text gpcm 150 text gtone -gpickw 68 text * gr +gpickw 68 text gr gplan 724 c2 gch gcolour gminor gq_fix gseed gsplit gtriad_ok memcpy gprog_ok 182 text gcolour giv gminor gtriad_ok gq_fix 350 c2 giv @@ -777,7 +777,7 @@ graph_lz_tools 514 text cv_frame cv_rect cv_text cv_text_in cv_text_on fmt_int g graph_morph 704 text an_morph bt_hw_seg cv_line_t cv_rect cv_text heat_col morph_wave pd_setup pd_wave str_cat str_cpy str_nth trk_eng graph_pads 228 text black_held cv_text_flags graph_h page_big pd_state str_nth graph_proj 920 text cv_frame cv_rect cv_text cv_text_fit cv_text_in cv_text_on cv_text_r fmt_int graph_project_used lz_sec song_bars song_len_txt str_cat -graph_project_used 270 text as_mix project_name +graph_project_used 280 text as_mix project_name graph_roll 2084 text bar_cells comp_col cur_page cv_frame cv_rect cv_text_r fmt_int lens_strip lz_comp_mark memcpy motion_lock_steps pr_bars pr_follow_bar pr_geom pr_head_col pr_head_step pr_heads pr_held pr_lit pr_row_y pr_src scale_mask st_micro step_ratchet str_cpy text_w trk_index graph_score 1032 text cv_frame cv_rect cv_text cv_text_in cv_text_r fmt_int gx_chip memcpy row_src row_var sec_col song_len_txt str_len ux_mix graph_signature 4898 text bg_energy bn_on comp_slot comp_view cur_page ev_row ev_rows fx_level fx_mod_of fx_on gen_draw_sig graph_project_used hm_now home_level home_set lens_on lib_scan list_get motion_count motion_enabled motion_lock_steps nav_lv pd_cur pd_on pfx_rec_ok pr_follow pr_follow_bar pr_head_step pr_held preset_favorite rec_on roll_view save_level save_on seq_roll_view seq_src sing_view steps_hash steps_sig str_hash strip_kind toast_on trk_eng trk_engp trk_index trk_slot tsel_p @@ -907,7 +907,7 @@ layer_btn 36 text layer_cards 1194 text bt_hw_seg draw_column draw_columns empty_column eng_rank ev_len fmt_int glo_sounding hot_text_column ly_page macro_cards memcpy page_first param_format pf_column pke_cards_bt preset_favorite preset_rank ratio_d rec_columns se_amt seq_sel str_cpy text_column trk_base4 trk_eng trk_engp tsel_p up_engine up_used user_of val_col layer_held 36 text layer_allowed ly_down layer_key 1722 text bt_hw_seg chain_busy clay_clear confirm_open cp_say cur_page drum_lane_abbr dx_mute_set edit_recallable ev_len fmt_int gen_rs_apply gen_rs_prep key_black key_place load_begin load_end memcpy name_open page_entered project_used rec_set rl_name rp_get se_amt section_ask section_jump seg_missing seq_sel song_rec_toggle str_cat str_cpy str_len str_nth tl_nudge tools_key track_clearable track_defaults_steps transport_busy trk_index trk_slot tsel_p ui_message ui_say undo_do undo_mark undo_ui up_used -layer_let_go 768 text chain_cut chain_defaults div_samples fit_value_span fx_macro_back layer_allowed mom_poll mom_ptr proj_import project_used settings_save song_select song_stage str_eq ui_message ui_say undo_ui +layer_let_go 754 text chain_cut chain_defaults div_samples fit_value_span fx_macro_back layer_allowed mom_poll mom_ptr proj_import project_used settings_save song_select song_stage str_eq ui_message ui_say undo_ui layer_open 82 text layer_allowed ly_down layer_opened 18 text layer_set_open 54 text layer_open @@ -1066,7 +1066,7 @@ mir_flush_run 50 text mir_put mir_frame 166 text mir_flush_run mir_put ota_wire_send mir_put 26 text mix_block 7734 hot_text ! arp_chord arp_off arp_pick arp_silence beat_samples chain_apply chord_build_mode cin_begin cin_block cin_record clay_kb clay_tick clip_block comp_run div_samples djf_block duck_block dx_mot_block dxo_rec_hold dxo_tick fm1_mc_hold fugue_tick fx_run0 fx_trip gl_step_at jam_step kb_lat kb_map key_next key_place latch_release lev_block live_adv live_q macro_master master_begin master_out mc_join mc_lost mc_split memcpy midi_clock_pulse midi_clock_transport midi_event midi_forget_track midi_route_ch14 mix_part_m0 mo_block mo_flush_of motion_step name_of perf_begin perf_master perf_pre pfx_block pfx_end pfx_hush rec_hold rec_note rec_on sec_apply seq_due seq_lane_rat seq_note_on seq_ratchet seq_start seq_step seq_stop shift_ahead shift_prepare_pass shift_step_pass slicer_bus slicer_fx slicer_on stem_slicer_bus step_rolls step_samples trk_all_off trk_fade_out trk_index trk_note_on tvel voice_soft -mix_part_m0 3528 hot_text ! autopan beat_samples drum_bus drum_mix drum_side_begin duck_ramp lfo_wave mod_begin mod_end perf_mute slicer_on stem_post stem_pre track_dist track_post uin_mix voice_block voice_start_rec +mix_part_m0 3516 hot_text ! autopan beat_samples drum_bus drum_mix drum_side_begin duck_ramp lfo_wave mod_begin mod_end perf_mute slicer_on stem_post stem_pre track_dist track_post uin_mix voice_block voice_start_rec mix_spread 218 text * ml_code 12 text ml_free_cc 60 text @@ -1291,8 +1291,8 @@ pd_state 128 text pd_play pd_tick 306 text comp_run seq_lane_rat seq_ratchet seq_step shift_prepare_pass shift_step_pass step_rolls step_samples pd_wave 292 text perf_avail 40 text beat_samples -perf_begin 402 hot_text ! beat_samples div_samples perf_avail perf_unhush -perf_block 366 hot_text perf_buf perf_switch +perf_begin 386 hot_text ! beat_samples div_samples perf_avail perf_unhush +perf_block 142 hot_text perf_buf perf_switch perf_buf 480 text pb_loop perf_buf_done perf_rtp perf_buf_done 50 text perf_buf_start perf_drop_slicer perf_buf_start 296 text beat_samples memset perf_drop_slicer perf_len @@ -1305,7 +1305,7 @@ perf_kpress 284 text * perf_key perf_press perf_slot perf_len 30 text beat_samples perf_master 148 hot_text master_out perf_block perf_mute 110 text mulq16 perf_hush_end -perf_pre 186 hot_text ! +perf_pre 40 hot_text ! perf_press 96 text perf_rtp 648 text pb_ring_f perf_str perf_slot 26 text key_black key_place @@ -1786,8 +1786,8 @@ uh_task 418 bt uh_connect uh_host_up uh_hub_port_probe uh_hub_status uh_session_ uh_wait 40 bt fm1_wdt_feed ui_draw_body 1254 text as_mix bt_hw_seg cursor_fix cv_begin cv_blit cv_key_hint cv_keycap cv_text dlg_on dlg_tabs draw_columns draw_confirm draw_countin draw_foot draw_frame draw_graph draw_head draw_layer draw_menu draw_tabs draw_text_box fill_around fmt_int gen_cards_bt kh_ink lcd_sync lz_on name_on nm_card nm_draw_panel nm_len_max nv_page page_entered page_first page_flash_draw page_visible scr_fill seg_screen str_cat str_cpy transport_busy ui_timers ui_input 554 text beat_samples chain_busy eu_mutate gen_tick str_cat str_cpy str_len str_nth track_desc tsel_p ui_input_frame ui_preview_ok ui_say -ui_input_frame 15752 text accel act_col act_cols act_do act_ready apply_preset apply_preset_to black_held bn_set bt_cal_tick bt_hw_seg bt_prox_input bt_prox_ok btn_hold btn_used chain_busy chain_defaults chain_play_ui chord_peek ckeys_on clay_clear clip_launch comp_any comp_legacy comp_migrate confirm_open cp_copy cp_held cp_say cur_page cursor_fix cursor_set djf_knob dlg_on drum_elsewhere edit_param enc_drop ent_commit ent_message eu_anchor eu_gen eu_mutate eu_of ev_len excite_turn fm1_input_edges fm4_apply fm6_bank_slot fm6_load_slot fm6_neutral fm6_pack fm6_set_patch fm6_slot_ok fm6_unpack fmt_cat fmt_int fx_macro_back gen_knob_bt gen_on gen_page gen_press go_home grid_acc grid_hit grid_on home_life home_macros home_param home_vis init_sound_of jam_end jam_load kb_map key_black key_place keys_mode knob_cap kx_frame layer_allowed layer_held layer_key layer_let_go layer_open layer_opened layer_set_open layer_tap live_rec_sel load_begin load_end lock_held lock_id ly_avail ly_bit ly_down ly_page lyr_set macro_dice memcpy memset menu_close menu_put menu_scroll_max menu_set menu_step menu_tab ml_poll mom_knob mom_poll motion_base_value motion_capture motion_clear motion_desc motion_lock_get motion_set_lock motion_thin_id mtab_first mtab_rows name_close name_on name_open nav_button nav_go nav_key nav_mem nav_put nav_sec nav_select nm_black nm_commit nm_do nm_group nm_insert oct_key open_family pads_frame page_desc page_first page_go page_tap panel_btn_of panel_enc panel_setup param_turn part_dice pk_load pk_per pk_shape pke_knob_bt pke_oct pke_sel_bt preset_all_at_in preset_all_pos preset_at preset_go preset_pos preset_step project_recall_slot project_recall_sound project_rename project_save_as rec_clear_auto rec_first rec_set rec_tap rng row_copy rp_apply rp_get sc_beat sc_dice scr_wake sec_of_fam section_ask section_jump section_keep sel_set seq_counting seq_is_empty seq_sel set_engine set_engine_of skeys_on song_draft_begin song_erase_parts song_idx_touch song_save_as song_select step_accents_of step_lanes_of str_cat str_cpy str_len sy_gen_word system_init take_busy tl_keys tools_key track_defaults_steps track_desc track_select transport_busy trk_base4 trk_engp trk_index trk_slot tsel_p ui_message ui_say undo_mark undo_sound up_load up_ui up_ui_named usb_serial_apply vis_new -ui_leds 3900 text ! act_cols act_ready beat_samples black_held bt_prox_ok chain_busy click_beat_len cur_page dx_lane_muted edit_recallable fm1_led_dim_level glo_sounding grid_on kb_map key_black key_place layer_btn layer_set_open led_put menu_get menu_step midi_note_held name_on nm_black pads_leds pads_on perf_avail perf_key project_used rec_clearable rp_get scale_mask seq_counting seq_src step_accents_of step_lanes_of trk_index tsel_p +ui_input_frame 15728 text accel act_col act_cols act_do act_ready apply_preset apply_preset_to black_held bn_set bt_cal_tick bt_hw_seg bt_prox_input bt_prox_ok btn_hold btn_used chain_busy chain_defaults chain_play_ui chord_peek ckeys_on clay_clear clip_launch comp_any comp_legacy comp_migrate confirm_open cp_copy cp_held cp_say cur_page cursor_fix cursor_set djf_knob dlg_on drum_elsewhere edit_param enc_drop ent_commit ent_message eu_anchor eu_gen eu_mutate eu_of ev_len excite_turn fm1_input_edges fm4_apply fm6_bank_slot fm6_load_slot fm6_neutral fm6_pack fm6_set_patch fm6_slot_ok fm6_unpack fmt_cat fmt_int fx_macro_back gen_knob_bt gen_on gen_page gen_press go_home grid_acc grid_hit grid_on home_life home_macros home_param home_vis init_sound_of jam_end jam_load kb_map key_black key_place keys_mode knob_cap kx_frame layer_allowed layer_held layer_key layer_let_go layer_open layer_opened layer_set_open layer_tap live_rec_sel load_begin load_end lock_held lock_id ly_avail ly_bit ly_down ly_page lyr_set macro_dice memcpy memset menu_close menu_put menu_scroll_max menu_set menu_step menu_tab ml_poll mom_knob mom_poll motion_base_value motion_capture motion_clear motion_desc motion_lock_get motion_set_lock motion_thin_id mtab_first mtab_rows name_close name_on name_open nav_button nav_go nav_key nav_mem nav_put nav_sec nav_select nm_black nm_commit nm_do nm_group nm_insert oct_key open_family pads_frame page_desc page_first page_go page_tap panel_btn_of panel_enc panel_setup param_turn part_dice pk_load pk_per pk_shape pke_knob_bt pke_oct pke_sel_bt preset_all_at_in preset_all_pos preset_at preset_go preset_pos preset_step project_recall_slot project_recall_sound project_rename project_save_as rec_clear_auto rec_first rec_set rec_tap rng row_copy rp_apply rp_get sc_beat sc_dice scr_wake sec_of_fam section_ask section_jump section_keep sel_set seq_counting seq_is_empty seq_sel set_engine set_engine_of skeys_on song_draft_begin song_erase_parts song_idx_touch song_save_as song_select step_accents_of step_lanes_of str_cat str_cpy str_len sy_gen_word system_init take_busy tl_keys tools_key track_defaults_steps track_desc track_select transport_busy trk_base4 trk_engp trk_index trk_slot tsel_p ui_message ui_say undo_mark undo_sound up_load up_ui up_ui_named usb_serial_apply vis_new +ui_leds 3874 text ! act_cols act_ready beat_samples black_held bt_prox_ok chain_busy click_beat_len cur_page dx_lane_muted edit_recallable fm1_led_dim_level glo_sounding grid_on kb_map key_black key_place layer_btn layer_set_open led_put menu_get menu_step midi_note_held name_on nm_black pads_leds pads_on perf_avail perf_key project_used rec_clearable rp_get scale_mask seq_counting seq_src step_accents_of step_lanes_of trk_index tsel_p ui_message 10 text ui_preview 72 text tsel_p ui_preview_ok ui_preview_ok 92 text cur_page seq_counting