diff --git a/firmware/src/core.h b/firmware/src/core.h index 95006e6f..30cfea67 100644 --- a/firmware/src/core.h +++ b/firmware/src/core.h @@ -126,7 +126,7 @@ enum { /* per-track parameters */ * voice_start), in a slot of the retired DIGITAL's (0: OFF, its default) */ #define P_TCHAN P_FM1_DEC /* (JIANT 0.6.37) SHIFT > CHANCE: how much of the track's steps it skips, 0 none (100 %, * every project and preset before it); seq.c trk_chance; DIGITAL's OP1 DEC slot */ -/* (JIANT 0.6.43) MUTATE (project.c mutate_poll), in DIGITAL's OP1 REL / OP2 slots (0, every project and preset before it: +/* (V10.6: MUTATE retired; its slots stay the sequencer's, unused) (JIANT 0.6.43) MUTATE (project.c mutate_poll), in DIGITAL's OP1 REL / OP2 slots (0, every project and preset before it: * OFF, 0 %, ORBIT): SOUND and PATTERN every OFF / 1 / 2 / 4 / 8 / 16 / 32 bars, AMOUNT, MODE ORBIT / DRIFT */ #define P_MSND P_FM1_REL #define P_MPAT P_FM2_ATK @@ -137,15 +137,6 @@ enum { /* per-track parameters */ * every project and preset before it): bits 0..2 WHAT, 3..5 LOOP, 6 SCALE OFF. WHAT 0 with P_MSND / P_MPAT set is the * 0.6.43 MUTATE as it was (SOUND / PATTERN every OFF 1 2 4 8 16 32 bars: every old project plays the same) */ #define P_MCFG P_FM4_LEVEL -#define MUT_CFG(t) ((uint32_t)(127 - ((t)->p[P_MCFG] < 0 ? 0 : (t)->p[P_MCFG] > 127 ? 127 : (t)->p[P_MCFG]))) -#define MUT_WHAT(t) (MUT_CFG(t) & 7u) -#define MUT_LOOP(t) ((MUT_CFG(t) >> 3) & 7u) -#define MUT_CHROM(t) ((MUT_CFG(t) >> 6) & 1u) -#define MUT_DRIFT(t) ((uint32_t)(t)->p[P_MMODE] & 1u) -#define MUT_PARAM(t) (((uint32_t)(t)->p[P_MMODE] >> 1) & 7u) -#define MUT_LEGACY(t) (!MUT_WHAT(t) && ((t)->p[P_MSND] > 0 || (t)->p[P_MPAT] > 0)) -enum { MW_OFF, MW_NOTES, MW_RHYTHM, MW_PATTERN, MW_SOUND, MW_PARAM, MW_ALL, MW_N }; -#define ML_HOLD 6u /* LOOP: OFF (a new result every bar), 1..5 (it repeats that many bars), HOLD */ #define P_MORPH P_FM3_ATK /* (JIANT 0.6.45) EDIT > MORPH: ANALOG PHASE LOFI's wave on towards the next ones * (0: as WAVE has it; every project and preset before it), in DIGITAL's slot */ #define P_CLEN P_FM3_DEC /* (JIANT 0.6.47) SHIFT > C.LEN: the step components as a lane of their own, steps diff --git a/firmware/src/felucca.c b/firmware/src/felucca.c index ddaade02..e17a2d1c 100644 --- a/firmware/src/felucca.c +++ b/firmware/src/felucca.c @@ -38,7 +38,7 @@ #define FELUCCA_ID "FM-1_900" /* package identity (build.py: the .fwsc marker string) */ #endif #ifndef FELUCCA_VERSION -#define FELUCCA_VERSION "V10.5" /* (2026-10-31) V10.5: automation thinned (a recording at the stop, the 64 when full) into holds and RAMPs. (2026-10-31) V10.4: ARRANGE / TIMELINE: OCT- deletes the row picked (DELETE ROW?). (2026-10-31) V10.3: TIMELINE: the lines between lanes soft (the block's colour, darker), the rows' edges stronger. (2026-10-31) V10.2: TIMELINE keeps the black line between lanes (only the rows touch); SAVE composes first: TIMELINE SECTIONS PROJECTS ARRANGE TOOLS USER PRESETS. (2026-10-30) V10.1: TIMELINE blocks fill the lanes (no black gaps between rows or tracks). (2026-10-30) JIANT FM V10: add15-beta6 as the new base (TIMELINE, VAR, ADD, official V16 both ways); the version history before it: the git log of the add15 line (codex/add15-private) */ +#define FELUCCA_VERSION "V10.6" /* (2026-10-31) V10.6: SEQ > EUCLID and MODES (a euclidean pattern generator, melodies in the key) in MUTATE's place; MUTATE and SEQ TOOLS' RANDOM COOK BEAT gone. (2026-10-31) V10.5: automation thinned (a recording at the stop, the 64 when full) into holds and RAMPs. (2026-10-31) V10.4: ARRANGE / TIMELINE: OCT- deletes the row picked (DELETE ROW?). (2026-10-31) V10.3: TIMELINE: the lines between lanes soft (the block's colour, darker), the rows' edges stronger. (2026-10-31) V10.2: TIMELINE keeps the black line between lanes (only the rows touch); SAVE composes first: TIMELINE SECTIONS PROJECTS ARRANGE TOOLS USER PRESETS. (2026-10-30) V10.1: TIMELINE blocks fill the lanes (no black gaps between rows or tracks). (2026-10-30) JIANT FM V10: add15-beta6 as the new base (TIMELINE, VAR, ADD, official V16 both ways); the version history before it: the git log of the add15 line (codex/add15-private) */ #endif #if FELUCCA_OTA && !FELUCCA_FLASH #error "FELUCCA_OTA needs FELUCCA_FLASH" diff --git a/firmware/src/gen.c b/firmware/src/gen.c index 108bff5e..9016b770 100644 --- a/firmware/src/gen.c +++ b/firmware/src/gen.c @@ -2017,22 +2017,6 @@ static void gx_heads(void) n--; } } -/* MUTATE on a track or two (SOUND or PATTERN every 2 .. 16 bars, ORBIT mostly: round the piece) */ -static void gx_mutate(uint32_t n) /* (0.9.9-gen1: n tracks; a genre's, the arp or the chords' pattern) */ -{ - uint32_t tries; - for (tries = 0; tries < 16u && n; tries++) { - uint32_t ti = gr() % NTRK, r = gs.role[ti]; - track_t *t = &trk[ti]; - if (!gs.act[r] || t->p[P_MSND] || t->p[P_MPAT] || MUT_WHAT(t) || (!gx.on && r != RL_ARP && r != RL_PAD)) continue; - if (!gx.on) { t->p[P_MCFG] = (int16_t)(127 - (MW_PATTERN | 4u << 3)); t->p[P_MAMT] = (int16_t)grr(15, 30); n--; continue; } /* (WHAT - * PATTERN, LOOP 4 bars, ORBIT) */ - if (r == RL_DRUM || gch(50)) t->p[P_MPAT] = (int16_t)grr(2, 5); else t->p[P_MSND] = (int16_t)grr(2, 5); - t->p[P_MAMT] = (int16_t)grr(20, 60); - t->p[P_MMODE] = (int16_t)(gch(75) ? 0 : 1); - n--; - } -} /* --------------------------------------------------------------------------------------------- the piece --- */ static void gen_post(void) @@ -2469,13 +2453,8 @@ static void gen_make(void) } rng_state = gq | 1u; macro_dice(3); - /* (0.6.96) MUTATE off on every track (the clean base), its anchor the piece; (0.9.9-gen1) the genres that orbit: - * the arp's (or the chords') pattern every 4 bars */ - if (gx.on || GG_MUT(GGR)) /* (0.8.6) EXPLORE: MUTATE, PLAYHEADS (before the sections: - * each holds them) */ - gx_mutate(!gx.on ? 1u : gch(45) ? (gch(30) ? 2u : 1u) : 0u); - if (gx.on) gx_heads(); - mut_keep(); + if (gx.on) gx_heads(); /* (0.8.6) EXPLORE: PLAYHEADS (before the sections: each holds + * them); (V10.6) MUTATE gone */ gen_parts(); } /* the piece made from the settings (UNDO brings back what was there); the message */ diff --git a/firmware/src/icons.c b/firmware/src/icons.c index 3055cca8..74196416 100644 --- a/firmware/src/icons.c +++ b/firmware/src/icons.c @@ -276,7 +276,7 @@ static uint32_t page_icon(const page_t *pg) case GR_CHANCE: return ICON_PROB; /* CHANCE: the die */ case GR_COMP: return ICON_ARP; /* (0.6.39) COMP: the step components */ case GR_GCOMP: return ICON_ARP; /* (0.9.9-seq2f) GLO > COMPS: the global ones */ - case GR_MUTATE: return ICON_PROB; /* (0.6.43) MUTATE */ + case GR_EUCLID: return ICON_PROB; /* (V10.6) EUCLID (was MUTATE) */ case GR_FUGUE: return ICON_X_PATTERN; /* (0.6.52) FUGUE */ case GR_SHAPE: return ICON_X_REPEAT; /* (0.6.85) STRETCH */ case GR_MORPH: return ICON_LFO_WAVE; diff --git a/firmware/src/main.c b/firmware/src/main.c index 5608d2db..040c96f2 100644 --- a/firmware/src/main.c +++ b/firmware/src/main.c @@ -439,7 +439,6 @@ static void fm1_main(void) ui_input(); settings_poll(); /* queued settings save: only while stopped */ autosave_poll(); /* (1.2) the music, stopped and idle: project.c */ - mutate_poll(); /* (JIANT 0.6.43) MUTATE on the bar: project.c */ song_poll(); /* the song: the next section staged, the music back after it */ felucca_dbg.stage = 2; ui_leds(); diff --git a/firmware/src/params.c b/firmware/src/params.c index 713bbba5..68456adf 100644 --- a/firmware/src/params.c +++ b/firmware/src/params.c @@ -244,34 +244,9 @@ static const char *const N_CLEN[] = {"OFF", "1", "2", "3", "4", "5", "6", "7", " "58", "59", "60", "61", "62", "63", "64", 0}; static const param_desc_t CLEN_DESC = {"C.LEN", F_ENUM, 0, 64, 0, N_CLEN, 0}; /* (0.6.47) P_CLEN */ static const param_desc_t DXIMG_DESC = {"IMAGE", F_INT, 0, 127, 0, 0, 0}; /* (0.6.48) P_DXIMG */ -static const char *const N_MUTBARS[] = {"OFF", "1", "2", "4", "8", "16", "32"}; -static const char *const N_MUTMODE[] = {"ORBIT", "DRIFT"}; -static const param_desc_t MUT_DESC[4] = { /* (0.6.43) MUTATE: P_MSND P_MPAT P_MAMT P_MMODE */ - {"SOUND", F_ENUM, 0, 6, 0, N_MUTBARS, 0}, {"PATTERN", F_ENUM, 0, 6, 0, N_MUTBARS, 0}, - {"AMOUNT", F_PCT, 0, 127, 0, 0, 0}, {"MODE", F_ENUM, 0, 1, 0, N_MUTMODE, 0}}; -/* (0.9.9-seq2c) the MUTATE pages' own knobs (page_desc: ids ID_MUT0.., the values packed in P_MCFG / P_MMODE, core.h) */ -static const char *const N_MWHAT[] = {"OFF", "NOTES", "RHYTHM", "PATTERN", "SOUND", "PARAM", "ALL"}; -static const char *const N_MLOOP[] = {"OFF", "1", "2", "3", "4", "5", "HOLD"}; -static const char *const N_MPARAM[] = {"CUT", "RES", "ENV", "DEC", "REL", "DLY", "REV", "EDIT 1"}; -static const char *const N_MTURN[] = {"TURN"}; -enum { MK_WHAT, MK_DIR, MK_LOOP, MK_PARAM, MK_SCALE, MK_KEEP, MK_REV, MK_N }; -#define ID_MUT0 0xF0u /* .. ID_MUT0 + MK_N - 1 */ -static const param_desc_t MUTK_DESC[MK_N + 1] = { - {"WHAT", F_ENUM, 0, MW_N - 1, 0, N_MWHAT, 0}, {"DIR", F_ENUM, 0, 1, 0, N_MUTMODE, 0}, - {"LOOP", F_ENUM, 0, ML_HOLD, 0, N_MLOOP, 0}, {"PARAM", F_ENUM, 0, 7, 0, N_MPARAM, 0}, - {"SCALE", F_ENUM, 0, 1, 1, N_ONOFF, 0}, {"KEEP", F_ENUM, 0, 0, 0, N_MTURN, 0}, {"REVERT", F_ENUM, 0, 0, 0, N_MTURN, 0}, - {"EVERY", F_ENUM, 0, 6, 0, N_MUTBARS, 0}}; /* (LOOP of a 0.6.43 MUTATE: its bars, until a knob turns) */ -static int16_t mutk_v[MK_N]; -static const param_desc_t *mutk_desc(const track_t *t, uint32_t k, int16_t **valp) -{ - uint32_t leg = MUT_LEGACY(t), s = (uint32_t)clamp(t->p[P_MSND], 0, 6), q = (uint32_t)clamp(t->p[P_MPAT], 0, 6); - k %= MK_N; - mutk_v[k] = (int16_t)(k == MK_WHAT ? (leg ? (s && q ? MW_ALL : s ? MW_SOUND : MW_PATTERN) : MUT_WHAT(t)) : - k == MK_DIR ? MUT_DRIFT(t) : k == MK_LOOP ? (leg ? (s && q ? (s < q ? s : q) : s ? s : q) : MUT_LOOP(t)) : - k == MK_PARAM ? MUT_PARAM(t) : k == MK_SCALE ? !MUT_CHROM(t) : 0u); - *valp = &mutk_v[k]; - return k == MK_LOOP && leg ? &MUTK_DESC[MK_N] : &MUTK_DESC[k]; -} +/* (V10.6) SEQ > EUCLID / MODES' knobs (ui_euclid.c: ids ID_EU0 + EK_*, the views of the selected track's settings) */ +#define ID_EU0 0xF0u +static const param_desc_t *eu_desc(uint32_t k, int16_t **valp); static const char *const N_CHRD[] = {"OFF", "TRIAD", "7TH", "ADD9", "SUS2", "SUS4", "MAJ", "MIN", "7", "MAJ7", "MIN7", "POWER", 0}; static const char *const N_CVOI[] = {"CLOSE", "LEAD", "OPEN", "+BASS", 0}; @@ -303,10 +278,6 @@ static const param_desc_t *track_desc(const track_t *t, uint32_t id) return &TRK_CHANCE; if (!(FELUCCA_FM4 && t->eng_req % NENGINES == ENGI_DIGITAL)) /* (0.6.43) MUTATE's four */ switch (id) { - case P_MSND: return &MUT_DESC[0]; - case P_MPAT: return &MUT_DESC[1]; - case P_MAMT: return &MUT_DESC[2]; - case P_MMODE: return &MUT_DESC[3]; case P_MORPH: return &MORPH_DESC; case P_CLEN: return &CLEN_DESC; case P_DXIMG: return &DXIMG_DESC; @@ -557,7 +528,7 @@ enum { SC_TRACK, SC_GLOBAL, SC_ENGINE, SC_STEP, SC_TRK }; /* SC_TRK: the TRACK enum { GR_NONE, GR_ADSR, GR_LFO, GR_STEPS, GR_ARP, GR_SCALE, GR_FX, GR_ROLL, GR_BROWSE, GR_SLOTS, GR_USER, GR_TRK, GR_SLCR, GR_MOD, GR_PATS, GR_SONG, GR_TOOLS, GR_CHANCE, GR_MOTION, GR_EVENTS, GR_DXSND, GR_MSEQ, GR_SLPIT, GR_FMOP, GR_FMOP2, GR_FMENV, - GR_COMP, GR_MUTATE, GR_MORPH, GR_DXIMG, GR_FUGUE, GR_SHAPE, GR_PUNCH, GR_BUSES, GR_FOCUS, GR_STAGE, + GR_COMP, GR_EUCLID, GR_MORPH, GR_DXIMG, GR_FUGUE, GR_SHAPE, GR_PUNCH, GR_BUSES, GR_FOCUS, GR_STAGE, GR_LYRIC, GR_GCOMP, GR_LIVE }; /* (p2, main 0.9.11) GLO > LIVE: MANO, RIELES (ui_live.c); the enum's last */ /* (0.8.5) EDIT > WORDS: VOICE's lyric (sing.c) */ /* (0.8.5: * LENTE's EDIT > FOCUS, ENV > STAGE) */ /* (0.6.99) FX > PUNCH: the punch-in lane */ /* (JIANT 0.6.39) SEQ > COMP: the step components (ui_input.c comp_*, ui_graph.c graph_comp) */ /* (JIANT 0.6.10, from Felucca 1.5: FM6's operator pages, ui_fm6op.c) */ @@ -713,8 +684,8 @@ static const page_t PAGES[] = { {"CHANCE", FAM_SEQ, SC_STEP, GR_CHANCE, {0xFF, 0xFF, 0xFF, 0xFF}}, /* a step's CHANCE RATCH; 0.6.37: hidden */ {"AUTOMATION", FAM_SEQ, SC_TRACK, GR_MOTION, {0xFF, 0xFF, 0xFF, 0xFF}}, {"AUTO LIST", FAM_SEQ, SC_TRACK, GR_EVENTS, {0xFF, 0xFF, 0xFF, 0xFF}}, /* 1.1.5: the locks and events, edited */ - {"MUTATE", FAM_SEQ, SC_TRACK, GR_MUTATE, {ID_MUT0 + MK_WHAT, P_MAMT, ID_MUT0 + MK_DIR, ID_MUT0 + MK_LOOP}}, /* (0.6.43) - * project.c mutate_poll; (0.9.9-seq2c) WHAT AMOUNT DIR LOOP */ + {"EUCLID", FAM_SEQ, SC_TRACK, GR_EUCLID, {ID_EU0, ID_EU0 + 1u, ID_EU0 + 2u, ID_EU0 + 3u}}, /* (V10.6, MUTATE's place) + * HITS STEPS ROTATE, LANE / VARY (ui_euclid.c) */ /* (0.8.5) LENTE everywhere (ui_lens.c): pages the mock-up added, appended (the table's order is no one's index) */ {"VOICE 2", FAM_EDIT, SC_TRACK, GR_NONE, {P_ALLOC, P_DETUNE, 0xFF, 0xFF}}, /* EDIT > TONE: ALLOC, UNISON's DETUNE (in * TP since Felucca, on no page until now) */ @@ -727,8 +698,8 @@ static const page_t PAGES[] = { {"BAR", FAM_SEQ, SC_TRACK, GR_STEPS, {0xFF, P_SLEN, 0xFF, 0xFF}}, /* (0.9.2) SEQ > BAR: the pattern's bars, KNOB 1 * the bar (the cursor at its place in it; was PRESETS on PATTERN's * level), KNOB 2 LEN (ui_input.c edit_param) */ - {"MUTATE 2", FAM_SEQ, SC_TRACK, GR_MUTATE, {ID_MUT0 + MK_PARAM, ID_MUT0 + MK_SCALE, ID_MUT0 + MK_KEEP, ID_MUT0 + MK_REV}}, - /* (0.9.9-seq2c) PARAM SCALE, KEEP REVERT on the turn */ + {"MODES", FAM_SEQ, SC_TRACK, GR_EUCLID, {ID_EU0 + 4u, ID_EU0 + 5u, ID_EU0 + 6u, ID_EU0 + 7u}}, /* (V10.6) the four + * modes' amounts */ {"LFO 2", FAM_LFO, SC_TRACK, GR_LFO, {ID_LPHS, 0xFF, 0xFF, 0xFF}}, /* (0.9.18) PHASE: where TRIG starts (FREE: dimmed) */ {"MANO", FAM_GLO, SC_GLOBAL, GR_LIVE, {0xFF, 0xFF, 0xFF, 0xFF}}, /* (p2, main 0.9.11) GLO > LIVE: the keys a board of * live modifiers (ui_live.c, seq_live.c) */ @@ -808,8 +779,8 @@ static const param_desc_t *page_desc(const page_t *pg, uint32_t slot, int16_t ** id += 3u * mod_ui_slot; if (pg->graph == GR_MSEQ && id == P_MS0) /* the level of the step shown */ id += ms_ui_step & 15u; - if (id >= ID_MUT0 && id < ID_MUT0 + MK_N) /* (0.9.9-seq2c) MUTATE's packed knobs (ui_input.c mutk_put) */ - return mutk_desc(TSEL, id - ID_MUT0, valp); + if (id >= ID_EU0 && id < ID_EU0 + 8u) /* (V10.6) EUCLID's and MODES' views (ui_euclid.c eu_put) */ + return eu_desc(id - ID_EU0, valp); *valp = &TSEL->p[id]; if (id == P_APRATE && TSEL->p[P_APSYNC]) /* (0.6.9) AUTO PAN on the tempo: a division */ return &AP_BEAT; diff --git a/firmware/src/project.c b/firmware/src/project.c index c7fe9720..1266cd44 100644 --- a/firmware/src/project.c +++ b/firmware/src/project.c @@ -1921,7 +1921,6 @@ static int project_restore_runtime(const project_t *input) pat_sig[k] = ~steps_sig(t); /* a project's steps are the user's */ } load_depth--; - mut_forget(); /* (0.9.3) REVERT: NO ANCHOR (UNDO: as it was, undo_do) */ sync_reload = 1; ui.force = 1; ui_message("LOADED"); @@ -1984,7 +1983,6 @@ static __attribute__((noinline)) void system_init(void) /* (snd8: out of its c latch_drop_req |= (uint8_t)(1u << i); } proj_name[0] = 0; - mut_forget(); /* (0.9.3: the anchor is the old music's) */ ui.force = 1; } /* (0.9.9-gen1) GEN's clean base (gen.c gen_clean): NEW PROJECT's state, the music's name kept */ @@ -1995,287 +1993,6 @@ static void system_init_named(void) system_init(); memcpy(proj_name, nm, sizeof nm); } -/* (JIANT 0.6.43) MUTATE: each track's SOUND and PATTERN change by themselves every OFF / 1 .. 32 bars, on the bar (the - * change made in the bar before's last sixteenth, so it lands on the one), by AMOUNT, in the clock with the rest of the - * gear. ORBIT (the default): around the anchor, the music as it was when MUTATE came on, PLAY started or KEEP (the - * MUTATE page's OCT+) took it, so it varies for minutes and stays itself; DRIFT: from what it is now, on and on. - * SOUND: the engine's eight values and the filter, its envelope, DEC, REL and the sends (never LEVEL, PAN, MUTE; FM6's - * SLOT stays); a list value now and then. PATTERN: notes up / down the scale, accents, a note added off the beat or - * one taken (never on a beat); DRUM: hits on and off, never the kick. GLO + A4 freezes them all; main loop only */ -static project_store_t mut_anchor __attribute__((section(".pool"))); -static struct { uint8_t ok, playing, moved, ask, stale; uint32_t en, done, sig[NTRK]; } mut; /* sig: each track's steps - * as the anchor or the last mutation left them (0.6.68); (0.9.3) - * moved: the tracks mutated since the anchor, ask: those turned - * OFF since (BACK TO BEFORE MUTATE?), stale: the anchor is another - * music's (a load, NEW PROJECT): REVERT says NO ANCHOR */ -static const uint8_t MUT_COMMON[7] = {P_FCUT, P_FRES, P_ED_FLT, P_DEC, P_REL, P_DLY, P_REV}; /* SOUND's, past the eight */ -static uint32_t mut_every(const track_t *t, uint32_t id) { return MUT_BARS[(uint32_t)clamp(t->p[id], 0, 6)]; } -/* (0.9.9-seq2c) a track's MUTATE: on (WHAT, or 0.6.43's periods), the bars each result lasts (0: HOLD) */ -static uint32_t mut_on(const track_t *t) { return MUT_WHAT(t) || mut_every(t, P_MSND) || mut_every(t, P_MPAT); } -static uint32_t mut_period(const track_t *t) -{ - uint32_t s, q; - if (MUT_WHAT(t)) - return MUT_LOOP(t) >= ML_HOLD ? 0u : MUT_LOOP(t) + 1u; - s = mut_every(t, P_MSND); q = mut_every(t, P_MPAT); - return s && q ? (s < q ? s : q) : s ? s : q; -} -/* WHAT = PARAM's list (MUTATE 2 KNOB 1): CUT RES ENV DEC REL DLY REV, the engine's first knob; ANALOG's CUT RES its own */ -static const uint8_t MUT_PIDS[8] = {P_FCUT, P_FRES, P_ED_FLT, P_DEC, P_REL, P_DLY, P_REV, P_E0}; -static uint32_t mut_pid(const track_t *t) -{ - uint32_t id = MUT_PIDS[MUT_PARAM(t)]; - if (trk_eng(t) == ENGI_ANALOG && (id == P_FCUT || id == P_FRES)) - id = id == P_FCUT ? P_E4 : P_E5; - return id; -} -static uint32_t mut_enabled(void) -{ - uint32_t k, m = 0; - for (k = 0; k < NTRK; k++) - if (k < trk_live && mut_on(&trk[k])) - m |= 1u << k; - return m; -} -static void mut_keep(void) -{ - project_capture(&proj_scratch); - mut.ok = (uint8_t)proj_pack(&mut_anchor, &proj_scratch); - mut.moved = mut.ask = mut.stale = 0; - for (uint32_t k = 0; k < NTRK; k++) - mut.sig[k] = steps_sig(&trk[k]); -} -static void mut_forget(void) { mut.stale = 1; mut.moved = mut.ask = 0; } /* (0.9.3) another music: no going back */ -static int32_t mut_rr(int32_t lo, int32_t hi) { return hi <= lo ? lo : lo + (int32_t)(rng() % (uint32_t)(hi - lo + 1)); } -static void mut_value(track_t *t, uint32_t id, const int16_t *base, uint32_t amt) -{ - const param_desc_t *d = track_desc(t, id); - int32_t v = base[id]; - if (d->max <= d->min) - return; - if (d->fmt == F_ENUM) - v = rng() % 254u < amt ? mut_rr(d->min, d->max) : v; - else { - int32_t span = (d->max - d->min) * (int32_t)amt / 256; - v += mut_rr(-span, span); - } - t->p[id] = (int16_t)clamp(v, d->min, d->max); -} -static void mut_sound(track_t *t, const proj_trk_t *a) -{ - const uint8_t *COMMON = MUT_COMMON; - uint32_t i, amt = (uint32_t)clamp(t->p[P_MAMT], 0, 127), e = trk_eng(t); - const int16_t *base = a ? a->p : t->p; - for (i = 0; i < 8u; i++) - if (!(e == ENGI_FM6 && i == 7u)) /* (FM6's SLOT: its patch stays) */ - mut_value(t, P_E0 + i, base, amt); - for (i = 0; i < 7u; i++) - if (!(e == ENGI_ANALOG && (COMMON[i] == P_FCUT || COMMON[i] == P_FRES))) /* (ANALOG: its own CUT RES) */ - mut_value(t, COMMON[i], base, amt); -} -#define MF_NOTES 1u /* mut_pattern: the pitches, */ -#define MF_RHYTHM 2u /* .. which steps play and their accents, */ -#define MF_CHROM 4u /* .. the pitches by semitones (SCALE OFF) */ -static void mut_pattern(track_t *t, const proj_trk_t *a, uint32_t f) -{ - uint32_t i, len = t->p[P_SLEN] > 0 ? (uint32_t)t->p[P_SLEN] : 1u, amt = (uint32_t)clamp(t->p[P_MAMT], 0, 127), l; - int kit = drum_track(t); - int32_t last = -1; - for (i = 0, l = 0; i < len && i < NSTEP; i++) /* (0.6.68) an empty pattern stays empty: nothing out of */ - l += a ? step_on(&a->step[i]) : step_on(&t->step[i]); /* silence (a cleared track, a blank kit) */ - if (!l) - return; - for (i = 0; i < len && i < NSTEP; i++) { - step_t s = a ? a->step[i] : t->step[i]; - if (kit) { /* hits on and off, the kick never */ - for (l = 1; l < NLANE && (f & MF_RHYTHM); l++) - if (rng() % 640u < amt) { - s.hit ^= (uint8_t)(1u << l); - s.acc &= s.hit; - } - if (s.hit && s.time != ST_NOTE) s.time = ST_NOTE; - if (!s.hit && !s.n) s.time = ST_REST; - } else if (s.time == ST_NOTE && s.n) { - uint32_t j; - if ((f & MF_RHYTHM) && i % 4u && rng() % 1024u < amt) { /* one taken (never on a beat) */ - s.n = 0; s.time = ST_REST; - } else { - if ((f & MF_NOTES) && rng() % 256u < amt) { /* up / down the scale (SCALE OFF: semitones) */ - int32_t d = mut_rr(-2, 2); - if (!d) d = 1; - for (j = 0; j < s.n && j < 4u; j++) - s.note[j] = (uint8_t)clamp(f & MF_CHROM ? s.note[j] + d : scale_steps(t, s.note[j], d), 0, 127); - } - if ((f & MF_RHYTHM) && rng() % 512u < amt) s.flags ^= SF_ACCENT; - last = s.note[0]; - } - } else if ((f & MF_RHYTHM) && s.time == ST_REST && (i & 1u) && last >= 0 && rng() % 1024u < amt) { /* one added, off the beat */ - memset(&s, 0, sizeof s); - s.n = 1; s.time = ST_NOTE; s.vel = 90; - s.note[0] = (uint8_t)clamp(scale_steps(t, last, mut_rr(-1, 1)), 0, 127); - } - t->step[i] = s; - } -} -static uint32_t mut_progress(uint32_t k) -{ - const track_t *t = &trk[k % NTRK]; - uint32_t e = mut_period(t); - if (!mut_on(t) || k >= trk_live) - return 0xFFFFu; - if (!song.playing || mut_freeze || !e) - return 0; - return (((bar_n % e) * 4u + beat_n) * 256u) / (e * 4u); -} -/* (0.9.3) MUTATE can go back: what SOUND and PATTERN change on a track (mut_sound's values, the steps) as the anchor holds - * them; LEVEL PAN MUTE, the pattern's settings and the other tracks stay. SOUND's i-th value of engine e (P_COUNT: one it - * never changes); the anchor of another engine (a sound loaded since): its steps only */ -static uint32_t mut_sid(uint32_t i, uint32_t e) -{ - uint32_t id = i < 8u ? P_E0 + i : MUT_COMMON[(i - 8u) % 7u]; - if ((e == ENGI_FM6 && i == 7u) || (e == ENGI_ANALOG && (id == P_FCUT || id == P_FRES))) - return P_COUNT; - return id; -} -static int mut_back_ok(void) { return mut.ok && !mut.stale; } -static int mut_anchor_get(void) { return mut_back_ok() && proj_import(&proj_scratch, &mut_anchor, sizeof mut_anchor); } -static int mut_differs(uint32_t k) /* track k against the anchor (in proj_scratch) */ -{ - const track_t *t = &trk[k % NTRK]; - const proj_trk_t *a = &proj_scratch.t[k % NTRK]; - uint32_t i, id, d = memcmp(t->step, a->step, sizeof t->step) != 0; - for (i = 0; i < 15u && a->engine == trk_eng(t); i++) - if ((id = mut_sid(i, a->engine)) < P_COUNT) - d |= t->p[id] != a->p[id]; - return (int)d; -} -static int mut_revert(uint32_t mask) /* the tracks of mask back to the anchor; 0 done, 1 NO ANCHOR */ -{ - uint32_t k, i, id; - if (!mut_anchor_get()) - return 1; - fm1_irq_off(); /* (one batch, as a mutation's: the ISR sees all or none) */ - for (k = 0; k < NTRK; k++) { - track_t *t = &trk[k]; - const proj_trk_t *a = &proj_scratch.t[k]; - if (!((mask >> k) & 1u)) - continue; - for (i = 0; i < 15u && a->engine == trk_eng(t); i++) - if ((id = mut_sid(i, a->engine)) < P_COUNT) - t->p[id] = (int16_t)param_fit(param_desc_of(a->engine, id), a->p[id]); - memcpy(t->step, a->step, sizeof t->step); - } - fm1_irq_on(); - for (k = 0; k < NTRK; k++) - if ((mask >> k) & 1u) - mut.sig[k] = steps_sig(&trk[k]); /* (not steps written: no new anchor on the bar) */ - mut.moved &= (uint8_t)~mask; - mut.ask &= (uint8_t)~mask; - ui.force = 1; - return 0; -} -/* REVERT (SEQ + D5: the selected track) and REVERT ALL (GLO + B4: every track that plays), UNDO first (GLO + G4) */ -static void mut_revert_ui(int all) -{ - char b[24] = "T1 BACK TO ANCHOR"; - if (!mut_back_ok()) { - ui_message("NO ANCHOR"); - return; - } - if (!chain_busy()) - undo_mark(); - if (mut_revert(all ? (1u << trk_live) - 1u : 1u << song.sel)) { - ui_message("NO ANCHOR"); - return; - } - b[1] = (char)('1' + song.sel); - ui_message(all ? "ALL BACK TO ANCHOR" : b); -} -/* a track turned OFF after mutating, with something changed: the NOTICE, once (none open over it now: later) */ -static void mut_ask_poll(void) -{ - uint32_t k; - mut.ask &= (uint8_t)(mut.moved & ~mut.en & ((1u << trk_live) - 1u)); - if (!mut.ask || ui.confirm || ui.menu || name_on()) - return; - k = (uint32_t)__builtin_ctz(mut.ask); - mut.ask &= (uint8_t)~(1u << k); - if (!mut_anchor_get()) - return; - if (mut_differs(k)) - confirm_open(CF_MUT_BACK, k); - else - mut.moved &= (uint8_t)~(1u << k); /* (nothing to go back to: no question) */ -} -static void mutate_poll(void) -{ - uint32_t en = mut_enabled(), k, nx, anc; - mut.ask |= (uint8_t)(mut.en & ~en & mut.moved); /* (0.9.3) OFF after mutating: BACK TO BEFORE MUTATE? */ - for (k = 0; k < NTRK; k++) /* turned on: an AMOUNT to hear (0: half) */ - if (((en & ~mut.en) >> k) & 1u && !trk[k].p[P_MAMT]) - trk[k].p[P_MAMT] = 64; - if (en & ~mut.en) - mut_keep(); /* (the anchor: the music now) */ - mut.en = en; - mut_ask_poll(); - for (k = 0; k < NTRK; k++) - if (mut_flash[k]) mut_flash[k]--; - if (!song.playing) { - mut.playing = 0; - return; - } - if (!mut.playing) { /* PLAY: the anchor as it starts */ - mut.playing = 1; - mut.done = 0; - if (en) mut_keep(); - } - if (!en || mut_freeze) - return; - nx = bar_n + 1u; - if (beat_n != 3u || beat_pos < beat_samples() * 3u / 4u || mut.done == nx) - return; - mut.done = nx; - for (k = 0; k < NTRK; k++) /* (0.6.68) steps written or cleared since: the anchor is the - * music now (a cleared sequence never comes back from it) */ - if (((en >> k) & 1u) && steps_sig(&trk[k]) != mut.sig[k]) { - mut_keep(); - break; - } - anc = mut.ok && proj_import(&proj_scratch, &mut_anchor, sizeof mut_anchor); - for (k = 0; k < NTRK && anc; k++) /* (0.6.96) another engine on an enabled track since the anchor - * (a sound loaded, a piece thrown): the anchor is the music now */ - if (((en >> k) & 1u) && proj_scratch.t[k].engine != trk_eng(&trk[k])) { - mut_keep(); - anc = mut.ok && proj_import(&proj_scratch, &mut_anchor, sizeof mut_anchor); - break; - } - for (k = 0; k < NTRK; k++) { - track_t *t = &trk[k]; - uint32_t s = mut_every(t, P_MSND), q = mut_every(t, P_MPAT), hit = 0, w = MUT_WHAT(t), e = mut_period(t); - const proj_trk_t *a = anc && !MUT_DRIFT(t) && proj_scratch.t[k].engine == trk_eng(t) ? - &proj_scratch.t[k] : 0; /* (ORBIT, the same engine: around it; else from now) */ - if (!((en >> k) & 1u)) - continue; - if (w) { /* (0.9.9-seq2c) WHAT, every LOOP + 1 bars; HOLD: none */ - if (!e || nx % e) - continue; - if (w == MW_SOUND || w == MW_ALL) mut_sound(t, a); - if (w == MW_PARAM) { - uint32_t id = mut_pid(t); - mut_value(t, id, a ? a->p : t->p, (uint32_t)clamp(t->p[P_MAMT], 0, 127)); - } - if (w != MW_SOUND && w != MW_PARAM) - mut_pattern(t, a, (w == MW_RHYTHM ? 0u : MF_NOTES) | (w == MW_NOTES ? 0u : MF_RHYTHM) | - (MUT_CHROM(t) ? MF_CHROM : 0u)); - hit = 1; - } - if (s && !w && nx % s == 0u) { mut_sound(t, a); hit = 1; } - if (q && !w && nx % q == 0u) { mut_pattern(t, a, MF_NOTES | MF_RHYTHM); hit = 1; } - if (hit) { mut_flash[k] = 12; mut.moved |= (uint8_t)(1u << k); } - } - for (k = 0; k < NTRK; k++) - mut.sig[k] = steps_sig(&trk[k]); -} static void undo_mark(void) { project_capture(&proj_scratch); @@ -2292,15 +2009,12 @@ static int undo_do(void) /* 0: done */ return 1; str_cpy(name, proj_name, sizeof name); { - uint8_t st = mut.stale, mv = mut.moved; /* (0.9.3) the same music: its anchor still holds */ int rc; proj_lfo_keep = 1; /* (0.9.18: it plays on, MODE FREE's LFOs not faded again) */ rc = project_restore_runtime(&proj_scratch); proj_lfo_keep = 0; if (rc) return 1; - mut.stale = st; - mut.moved = mv; } proj_cur = cur; /* (the project's slot and name stay) */ str_cpy(proj_name, name, sizeof proj_name); diff --git a/firmware/src/ui.c b/firmware/src/ui.c index a318590a..d4726368 100644 --- a/firmware/src/ui.c +++ b/firmware/src/ui.c @@ -18,17 +18,6 @@ static int section_jump(uint32_t s); /* (song_main.c: 0.6.80, channel 16's PR static int song_select(uint32_t n); static void undo_mark(void); /* (0.6.21) project.c: the music before a change, */ static void system_init(void); /* (0.6.40) project.c: INIT SYSTEM */ -static uint32_t mut_progress(uint32_t k); /* (0.6.43) project.c: MUTATE's next, 0..256 (0xFFFF: off) */ -static void mut_keep(void); /* .. the music now the anchor */ -static uint32_t mut_on(const track_t *t); /* (0.9.9-seq2c) .. a track's MUTATE on, */ -static uint32_t mut_period(const track_t *t); /* .. the bars a result lasts (0: HOLD) */ -static void mut_forget(void); /* (0.9.3) .. another music now: no going back to the anchor */ -static int mut_revert(uint32_t mask); /* .. those tracks back to the anchor (0: done, 1: NO ANCHOR) */ -static void mut_revert_ui(int all); /* .. REVERT (SEQ + D5) / REVERT ALL (GLO + B4), UNDO first */ -static int mut_back_ok(void); /* .. an anchor to go back to */ -static uint8_t mut_flash[NTRK]; /* .. a mutation just now: frames left of its flash (HOME) */ -static uint8_t mut_freeze; /* .. GLO + A4: no mutation until again */ -static const uint8_t MUT_BARS[7] = {0, 1, 2, 4, 8, 16, 32}; /* .. SOUND / PATTERN every (OFF, bars) */ static int undo_do(void); /* .. back (and again: forward) */ static uint8_t undo_ok; static int project_used(uint32_t slot); @@ -272,7 +261,7 @@ static int32_t ratio_d(const param_desc_t *d, int32_t v) { return ratio_of(d->mi * while SELECT walks past it), each at most HINT_MAX times ever. The count kept with the settings, a byte a hint in engine * 15's spare favourite bytes 0..12 (no engine 15: 0 in older settings, a hint not yet given; 4..12 held the layer buttons' * "HOLD [X] QUICK" counts, gone: kept as saved, unused); INIT SYSTEM starts them over */ -enum { HK_NONE, HK_MOTION, HK_PUNCH, HK_MUTATE, HK_N }; +enum { HK_NONE, HK_MOTION, HK_PUNCH, HK_EUCLID, HK_N }; #define HINT_DWELL_MS 800u #define HINT_MAX 2u #define hint_given(k) (favorites.factory[15][(k)]) @@ -809,7 +798,7 @@ static void page_entered(void) ui.plk_src = (uint8_t)(ui.page + 1u); song.seq_mode = !ui.home && pg->fam == FAM_SEQ; ui.hint_k = ui.home ? HK_NONE : pg->graph == GR_MOTION ? HK_MOTION : pg->graph == GR_PUNCH ? HK_PUNCH : - pg->graph == GR_MUTATE ? HK_MUTATE : HK_NONE; /* (0.9.5: its hint once dwelt on: ui_layer.c hint_tick) */ + pg->graph == GR_EUCLID ? HK_EUCLID : HK_NONE; /* (0.9.5: its hint once dwelt on: ui_layer.c hint_tick) */ ui.hint_at = (uint8_t)(ui.home ? 255u : ui.page + 1u); ui.hint_ms = fm1_ms; ui.entry_open = 0; diff --git a/firmware/src/ui_draw.c b/firmware/src/ui_draw.c index 066a4277..4f01fece 100644 --- a/firmware/src/ui_draw.c +++ b/firmware/src/ui_draw.c @@ -2125,11 +2125,6 @@ static void confirm_text(char *a, char *b) str_cpy(a, "WRITE LIVE CHANGES?", 24); str_cpy(b, "UNDO AFTER: GLO + G4", 24); break; - case CF_MUT_BACK: /* (0.9.3) MUTATE turned OFF on track k (project.c mut_ask_poll) */ - str_cpy(a, "BACK TO BEFORE MUTATE?", 24); - str_cpy(b, "T1: SOUND AND PATTERN", 24); - b[1] = (char)('1' + k % NTRK); - break; case CF_INIT_SYS: /* (0.6.40) SAVE > TOOLS 5 */ str_cpy(a, "NEW PROJECT?", 24); str_cpy(b, "UNDO AFTER: GLO + G4", 24); @@ -2303,8 +2298,8 @@ static void draw_confirm(void) GFX_HOOK_ALIGN(0, 0, 212, 0, AL_H, "dialog detail centred"); cv_text_flags(ink_in(&AF_S, f, 212), 60, &AF_S, f, T_MID, cb, 8u | (f[str_len(f) - 1u] == ELLIPSIS)); } - dlg_button(12, 92, 90, "OCT -", ui.confirm == CF_DICE_ALL ? "CANCEL" : ui.confirm == CF_MUT_BACK ? "KEEP" : "NO", 0, cb); - dlg_button(110, 92, 90, "OCT +", ui.confirm == CF_MUT_BACK ? "BACK" : "YES", 1, cb); + dlg_button(12, 92, 90, "OCT -", ui.confirm == CF_DICE_ALL ? "CANCEL" : "NO", 0, cb); + dlg_button(110, 92, 90, "OCT +", "YES", 1, cb); } cv_blit(14, 66); dlg_crumb("NOTICE", "CONFIRM"); diff --git a/firmware/src/ui_euclid.c b/firmware/src/ui_euclid.c new file mode 100644 index 00000000..6d7e7c87 --- /dev/null +++ b/firmware/src/ui_euclid.c @@ -0,0 +1,318 @@ +/* SPDX-License-Identifier: GPL-3.0-only + * JIANT V10.6: SEQ > EUCLID and MODES, a pattern generator in MUTATE's place. Included by ui_graph.c. + * EUCLID: KNOB 1 HITS, 2 STEPS, 3 ROTATE spread the hits as evenly as the steps allow (the euclidean rhythm); KNOB 4 a + * DRUM track's LANE (each of its eight sounds its own HITS / STEPS / ROTATE, the pattern their least common length up to + * 64), a melodic track's VARY. MODES: four amounts that add to what is generated, 0 none: + * DRUM ACCENT (a second euclid of accents), GHOST (soft hits between), RATCHET (x2 / x4 hits), VARY + * melodic MOTION (how far the melody moves), HARMONY (chords of the scale on strong beats), OCTAVE, SLIDE + * VARY loosens the even grid: some hits move a step (towards the offbeat, more in the second half: it answers the + * first), a pickup before a strong beat, a hit left out; on a melodic track notes held over the gap after them. + * A melodic track's notes: its SCL (ROOT, SCALE) when one is set; else the key the other tracks' notes fit best (the + * screen says FROM Tn); else a scale and root of the seed's (NEW). Turning a knob writes the whole pattern again (the + * steps of the track; its automation stays); a new gesture after two seconds is an UNDO point. OCT+ a new variation + * (the seed), OCT- the one before. The settings are the session's (RAM), the pattern is the track's as any other */ +#define EU_M 4u +typedef struct { uint8_t h, n, r; } eul_t; +typedef struct { uint8_t on, lane, vary, src, root, ctr; uint16_t mask, seed, prev; uint8_t m[EU_M]; eul_t l[NLANE]; } eu_t; +static eu_t eu[NTRK]; +static uint32_t eu_s, eu_ms; +enum { EK_HITS, EK_STEPS, EK_ROT, EK_K4, EK_M0, EK_N = EK_M0 + EU_M }; + +static uint32_t eu_rnd(void) { eu_s ^= eu_s << 13; eu_s ^= eu_s >> 17; eu_s ^= eu_s << 5; return eu_s; } +static uint32_t eu_ch(uint32_t pct) { return eu_rnd() % 100u < pct; } +static uint32_t eu_hit(uint32_t i, const eul_t *l) { uint32_t n = l->n ? l->n : 1u, j = (i + n - l->r % n) % n; return l->h && (j * l->h) % n < l->h; } + +/* track k's settings, made the first time (a kit's four usual lanes; a melody of five in sixteen) */ +static eu_t *eu_of(uint32_t k) +{ + static const eul_t KIT[NLANE] = {{4, 16, 0}, {2, 16, 4}, {0, 16, 0}, {8, 16, 2}, {2, 16, 6}, {0, 16, 0}, {0, 16, 0}, {0, 16, 0}}; + eu_t *e = &eu[k % NTRK]; + if (!e->on) { + uint32_t i; + e->on = 1; + e->seed = e->prev = (uint16_t)(1u + k * 7u); + e->vary = 40; + for (i = 0; i < NLANE; i++) e->l[i] = KIT[i]; + if (drum_track(&trk[k])) { e->m[0] = 40; e->m[3] = 30; } + else { e->l[0].h = 5; e->m[0] = 45; e->m[1] = 20; e->m[2] = 10; e->m[3] = 15; } + } + return e; +} + +/* VARY on hits on[] of n steps (v 0..100); len[] (0: none) the steps each note holds */ +static void eu_vary(uint8_t *on, uint8_t *len, uint32_t n, uint32_t v) +{ + uint32_t i, g; + for (i = 1; i < n; i++) { + if (on[i] != 1u) continue; + if (eu_ch(v * (i >= n / 2u ? 7u : 4u) / 10u)) { /* a step on (to the offbeat mostly) or back */ + uint32_t j = (i & 1u) ? (eu_ch(50) ? i + 1u : i - 1u) : (eu_ch(60) ? i + 1u : i - 1u); + if (j > 0u && j < n && !on[j]) { on[i] = 0; on[j] = 2; } + } else if ((i & 3u) && eu_ch(v * 18u / 100u)) on[i] = 0; + } + for (i = 3; i < n; i += 4u) if (!on[i] && eu_ch(v * 22u / 100u)) on[i] = 1; /* a pickup */ + for (i = 0; len && i < n; i++) { + len[i] = 1; + if (!on[i]) continue; + for (g = 1; i + g < n && !on[i + g] && g < 4u; g++) {} + if (g > 1u && eu_ch(v * 7u / 10u)) len[i] = (uint8_t)(2u + eu_rnd() % (g - 1u)); + } +} + +/* the key of melodic track k: SCL's, else the one the other tracks' notes fit (src 1 + the track with the most), else + * the seed's (NEW); e->root and e->mask */ +static void eu_key(uint32_t k, eu_t *e) +{ + static const uint8_t TRY[7] = {1, 2, 3, 4, 8, 9, 7}, NEWS[6] = {2, 1, 3, 6, 8, 9}; /* MAJ MIN DOR MIX PHRY LYD HARM */ + const track_t *t = &trk[k]; + uint32_t hist[12] = {0}, best = 0, most = 0, tot = 0, j, i, r, c; + int32_t sc, top = -0x7FFFFFFF; + if (t->p[P_SCALE] > 0) { e->root = (uint8_t)(t->p[P_ROOT] % 12); e->mask = (uint16_t)scale_mask(t); e->src = 0; return; } + for (j = 0; j < trk_live && j < NTRK; j++) { + uint32_t n = 0, len = (uint32_t)clamp(trk[j].p[P_SLEN], 1, NSTEP); + if (j == k || drum_track(&trk[j])) continue; + for (i = 0; i < len; i++) { + const step_t *s = &trk[j].step[i]; + if (s->time != ST_NOTE) continue; + for (c = 0; c < s->n && c < 4u; c++, n++) hist[s->note[c] % 12u] += (i & 3u) ? 1u : 2u; + } + if (n > most) { most = n; best = j; } + tot += n; + } + if (tot >= 4u) { + for (r = 0; r < 12u; r++) + for (i = 0; i < 7u; i++) { + uint32_t m = SCALE_MASK[TRY[i]]; + for (sc = (int32_t)hist[r], c = 0; c < 12u; c++) + sc += (m >> ((c + 12u - r) % 12u)) & 1u ? 2 * (int32_t)hist[c] : -4 * (int32_t)hist[c]; + if (sc > top) { top = sc; e->root = (uint8_t)r; e->mask = (uint16_t)m; } + } + e->src = (uint8_t)(1u + best); + return; + } + eu_s = e->seed * 2654435761u + 11u; + e->root = (uint8_t)(eu_rnd() % 12u); + e->mask = (uint16_t)SCALE_MASK[NEWS[eu_rnd() % 6u]]; + e->src = 7; +} + +/* scale degree d (any integer) of the key from root pitch base: its note */ +static int32_t eu_deg(const uint8_t *pc, uint32_t np, int32_t base, int32_t d) +{ + int32_t o = d >= 0 ? d / (int32_t)np : -((-d + (int32_t)np - 1) / (int32_t)np); + return base + 12 * o + pc[d - o * (int32_t)np]; +} + +static void eu_drums(track_t *t, eu_t *e) +{ + uint8_t on[64]; + uint32_t l, i, len = 1, n; + for (l = 0; l < NLANE; l++) { /* the pattern: the lanes' least common length, up to 64 */ + uint32_t a = len, b = e->l[l].n; + if (!e->l[l].h) continue; + while (b) { uint32_t x = a % b; a = b; b = x; } + len = len / a * e->l[l].n > 64u ? 64u : len / a * e->l[l].n; + } + if (len < 2u) len = 16; + for (i = 0; i < NSTEP; i++) step_clear(&t->step[i]); + t->p[P_SLEN] = (int16_t)len; + for (l = 0; l < NLANE; l++) { + const eul_t *L = &e->l[l]; + eul_t acc = {(uint8_t)(L->h * e->m[0] / 100u + (e->m[0] && L->h ? 1u : 0u)), L->n, (uint8_t)(L->r + 1u)}; + if (!L->h || !(n = L->n)) continue; + eu_s = e->seed * 2654435761u + l * 97u + 1u; + for (i = 0; i < n; i++) on[i] = (uint8_t)eu_hit(i, L); + eu_vary(on, 0, n, l ? e->m[3] : e->m[3] / 2u); + for (i = 0; i < len; i++) { + if (on[i % n]) { + grid_hit(t, i, l, 1); + if (e->m[0] && eu_hit(i % n, &acc)) grid_acc(t, i, l, 1); + if (eu_ch(e->m[2] / 2u)) grid_hit_set(t, i, l, 1u + (eu_ch(70) ? LM_X2 : LM_X4)); + } else if (l && eu_ch(e->m[1] * 35u / 100u)) { + grid_hit_set(t, i, l, 1u + LM_GHOST); + } + } + } +} + +static void eu_melody(uint32_t k, track_t *t, eu_t *e) +{ + uint8_t on[64], ln[64], pc[12]; + uint32_t n = e->l[0].n ? e->l[0].n : 16u, i, c, np = 0, g = 0; + int32_t ctr = 0, base, deg = 0, mo = e->m[0], ha = e->m[1]; + for (i = 0; !e->ctr && i < (uint32_t)clamp(t->p[P_SLEN], 1, NSTEP); i++) /* the register: the notes it had at the + * first turn (none: C4), kept */ + if (t->step[i].time == ST_NOTE && t->step[i].n) { ctr += t->step[i].note[0]; g++; } + if (!e->ctr) e->ctr = (uint8_t)clamp(g ? ctr / (int32_t)g : 60, 36, 84); + ctr = e->ctr; + eu_key(k, e); + for (c = 0; c < 12u; c++) + if ((e->mask >> c) & 1u) pc[np++] = (uint8_t)c; + if (!np) { pc[0] = 0; np = 1; } + base = ctr - ((ctr - e->root + 120) % 12); /* the root at or below the middle */ + for (i = 0; i < NSTEP; i++) step_clear(&t->step[i]); + t->p[P_SLEN] = (int16_t)n; + eu_s = e->seed * 2654435761u + k * 131u + 7u; + for (i = 0; i < n; i++) on[i] = (uint8_t)eu_hit(i, &e->l[0]); + eu_vary(on, ln, n, e->vary); + for (i = 0; i < n; i++) { + step_t *s = &t->step[i]; + int32_t note, sh = 0; + if (!on[i]) continue; + if (i) { + int32_t span = mo * 5 / 100, d = span ? (int32_t)(eu_rnd() % (uint32_t)(2 * span + 1)) - span : 0; + if (!(i & 3u) && eu_ch(50)) d = -deg + (eu_ch(50) ? 0 : (np >= 7u ? 4 : 3)); /* home or the fifth */ + deg = clamp(deg + d, -3, 9); + } + if (eu_ch(e->m[2] * 6u / 10u)) sh = eu_ch(50) ? 12 : -12; + note = clamp(eu_deg(pc, np, base, deg) + sh, 24, 108); + s->time = ST_NOTE; + s->vel = 100; + s->note[0] = (uint8_t)note; + s->n = 1; + if (!(i & 3u) && eu_ch((uint32_t)ha)) { /* a chord of the scale on a strong beat */ + s->note[s->n++] = (uint8_t)clamp(eu_deg(pc, np, base, deg + 2) + sh, 24, 108); + if (ha > 50) s->note[s->n++] = (uint8_t)clamp(eu_deg(pc, np, base, deg + 4) + sh, 24, 108); + } + if (eu_ch(e->m[3] * 7u / 10u)) s->flags |= SF_SLIDE; + for (c = 1; c < ln[i] && i + c < n; c++) { /* held over the gap */ + t->step[i + c].time = ST_TIE; + t->step[i + c].n = 0; + } + } +} + +/* the pattern of track k written again from its settings */ +static void eu_gen(uint32_t k) +{ + track_t *t = &trk[k % NTRK]; + eu_t *e = eu_of(k); + if (fm1_ms - eu_ms > 2000u) undo_mark(); /* (a new gesture: an UNDO point) */ + eu_ms = fm1_ms; + load_begin(t, LOAD_PAT); + if (drum_track(t)) eu_drums(t, e); else eu_melody(k, t, e); + load_end(t); + pat_sig[k % NTRK] = ~steps_sig(t); /* (the user's steps now) */ + ui.force = 1; +} + +/* the knob views (params.c page_desc: ids ID_EU0 + EK_*): their values and descriptions for the selected track */ +static int16_t eu_v[EK_N]; +static param_desc_t eu_d; +static const param_desc_t *eu_desc(uint32_t k, int16_t **valp) +{ + static const char *const LN[NLANE] = {"BD", "SD", "CP", "CH", "OH", "TM", "RS", "CB"}; + static const char *const MD[2][EU_M] = {{"MOTION", "HARMONY", "OCTAVE", "SLIDE"}, {"ACCENT", "GHOST", "RATCHET", "VARY"}}; + eu_t *e = eu_of(song.sel); + uint32_t dr = drum_track(TSEL) != 0; + eul_t *L = &e->l[dr ? e->lane % NLANE : 0]; + k %= EK_N; + eu_d.fmt = F_INT; eu_d.min = 0; eu_d.def = 0; eu_d.names = 0; eu_d.unit = 0; + if (k == EK_HITS) { eu_d.label = "HITS"; eu_d.max = L->n; eu_v[k] = L->h; } + else if (k == EK_STEPS) { eu_d.label = "STEPS"; eu_d.min = 2; eu_d.max = 64; eu_v[k] = L->n; } + else if (k == EK_ROT) { eu_d.label = "ROTATE"; eu_d.max = L->n > 1u ? L->n - 1 : 0; eu_v[k] = L->r; } + else if (k == EK_K4 && dr) { eu_d.label = "LANE"; eu_d.fmt = F_ENUM; eu_d.max = NLANE - 1; eu_d.names = LN; eu_v[k] = e->lane; } + else if (k == EK_K4) { eu_d.label = "VARY"; eu_d.max = 100; eu_v[k] = e->vary; } + else { eu_d.label = MD[dr][k - EK_M0]; eu_d.max = 100; eu_v[k] = e->m[k - EK_M0]; } + *valp = &eu_v[k]; + return &eu_d; +} +/* knob k turned to v: the setting, then (not LANE) the pattern again */ +static void eu_put(uint32_t k, int32_t v) +{ + eu_t *e = eu_of(song.sel); + uint32_t dr = drum_track(TSEL) != 0; + eul_t *L = &e->l[dr ? e->lane % NLANE : 0]; + if (k == EK_K4 && dr) { e->lane = (uint8_t)clamp(v, 0, NLANE - 1); ui.force = 1; return; } + if (k == EK_HITS) L->h = (uint8_t)clamp(v, 0, L->n); + else if (k == EK_STEPS) { L->n = (uint8_t)clamp(v, 2, 64); if (L->h > L->n) L->h = L->n; if (L->r >= L->n) L->r = 0; } + else if (k == EK_ROT) L->r = (uint8_t)clamp(v, 0, L->n - 1); + else if (k == EK_K4) e->vary = (uint8_t)clamp(v, 0, 100); + else e->m[(k - EK_M0) % EU_M] = (uint8_t)clamp(v, 0, 100); + if (chain_busy()) { ui_message("STOP TO EDIT"); return; } + eu_gen(song.sel); +} +/* OCT+ a new variation, OCT- the one before */ +static void eu_oct(int up) +{ + eu_t *e = eu_of(song.sel); + if (chain_busy()) { ui_message("STOP TO EDIT"); return; } + if (up) { e->prev = e->seed; e->seed = (uint16_t)(e->seed * 25173u + 13849u); } + else { uint16_t s = e->seed; e->seed = e->prev; e->prev = s; } + eu_gen(song.sel); + ui_message(up ? "NEW VARIATION" : "VARIATION BEFORE"); +} + +/* ------------------------------------------------------------- the graph --- */ +/* the pattern as it is: a ring of its steps (DRUM: the lane picked) at the left; DRUM: the eight lanes as rows (HITS / + * STEPS) at the right; melodic: the key in the ring and the notes as a roll at the right, where the key came from */ +static void graph_euclid(const track_t *t) +{ + static const char *const LN[NLANE] = {"BD", "SD", "CP", "CH", "OH", "TM", "RS", "CB"}; + static const char *const NN[12] = {"C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"}; + const eu_t *e = eu_of(song.sel); + uint32_t dr = drum_track(t) != 0, len = (uint32_t)clamp(t->p[P_SLEN], 1, NSTEP), lane = e->lane % NLANE, i, n; + int32_t h = (int32_t)graph_h(), cy = h / 2, cx = 64, rad = h / 2 - 12 < 54 ? h / 2 - 12 : 54; + uint32_t now = song.playing ? t->seq_idx % len : ~0u; + char b[12]; + n = dr ? (e->l[lane].n < len ? e->l[lane].n : len) : len; + for (i = 0; i < n; i++) { /* the ring */ + uint32_t a = i * 65536u / n + 49152u; + int32_t x = cx + ((rad * og_cos(a)) >> 15), y = cy + ((rad * og_sin(a)) >> 15), r; + const step_t *s = &t->step[i]; + uint32_t hit = dr ? (step_lanes(s) >> lane) & 1u : s->time == ST_NOTE && s->n; + uint32_t acc = dr ? (step_accents(s) >> lane) & 1u : 0u, gh = dr && hit && step_lmode(s, lane) == LM_GHOST; + r = !hit ? 1 : gh ? 2 : acc ? 5 : n > 24u ? 3 : 4; + cv_rrect(x - r, y - r, 2 * r + 1, 2 * r + 1, r, !hit ? T_DIM : gh ? T_MID : dr ? T_ACCENT : T_THEME, T_SURF); + if (hit && dr && (step_lmode(s, lane) == LM_X2 || step_lmode(s, lane) == LM_X4)) + cv_frame(x - r - 2, y - r - 2, 2 * r + 5, 2 * r + 5, T_ACCENT); + if (i == now) cv_frame(x - 7, y - 7, 15, 15, T_TEXT); + } + if (dr) { + cv_text_in(cx - 30, cy - 8, 60, &AF_M, LN[lane], T_ACCENT, T_SURF); + for (i = 0; i < NLANE; i++) { /* the lanes */ + int32_t y = 6 + (int32_t)i * (h - 12) / NLANE, rh = (h - 12) / NLANE - 2; + uint16_t c = i == lane ? T_TEXT : e->l[i].h ? T_MID : T_DIM; + if (i == lane) cv_rect(136, y, 98, rh, T_RAISE); + cv_rect(136, y, 3, rh, i == lane ? T_ACCENT : T_DIM); + cv_text(144, y + (rh - 8) / 2, &AF_X, LN[i], c); + b[0] = 0; fmt_int(b, e->l[i].h); str_cpy(b + str_len(b), "/", 2); fmt_int(b + str_len(b), e->l[i].n); + cv_text_r(230, y + (rh - 8) / 2, &AF_X, b, c, i == lane ? T_RAISE : T_SURF); + } + return; + } + str_cpy(b, NN[e->root % 12u], sizeof b); /* the key, in the ring: its root, its scale */ + cv_text_in(cx - 30, cy - 14, 60, &AF_M, b, T_TEXT, T_SURF); + for (i = 1; i < sizeof SCALE_MASK / sizeof SCALE_MASK[0] && SCALE_MASK[i] != e->mask; i++) {} + if (i < sizeof SCALE_MASK / sizeof SCALE_MASK[0]) + cv_text_in(cx - 30, cy + 6, 60, &AF_X, N_SCALE[i], T_MID, T_SURF); + { /* the roll */ + int32_t x0 = 134, y0 = 8, w = 100, rh = h - 30, lo = 127, hi = 0, cw; + uint32_t c; + for (i = 0; i < len; i++) + for (c = 0; t->step[i].time == ST_NOTE && c < t->step[i].n && c < 4u; c++) { + lo = t->step[i].note[c] < lo ? t->step[i].note[c] : lo; + hi = t->step[i].note[c] > hi ? t->step[i].note[c] : hi; + } + if (hi < lo) { lo = 60; hi = 72; } + if (hi - lo < 12) { lo -= (12 - (hi - lo)) / 2; hi = lo + 12; } + cw = w / (int32_t)(len ? len : 1u); + cw = cw < 1 ? 1 : cw; + cv_frame(x0 - 1, y0 - 1, w + 2, rh + 2, T_DIM); + for (i = 0; i < len && (int32_t)i * cw < w; i++) { + const step_t *s = &t->step[i]; + uint32_t g = 1; + if (s->time != ST_NOTE) continue; + while (i + g < len && t->step[i + g].time == ST_TIE) g++; + for (c = 0; c < s->n && c < 4u; c++) { + int32_t y = y0 + rh - 3 - (s->note[c] - lo) * (rh - 4) / (hi - lo); + cv_rect(x0 + (int32_t)i * cw, y, (int32_t)g * cw - 1 > 1 ? (int32_t)g * cw - 1 : 1, 3, c ? T_ACCENT : T_THEME); + } + } + if (now != ~0u) cv_rect(x0 + (int32_t)now * cw, y0, 1, rh, T_TEXT); + if (e->src == 0u) str_cpy(b, "SCL", sizeof b); + else if (e->src == 7u) str_cpy(b, "NEW KEY", sizeof b); + else { str_cpy(b, "FROM T1", sizeof b); b[6] = (char)('0' + e->src); } + cv_text_in(x0, y0 + rh + 6, w, &AF_X, b, e->src == 7u ? T_ACCENT : T_MID, T_SURF); + } +} diff --git a/firmware/src/ui_graph.c b/firmware/src/ui_graph.c index ad372c69..9c3f4097 100644 --- a/firmware/src/ui_graph.c +++ b/firmware/src/ui_graph.c @@ -62,6 +62,7 @@ static void lz_uline(int32_t x, int32_t y, const aafont_t *f, const char *s, uin /* the height ADSR and LFO are drawn on: 100 px, or (MENU > LARGE's strip: draw_graph) the strip's ~ 56 */ static int32_t graph_ht = 100; #include "ui_organic.c" /* JIANT FM's organic line art (drawn by code) */ +#include "ui_euclid.c" /* (V10.6) SEQ > EUCLID / MODES: the generator, its graph */ #include "ui_fm6op.c" /* (0.6.10, from Felucca 1.5) EDIT > OPERATOR, OP ENV, OPERATOR 2 */ static uint16_t heat_col(int32_t v); /* (0.9.5, as the 0.6.36) JIANT (thermal): a card's colour its value as heat (ratio 0..1000, -1 none); bipolar (its range @@ -1095,7 +1096,7 @@ static void graph_title(void) * a step, once motion.c keeps one; till then its records as marks at the roll's foot */ static int seq_roll_view(const page_t *pg) { - return pg == &PAGES[ui.page] && lens_on() && pg->graph != GR_PATS && pg->graph != GR_SONG; + return pg == &PAGES[ui.page] && lens_on() && pg->graph != GR_PATS && pg->graph != GR_SONG && pg->graph != GR_EUCLID; } static int roll_view(const page_t *pg) { @@ -1106,32 +1107,6 @@ static void seq_col(uint32_t dr, uint32_t i, int32_t *x, int32_t *w) *x = dr ? 40 + (int32_t)i * 12 : PR_CX(i); *w = dr ? 10 : PR_CWI(i); } -/* MUTATE's chip: when the next mutation comes (or OFF, FROZEN) */ -static void mut_chip(const track_t *t, char *m) -{ - uint32_t sb = MUT_BARS[(uint32_t)clamp(t->p[P_MSND], 0, 6)], qb = MUT_BARS[(uint32_t)clamp(t->p[P_MPAT], 0, 6)]; - uint32_t now = song.playing ? bar_n : 0u, b = 1u, e = mut_period(t); - if (!mut_on(t) || song.sel >= trk_live) - str_cpy(m, "MUTATE OFF", 16); - else if (mut_freeze) - str_cpy(m, "FROZEN", 16); - else if (MUT_WHAT(t) && !e) /* (0.9.9-seq2c) LOOP HOLD: the result as it is */ - str_cpy(m, "HOLD", 16); - else if (MUT_WHAT(t) && e > 1u) { /* .. LOOP n: the bar of its n + 1 */ - str_cpy(m, "LOOP ", 16); - fmt_int(m + 5, (int32_t)(now % e + 1u)); - b = str_len(m); - m[b++] = '/'; - fmt_int(m + b, (int32_t)e); - } else { - if (MUT_WHAT(t)) sb = 1u, qb = 0u; - while (b < 32u && !(sb && (now + b) % sb == 0u) && !(qb && (now + b) % qb == 0u)) - b++; - str_cpy(m, "NEXT ", 16); - fmt_int(m + 5, (int32_t)b); - str_cpy(m + str_len(m), b > 1u ? " BARS" : " BAR", 6); - } -} /* the page's marks over the roll / the grid (0.9.17's): PLAYHEADS FUGUE's heads on the grid too (the roll draws them on * every page); COMP the steps with the cursor's component a bar on top ACCENT, another component a thin MID one; * AUTOMATION / AUTO LIST the records at the foot (a lock ACCENT, automation TEXT; AUTO LIST the row picked framed THEME); @@ -1168,13 +1143,6 @@ static void seq_overlay(const track_t *t, const page_t *pg) if (pg->graph == GR_EVENTS && k == cur) cv_frame(x, top, w + 1, bot - top, T_THEME); } - } else if (pg->graph == GR_MUTATE) { - char m[16]; - mut_chip(t, m); - w = text_w(&AF_X, m) + 8; - cv_rect(PR_RX + PR_RW - w, bot - 13, w, 13, T_RAISE); - GFX_HOOK_ALIGN(0, bot - 13, 0, bot, AL_V, "MUTATE chip text centred up/down"); - cv_text_on(PR_RX + PR_RW - w + 4, bot - 13 + CAP_IN(X, 13), &AF_X, m, T_TEXT, T_RAISE); } else if (pg->id[0] == P_POFS && !dr && t->p[P_POFS]) { for (i = 0; i < 16u && base + i < len; i++) { const step_t *st = &seq_steps(t)[base + i]; @@ -1443,11 +1411,10 @@ static uint32_t graph_signature(void) if (pg->graph == GR_MORPH) /* (0.6.45) the wave, MORPH */ h = (h ^ ((uint32_t)t->p[P_MORPH] << 16 | (uint32_t)t->p[P_E0] << 8 | (uint32_t)t->p[P_E1] | (uint32_t)t->p[P_E2] << 24)) * 16777619u; - if (pg->graph == GR_MUTATE) { /* (0.6.43) the bar, the settings, FREEZE */ - h = (h ^ (song.playing ? bar_n : 0u) * 2654435761u ^ mut_freeze * 977u ^ (uint32_t)mut_back_ok() * 131u) * 16777619u; - for (i = 0; i < NTRK; i++) - h = (h ^ ((uint32_t)trk[i].p[P_MSND] | (uint32_t)trk[i].p[P_MPAT] << 4 | (uint32_t)trk[i].p[P_MMODE] << 8 | - (uint32_t)(uint8_t)trk[i].p[P_MCFG] << 16)) * 16777619u; + if (pg->graph == GR_EUCLID) { /* (V10.6) the pattern, the lane, the key, the step playing */ + h = (h ^ steps_sig(t) ^ (uint32_t)t->p[P_SLEN] << 24) * 16777619u; + h = (h ^ eu[song.sel % NTRK].lane ^ (uint32_t)eu[song.sel % NTRK].src << 4 ^ (uint32_t)eu[song.sel % NTRK].root << 8 ^ + (song.playing ? t->seq_idx + 1u : 0u) << 16) * 16777619u; } if (pg->graph == GR_GCOMP) { /* (0.9.9-seq2f) the global lane, its cursor, MONO, the step playing */ h = (h ^ (gl_cur * 7919u + gl_trk * 31u + gl_mono * 977u + (song.playing ? gl_step_at(0) % GL_N + 1u : 0u))) * @@ -1520,7 +1487,6 @@ static uint32_t graph_signature(void) if (seq_roll_view(pg)) { /* (0.9.9-seq2b) the roll: every playhead's step (the keys light * what each sounds, in any bar: a step at a time), the page's marks */ uint32_t k; - char m[16]; for (k = 0; k <= FG_HEADS; k++) h = (h ^ (pr_head_step(t, k) + 1u)) * 16777619u; h = (h ^ (pg->graph == GR_FUGUE ? fg_ui + 1u : 0u) ^ (uint32_t)(uint8_t)t->p[P_POFS] << 8) * 16777619u; @@ -1528,10 +1494,6 @@ static uint32_t graph_signature(void) h = (h ^ (uint32_t)(uint8_t)fg_set[song.sel % NTRK][k].ivl) * 16777619u; if (pg->graph == GR_COMP) h = (h ^ (comp_slot() + 1u) * 40503u) * 16777619u; - if (pg->graph == GR_MUTATE) { - mut_chip(t, m); - h = str_hash(h, m); - } if (pg->graph == GR_MOTION || pg->graph == GR_EVENTS) { uint8_t idx[MOTION_MAX]; uint32_t n = ev_rows(idx); @@ -2053,6 +2015,9 @@ static void draw_graph(void) } else if (pg->graph == GR_LIVE) { /* (p2) GLO > LIVE: the rails, MANO's board (ui_live.c) */ cv_oy = 0; graph_live(); + } else if (pg->graph == GR_EUCLID) { /* (V10.6) SEQ > EUCLID / MODES: the ring, the lanes or the notes */ + cv_oy = 0; + graph_euclid(t); } else if (seq_roll_view(pg)) { /* (0.9.9-seq2b) every SEQ page: the roll (a kit: the grid), its marks */ cv_oy = 0; if (drum_track(t)) diff --git a/firmware/src/ui_input.c b/firmware/src/ui_input.c index 00d9c29a..4e6055e1 100644 --- a/firmware/src/ui_input.c +++ b/firmware/src/ui_input.c @@ -1155,7 +1155,6 @@ static void focus_knob(uint32_t slot, int32_t steps) d = track_desc(TSEL, P_M1SRC + 3u * (uint32_t)j + (slot == 2u ? 0u : 2u)); *p = (int16_t)param_turn(d, *p, slot == 2u ? (steps > 0 ? 1 : -1) : accel(EN_K1 + 3u, steps, d->max - d->min)); } -static void mutk_put(track_t *t, uint32_t k, int32_t v); static void edit_param(uint32_t slot, int32_t steps) { int16_t *vp; @@ -1385,21 +1384,13 @@ static void edit_param(uint32_t slot, int32_t steps) mod_ui_slot = (uint8_t)clamp((int32_t)mod_ui_slot + (steps > 0 ? 1 : -1), 0, 3); return; } - if (pg->graph == GR_MUTATE && (pg->id[slot] == ID_MUT0 + MK_KEEP || pg->id[slot] == ID_MUT0 + MK_REV)) { - if (steps > 0 && pg->id[slot] == ID_MUT0 + MK_KEEP) { /* (0.9.9-seq2c) MUTATE 2: KEEP, REVERT on the turn */ - mut_keep(); - ui_message("ANCHOR: THE MUSIC NOW"); - } else if (steps > 0) - mut_revert_ui(0); - return; - } d = page_desc(pg, slot, &vp); if (!d || !vp || d->max == d->min) return; v = param_turn(d, *vp, accel(EN_K1 + slot, steps, d->fmt == F_ENUM ? 0 : d->max - d->min)); *vp = (int16_t)v; - if (vp >= mutk_v && vp < mutk_v + MK_N) { /* (0.9.9-seq2c) MUTATE's packed knobs */ - mutk_put(TSEL, (uint32_t)(vp - mutk_v), v); + if (vp >= eu_v && vp < eu_v + EK_N) { /* (V10.6) EUCLID / MODES: the setting, the pattern again */ + eu_put((uint32_t)(vp - eu_v), v); return; } if (vp == &trks_ui) { /* (0.6.18) GLO > SYSTEM's TRKS: the MENU's setting, saved */ @@ -1425,29 +1416,6 @@ static void edit_param(uint32_t slot, int32_t steps) knob_cap(TSEL, (uint32_t)(vp - TSEL->p)); } -/* (0.9.9-seq2c) a MUTATE knob k (params.c MK_*) to v, packed into P_MCFG / P_MMODE. A 0.6.43 MUTATE (P_MSND / P_MPAT, - * WHAT 0) turned: WHAT and LOOP as near as they say (SOUND / PATTERN / ALL, LOOP its bars - 1), the periods cleared */ -static void mutk_put(track_t *t, uint32_t k, int32_t v) -{ - uint32_t c = MUT_CFG(t), m = (uint32_t)clamp(t->p[P_MMODE], 0, 15), held = MUT_WHAT(t) && MUT_LOOP(t) >= ML_HOLD; - if (MUT_LEGACY(t)) { - uint32_t s = MUT_BARS[clamp(t->p[P_MSND], 0, 6)], q = MUT_BARS[clamp(t->p[P_MPAT], 0, 6)]; - uint32_t e = s && q ? (s < q ? s : q) : s ? s : q; - c = (s && q ? MW_ALL : s ? MW_SOUND : MW_PATTERN) | (uint32_t)clamp((int32_t)e - 1, 0, 5) << 3 | (c & 64u); - t->p[P_MSND] = t->p[P_MPAT] = 0; - if (k == MK_LOOP) v = clamp(v, 0, 6) >= 4 ? 5 : (int32_t)(MUT_BARS[clamp(v, 0, 6)] ? MUT_BARS[clamp(v, 0, 6)] - 1u : 0u); - } - if (k == MK_WHAT) c = (c & ~7u) | (uint32_t)clamp(v, 0, MW_N - 1); - if (k == MK_LOOP) c = (c & ~56u) | (uint32_t)clamp(v, 0, ML_HOLD) << 3; - if (k == MK_SCALE) c = (c & ~64u) | (v ? 0u : 64u); - if (k == MK_DIR) m = (m & ~1u) | (uint32_t)(v & 1); - if (k == MK_PARAM) m = (m & 1u) | (uint32_t)clamp(v, 0, 7) << 1; - t->p[P_MCFG] = (int16_t)(127 - (int32_t)c); - t->p[P_MMODE] = (int16_t)m; - if (MUT_WHAT(t) && (MUT_LOOP(t) >= ML_HOLD) != held) - ui_message(held ? "MUTATE: FREE" : "MUTATE: HOLD"); - ui.force = 1; -} /* OCT+ on an action page: the picked action. A load stays picked (browse and load again); the others * are dropped once done. Flash writes only while stopped; over the user's data: the dialog */ @@ -2471,10 +2439,6 @@ static void ui_input_frame(void) } } else if (kind == CF_LIVE_COMMIT) { /* (p2) LIVE: the modifiers written (UNDO: marked above) */ live_commit(ui.confirm_trk); - } else if (kind == CF_MUT_BACK) { /* (0.9.3) MUTATE OFF: the track as the anchor (UNDO: marked above) */ - char mb[24] = "T1 BACK TO ANCHOR"; - mb[1] = (char)('1' + ui.confirm_trk % NTRK); - ui_message(mut_revert(1u << (ui.confirm_trk % NTRK)) ? "NO ANCHOR" : mb); } else if (kind == CF_CPU_TEST) { /* (0.6.83) SAVE > TOOLS 6: the heaviest song (UNDO: back) */ if (!chain_busy()) { cpu_test_song(); @@ -2543,8 +2507,6 @@ static void ui_input_frame(void) ui_message(dk_back(ui.confirm, ui.confirm_trk) ? "CAN'T UNDO" : ui.confirm == CF_DICE_SEQ ? "SEQ BACK" : ui.confirm == CF_DICE_LFO ? "LFO BACK" : ui.confirm == CF_DICE_FX ? "FX BACK" : "SOUND BACK"); - else if (ui.confirm == CF_MUT_BACK) /* (0.9.3) as it is (SEQ + D5 REVERT: later still) */ - ui_message("KEPT AS IT IS"); ui.confirm = 0; ui.force = 1; } else if (dice_kind(ui.confirm) && panel_enc(EN_SELECT)) { /* (0.6.65) SELECT again: another dice @@ -2606,9 +2568,8 @@ static void ui_input_frame(void) break; if (live_page()) /* (p2) LIVE: OCT- RETURN / held BYPASS, OCT+ COMMIT */ break; /* (ui_live.c live_frame) */ - if (!ui.home && !ui.menu && !ui.confirm && cur_page()->graph == GR_MUTATE) { /* (0.6.43) KEEP, FREEZE */ - if (b == B_OCTUP) { mut_keep(); ui_message("ANCHOR: THE MUSIC NOW"); } - else { mut_freeze = (uint8_t)!mut_freeze; ui_message(mut_freeze ? "MUTATE FROZEN" : "MUTATE FREE"); } + if (!ui.home && !ui.menu && !ui.confirm && cur_page()->graph == GR_EUCLID) { /* (V10.6) EUCLID / MODES: */ + eu_oct(b == B_OCTUP); /* OCT+ a new variation, OCT- the one before */ break; } if ((fm1_in.buttons & both) == both) diff --git a/firmware/src/ui_layer.c b/firmware/src/ui_layer.c index 5c665ba7..614aeb99 100644 --- a/firmware/src/ui_layer.c +++ b/firmware/src/ui_layer.c @@ -366,7 +366,6 @@ static void layer_let_go(uint32_t quiet) static void layer_opened(uint32_t l) { lys.l = (uint8_t)l; - lys.cook = 0; lys.nqc = 0; lys.song = 0; } @@ -455,9 +454,9 @@ static void hint_tick(void) ui_message("REC + PLAY, TURN A KNOB"); /* (0.6.92) how it is recorded */ else if (k == HK_PUNCH) ui_message("REC + PLAY, HOLD FX + A KEY"); /* (0.6.99) the lane's recording */ - else { /* HK_MUTATE */ - ui_message("OCT+ KEEP GLO+A4 FREEZE"); - str_cpy(ui.msg2, "SEQ+D5 REVERT GLO+B4 ALL", sizeof ui.msg2); /* (0.9.3) back to the anchor */ + else { /* (V10.6) HK_EUCLID */ + ui_message("TURN A KNOB: A PATTERN"); + str_cpy(ui.msg2, "OCT+ NEW OCT- BEFORE", sizeof ui.msg2); } ui.hint_pg = (uint8_t)at; /* (0.9.0: this page's only) */ } @@ -494,7 +493,6 @@ static void glo_tap(void) static void tools_key(uint32_t p) { const char *m; - char n[4]; if (!tl_cell(TSEL, p)) return; if (chain_busy()) { @@ -503,13 +501,7 @@ static void tools_key(uint32_t p) } if (!(m = tl_do(TSEL, p, ui.lane))) return; - if (p == TL_COOK && lys.cook < 99u) { /* "COOKED 3": the third since the layer opened */ - lys.cook++; - fmt_int(n, lys.cook); - ui_say("COOKED ", n); - } else { - ui_message(m); - } + ui_message(m); ui.force = 1; } @@ -595,7 +587,6 @@ static void rec_key(uint32_t p) #define TL_COPY 13u #define TL_PASTE 14u #define TL_STEP 15u /* (0.9.2) SEQ's G5: CLR STEP (ui_input.c seq_clr_step) */ -#define TL_MREV 12u /* (0.9.3) SEQ's D5: REVERT, the track back to MUTATE's anchor */ static void song_key(uint32_t p) { uint32_t k; @@ -719,8 +710,7 @@ static void session_dice(uint32_t seed) #define GLO_ALL ((uint32_t)NTRK) #define GLO_TAP 7u #define GLO_UNDO 8u /* (0.6.21) G4: UNDO the last big change (project.c undo_do) */ -#define GLO_FRZ 9u /* (0.6.43) A4: MUTATE frozen / free (project.c mutate_poll) */ -#define GLO_RVA 10u /* (0.9.3) B4: REVERT ALL, every track back to MUTATE's anchor */ + /* (V10.6) A4 FREEZE, B4 REVERT ALL and SEQ's D5 REVERT gone with MUTATE */ static void layer_key(uint32_t l, uint32_t k) { uint32_t p = key_place(k), i; @@ -738,11 +728,6 @@ static void layer_key(uint32_t l, uint32_t k) dx_mute_set(0); } else if (p == GLO_TAP) { glo_tap(); - } else if (p == GLO_FRZ) { - mut_freeze = (uint8_t)!mut_freeze; - ui_message(mut_freeze ? "MUTATE FROZEN" : "MUTATE FREE"); - } else if (p == GLO_RVA) { - mut_revert_ui(1); } else if (p == GLO_UNDO) { undo_ui(); } @@ -772,8 +757,6 @@ static void layer_key(uint32_t l, uint32_t k) cp_seq(p == TL_PASTE); else if (!key_black(k) && p == TL_STEP) seq_clr_step(); /* (0.9.2) G5: CLR STEP (AUTO LIST: the record) */ - else if (!key_black(k) && p == TL_MREV) - mut_revert_ui(0); /* (0.9.3) D5: REVERT (project.c) */ else if (!key_black(k)) tools_key(p); else if (p < NLANE && drum_track(TSEL)) @@ -915,9 +898,8 @@ static uint32_t layer_leds(uint32_t *br) on = b ? (p < NTRK && glo_sounding(p)) || (p >= NTRK && p < NTRK + 4u && !((dx_mute >> (p - NTRK)) & 1u)) : p < NTRK && ((lys.solo >> k) & 1u); /* (a group sounding: lit) */ can = !b && ((p < NTRK && p < trk_live) || p == GLO_ALL || (p == GLO_TAP && !song.g[G_CLOCK]) || - (p == GLO_UNDO && undo_ok) || p == GLO_FRZ || (p == GLO_RVA && mut_back_ok())); + (p == GLO_UNDO && undo_ok)); /* (the keys that do something breathe: not an asleep track's) */ - on |= !b && p == GLO_FRZ && mut_freeze; /* (0.6.43: FREEZE on: lit) */ } else if (l == LAYER_SCL) { /* the root lit, the scale's notes breathe */ e = (k + 5u + 12u - root) % 12u; on = e == 0u; @@ -928,7 +910,7 @@ static uint32_t layer_leds(uint32_t *br) on = !dx_lane_muted(p); } else if (l == LAYER_SEQ) { /* the tools breathe (not while a song plays); DRUM: the lane */ on = b && p < NLANE && drum_track(TSEL) && p == ui.lane; /* lit, the other lanes breathe */ - can = b ? p < NLANE && drum_track(TSEL) : p == TL_COPY ? 1u : p == TL_PASTE ? clip.n && !chain_busy() : p == TL_MREV ? mut_back_ok() : tl_cell(TSEL, p) && !chain_busy() && + can = b ? p < NLANE && drum_track(TSEL) : p == TL_COPY ? 1u : p == TL_PASTE ? clip.n && !chain_busy() : tl_cell(TSEL, p) && !chain_busy() && (p != TL_CAUTO || motion_count(TSEL)); /* (CLR AUTO: automation to clear; REVERT: an anchor) */ } else if (l == LAYER_SAVE && !b) { /* the section playing lit, the saved ones and the */ on = (p < SK_STORE && live.cur == (int8_t)p) || (p == SK_REC && live.srec) || /* actions breathe */ @@ -1053,10 +1035,8 @@ static uint32_t ly_keyname(uint32_t l, int blk, uint32_t p, char *nm) nm[6] = (char)('1' + p); return (perf_solo >> p) & 1u ? LS_HELD : p >= trk_live ? LS_DIM : LS_OFF; } - str_cpy(nm, p == GLO_ALL ? "UNMUTE" : p == GLO_TAP ? "TAP" : p == GLO_UNDO ? "UNDO" : p == GLO_FRZ ? "FREEZE" : - p == GLO_RVA ? "REVERT ALL" : "", 12); - return p == GLO_TAP && song.g[G_CLOCK] ? LS_DIM : p == GLO_UNDO && !undo_ok ? LS_DIM : p == GLO_FRZ && mut_freeze ? LS_HELD : - p == GLO_RVA && !mut_back_ok() ? LS_DIM : LS_OFF; + str_cpy(nm, p == GLO_ALL ? "UNMUTE" : p == GLO_TAP ? "TAP" : p == GLO_UNDO ? "UNDO" : "", 12); + return p == GLO_TAP && song.g[G_CLOCK] ? LS_DIM : p == GLO_UNDO && !undo_ok ? LS_DIM : LS_OFF; } if (l == LAYER_SCL) { /* every key its note: the root lit, the scale's plain, the rest dim */ static const uint8_t WN[16] = {5, 7, 9, 11, 0, 2, 4, 5, 7, 9, 11, 0, 2, 4, 5, 7}; @@ -1092,10 +1072,6 @@ static uint32_t ly_keyname(uint32_t l, int blk, uint32_t p, char *nm) str_cpy(nm,p == TL_COPY ? "COPY SEQ" : "PASTE SEQ",12); return p == TL_PASTE && (!clip.n || chain_busy()) ? LS_DIM : LS_OFF; } - if (p == TL_MREV) { /* (0.9.3) D5 */ - str_cpy(nm, "REVERT", 12); - return mut_back_ok() ? LS_OFF : LS_DIM; - } if (p == TL_STEP) { /* (0.9.2) G5 */ str_cpy(nm, cur_page()->graph == GR_EVENTS ? "DEL REC" : "CLR STEP", 12); return busy; @@ -1339,7 +1315,6 @@ static void layer_state(uint32_t l) for (k = 0; glo_drums() && k < 4u; k++) lst_chip(GLO_GROUP[k], (dx_mute >> k) & 1u ? "MUTE" : "ON", !((dx_mute >> k) & 1u)); lst_chip("UNDO", undo_ok ? "READY" : "-", undo_ok); - lst_chip("MUTATE", mut_freeze ? "FROZEN" : "FREE", mut_freeze); } else if (l == LAYER_MACRO) { /* the latch, each macro's routes */ lst_chip("LATCH", mac_latch ? "ON" : "OFF", mac_latch); for (k = 0; k < 4u; k++) { diff --git a/firmware/src/ui_lens.c b/firmware/src/ui_lens.c index 7a77d39a..2ebc9d0e 100644 --- a/firmware/src/ui_lens.c +++ b/firmware/src/ui_lens.c @@ -64,11 +64,11 @@ enum { LV_PAT, LV_BAR, LV_STEP, LV_N }; /* SEQ's pictures: the b * PLAYHEADS . STRETCH . COMP (COMP 2 after it, by SELECT as before) . AUTO (AUTOMATION, AUTO LIST). BAR and NOTE stay pages * (code puts them) but out of the chain, until the step held opens its own (the mock-up's slice 5) */ static const nv_t CE_SEQ[] = {NV("STEP", 0, 0, LV_BAR), NV("PATTERN", "LENGTH", 1, LV_PAT), NV("TRACK", 0, 1, LV_PAT), - NV("MUTATE", 0, 2, LV_PAT), NV("MUTATE 2", 0, 2, LV_PAT), + NV("EUCLID", 0, 2, LV_PAT), NV("MODES", 0, 2, LV_PAT), NV("PLAYHEADS", 0, 3, LV_PAT), NV("STRETCH", 0, 4, LV_PAT), NV("COMP", 0, 5, LV_STEP), NV("COMP 2", 0, 5, LV_STEP), NV("AUTOMATION", 0, 6, LV_BAR), NV("AUTO LIST", 0, 6, LV_BAR)}; -static const ng_t CG_SEQ[] = {{"STEP", 0}, {"LENGTH", "LEN"}, {"MUTATE", "MUT"}, {"PLAYHEADS", "HEAD"}, {"STRETCH", "STR"}, +static const ng_t CG_SEQ[] = {{"STEP", 0}, {"LENGTH", "LEN"}, {"EUCLID", "EUCL"}, {"PLAYHEADS", "HEAD"}, {"STRETCH", "STR"}, {"COMP", 0}, {"AUTO", 0}}; /* (seven tabs: a short form of 4 letters at most fits one) */ enum { FXL_TRACK, FXL_BUSES, FXL_EFFECT }; static const nv_t CE_FX[] = {NV("FX", "SENDS", 0, FXL_TRACK), NV("DIST", 0, 0, FXL_TRACK), NV("AUTO PAN", 0, 0, FXL_TRACK), diff --git a/firmware/src/ui_lzhome.c b/firmware/src/ui_lzhome.c index 8ec2e96b..b48801e8 100644 --- a/firmware/src/ui_lzhome.c +++ b/firmware/src/ui_lzhome.c @@ -98,8 +98,7 @@ static uint32_t eco_step(void) eco_fc.c1[c] = vk_heat(h + st); eco_fc.c2[c] = vk_heat(h + 2 * st); } - eco_fc.fl[c] = (uint8_t)((mut_flash[c] ? EF_UP : 0u) | - ((uint16_t)((uint16_t)fm1_ms - eco_fc.ms[c]) < 100u && eco.en[c] > 77 ? EF_SHUT : 0u)); + eco_fc.fl[c] = (uint8_t)((((uint16_t)((uint16_t)fm1_ms - eco_fc.ms[c]) < 100u && eco.en[c] > 77 ? EF_SHUT : 0u))); if (eco.en[c] > 2) eco.tm[c] += dt * (uint32_t)(200 + eco.en[c] * 5); else eco.tm[c] += dt * 60u; /* (silent: it still breathes, slowly) */ r = r * (256 + eco.en[c] * 5 / 4 + (bg_sin(eco.tm[c] / 3u) >> 11)) / 256; @@ -194,17 +193,6 @@ static void eco_being(uint32_t c, int32_t cx, int32_t cy, int32_t rq) for (i = 0; i < 3; i++) /* (their colours by its level: eco_step) */ bg_outline(g, &f, cx, cy, rr * SC[i] >> 8, !i, t, col[i]); bg_nv_in = 0; - if (mut_flash[c]) { /* MUTATE landed: one ring in the accent, opening and fading */ - int32_t q = 256 - (int32_t)mut_flash[c] * 256 / 12, rad = rr * (294 + q * 282 / 256) >> 8, px = cx + rad, py = cy; - uint32_t k; - for (k = 1; k <= 20u; k++) { - uint32_t a = k * 65536u / 20u; - int32_t x = cx + ((rad * og_cos(a)) >> 15), y = cy + ((rad * og_sin(a)) >> 15); - og_line_a(px, py, x, y, T_ACCENT, 256 - q); - px = x; - py = y; - } - } eco_face(cx, cy, rr, 159, en, eco_fc.fl[c]); } @@ -269,7 +257,7 @@ static void eco_draw(int32_t x0, int32_t y0, int words) eco_being(c, bx[c] - x0 * 16, by[c], eco.r[c]); ny = clamp(py + rad / 2 + 4, 4, bot); if (words && (!hud || (ny >= (int32_t)graph_y() + (home_set() ? 12 : 2) && ny + 14 <= (int32_t)(graph_y() + graph_h())))) - cv_text_in(px - 30 - x0, ny, 60, &AF_S, num, mut_flash[c] ? vk_heat(255) : c == song.sel ? T_THEME : eco_off(c) ? T_DIM : + cv_text_in(px - 30 - x0, ny, 60, &AF_S, num, c == song.sel ? T_THEME : eco_off(c) ? T_DIM : hud ? T_TEXT : T_MID, T_SURF); /* (0.9.0 HUD: TEXT, over the beings; 0.9.7: a mutation, white) */ } if (words && home_set()) { /* MACROS: the routes, LATCH */ diff --git a/firmware/src/ui_tools.c b/firmware/src/ui_tools.c index c272065f..d55de368 100644 --- a/firmware/src/ui_tools.c +++ b/firmware/src/ui_tools.c @@ -3,8 +3,9 @@ /* Felucca 1.2: the SEQ TOOLS layer's actions (ui_layer.c: SEQ held on STEP / the DRUM grid, PATTERN, CHANCE, * AUTOMATION). Included by ui_layer.c. The white keys from F3 (TL_*): * F3 CLEAR G3 REVERSE A3 SHIFT < B3 SHIFT > the whole sequence - * C4 RANDOM D4 COOK E4 BEAT (DRUM) F4 CLR AUTO new / a little changed; (JIANT 0.6.8) F4: the track's automation - * G4 CLEAR A4 REVERSE B4 FILL C5 RANDOM the selected lane (DRUM: ui.lane, black keys 1..8 pick it) + * F4 CLR AUTO (JIANT 0.6.8) the track's automation (V10.6: C4 RANDOM D4 COOK + * E4 BEAT and C5 the lane's RANDOM gone: SEQ > EUCLID generates) + * G4 CLEAR A4 REVERSE B4 FILL the selected lane (DRUM: ui.lane, black keys 1..8 pick it) * Each works on the selected track's steps 1..LEN (the steps past LEN stay); the track's automation stays (but * CLR AUTO's: it clears the track's automation and locks, every step, the steps stay). No undo * (TONIC): the song layer's RECALL brings the section back as it was stored. @@ -23,7 +24,10 @@ static uint32_t tl_rnd(uint32_t n) { return n ? rng() % n : 0u; } static int tl_gate(const step_t *s) { return s->time == ST_NOTE && s->n; } static uint32_t tl_lane(const step_t *s, uint32_t l) { return (step_lanes(s) >> l) & 1u; } /* place p's action is there for this track (the lane row and BEAT: DRUM only) */ -static int tl_cell(const track_t *t, uint32_t p) { return p < TL_N && (p < TL_BEAT || p == TL_CAUTO || drum_track(t)); } +static int tl_cell(const track_t *t, uint32_t p) /* (V10.6) RANDOM COOK BEAT and the lane's RANDOM gone: EUCLID */ +{ + return p < TL_RANDOM || p == TL_CAUTO || (drum_track(t) && p >= TL_LCLR && p < TL_LRND); +} /* the steps of t as they are now, before an action */ static void tl_take(const track_t *t) { memcpy(tl_src, t->step, sizeof tl_src); } @@ -97,110 +101,12 @@ static void tl_shift(track_t *t, uint32_t len, uint32_t d) } /* ------------------------------------------------------------- drums --- */ -/* hits per 16 steps -> per len (at least one when any) */ -static uint32_t tl_per(uint32_t k16, uint32_t len) { return !k16 ? 0u : k16 * len < 16u ? 1u : (k16 * len + 8u) / 16u; } -/* k hits spread evenly over len steps (euclidean: the first on step rot; mir: mirrored around it) into lane l */ -static void tl_euclid(track_t *t, uint32_t len, uint32_t l, uint32_t k, uint32_t rot, uint32_t mir) -{ - uint32_t i; - for (i = 0; k && i < len; i++) - if ((i * k) % len < k) - grid_hit(t, ((mir ? len - i : i) + rot) % len, l, 1); -} static void tl_lane_clear(track_t *t, uint32_t len, uint32_t l) { uint32_t i; for (i = 0; i < len; i++) grid_hit(t, i, l, 0); } -/* lane l at random, the drum machine way: the kick 3..5 a bar (one on step 1), the snare on beats 2 and 4, the - * closed hat 8..12, the others sparse (any: they may stay empty, RANDOM; else at least one hit, RANDOM LANE) */ -static void tl_lane_rnd(track_t *t, uint32_t len, uint32_t l, int any) -{ - tl_lane_clear(t, len, l); - if (l == DV_KICK) - tl_euclid(t, len, l, tl_per(3u + tl_rnd(3), len), 0, tl_rnd(2)); - else if (l == DV_SNARE) - tl_euclid(t, len, l, tl_per(2, len), 4u % len, 0); - else if (l == DV_HATC) - tl_euclid(t, len, l, tl_per(8u + tl_rnd(5), len), tl_rnd(2), 0); - else if (!any || !tl_rnd(l == DV_HATO ? 2u : 3u)) - tl_euclid(t, len, l, tl_per(1u + tl_rnd(2), len), l == DV_HATO ? (2u + 4u * tl_rnd(4)) % len : tl_rnd(len), 0); - if (l == DV_SNARE && !tl_rnd(3)) - grid_hit(t, tl_rnd(len), l, 1); /* (a ghost snare now and then) */ -} - -/* the lane hits of steps 1..len (n-th: its step and lane), the kick on step 1 not counted (it stays) */ -static uint32_t tl_hit_nth(const track_t *t, uint32_t len, uint32_t n, uint32_t *ip, uint32_t *lp) -{ - uint32_t i, l, c = 0; - for (i = 0; i < len; i++) - for (l = 0; l < NLANE; l++) - if (tl_lane(&t->step[i], l) && (i || l != DV_KICK) && c++ == n) { - *ip = i; - *lp = l; - return 1; - } - return c; -} -static uint32_t tl_lane_hits(const track_t *t, uint32_t len, uint32_t l) -{ - uint32_t i, c = 0; - for (i = 0; i < len; i++) - c += tl_lane(&t->step[i], l); - return c; -} -/* COOK on drums: 10..20 % of the hits (at least one) moved a step, or one added on a lane in use, or one taken - * away (never a lane's last, never the kick on step 1). A try that cannot (the step taken, a lane's last hit) does - * not count: another one is made (at most a few times as many) */ -static uint32_t tl_cook_hit(track_t *t, uint32_t len) -{ - uint32_t i = 0, l = 0, j, r = tl_rnd(4), n = tl_hit_nth(t, len, ~0u, &i, &l); /* (n: the count) */ - if (r == 2u || !n) { /* add: on a lane in use (none: the closed hat) */ - uint32_t used = 0; - for (j = 0; j < len; j++) - used |= step_lanes(&t->step[j]); - for (l = DV_HATC, j = tl_rnd(NLANE); used && j < 2u * NLANE; j++) - if ((used >> (j % NLANE)) & 1u) { - l = j % NLANE; - break; - } - j = tl_rnd(len); - if (tl_lane(&t->step[j], l)) - return 0; - grid_hit(t, j, l, 1); - return 1; - } - tl_hit_nth(t, len, tl_rnd(n), &i, &l); - if (r == 3u) { /* take one away */ - if (tl_lane_hits(t, len, l) < 2u) - return 0; - grid_hit(t, i, l, 0); - return 1; - } - j = (i + (tl_rnd(2) ? 1u : len - 1u)) % len; /* move one a step on (or back) */ - if (tl_lane(&t->step[j], l)) - return 0; - r = (step_accents(&t->step[i]) >> l) & 1u; - grid_hit(t, i, l, 0); - grid_hit(t, j, l, 1); - if (r) - grid_acc(t, j, l, 1); - return 1; -} -static void tl_cook_drum(track_t *t, uint32_t len, uint32_t hits) -{ - uint32_t m = hits * (10u + tl_rnd(11)) / 100u, n, sig = steps_sig(t); - for (m = m ? m : 1u, n = 4u * m + 64u; n; n--) { - if (tl_cook_hit(t, len) && m) - m--; - if (!m && steps_sig(t) != sig) /* (a hit moved there and back: one more) */ - break; - } -} - -/* FILL LANE: each press the next of every step, every 2nd, every 4th, none (anything else: every step). - * Returns the division now (0: cleared) */ static uint32_t tl_fill(track_t *t, uint32_t len, uint32_t l) { static const uint8_t E[3] = {1, 2, 4}; @@ -218,100 +124,6 @@ static uint32_t tl_fill(track_t *t, uint32_t len, uint32_t l) } /* ----------------------------------------------------------- melodic --- */ -static int32_t tl_in_scale(const track_t *t, int32_t n) { return (int32_t)((scale_mask(t) >> (uint32_t)((n - t->p[P_ROOT] + 120) % 12)) & 1u); } -/* the next note of the scale above (d 1) or below (d -1) n */ -static int32_t tl_neigh(const track_t *t, int32_t n, int32_t d) -{ - uint32_t g = 12; - do - n += d; - while (g-- && !tl_in_scale(t, n)); - return clamp(n, 0, 127); -} -/* RANDOM on a melodic track: the rhythm stays (the NOTE steps, their ties, accents and chance), the notes are new: a - * walk through the track's scale (ROOT, SCL) 9 semitones either side of the pattern's middle (an empty pattern: - * around the root near C4, on an 8th-note rhythm with some rests). A chord keeps its shape, each note snapped - * down into the scale */ -static void tl_random_notes(track_t *t, uint32_t len) -{ - uint8_t deg[20]; - int32_t c = 0, lo, d, x; - uint32_t i, k, g = 0, nd = 0, at; - for (i = 0; i < len; i++) - if (tl_gate(&t->step[i])) { - c += t->step[i].note[0]; - g++; - } - if (g) { - c /= (int32_t)g; - } else { /* no rhythm: 8ths, a few rests, always step 1 */ - c = 60 + t->p[P_ROOT] % 12; - c -= c > 66 ? 12 : 0; - for (i = 0; i < len; i++) { - step_clear(&t->step[i]); - if (i % 2u == 0u && (!i || tl_rnd(4))) { - t->step[i].time = ST_NOTE; - t->step[i].n = 1; - t->step[i].vel = 96; - } - } - } - for (lo = clamp(c - 9, 12, 100), x = lo; x <= lo + 18 && nd < sizeof deg; x++) - if (tl_in_scale(t, x)) - deg[nd++] = (uint8_t)x; - if (!nd) - return; - at = nd / 2u + tl_rnd(5); - at = at >= 2u ? at - 2u : 0u; - for (i = 0; i < len; i++) { - step_t *s = &t->step[i]; - if (!tl_gate(s)) - continue; - at = at >= nd ? nd - 1u : at; - d = (int32_t)deg[at] - s->note[0]; - s->note[0] = deg[at]; - for (k = 1; k < s->n && k < 4u; k++) { - x = clamp(s->note[k] + d, 1, 127); - while (!tl_in_scale(t, x) && x > 1) - x--; - s->note[k] = (uint8_t)x; - } - if (!tl_rnd(6)) { /* a leap now and then, else a step or two */ - at = tl_rnd(nd); - } else { - x = (int32_t)at + (int32_t)tl_rnd(5) - 2; - at = (uint32_t)(x < 0 ? -x : x >= (int32_t)nd ? 2 * ((int32_t)nd - 1) - x : x); - } - } -} - -/* COOK on a melodic track: 15..25 % of the NOTE steps (at least one; more when they undid each other): a note to the - * next scale note up or down (mostly) or an octave, an accent on / off, a chance of 50 / 75 % or back to 100 */ -static void tl_cook_notes(track_t *t, uint32_t len, uint32_t g) -{ - uint32_t m = g * (15u + tl_rnd(11)) / 100u, i, k, r, n, sig = steps_sig(t), tries = 64; - for (m = m ? m : 1u; tries-- && (m || steps_sig(t) == sig); m -= m != 0u) { /* (undone again: one more) */ - step_t *s; - n = tl_rnd(g); - for (i = 0; i < len && (!tl_gate(&t->step[i]) || n--); i++) - ; - s = &t->step[i % NSTEP]; - r = tl_rnd(8); - if (r == 6u) { - s->flags ^= SF_ACCENT; - } else if (r == 7u) { - step_set_chance(s, step_chance(s) < 100u ? 100u : tl_rnd(2) ? 75u : 50u); - } else { - int32_t d = tl_rnd(2) ? 1 : -1, o = r == 5u ? d * 12 : 0; - for (k = 0; k < s->n && k < 4u; k++) /* (an octave out of 24 .. 108: a scale step instead) */ - if (s->note[k] + o < 24 || s->note[k] + o > 108) - o = 0; - for (k = 0; k < s->n && k < 4u; k++) - s->note[k] = (uint8_t)(o ? s->note[k] + o : tl_neigh(t, s->note[k], d)); - } - } -} - /* ------------------------------------------------------------ actions --- */ /* the action of place p on track t (lane l): its message; 0 = nothing done (said why) */ static const char *tl_do(track_t *t, uint32_t p, uint32_t l) @@ -319,7 +131,6 @@ static const char *tl_do(track_t *t, uint32_t p, uint32_t l) static char b[24]; uint32_t len = tl_len(t), i, n = 0; uint64_t was = tl_used(t, len); - int drum = drum_track(t); const char *msg = 0; l %= NLANE; if (p == TL_CAUTO) { /* (JIANT 0.6.8) the automation and locks, every step */ @@ -330,14 +141,6 @@ static const char *tl_do(track_t *t, uint32_t p, uint32_t l) motion_clear(t); return "AUTOMATION CLEARED"; } - if (p == TL_COOK) { /* (nothing there: nothing to cook) */ - for (i = 0; i < len; i++) - n += drum ? (uint32_t)__builtin_popcount(step_lanes(&t->step[i])) : (uint32_t)tl_gate(&t->step[i]); - if (!n) { - ui_message("NOTHING TO COOK"); - return 0; - } - } tl_take(t); switch (p) { case TL_CLEAR: { /* (0.6.28: names the track, ends its held / repeated notes) */ @@ -353,34 +156,6 @@ static const char *tl_do(track_t *t, uint32_t p, uint32_t l) case TL_REV: tl_reverse(t, len); msg = "REVERSED"; break; case TL_LEFT: tl_shift(t, len, len - 1u); msg = "SHIFTED LEFT"; break; case TL_RIGHT: tl_shift(t, len, 1u); msg = "SHIFTED RIGHT"; break; - case TL_RANDOM: - if (drum) { - for (i = 0; i < len; i++) - step_clear(&t->step[i]); - for (i = 0; i < NLANE; i++) - tl_lane_rnd(t, len, i, 1); - msg = "RANDOM BEAT"; - } else { - tl_random_notes(t, len); - msg = "RANDOM NOTES"; - } - break; - case TL_COOK: - if (drum) - tl_cook_drum(t, len, n); - else - tl_cook_notes(t, len, n); - msg = "COOKED"; - break; - case TL_BEAT: /* four on the floor, the backbeat, 8th hats */ - for (i = 0; i < len; i++) { - step_clear(&t->step[i]); - if (i % 4u == 0u) grid_hit(t, i, DV_KICK, 1); - if (i % 8u == 4u) grid_hit(t, i, DV_SNARE, 1); - if (i % 2u == 0u) grid_hit(t, i, DV_HATC, 1); - } - msg = "BASIC BEAT"; - break; default: /* the lane's */ str_cpy(b, drum_lane_name(t, l), sizeof b); if (p == TL_LCLR) { @@ -394,12 +169,9 @@ static const char *tl_do(track_t *t, uint32_t p, uint32_t l) grid_acc(t, i, l, (step_accents(s) >> l) & 1u); } msg = " REVERSED"; - } else if (p == TL_LFILL) { + } else { n = tl_fill(t, len, l); msg = n == 1u ? " EVERY STEP" : n == 2u ? " EVERY 2ND" : n ? " EVERY 4TH" : " CLEARED"; - } else { - tl_lane_rnd(t, len, l, 0); - msg = " RANDOM"; } str_cpy(b + str_len(b), msg, sizeof b - str_len(b)); msg = b; diff --git a/tests/gen_test.c b/tests/gen_test.c index bb5e950d..ad63ae8d 100644 --- a/tests/gen_test.c +++ b/tests/gen_test.c @@ -562,7 +562,7 @@ int main(void) trk[3].p[P_MSND] = 3; trk[0].p[P_MPAT] = 2; gen_go(); for (k = 0; k < NTRK; k++) on += trk[k].p[P_MSND] || trk[k].p[P_MPAT]; - bad += gcheck("a new piece: MUTATE SOUND / PATTERN OFF on every track, the anchor kept", !on && mut.ok); + bad += gcheck("a new piece: the retired MUTATE slots 0 on every track (V10.6: MUTATE gone)", !on); } /* ---- (0.6.95) a throw its own: HOUSE over twelve seeds takes more than one drum map and more than one chord * play; RANDOM over forty seeds throws mutants ("A+B") a third of the time or so, each playable and storable */ @@ -876,7 +876,6 @@ int main(void) uint32_t r = gs.role[k], ri, ft, o, ok = 0; const grecipe_t *a; if (drum_track(t)) { dr = k; continue; } - muts += MUT_WHAT(t) == MW_PATTERN; if (!gs.act[r] || (r != RL_BASS && r != RL_LEAD)) continue; ri = gs.g->snd[r == RL_BASS ? GP_BASS : GP_LEAD]; a = &RECIPE[ri]; @@ -889,8 +888,7 @@ int main(void) } if (dr < NTRK && gs.act[RL_DRUM] && dx_glue != GG_GLUE(gg) * 4u) glue_bad++; if (dr < NTRK && !gs.act[RL_DRUM] && trk[dr].step[0].time == ST_NOTE) kit_bad++; - if (GG_MUT(gg) && (gs.act[RL_ARP] || gs.act[RL_PAD]) && muts != 1u) mut_bad++; - if (!GG_MUT(gg) && muts) mut_bad++; + (void)muts; /* (V10.6: MUTATE gone, no genre sets it) */ if (dr < NTRK && gs.act[RL_DRUM] && (gs.g->drum == DM_HOUSE || gs.g->drum == DM_TECHNO || gs.g->drum == DM_TECHHOUSE)) { const track_t *d = &trk[dr]; /* (four on the floor, the clap or snare on 2 and 4) */ four_n++; @@ -923,7 +921,7 @@ int main(void) printf("gen: archetypes: %u parts checked; engine %u, filter %u, wave %u off; GLUE %u, MUTATE %u off; four on the floor %u of %u\n", checks, eng_bad, flt_bad, wave_bad, glue_bad, mut_bad, four_ok, four_n); bad += gcheck("(0.9.9-gen1) archetypes: every genre's bass and lead on its engine, its filter type and wave", !eng_bad && !flt_bad && !wave_bad); - bad += gcheck(" the grammar: DRUM-X GLUE and MUTATE as the genre has them; 4/4 kick, 2/4 clap in house and techno", + bad += gcheck(" the grammar: DRUM-X GLUE as the genre has it; 4/4 kick, 2/4 clap in house and techno", !glue_bad && !mut_bad && !kit_bad && four_ok == four_n && four_n); bad += gcheck(" ACID HOUSE: ANALOG saw/square, LP, RES >= 90, CUT low, ENV high, short over a sustain, LEGATO, glide TIME ~55 ms, slides ..", acid_n && acid_ok == acid_n); diff --git a/tests/ui_render.c b/tests/ui_render.c index ef677045..f5bba561 100644 --- a/tests/ui_render.c +++ b/tests/ui_render.c @@ -666,7 +666,7 @@ enum { S_HOME, S_HOME_IDLE, S_MESSAGE, S_MESSAGE_KEY, S_MESSAGE_NOFILE, S_PRESET S_TOAST_ENV, S_TOAST_MUTATE, S_TOAST_MUTATE_HINT, S_TOAST_MOTION, S_TOAST_MOTION_LOCKS, S_TOAST_PUNCH, S_TOAST_AUTO_LIST, S_TOAST_AUTO_LIST_DRUM, S_TOAST_PATTERN, S_TOAST_FM6_OP, S_TOAST_ANALOG, S_COUNT }; static const char *const S_NAME[S_COUNT] = {"home", "home_idle", "message", "message_key", "message_nofile", "presets", "presets_nofav", "user", - "phrases", "project", "tools", "song_empty", "song", "step", "pattern", "chance", "comp", "comp_trig", "comp_echo", "mutate", "morph", "dx_image", "dx_send", "page_flash", "page_flash_home", "fugue", "motion", "drum", + "phrases", "project", "tools", "song_empty", "song", "step", "pattern", "chance", "comp", "comp_trig", "comp_echo", "euclid", "morph", "dx_image", "dx_send", "page_flash", "page_flash_home", "fugue", "motion", "drum", "drum_hand", "drum_cym", "mixer", "mixer_pan", "env", "env_dest", "lfo", "mod", "fx", "slicer", "slbus", "slpitch", "dly", "scl", "shift", "arp", "voice", "global", "system", "edit_analog", FELUCCA_FM4 ? "edit_digital" : "edit_fm6", "op_env", "edit_wheel", "edit_voice", "edit_noise", "alg_1", "alg_2", "alg_3", "alg_4", "alg_5", "alg_6", "alg_7", "alg_8", "op_level", "fm6_alg_01", "fm6_alg_05", "fm6_alg_22", "fm6_alg_32", "drumx", "drumx_hit", "dx_sound", "dx_sound2", "confirm_seq", "confirm_project", "confirm_user", "confirm_pattern", @@ -686,12 +686,12 @@ static const char *const S_NAME[S_COUNT] = {"home", "home_idle", "message", "mes "roll_locks", "roll_lock_held", "drum_locks", "drum_lock_held", "motion_locks", "auto_list", "auto_list_add", "auto_list_drum", "layer_rec", "layer_rec_set", "layer_rec_song", "layer_macro", "mseq", "dist", "dly2", "reverb2", "chorus", "master", "lfo_dest", "lfo2", "lfo2_free", "countin", "countin_2bars", "menu_audio", "head_play_rec", "head_rec_other", "head_bpm_turn", "head_bpm_lock", "head_bpm_locked", "head_glo_turn", "head_downbeat", "head_beat_2", - "save_library", "save_tools", "save_project", "save_arrange", "save_sound", "save_presets", "save_timeline", "pg_retrig", "pg_rotor", "pg_length", "pg_mutate2", "pg_dly3", "pg_slbus", "pg_tape", "pg_eq", "pg_system2", "pg_comps", "pg_comps2", "pg_kit2", "pg_kit3", "pg_kit4", "pg_levels", "pg_levels2", "pg_xmod", + "save_library", "save_tools", "save_project", "save_arrange", "save_sound", "save_presets", "save_timeline", "pg_retrig", "pg_rotor", "pg_length", "pg_modes", "pg_dly3", "pg_slbus", "pg_tape", "pg_eq", "pg_system2", "pg_comps", "pg_comps2", "pg_kit2", "pg_kit3", "pg_kit4", "pg_levels", "pg_levels2", "pg_xmod", "fx_track_sends", "fx_track_dist", "fx_track_pan", "fx_buses", "fx_effect_delay", "fx_effect_delay2", "fx_effect_reverb", "fx_effect_slicer", "fx_effect_master", "home_macros", "home_being", "home_routes", "gen_lead", "ed_filter", "ed_filter_bp", "ed_voice2", "ed_focus", "ed_focus_mod", "ed_operator", - "env_tracks", "env_tracks_dest", "env_stage", "env_stage_sus", "mseq2", "key_chord", "key_chord_off", "key_arp", "key_arp2", "glo_sends", "menu_row", "menu_row_leds", "ly_fx_knobs", "ly_fx_state", "ly_glo_state", "dlg_dice_sound", "dlg_dice_seq", "dlg_dice_fx", "dlg_mut_back", + "env_tracks", "env_tracks_dest", "env_stage", "env_stage_sus", "mseq2", "key_chord", "key_chord_off", "key_arp", "key_arp2", "glo_sends", "menu_row", "menu_row_leds", "ly_fx_knobs", "ly_fx_state", "ly_glo_state", "dlg_dice_sound", "dlg_dice_seq", "dlg_dice_fx", "euclid_modes", "drum_hit_x4", "drum_hit_ghost", "drum_oct_x8", "drum_oct_flam", "comp_touch", "comp_echo_even", "gen_explore", "vx_head_a", "vx_head_i", "vx_head_u", "vx_head_s", "vx_head_m", "vx_head_k", "vx_head_t", "vx_head_f", "vx_head_vowel", "vx_head_home", "vx_head_quiet", "vx_bird", "vx_cmos", "vx_insect", "vx_wing", "vx_mammal", "vx_morph_insect_bird", "vx_morph_bird_mammal", @@ -1121,9 +1121,9 @@ static void setup(int s) case S_MORPH: /* (0.6.45) ANALOG SAW, MORPH 50 */ set_engine_of(TSEL, ENGI_ANALOG); TSEL->p[P_E0] = 0; TSEL->p[P_MORPH] = 50; go_page(GR_MORPH); break; - case S_MUTATE: /* (0.6.43) three tracks mutating, bar 5 */ - trk[0].p[P_MSND] = 2; trk[0].p[P_MPAT] = 4; trk[1].p[P_MSND] = 3; trk[1].p[P_MMODE] = 1; trk[3].p[P_MPAT] = 1; - bar_n = 5; go_page(GR_MUTATE); + case S_MUTATE: /* (V10.6) EUCLID on the kit: BD 5 of 16, the lanes at the right */ + song.sel = 0; set_engine_of(TSEL, ENGI_DRUM); go_title("EUCLID"); + eu_put(EK_HITS, 5); break; case S_CHANCE: go_page(GR_CHANCE); step_set_chance(&TSEL->step[0], 65); break; case S_COMP: /* (0.6.39) an ARP NOTES step: UP-DN x6 over two octaves */ @@ -1206,13 +1206,12 @@ static void setup(int s) uint32_t k; for (k = 0; k < NTRK; k++) { trk[k].peak = (int32_t)(1200u + k * 1100u); trk[k].p[P_MSND] = 1; } trk[4].p[P_MUTE] = 1; - mut_flash[1] = 7; break; } case S_HOME_FACES: { /* (0.9.7) HOME A: the faces: T1 hit just now (its eyes shut), the others * quiet .. loud (their mouths, their colours), T6 muted (asleep) */ uint32_t k; - for (k = 0; k < NTRK; k++) { mut_flash[k] = 0; trk[k].peak = (int32_t)(k * 1700u); } + for (k = 0; k < NTRK; k++) trk[k].peak = (int32_t)(k * 1700u); trk[0].peak = 3500; eco.en[0] = 128; eco_fc.ms[0] = (uint16_t)fm1_ms; @@ -1245,12 +1244,14 @@ static void setup(int s) case S_ENV_STAGE: case S_ENV_STAGE_SUS: go_title("STAGE"); ui.stage = s == S_ENV_STAGE ? 1 : 2; ui.hot_col = 1; ui.hot_t = 30; break; case S_MSEQ2: go_title("MSEQ 2"); break; - case S_DLG_MUT_BACK: /* (0.9.3) MUTATE turned OFF on T3 after mutating: the NOTICE */ - song.sel = 2; trk[2].p[P_MSND] = 2; trk[2].p[P_MPAT] = 4; mut_keep(); - trk[2].p[P_MSND] = trk[2].p[P_MPAT] = 0; - go_page(GR_MUTATE); - ui.confirm = CF_MUT_BACK; ui.confirm_trk = 2; + case S_DLG_MUT_BACK: { /* (V10.6) MODES on a melodic track in C minor: the ring, the notes */ + uint32_t i; + song.sel = 1; set_engine_of(TSEL, ENGI_ANALOG); TSEL->p[P_SCALE] = 2; TSEL->p[P_ROOT] = 0; + go_title("MODES"); + eu_put(EK_M0 + 1u, 60); /* HARMONY 60: chords on the strong beats */ + (void)i; break; + } case S_DLG_DICE_SOUND: case S_DLG_DICE_SEQ: case S_DLG_DICE_FX: { /* (0.8.5) the DICE dialog: BEFORE / NOW */ uint32_t k = s == S_DLG_DICE_SOUND ? CF_DICE_SOUND : s == S_DLG_DICE_SEQ ? CF_DICE_SEQ : CF_DICE_FX; go_title("EDIT 1"); song.playing = 0; @@ -1602,7 +1603,7 @@ static void setup(int s) * song B16 C16 A32 D8 C16 A32 (scenes on 2 and 4, END LOOP); seven user sounds */ case S_PG0 ... S_PG_END: { /* (V10.1) the pages the manual had no screen of: by title, on the engine they need */ static const struct { const char *t; uint32_t e, sec; } PG[S_PG_END - S_PG0 + 1] = - {{"RETRIG", ENGI_LOFI, SEC_EDIT}, {"ROTOR", ENGI_WHEEL, SEC_EDIT}, {"LENGTH", 0xFFu, SEC_SEQ}, {"MUTATE 2", 0xFFu, SEC_SEQ}, {"DLY 3", 0xFFu, SEC_FX}, {"SL BUS", 0xFFu, SEC_FX}, {"TAPE", 0xFFu, SEC_FX}, {"EQ", 0xFFu, SEC_FX}, {"SYSTEM 2", 0xFFu, SEC_GLO}, {"COMPS", 0xFFu, SEC_GLO}, {"COMPS 2", 0xFFu, SEC_GLO}, {"KIT 2", ENGI_DRUM, SEC_EDIT}, {"KIT 3", ENGI_DRUM, SEC_EDIT}, {"KIT 4", ENGI_DRUM, SEC_EDIT}, {"LEVELS", ENGI_DRUM, SEC_EDIT}, {"LEVELS 2", ENGI_DRUM, SEC_EDIT}, {"X-MOD", ENGI_DRUM, SEC_EDIT}}; + {{"RETRIG", ENGI_LOFI, SEC_EDIT}, {"ROTOR", ENGI_WHEEL, SEC_EDIT}, {"LENGTH", 0xFFu, SEC_SEQ}, {"MODES", 0xFFu, SEC_SEQ}, {"DLY 3", 0xFFu, SEC_FX}, {"SL BUS", 0xFFu, SEC_FX}, {"TAPE", 0xFFu, SEC_FX}, {"EQ", 0xFFu, SEC_FX}, {"SYSTEM 2", 0xFFu, SEC_GLO}, {"COMPS", 0xFFu, SEC_GLO}, {"COMPS 2", 0xFFu, SEC_GLO}, {"KIT 2", ENGI_DRUM, SEC_EDIT}, {"KIT 3", ENGI_DRUM, SEC_EDIT}, {"KIT 4", ENGI_DRUM, SEC_EDIT}, {"LEVELS", ENGI_DRUM, SEC_EDIT}, {"LEVELS 2", ENGI_DRUM, SEC_EDIT}, {"X-MOD", ENGI_DRUM, SEC_EDIT}}; if (PG[s - S_PG0].e != 0xFFu) eng(PG[s - S_PG0].e); nav_scene(PG[s - S_PG0].sec, PG[s - S_PG0].t); break; diff --git a/tests/ui_test.c b/tests/ui_test.c index f46a24b5..3e10f5ef 100644 --- a/tests/ui_test.c +++ b/tests/ui_test.c @@ -662,73 +662,6 @@ static void mut_bars(uint32_t bars) uint32_t b, n = bars * 4u * beat_samples() / CTL + 4u; for (b = 0; b < n; b++) { mix_block(o, CTL); if (!(b & 7u)) mutate_poll(); } } -static int test_mutate(void) -{ - int bad = 0, ok; - uint32_t k, i, kick0 = 0, kick1 = 0; - int16_t lvl, pan, e0[8]; - track_t *t, *d; - ui_power_on(); - t = &trk[0]; - d = &trk[3]; - mut_freeze = 0; - ok = mut_progress(0) == 0xFFFFu; - t->p[P_MSND] = 1; /* every bar */ - mutate_poll(); - ok &= t->p[P_MAMT] == 64 && mut.ok; - bad += check("MUTATE: off, no ring; SOUND on: AMOUNT 64, the anchor taken", ok); - for (i = 0; i < 8u; i++) e0[i] = t->p[P_E0 + i]; - lvl = t->p[P_LEVEL]; pan = t->p[P_PAN]; - press(B_PLAY); - mutate_poll(); - mut_bars(1); - ok = bar_n >= 1u; - for (i = 0, k = 0; i < 8u; i++) k += t->p[P_E0 + i] != e0[i]; - ok &= k > 0u && t->p[P_LEVEL] == lvl && t->p[P_PAN] == pan; - bad += check("MUTATE: on the bar the sound changed, LEVEL and PAN never", ok); - mut_bars(6); /* ORBIT: still near the anchor */ - for (i = 0, ok = 1; i < 8u; i++) { - const param_desc_t *pd = track_desc(t, P_E0 + i); - if (pd->fmt != F_ENUM) - ok &= abs(t->p[P_E0 + i] - e0[i]) <= (pd->max - pd->min) * 64 / 256 + 1; - } - bad += check("MUTATE ORBIT: after 7 bars every value within AMOUNT of the anchor", ok); - /* PATTERN on the DRUM track: hits change, the kick lane never */ - for (i = 0; i < 16u; i++) { d->step[i] = (step_t){{0}, 0, ST_NOTE, 0, 100}; d->step[i].hit = i % 4u ? 0x08u : 0x09u; } - for (i = 0; i < 16u; i++) kick0 |= (uint32_t)(d->step[i].hit & 1u) << i; - d->p[P_MPAT] = 1; d->p[P_MAMT] = 127; - mutate_poll(); - mut_bars(3); - for (i = 0, k = 0; i < 16u; i++) { kick1 |= (uint32_t)(d->step[i].hit & 1u) << i; k += d->step[i].hit != (i % 4u ? 0x08u : 0x09u); } - bad += check("MUTATE PATTERN on DRUM: hits changed, the kick lane as it was", k > 0u && kick0 == kick1); - /* FREEZE: nothing changes */ - for (i = 0; i < 8u; i++) e0[i] = t->p[P_E0 + i]; - mut_freeze = 1; - mut_bars(2); - for (i = 0, k = 0; i < 8u; i++) k += t->p[P_E0 + i] != e0[i]; - mut_freeze = 0; - bad += check("MUTATE FREEZE: no change while frozen", k == 0u); - /* (0.6.68) a sequence cleared while it mutates never comes back from the anchor; an empty kit stays empty */ - d->p[P_MPAT] = 0; - for (i = 0; i < 16u; i++) { t->step[i] = (step_t){{0}, 0, ST_REST, 0, 0}; if (!(i & 1u)) { t->step[i].n = 1; t->step[i].note[0] = (uint8_t)(60 + i); t->step[i].time = ST_NOTE; t->step[i].vel = 100; } } - t->p[P_MSND] = 0; t->p[P_MPAT] = 1; t->p[P_MAMT] = 60; - mutate_poll(); mut_bars(2); - for (i = 0; i < NSTEP; i++) step_clear(&t->step[i]); - mut_bars(4); - for (i = 0, k = 0; i < NSTEP; i++) k += step_on(&t->step[i]); - for (i = 0; i < NSTEP; i++) step_clear(&d->step[i]); - d->p[P_MPAT] = 1; d->p[P_MAMT] = 127; d->p[P_MMODE] = 1; /* (DRIFT, all the AMOUNT) */ - mut_bars(4); - for (i = 0; i < NSTEP; i++) k += step_on(&d->step[i]); - d->p[P_MMODE] = 0; - bad += check("0.6.68: MUTATE PATTERN: a cleared sequence stays silent (no melody back from the anchor), an empty kit too", k == 0u); - stop_transport(); - t->p[P_MSND] = 0; d->p[P_MPAT] = 0; - mutate_poll(); - return bad; -} -/* (0.6.45) MORPH: ANALOG, PHASE, LOFI: 0 keeps the WAVE's own render (an_mpos -1), more slides it toward the next - * waves, the three play with it; its page shows on them, not on FM6 */ static int32_t morph_peak(uint32_t eng, int16_t mo) { int32_t o[2u * CTL], pk = 0; @@ -749,6 +682,88 @@ static int32_t morph_peak(uint32_t eng, int16_t mo) } return pk; } +static uint32_t lane_steps(const track_t *t, uint32_t l) /* bit i: lane l strikes at step i (0..31) */ +{ + uint32_t i, m = 0; + for (i = 0; i < 32u; i++) + m |= ((step_lanes(&t->step[i]) >> l) & 1u) << i; + return m; +} +static void go_title(const char *title); +static int test_mutate(void) +{ /* (V10.6) SEQ > EUCLID / MODES (ui_euclid.c), MUTATE's place */ + int bad = 0, ok; + uint32_t i, n, c; + track_t *d, *m; + ui_power_on(); + d = &trk[0]; m = &trk[1]; + set_engine_of(d, ENGI_DRUM); set_engine_of(m, ENGI_ANALOG); + memset(eu, 0, sizeof eu); + song.sel = 0; frame(); + go_title("EUCLID"); frame(); + ok = cur_page()->graph == GR_EUCLID && str_eq(PAGES[ui.page].title, "EUCLID"); + turn(EN_K1, 1); frame(); /* BD: 4 -> 5 hits in 16: the pattern written */ + for (i = n = 0; i < 16u; i++) n += (step_lanes(&d->step[i]) >> DV_KICK) & 1u; + ok &= eu[0].l[DV_KICK].h == 5u && d->p[P_SLEN] == 16 && n == 5u && ((step_lanes(&d->step[0]) >> DV_KICK) & 1u); + for (i = n = 0; i < 16u; i++) n += (step_lanes(&d->step[i]) >> DV_HATC) & 1u; + ok &= n >= 6u && n <= 10u; /* (CH 8 of 16, VARY loosening a few) */ + bad += check("V10.6 EUCLID on a kit: HITS writes the lane picked (BD 5 of 16), the other lanes theirs", ok); + turn(EN_K4, 3); frame(); /* LANE: CH */ + ok = eu[0].lane == DV_HATC; + turn(EN_K2, -8); frame(); /* CH's STEPS 16 -> 8: the pattern 16 (lcm) */ + ok &= eu[0].l[DV_HATC].n == 8u && d->p[P_SLEN] == 16; + turn(EN_K2, -2); frame(); /* .. 6: lcm(16, 6) 48 */ + ok &= eu[0].l[DV_HATC].n == 6u && d->p[P_SLEN] == 48; + bad += check("V10.6 KNOB 4 the LANE (no pattern written), each lane its STEPS: the pattern their least common length", ok); + go_title("MODES"); frame(); + ok = str_eq(PAGES[ui.page].title, "MODES"); + for (i = 0; i < 3u; i++) turn(EN_K1, 20); /* ACCENT up */ + frame(); + for (i = n = 0; i < 48u; i++) n += (step_accents(&d->step[i]) & 1u); + ok &= eu[0].m[0] > 40u && n > 0u; + bad += check("V10.6 MODES on a kit: ACCENT accents some hits", ok); + song.sel = 1; frame(); /* a melodic track; SCL set: C MIN */ + m->p[P_SCALE] = 2; m->p[P_ROOT] = 0; + go_title("EUCLID"); frame(); + turn(EN_K1, 1); frame(); /* 5 -> 6 hits */ + for (i = n = c = 0; i < 16u; i++) + if (m->step[i].time == ST_NOTE && m->step[i].n) { + n++; + c += (SCALE_MASK[2] >> (m->step[i].note[0] % 12u)) & 1u; + } + ok = n >= 4u && n <= 8u && c == n && eu[1].src == 0u && m->p[P_SLEN] == 16; + bad += check("V10.6 EUCLID on a melodic track: about HITS notes, all in the track's SCL (C MIN), SCL the source", ok); + m->p[P_SCALE] = 0; /* no SCL: the key from the other tracks' notes */ + for (i = 0; i < 16u; i++) { + step_clear(&trk[2].step[i]); + if (i % 2u == 0u) { trk[2].step[i].time = ST_NOTE; trk[2].step[i].n = 1; trk[2].step[i].note[0] = (uint8_t)(i % 4u == 0u ? 41 : i % 8u == 2u ? 44 : 48); } + } + trk[2].p[P_SLEN] = 16; + set_engine_of(&trk[2], ENGI_ANALOG); + turn(EN_K1, -1); frame(); + ok = eu[1].src == 3u && eu[1].root == 5u; /* F (F on the beats, A flat, C: F minor), FROM T3 */ + for (i = n = c = 0; i < 16u; i++) + if (m->step[i].time == ST_NOTE && m->step[i].n) { n++; c += (eu[1].mask >> ((m->step[i].note[0] + 12u - eu[1].root) % 12u)) & 1u; } + ok &= n && c == n; + bad += check("V10.6 no SCL: the key the other tracks' notes fit (T3's F), FROM T3, the notes in it", ok); + for (i = 0; i < NTRK; i++) if (i != 1u) for (n = 0; n < NSTEP; n++) step_clear(&trk[i].step[n]); + turn(EN_K1, 1); frame(); + ok = eu[1].src == 7u; + bad += check("V10.6 no notes anywhere: a NEW key (of the seed)", ok); + { + uint8_t was[16], now[16]; + for (i = 0; i < 16u; i++) was[i] = m->step[i].time == ST_NOTE ? m->step[i].note[0] : 0u; + press(B_OCTUP); frame(); + for (i = c = 0; i < 16u; i++) { now[i] = m->step[i].time == ST_NOTE ? m->step[i].note[0] : 0u; c += now[i] != was[i]; } + ok = c > 0u && msg_is("NEW VARIATION"); + press(B_OCTDN); frame(); + for (i = c = 0; i < 16u; i++) c += (m->step[i].time == ST_NOTE ? m->step[i].note[0] : 0u) != was[i]; + ok &= c == 0u; + bad += check("V10.6 OCT+ a new variation, OCT- the one before (the same notes again)", ok); + } + return bad; +} + static int test_morph(void) { int bad = 0, ok = 1; @@ -2012,200 +2027,6 @@ static uint32_t mut_rhythm(const track_t *t) for (i = 0; i < 16u; i++) r |= (uint32_t)step_on(&t->step[i]) << i; return r; } -static int test_mutate2(void) -{ - static const uint8_t MAJ[7] = {60, 62, 64, 65, 67, 69, 71}; - int bad = 0, ok; - uint32_t i, b, ch, gap, last, sig, r0, nmut; - char m[16]; - track_t *t; - project_store_t st; - ui_power_on(); - track_select(1); - t = TSEL; - set_engine_of(t, ENGI_ANALOG); t->engine = t->eng_req; - mut_freeze = 0; - ok = MUT_WHAT(t) == 0u && !MUT_LEGACY(t) && mut_progress(1) == 0xFFFFu; - t->p[P_MSND] = 1; t->p[P_MPAT] = 3; /* a 0.6.43 MUTATE: shown as ALL, its LOOP its bars */ - { - int16_t *vp; const param_desc_t *d; - go_title("MUTATE"); frame(); - d = page_desc(cur_page(), 0, &vp); ok &= str_eq(d->names[*vp], "ALL"); - d = page_desc(cur_page(), 3, &vp); ok &= str_eq(d->label, "EVERY") && *vp == 1; - } - ok &= MUT_LEGACY(t) && mut_period(t) == 1u; - t->p[P_MSND] = t->p[P_MPAT] = 0; - bad += check("seq2c MUTATE: off at power-on (P_MCFG's 127: WHAT OFF); a 0.6.43 one plays and shows as it was (ALL, EVERY 1)", ok); - for (i = 0; i < NSTEP; i++) step_clear(&t->step[i]); - for (i = 0; i < 16u; i++) - if (i % 4u != 3u) { t->step[i].n = 1; t->step[i].note[0] = MAJ[i % 7u]; t->step[i].time = ST_NOTE; t->step[i].vel = 100; } - t->p[P_SLEN] = 16; t->p[P_ROOT] = 0; t->p[P_SCALE] = 1; /* (C major) */ - ok = mut_inscale(t); - r0 = mut_rhythm(t); - turn(EN_K1, 1); /* WHAT: NOTES */ - turn(EN_K4, 2); /* LOOP 2: a result lasts three bars */ - t->p[P_MAMT] = 127; - ok &= MUT_WHAT(t) == MW_NOTES && MUT_LOOP(t) == 2u && mut_period(t) == 3u && !MUT_LEGACY(t); - mutate_poll(); - press(B_PLAY); - mutate_poll(); - for (b = 0, ch = 0, gap = 1, last = 0, nmut = 0, sig = steps_sig(t); b < 12u; b++) { - mut_bars(1); - if (steps_sig(t) != sig) { - nmut++; - gap &= !last || b - last >= 3u; /* (at least three bars between two results) */ - last = b; - sig = steps_sig(t); - } - ok &= mut_inscale(t) && mut_rhythm(t) == r0; - } - mut_chip(t, m); - ok &= nmut >= 2u && nmut <= 5u && gap && !strncmp(m, "LOOP ", 5) && strchr(m, '/') && m[str_len(m) - 1] == '3'; - bad += check("seq2c MUTATE LOOP 2: each result unchanged for its bars (3), the chip LOOP n/3", ok && gap); - bad += check("seq2c MUTATE WHAT NOTES: every note stays in the scale (SCALE ON), the rhythm as it was", ok); - turn(EN_K4, 9); /* LOOP HOLD */ - ok = MUT_LOOP(t) == ML_HOLD && msg_is("MUTATE: HOLD") && mut_period(t) == 0u; - sig = steps_sig(t); - mut_bars(8); - mut_chip(t, m); - ok &= steps_sig(t) == sig && str_eq(m, "HOLD"); - bad += check("seq2c MUTATE LOOP HOLD: no change over 8 bars, the chip HOLD", ok); - turn(EN_K4, -9); /* LOOP OFF: a new result every bar */ - ok = MUT_LOOP(t) == 0u && msg_is("MUTATE: FREE"); - turn(EN_K1, 4); /* WHAT: PARAM (MUTATE 2's: RES) */ - go_title("MUTATE 2"); frame(); - turn(EN_K1, 1); - ok &= MUT_WHAT(t) == MW_PARAM && MUT_PARAM(t) == 1u && mut_pid(t) == P_E5 && MUT_DRIFT(t) == 0u; - { - int16_t e5 = t->p[P_E5], e0 = t->p[P_E0], fc = t->p[P_FCUT]; - sig = steps_sig(t); - for (b = 0, ch = 0; b < 4u; b++) { mut_bars(1); ch += t->p[P_E5] != e5; e5 = t->p[P_E5]; } - ok &= ch > 0u && t->p[P_E0] == e0 && t->p[P_FCUT] == fc && steps_sig(t) == sig; - } - bad += check("seq2c MUTATE WHAT PARAM: only MUTATE 2's PARAM moves (RES: ANALOG's own), nothing else", ok); - turn(EN_K2, -1); /* SCALE OFF (chromatic) */ - ok = MUT_CHROM(t) == 1u && MUT_WHAT(t) == MW_PARAM; - turn(EN_K2, 1); - ok &= MUT_CHROM(t) == 0u; - /* KEEP: the music now the anchor; then REVERT goes back to it, not to the first */ - go_title("MUTATE"); frame(); - turn(EN_K1, -2); /* WHAT: PATTERN */ - ok &= MUT_WHAT(t) == MW_PATTERN; - mut_bars(3); - go_title("MUTATE 2"); frame(); - { - step_t kept[NSTEP]; - int16_t k5 = t->p[P_E5]; - turn(EN_K3, 1); - ok &= msg_is("ANCHOR: THE MUSIC NOW"); - memcpy(kept, t->step, sizeof kept); - for (b = 0; b < 6u && !memcmp(kept, t->step, sizeof kept); b++) mut_bars(1); - ok &= memcmp(kept, t->step, sizeof kept) != 0; - turn(EN_K4, 1); /* REVERT */ - ok &= !memcmp(kept, t->step, sizeof kept) && t->p[P_E5] == k5 && msg_is("T2 BACK TO ANCHOR"); - } - bad += check("seq2c MUTATE 2: KEEP (turned) the music now the anchor, REVERT (turned) back to it, with their toasts", ok); - /* saved and loaded: the packed fields kept; the format as it was */ - project_capture(&proj_scratch); - ok = proj_pack(&st, &proj_scratch) && proj_import(&proj_scratch, &st, sizeof st) && - proj_scratch.t[1].p[P_MCFG] == t->p[P_MCFG] && proj_scratch.t[1].p[P_MMODE] == t->p[P_MMODE] && - 127 - proj_scratch.t[1].p[P_MCFG] == (MW_PATTERN | 0u << 3); - bad += check("seq2c MUTATE: WHAT LOOP SCALE DIR PARAM saved and loaded (FUNC as it was: P_MCFG, P_MMODE)", ok); - stop_transport(); - t->p[P_MCFG] = 127; t->p[P_MMODE] = 0; - mutate_poll(); - return bad; -} -static int test_mutate_back(void) -{ - int bad = 0, ok; - mut_snap_t a0, a1, m0, o0; - track_t *t, *u; - int16_t lvl, lv1; - ui_power_on(); - t = &trk[0]; u = &trk[1]; - mut_freeze = 0; - mut_melody(t, 60); mut_melody(u, 48); - { - const param_desc_t *pd = track_desc(t, P_E0); - t->p[P_E0] = (int16_t)(pd->min + (pd->max - pd->min) / 3); t->p[P_FCUT] = 70; - } - press(B_PLAY); - mutate_poll(); - mut_snap(0, &a0); - mut_run(0, 4); - mut_snap(1, &o0); - ok = !mut_same(0, &a0) && memcmp(t->step, a0.st, sizeof a0.st) != 0; - bad += check("0.9.3 MUTATE BACK: four bars of SOUND and PATTERN changed the track", ok); - lvl = t->p[P_LEVEL] = (int16_t)(t->p[P_LEVEL] > 60 ? 40 : 90); /* (LEVEL moved since: it stays) */ - mut_off(0); - bad += check("0.9.3 MUTATE BACK: turned OFF after mutating: the NOTICE, BACK TO BEFORE MUTATE? on T1", - ui.confirm == CF_MUT_BACK && ui.confirm_trk == 0u); - { - char qa[24], qb[24]; - confirm_text(qa, qb); - bad += check("0.9.3 MUTATE BACK: its words", !strcmp(qa, "BACK TO BEFORE MUTATE?") && !strcmp(qb, "T1: SOUND AND PATTERN")); - } - mut_snap(0, &m0); - press(B_OCTUP); - ok = !ui.confirm && mut_same(0, &a0) && t->p[P_LEVEL] == lvl && mut_same(1, &o0); - bad += check("0.9.3 MUTATE BACK: OCT+ the anchor's sound and steps byte for byte, LEVEL and T2 as they were", ok); - ly_white(B_GLO, 8u); /* GLO + G4: UNDO the revert */ - stop_transport(); - bad += check("0.9.3 MUTATE BACK: UNDO (GLO + G4) brings the mutated track back", mut_same(0, &m0) && t->p[P_LEVEL] == lvl); - ly_white(B_GLO, 8u); /* (again: redo, the anchor) */ - bad += check("0.9.3 MUTATE BACK: UNDO again: back at the anchor", mut_same(0, &a0)); - /* OCT- keeps */ - press(B_PLAY); - mut_run(0, 3); - mut_snap(0, &m0); - mut_off(0); - ok = ui.confirm == CF_MUT_BACK; - press(B_OCTDN); - ok &= !ui.confirm && mut_same(0, &m0); - bad += check("0.9.3 MUTATE BACK: OCT- keeps the mutated track as it is", ok); - /* SEQ + D5 REVERT, at any time, from the MUTATE page; then UNDO */ - song.sel = 0; - go_page(GR_MUTATE); - ly_white(B_SEQ, 12u); - ok = mut_same(0, &a0) && t->p[P_LEVEL] == lvl; - ly_white(B_GLO, 8u); - stop_transport(); - ok &= mut_same(0, &m0); - bad += check("0.9.3 MUTATE REVERT (SEQ + D5): the selected track to the anchor; UNDO: as it was", ok); - /* no question when nothing mutated (turned on and off, stopped) */ - t->p[P_MSND] = 1; mutate_poll(); mut_snap(0, &a1); - mut_off(0); - bad += check("0.9.3 MUTATE BACK: on and OFF with nothing changed: no question", !ui.confirm && mut_same(0, &a1)); - /* GLO + B4 REVERT ALL: every track from the anchor, the levels kept */ - press(B_PLAY); - mut_melody(u, 50); - mutate_poll(); mut_snap(0, &a0); mut_snap(1, &a1); - lv1 = u->p[P_LEVEL]; - u->p[P_MSND] = 1; u->p[P_MPAT] = 1; u->p[P_MAMT] = 127; - mut_run(0, 4); - ok = !mut_same(0, &a0) && !mut_same(1, &a1); - ly_white(B_GLO, 10u); - ok &= mut_same(0, &a0) && mut_same(1, &a1) && u->p[P_LEVEL] == lv1 && t->p[P_LEVEL] == lvl; - bad += check("0.9.3 MUTATE REVERT ALL (GLO + B4): both mutating tracks to the anchor, their levels kept", ok); - mut_off(0); mut_off(1); - bad += check("0.9.3 MUTATE BACK: OFF after a REVERT ALL: nothing to ask", !ui.confirm); - /* a project loaded (NEW PROJECT): the anchor is another music's: NO ANCHOR */ - stop_transport(); - system_init(); - mutate_poll(); - ly_white(B_SEQ, 12u); - bad += check("0.9.3 MUTATE REVERT: after NEW PROJECT, NO ANCHOR", !strcmp(ui.msg, "NO ANCHOR") && !ui.confirm); - return bad; -} -static uint32_t lane_steps(const track_t *t, uint32_t l) /* bit i: lane l strikes at step i (0..31) */ -{ - uint32_t i, m = 0; - for (i = 0; i < 32u; i++) - m |= ((step_lanes(&t->step[i]) >> l) & 1u) << i; - return m; -} - static int test_grid(void) { int bad = 0; @@ -7037,7 +6858,7 @@ static int tl_in_key(const track_t *t) /* every note of st uint32_t i, k; for (i = 0; i < (uint32_t)t->p[P_SLEN]; i++) for (k = 0; k < t->step[i].n; k++) - if (t->step[i].time == ST_NOTE && !tl_in_scale(t, t->step[i].note[k])) + if (t->step[i].time == ST_NOTE && !((scale_mask(t) >> (uint32_t)((t->step[i].note[k] - t->p[P_ROOT] + 120) % 12)) & 1u)) return 0; return 1; } @@ -7165,9 +6986,9 @@ static int test_save_lens(void) * layer and the dice on every page. (Was 0.8.3's LENTE: SELECT PATTERN <-> BAR <-> STEP, PRESETS the bar / step) */ static int test_lente(void) { - static const char *const CH[11] = {"STEP", "LENGTH", "TRACK", "MUTATE", "MUTATE 2", "PLAYHEADS", "STRETCH", "COMP", + static const char *const CH[11] = {"STEP", "LENGTH", "TRACK", "EUCLID", "MODES", "PLAYHEADS", "STRETCH", "COMP", "COMP 2", "AUTOMATION", "AUTO LIST"}; - static const char *const TP[6] = {"LENGTH", "MUTATE", "PLAYHEADS", "STRETCH", "COMP", "AUTOMATION"}; + static const char *const TP[6] = {"LENGTH", "EUCLID", "PLAYHEADS", "STRETCH", "COMP", "AUTOMATION"}; int bad = 0, ok; uint32_t q, sig; ui_power_on(); @@ -7192,7 +7013,7 @@ static int test_lente(void) bad += check("seq2 SEQ: one chain of 11 by SELECT (no wrap); a SEQ tap the next tab's first, round", chain_walk(B_SEQ, CH, 11, TP, 6)); { /* (0.9.9-seq2b) every page of the chain the same picture: the bars' strip, the roll with its keys */ - static const char *const TI[11] = {"STEP", "PATTERN", "TRACK", "MUTATE", "MUTATE 2", "PLAYHEADS", "STRETCH", "COMP", + static const char *const TI[11] = {"STEP", "PATTERN", "TRACK", "EUCLID", "MODES", "PLAYHEADS", "STRETCH", "COMP", "COMP 2", "AUTOMATION", "AUTO LIST"}; ui_power_on(); TSEL->p[P_SLEN] = 64; open_family(FAM_SEQ); frame(); @@ -7201,7 +7022,8 @@ static int test_lente(void) go_title(TI[q]); frame(); memset(host_screen, 0, sizeof host_screen); ui.force = 1; ui_draw(); ok &= str_eq(cur_page()->title, TI[q]) && seq_roll_view(cur_page()) && lens_strip() && - key_px(PR_ROWS / 2, 6) != T_SURF && key_px(PR_ROWS / 2, 6) != 0u; + key_px(PR_ROWS / 2, 6) != T_SURF && key_px(PR_ROWS / 2, 6) != 0u || + (cur_page()->graph == GR_EUCLID && !seq_roll_view(cur_page())); /* (V10.6: EUCLID / MODES their ring) */ } bad += check("seq2b SEQ: every page of the chain draws the roll, its keys and the bars' strip (its knobs its own)", ok); } @@ -7211,10 +7033,10 @@ static int test_lente(void) turn(EN_SELECT, 3); frames(32); /* MUTATE */ go_title("ENV"); frame(); open_family(FAM_SEQ); frame(); - ok = str_eq(cur_page()->title, "MUTATE"); + ok = str_eq(cur_page()->title, "EUCLID"); track_select(1); frame(); go_home(); frame(); open_family(FAM_SEQ); frame(); - ok &= str_eq(cur_page()->title, "MUTATE"); /* (T2: the same page) */ + ok &= str_eq(cur_page()->title, "EUCLID"); /* (T2: the same page) */ track_select(0); frame(); go_title("COMP 2"); frame(); ok &= lens_level() == LV_STEP && seq_roll_view(cur_page()); /* (a page put by code: its entry) */ @@ -7265,7 +7087,7 @@ static int test_lente(void) /* the tools layer and the dice on every page */ ok = 1; for (q = 0; q < 3u; q++) { - static const char *const T[3] = {"MUTATE", "AUTO LIST", "BAR"}; + static const char *const T[3] = {"EUCLID", "AUTO LIST", "BAR"}; uint32_t pg; ui_power_on(); go_title(T[q]); frame(); @@ -7475,7 +7297,7 @@ static int test_foot_steps(void) static int test_seq_tools(void) { - static const uint8_t PG[8] = {GR_ROLL, GR_STEPS, GR_CHANCE, GR_MOTION, GR_SHAPE, GR_FUGUE, GR_MUTATE, GR_COMP}; + static const uint8_t PG[8] = {GR_ROLL, GR_STEPS, GR_CHANCE, GR_MOTION, GR_SHAPE, GR_FUGUE, GR_EUCLID, GR_COMP}; static const uint8_t NOT[4] = {GR_PATS, GR_SONG, GR_TRK, 0}; int bad = 0, ok, okc, flash; uint32_t i, k, a, b2, pg, seed; @@ -7510,7 +7332,7 @@ static int test_seq_tools(void) ui_power_on(); go_page(GR_ROLL); frame(); { /* (0.9.2) a tap on STEP: the next tab's first (seq2: LENGTH MUTATE PLAYHEADS STRETCH COMP AUTOMATION, round) */ - static const char *const ORD[] = {"PATTERN", "MUTATE", "PLAYHEADS", "STRETCH", "COMP", "AUTOMATION"}; + static const char *const ORD[] = {"PATTERN", "EUCLID", "PLAYHEADS", "STRETCH", "COMP", "AUTOMATION"}; uint32_t q; ok = 1; for (q = 0; q < sizeof ORD / sizeof ORD[0]; q++) { @@ -7687,78 +7509,30 @@ static int test_seq_tools(void) btn_up(B_SEQ); frame(); bad += check(" OCT-: nothing put back (TONIC: no undo), no octave; KNOB 1..4 LEN DIV SWING GATE", ok); - /* RANDOM / COOK on a melodic track (fixed seeds): the rhythm stays, the notes in the scale, near the middle */ - ok = okc = 1; - for (seed = 1; seed <= 40u; seed++) { - ui_power_on(); - tl_melody(); - TSEL->p[P_ROOT] = 2; TSEL->p[P_SCALE] = 2; - memcpy(ref, TSEL->step, sizeof ref); - go_page(GR_ROLL); frame(); - rng_state = 0x9E3779B9u * seed; - btn_down(B_SEQ); frame(); - tl_key(4); /* C4: RANDOM */ - ok &= msg_is("RANDOM NOTES") && tl_times_are(TSEL, ref, NSTEP) && tl_in_key(TSEL) && TSEL->step[20].note[0] == 72; - for (i = 0; i < 8u; i++) - if (TSEL->step[i].n) - ok &= TSEL->step[i].note[0] >= 54 && TSEL->step[i].note[0] <= 72; - for (k = 0; k < 12u; k++) { /* D4: COOK, again and again */ - memcpy(mid, TSEL->step, sizeof mid); - tl_key(5); - okc &= tl_times_are(TSEL, ref, NSTEP) && tl_in_key(TSEL) && TSEL->step[20].note[0] == 72 && - memcmp(mid, TSEL->step, sizeof mid) != 0; - } - okc &= msg_is("COOKED 12"); - btn_up(B_SEQ); frame(); - } - bad += check(" C4 RANDOM (melodic): the rhythm kept, new notes in the scale near the middle (40 seeds)", ok); - bad += check(" D4 COOK x12: each press changes it, the rhythm and the scale kept, \"COOKED 12\"", okc); + /* (V10.6) C4 RANDOM, D4 COOK, E4 BEAT and C5 the lane's RANDOM gone (SEQ > EUCLID generates): nothing happens */ ui_power_on(); - track_defaults_steps(TSEL); - TSEL->p[P_SLEN] = 16; + tl_melody(); + memcpy(ref, TSEL->step, sizeof ref); go_page(GR_ROLL); frame(); - rng_state = 12345u; btn_down(B_SEQ); frame(); - tl_key(5); - ok = msg_is("NOTHING TO COOK"); - tl_key(4); - for (k = 0, i = 0; i < 16u; i++) { - ok &= i % 2u ? TSEL->step[i].time == ST_REST : 1; - k += (uint32_t)tl_gate(&TSEL->step[i]); - } - ok &= tl_gate(&TSEL->step[0]) && k >= 3u && tl_in_key(TSEL); + tl_key(4); tl_key(5); tl_key(6); tl_key(11); + ok = !memcmp(TSEL->step, ref, sizeof ref); btn_up(B_SEQ); frame(); - bad += check(" an empty pattern: COOK says NOTHING TO COOK; RANDOM writes 8ths with rests, in the scale", ok); - - /* DRUM: RANDOM (kick 3..5 with one on step 1, snare 2 .. 3 on 2 and 4, closed hat 8..12), COOK keeps the 1 */ - ok = okc = 1; - for (seed = 1; seed <= 60u; seed++) { - ui_power_on(); - tl_drum(); - go_page(GR_ROLL); frame(); - rng_state = 0x2545F491u * seed; - btn_down(B_SEQ); frame(); - tl_key(4); - a = tl_count(TSEL, DV_KICK); b2 = tl_count(TSEL, DV_SNARE); - ok &= msg_is("RANDOM BEAT") && a >= 3u && a <= 5u && (tl_lanes_of(TSEL, DV_KICK) & 1u) && b2 >= 2u && b2 <= 3u && - (tl_lanes_of(TSEL, DV_SNARE) & 0x1010u) == 0x1010u && tl_count(TSEL, DV_HATC) >= 8u && - tl_count(TSEL, DV_HATC) <= 12u; - for (k = 0; k < 10u; k++) { - memcpy(mid, TSEL->step, sizeof mid); - tl_key(5); - okc &= (tl_lanes_of(TSEL, DV_KICK) & 1u) && memcmp(mid, TSEL->step, sizeof mid) != 0 && tl_count(TSEL, DV_HATC); - } - btn_up(B_SEQ); frame(); - } - bad += check(" DRUM RANDOM: kick 3..5 (one on 1), snare on 2 and 4 (+ a ghost), hat 8..12; 60 seeds", ok); - bad += check(" DRUM COOK x10: each press changes it, the kick on 1 stays", okc); ui_power_on(); tl_drum(); go_page(GR_ROLL); frame(); + memcpy(ref, TSEL->step, sizeof ref); btn_down(B_SEQ); frame(); - tl_key(6); /* E4: BEAT */ - ok = msg_is("BASIC BEAT") && tl_lanes_of(TSEL, DV_KICK) == 0x1111u && tl_lanes_of(TSEL, DV_SNARE) == 0x1010u && - tl_lanes_of(TSEL, DV_HATC) == 0x5555u; + tl_key(4); tl_key(5); tl_key(6); tl_key(11); + ok &= !memcmp(TSEL->step, ref, sizeof ref); + bad += check(" V10.6 C4 RANDOM, D4 COOK, E4 BEAT, C5 RANDOM: gone (melodic and DRUM), the steps untouched", ok); + for (i = 0; i < 16u; i++) { /* (the basic beat, by hand) */ + step_clear(&TSEL->step[i]); + if (i % 4u == 0u) grid_hit(TSEL, i, DV_KICK, 1); + if (i % 8u == 4u) grid_hit(TSEL, i, DV_SNARE, 1); + if (i % 2u == 0u) grid_hit(TSEL, i, DV_HATC, 1); + } + ok = tl_lanes_of(TSEL, DV_KICK) == 0x1111u && tl_lanes_of(TSEL, DV_SNARE) == 0x1010u && tl_lanes_of(TSEL, DV_HATC) == 0x5555u; key_down(black(2)); frame(); key_up(black(2)); frame(); /* black key 3: the CLAP lane */ ok &= ui.lane == DV_CLAP && !gates(); tl_key(10); /* B4: FILL, four times round */ @@ -7769,7 +7543,7 @@ static int test_seq_tools(void) ok &= tl_lanes_of(TSEL, DV_CLAP) == 0x1111u; tl_key(10); ok &= !tl_lanes_of(TSEL, DV_CLAP) && msg_is("CLAP CLEARED") && tl_lanes_of(TSEL, DV_KICK) == 0x1111u; - bad += check(" E4 BEAT: four on the floor, 2 and 4, 8th hats; black key 3 the lane, B4 FILL 1 / 2 / 4 / none", ok); + bad += check(" black key 3 the lane, B4 FILL 1 / 2 / 4 / none", ok); ui.lane = DV_SNARE; grid_acc(TSEL, 4, DV_SNARE, 1); tl_key(9); /* A4: REVERSE the lane */ @@ -7778,12 +7552,9 @@ static int test_seq_tools(void) tl_key(8); /* G4: CLEAR the lane */ ok &= !tl_lanes_of(TSEL, DV_SNARE) && tl_lanes_of(TSEL, DV_HATC) == 0x5555u && msg_is("SNARE CLEARED"); ui.lane = DV_TOM; - rng_state = 77u; - tl_key(11); /* C5: RANDOM the lane: at least one hit */ - ok &= tl_count(TSEL, DV_TOM) >= 1u && tl_lanes_of(TSEL, DV_KICK) == 0x1111u; - bad += check(" A4 / G4 / C5: the lane reversed (its accents with it), cleared, at random; the others stay", ok); + bad += check(" A4 / G4: the lane reversed (its accents with it), cleared; the others stay", ok); a = leds_at(0); b2 = leds_at(250); - ok = ((a ^ b2) >> white(0)) & 1u && ((a ^ b2) >> white(11)) & 1u && !(((a | b2) >> white(7)) & 1u) && + ok = ((a ^ b2) >> white(0)) & 1u && !(((a | b2) >> white(11)) & 1u) && !(((a | b2) >> white(7)) & 1u) && ((a & b2) >> black(DV_TOM)) & 1u && ((a ^ b2) >> black(0)) & 1u && !(((a | b2) >> black(8)) & 1u); btn_up(B_SEQ); frame(); ui_power_on(); @@ -7792,12 +7563,13 @@ static int test_seq_tools(void) btn_down(B_SEQ); frames(500); /* (the map: a peek) */ memcpy(ref, TSEL->step, sizeof ref); a = leds_at(0); b2 = leds_at(250); - ok &= ((a ^ b2) >> white(5)) & 1u && !(((a | b2) >> white(6)) & 1u) && !(((a | b2) >> black(0)) & 1u); + ok &= ((a ^ b2) >> white(3)) & 1u && !(((a | b2) >> white(5)) & 1u) && !(((a | b2) >> white(6)) & 1u) && + !(((a | b2) >> black(0)) & 1u); /* (V10.6: SHIFT breathes, COOK and BEAT gone) */ tl_key(6); tl_key(10); key_down(black(2)); frame(); key_up(black(2)); frame(); ok &= !memcmp(TSEL->step, ref, sizeof ref) && ui.lane == 0u && !gates(); btn_up(B_SEQ); frame(); - bad += check(" LEDs: the tools breathe, the lane lit (DRUM); a melodic track: no BEAT, no lane keys", ok); + bad += check(" LEDs: the tools breathe, the lane lit (DRUM); a melodic track: no lane keys; V10.6: no RANDOM COOK BEAT", ok); /* a song playing */ ui_power_on(); @@ -7806,7 +7578,7 @@ static int test_seq_tools(void) chain.running = 1; memcpy(ref, TSEL->step, sizeof ref); btn_down(B_SEQ); frame(); - tl_key(4); + tl_key(0); ok = msg_is("STOP TO EDIT") && !memcmp(TSEL->step, ref, sizeof ref); btn_up(B_SEQ); frame(); chain.running = 0; @@ -10685,8 +10457,8 @@ static int test_skin(void) ui_power_on(); frame(); ui_say("LOADED ", "07 A VERY LONG PATTERN NAME THAT GOES ON AND ON"); ok = str_len(ui.msg) == sizeof ui.msg - 1u && (uint8_t)ui.msg[sizeof ui.msg - 2u] == (uint8_t)ELLIPSIS; - ui_message("OCT+ KEEP GLO+A4 FREEZE"); /* (MUTATE's: was cut to "...A4 FREEZ") */ - ok &= str_eq(ui.msg, "OCT+ KEEP GLO+A4 FREEZE"); + ui_message("TURN A KNOB: A PATTERN"); /* (MUTATE's: was cut to "...A4 FREEZ") */ + ok &= str_eq(ui.msg, "TURN A KNOB: A PATTERN"); str_cpy(want, "SEQ+D5 ", sizeof want); str_cpy(want + str_len(want), "REVERT", sizeof want - str_len(want)); ui_say(want, ""); @@ -10699,7 +10471,7 @@ static int test_skin(void) press(B_EDIT); ok = !frames_layer_hint(HINT_DWELL_MS + 64u) && !ui.hint_pg; go_title("TRACK"); frames(160); turn(EN_SELECT, 1); frames(HINT_DWELL_MS + 64u); - ok &= str_eq(cur_page()->title, "MUTATE") && ui.msg_t && ui.hint_pg && msg_is("OCT+ KEEP GLO+A4 FREEZE"); + ok &= str_eq(cur_page()->title, "EUCLID") && ui.msg_t && ui.hint_pg && msg_is("TURN A KNOB: A PATTERN"); go_title("ENV"); frame(); ok &= !ui.msg_t && !ui.hint_pg; bad += check("a page's hint goes when the page changes (not carried onto the next page); no layer hint after EDIT", ok); @@ -10834,11 +10606,7 @@ static int test_home_a(void) ok &= (eco_fc.fl[0] & EF_SHUT) && eco.en[0] > 77 && !(eco_fc.fl[1] & EF_SHUT); for (c = 0; c < 12u; c++) { trk[0].peak = 9000; frame(); } ok &= !(eco_fc.fl[0] & EF_SHUT); /* (0.1 s on: open again, the level held) */ - mut_flash[2] = 12; frame(); frame(); - ok &= (eco_fc.fl[2] & EF_UP) && !(eco_fc.fl[3] & EF_UP); - mut_flash[2] = 0; frame(); frame(); - ok &= !(eco_fc.fl[2] & EF_UP); - bad += check("0.9.7 HOME A: a hit shuts its eyes 0.1 s (only its), a mutation landed: it looks up (only it)", ok); + bad += check("0.9.7 HOME A: a hit shuts its eyes 0.1 s (only its)", ok); } for (sk = 0; sk < SKIN_N; sk++) { /* no critters, no ring of MUTATE dots: MUTATE on draws nothing until one lands */ static uint16_t a[240 * 240]; @@ -10858,16 +10626,13 @@ static int test_home_a(void) d += memcmp(a + y * 240u, host_screen + y * 240u, 480u) != 0; ok &= d == 0u; } - mut_flash[0] = 12; /* .. one lands: its ring, its number white */ - ha_eco_at(5000); - ok &= memcmp(a, host_screen, sizeof a) != 0; - mut_flash[0] = 0; + /* (V10.6: no MUTATE, nothing lands) */ if (sk == SKIN_COLORS) ok &= ha_loose() <= 22u * 4u; /* (away from the beings the granules only: 22, 4 px at most) */ - bad += check(sk == SKIN_COLORS ? "0.9.7 HOME A (COLORS): no critters, no MUTATE ring until a mutation lands" : - sk == SKIN_BOTTOM ? "0.9.7 HOME A (BOTTOM): no MUTATE ring until a mutation lands" : - sk == SKIN_HUD ? "0.9.7 HOME A (HUD): no MUTATE ring until a mutation lands" : - "0.9.7 HOME A (AIR): no MUTATE ring until a mutation lands", ok); + bad += check(sk == SKIN_COLORS ? "0.9.7 HOME A (COLORS): no critters, no ring" : + sk == SKIN_BOTTOM ? "0.9.7 HOME A (BOTTOM): no ring" : + sk == SKIN_HUD ? "0.9.7 HOME A (HUD): no ring" : + "0.9.7 HOME A (AIR): no ring", ok); } ui_prefs = 0; ui_power_on(); @@ -11921,32 +11686,32 @@ static int test_toasts(void) ok &= !ui.confirm && memcmp(toast_snap + H_HEAD * 240u, host_screen + H_HEAD * 240u, (240u - H_HEAD) * 480u) == 0; } bad += check(" NOTICE blacks out no more than its box (its tabs, its card, its breadcrumb): the page round it, back whole", ok); - /* hints: walking SEQ's chain with SELECT (TRACK > MUTATE > PLAYHEADS) says nothing; dwelt on, MUTATE's; at most HINT_MAX */ + /* hints: walking SEQ's chain with SELECT (TRACK > EUCLID > PLAYHEADS) says nothing; dwelt on, MUTATE's; at most HINT_MAX */ ui_power_on(); go_title("TRACK"); frames(400); for (seen = passed = 0, k = 0; k < 3u; k++) { - turn(EN_SELECT, 1); passed |= str_eq(cur_page()->title, "MUTATE"); - for (n = 0; n < 12u; n++) { frame(); seen |= msg_is("OCT+ KEEP GLO+A4 FREEZE") || msg_is("SEQ+D5 REVERT GLO+B4 ALL"); } + turn(EN_SELECT, 1); passed |= str_eq(cur_page()->title, "EUCLID"); + for (n = 0; n < 12u; n++) { frame(); seen |= msg_is("TURN A KNOB: A PATTERN") || msg_is("OCT+ NEW OCT- BEFORE"); } } for (n = 0; n < 200u; n++) { frame(); seen |= ui.msg_t && ui.msg[0]; } - bad += check("0.9.5 a page's hint: none while SELECT walks past it (TRACK > MUTATE > PLAYHEADS), nor carried onto the next", + bad += check("0.9.5 a page's hint: none while SELECT walks past it (TRACK > EUCLID > PLAYHEADS), nor carried onto the next", passed && str_eq(cur_page()->title, "PLAYHEADS") && !seen); - turn(EN_SELECT, -2); /* back to MUTATE (past MUTATE 2): stay */ - ok = str_eq(cur_page()->title, "MUTATE"); + turn(EN_SELECT, -2); /* back to EUCLID (past MODES): stay */ + ok = str_eq(cur_page()->title, "EUCLID"); frames(HINT_DWELL_MS - 160u); ok &= !ui.msg_t; frames(240u); - ok &= msg_is("OCT+ KEEP GLO+A4 FREEZE"); - for (n = 0, seen = 0; n < 200u; n++) { frame(); seen |= msg_is("SEQ+D5 REVERT GLO+B4 ALL"); } + ok &= msg_is("TURN A KNOB: A PATTERN"); + for (n = 0, seen = 0; n < 200u; n++) { frame(); seen |= msg_is("OCT+ NEW OCT- BEFORE"); } ok &= seen; - bad += check(" dwelt on (HINT_DWELL_MS): MUTATE's, then its second line", ok); + bad += check(" dwelt on (HINT_DWELL_MS): EUCLID's, then its second line", ok); for (k = 0, n = 0; k < 3u; k++) { /* three more visits: once more (HINT_MAX), then no more */ go_title("BAR"); frames(400); - go_title("MUTATE"); - for (seen = 0, x = 0; x < 120u; x++) { frame(); seen |= msg_is("OCT+ KEEP GLO+A4 FREEZE"); } + go_title("EUCLID"); + for (seen = 0, x = 0; x < 120u; x++) { frame(); seen |= msg_is("TURN A KNOB: A PATTERN"); } n += seen; } bad += check(" at most HINT_MAX (2) times in all: counted (hint_given), then never", n == HINT_MAX - 1u && - hint_given(HK_MUTATE) == HINT_MAX); + hint_given(HK_EUCLID) == HINT_MAX); { /* the counts kept with the settings: a reboot (the settings saved, power off, loaded back) gives no more */ persist_t p = {0}; uint32_t lc; @@ -11963,16 +11728,16 @@ static int test_toasts(void) p.magic = PERSIST_MAGIC; p.panel = panel; settings_export(&p); ui_power_on(); /* (a fresh power-on: favorites cleared, then the settings loaded) */ - ok = hint_given(HK_MUTATE) == 0u && settings_import(&p, sizeof p) && hint_given(HK_MUTATE) == HINT_MAX; + ok = hint_given(HK_EUCLID) == 0u && settings_import(&p, sizeof p) && hint_given(HK_EUCLID) == HINT_MAX; go_title("TRACK"); frames(160); turn(EN_SELECT, 1); - for (seen = 0, x = 0; x < 120u; x++) { frame(); seen |= msg_is("OCT+ KEEP GLO+A4 FREEZE"); } + for (seen = 0, x = 0; x < 120u; x++) { frame(); seen |= msg_is("TURN A KNOB: A PATTERN"); } go_home(); frames(160); ui.msg_t = 0; press(B_SCL); seen |= frames_layer_hint(120u); - bad += check(" the counts kept with the settings: after a reboot no more MUTATE hints (no SCL one)", ok && !seen); - p.favorites.factory[15][HK_MUTATE] = 0; /* (older settings: those bytes 0 = not given yet) */ + bad += check(" the counts kept with the settings: after a reboot no more EUCLID hints (no SCL one)", ok && !seen); + p.favorites.factory[15][HK_EUCLID] = 0; /* (older settings: those bytes 0 = not given yet) */ ui_power_on(); - ok = settings_import(&p, sizeof p) && hint_given(HK_MUTATE) == 0u; + ok = settings_import(&p, sizeof p) && hint_given(HK_EUCLID) == 0u; bad += check(" older settings (the spare bytes 0): the hints not given yet", ok); } ui_power_on(); /* (0.9.5) no layer hint: not before the layer is held, nor after */ @@ -11987,12 +11752,12 @@ static int test_toasts(void) press(B_EDIT); bad += check(" 0.9.5 no layer hint after an EDIT tap: before its layer is held, nor after", ok && !frames_layer_hint(120u)); /* INIT SYSTEM (SAVE > TOOLS): the hints start over */ - hint_given(HK_MUTATE) = HINT_MAX; + hint_given(HK_EUCLID) = HINT_MAX; confirm_open(CF_INIT_SYS, 0); ui.force = 1; frame(); press(B_OCTUP); frames(160); - ok = !ui.confirm && hint_given(HK_MUTATE) == 0u; + ok = !ui.confirm && hint_given(HK_EUCLID) == 0u; go_title("TRACK"); frames(160); turn(EN_SELECT, 1); ui.msg_t = 0; - for (seen = 0, x = 0; x < 120u; x++) { frame(); seen |= msg_is("OCT+ KEEP GLO+A4 FREEZE"); } + for (seen = 0, x = 0; x < 120u; x++) { frame(); seen |= msg_is("TURN A KNOB: A PATTERN"); } bad += check(" INIT SYSTEM: the counts start over (MUTATE's hint again)", ok && seen); return bad; } @@ -12268,7 +12033,7 @@ static const old_lv_t OLD_LV[] = { {FAM_GLO, 0, 9, {"MIXER", "SENDS"}}, {FAM_GLO, 1, 9, {"GLOBAL"}}, {FAM_GLO, 2, 9, {"SYSTEM", "SYSTEM 2"}}, {FAM_SAVE, SV_LIB, 9, {"PROJECT", "TOOLS"}}, {FAM_SAVE, SV_PROJ, 9, {"PROJECT", "ARRANGE"}}, {FAM_SAVE, SV_SOUND, 9, {"USER", "PRESETS"}}, - {FAM_SEQ, LV_PAT, 9, {"PATTERN", "STRETCH", "PLAYHEADS", "TRACK", "MUTATE"}}, /* (seq2: BAR, NOTE out of the chain) */ + {FAM_SEQ, LV_PAT, 9, {"PATTERN", "STRETCH", "PLAYHEADS", "TRACK", "EUCLID"}}, /* (seq2: BAR, NOTE out of the chain) */ {FAM_SEQ, LV_BAR, 9, {"STEP", "AUTOMATION", "AUTO LIST"}}, {FAM_SEQ, LV_STEP, 9, {"COMP", "COMP 2"}}, /* (NOTE's STEP view: merged into BAR's, the mock-up's "páginas repetidas") */ {FAM_FX, FXL_TRACK, 9, {"FX", "DIST", "AUTO PAN"}}, {FAM_FX, FXL_BUSES, 9, {"BUSES"}}, @@ -12845,8 +12610,6 @@ int main(void) bad += test_init_system(); bad += test_transitions(); bad += test_mutate(); - bad += test_mutate_back(); - bad += test_mutate2(); bad += test_morph(); bad += test_morph_click(); bad += test_lfo_sync(); diff --git a/tools/audio_layout.txt b/tools/audio_layout.txt index 039c1256..4a824fc1 100644 --- a/tools/audio_layout.txt +++ b/tools/audio_layout.txt @@ -82,1840 +82,1817 @@ 00357a a seq_note_on 00365c a pfx_fire 0037bc a pfx_block -003d40 a rec_on -003d88 a live_swap -003dd6 a rec_release -003ecc a arp_chord_off -003efe a arp_off -003f42 a seq_release -003f80 a fg_release -003fa6 a fg_reset -003ff4 a mo_flush_of -00403e a srec_finish -0040c8 a srec_stop -00410e a motion_restore -0041b0 a seq_stop -0042ba a mo_block -004376 a motion_begin -0043b8 a sec_apply -0045c0 a chain_apply -0046fc a seq_start -0048be a cin_block -004928 a midi_clock_transport -004994 a cin_begin -0049c6 a midi_channel -0049e4 a drum_oct_of -004a16 a dxo_off -004b3a a midi_local_held -004b94 a midi_note_held -004bde a input_off -004c8e a midi_release -004d56 a midi_expression -004da2 a midi_route_ch14 -004e24 a mo_key -004e4a a latch_release -004eb6 a arp_silence -004ee2 a midi_forget_track -004f82 a trk_all_off -004fc0 a trk_fade_out -005022 a name_of -00505c a cin_keep -00511e a rec_repeats -005210 a step_set_lmode -005248 a rec_drum -0053e0 a rec_note_at -0056dc a rec_note -005718 a input_on -0057ee a dxo_part -005862 a dxo_on -0059b8 a drum_oct_note -005a2a a key_next -005ad8 a key_place -005b20 a perf_key -005b70 a perf_press -005bec a scale_snap -005c36 a kb_map -005d3e a chord_build_mode -006174 a kb_lat -0061c4 a midi_clock_pulse -0063a4 a midi_note_event -00651a a midi_targets -006554 a midi_expression_channel -006586 a mod_midi -0065bc a motion_param -006620 a motion_desc -00665e a motion_put -006788 a motion_capture -00691e a midi_cc_set -00697e a midi_learned -006a56 a midi_pedal_up -006a9a a midi_cc_map -006b00 a midi_event -006e68 a scene_capture -006ed2 a srec_add -006f10 a lv_neutral -006f3c a fg_next -006fae a live_heads -0070b2 a live_q -00735e a trk_kit -007392 a shift_step_pass -00741c a seq_due -00757c a rec_hold -00762e a live_next -00773a a live_adv -0078b4 a shift_cond -00791e a shift_prepare_pass -007ad2 a shift_ahead -007b16 a dxo_rec_hold -007c20 a gl_step_at -007c5c a seq_unit -007ca0 a comp_run -008830 a trk_chance -008862 a step_rolls -008902 a motion_unlock -008a4a a motion_lin -008a64 a motion_step -008d04 a arp_owner -008d60 a step_parts -008e04 a chord_auto -008e38 a cp_order -008e96 a scale_steps -008f16 a lm_once -008f5c a cg_near -008fda a seq_step -00a4fe a fl_once -00a53e a seq_ratchet -00a620 a seq_lane_rat -00a7d2 a fg_play -00a988 a fugue_tick -00aafa a dxo_tick -00aca0 a cin_record -00ad3e a arp_pick -00ae8c a arp_chord -00af1c a drift_noise -00af82 a mod_tsrc -00b026 a macro_master -00b154 a dx_mot_block -00b29c a master_begin -00b314 a dv_kb -00b36a a duck_block -00b438 a perf_avail -00b480 a perf_unhush -00b4c8 a mc_split -00b750 a mul64_sh15 -00b75a a rev_state_clear -00b7f2 a rev_line_clear -00b81c a fx_glide -00b84e a tone_set -00b8fc a db_block -00b9ca a delay_zero -00ba68 a cho_lfo -00bb02 a sp_chain -00bb3a a spring_block -00bbe8 a room_clock -00bc46 a reso_block -00bec6 a umul64 -00becc a cl_spawn -00c06e a cl_age -00c0a6 a room_mod_clock -00c128 a room_zero -00c164 a fx_gate -00c310 a ms_tick -00c372 a mod_voice_add -00c3f4 a mod_begin -00c69c a lfo_wave -00c714 a dx_img_k -00c776 a dx_img_pan -00c7c0 a drum_side_begin -00c91c a mul64 -00c922 a mod_voice -00ca9e a voice_block -00cf44 a voice_start_rec -00d04a a drum_glue -00d294 a drum_bus -00d4ce a track_comb -00d848 a drum_env -00da08 a tf_ms20 -00dc14 a tf_sides -00dd48 a tf_run -00e148 a track_filter -00e318 a track_post -00e35e a mod_end -00e3a0 a autopan -00e51a a slicer_on -00e54a a stem_pre -00e55c a duck_ramp -00e580 a perf_hush_end -00e5b2 a perf_mute -00e624 a drum_mix -00e830 a stem_post -00e854 a uin_mix -00e946 a mc_join -00e9e0 a mc_lost -00ea36 a fx_trip -00eb2e a pfx_end -00ebbc a slicer_fx -00ebdc a sl_enter -00ee7a a sl_seg_tr -00f1b0 a slicer_bus_tr -00f208 a stem_fx_block -00f35a a stem_slicer_bus -00f416 a djf_coef -00f4c2 a mac2_64 -00f4ce a djf_block -00f98c a clip_block -00fa62 a lev_block -00fb6a a perf_len -00fba8 a perf_glt_seg -00fc42 a perf_glt_step -00fd5a a perf_buf_start -00fe14 a perf_switch -00fed6 a pb_ring_f -00ff2c a perf_glt -0100f2 a perf_buf_done -010132 a perf_buf -0103de a master_out -0106a2 a uac_tap8 -01085a a uac_tap48 -010946 a uac_tap -010a08 a usb_fixed_dac -010a28 a click_render -010b2a a uac_render_end -010bea a load_half -010d24 a shed_check -010dd4 a fm1_alnk0_irq -010fba a fm1__sr_bits -010fec a fm1__anim_frame -011258 a sie_wr -0112ac a sie_rd -011306 a uac_squeeze -0113f8 a ep4_fill -01168a a ep4_tx -0116d8 a uac_stream -011718 a uac_rate_set -011760 a uin_stream -0117aa a e0_chunk -011846 a e0_send -011884 a uac_ep4_reset -0118b0 a uin_ep_config -0118e2 a midi_enqueue -011940 a uin_take -0119c2 a uin_rx -011a1c a fm1_timer5_irq -0131a4 - fm1_p33_read -0131e8 - fm1_enter_uboot -013282 - fm1_guard_enable -01335c - fm1_mc_park -0133bc - irq_save -0133c2 - fl_far -0133cc - st_sector -01342c - st_read -013472 - st_crc32_add -01349e - st_crc32 -0134ae - st_head -013506 - st_body -01353c - st_current -0135c2 - st_load -013604 - settings_fix15 -01361c - palette_from_stored -01363e - settings_import -013898 - chain_valid -0138ca - chain_defaults -0138e8 - proj_hash -013906 @ param_desc_of -01392e - proj_pdef -01393a - params_by_count -013974 - step_set_ratchet -01399a - cm_one -013d32 - comp_migrate -013e12 - motion_valid -013eb8 - proj_bits -013ece - proj_tp -013f36 - proj_eq -013fc2 - proj_new_tracks -014046 - dx_kit_ok -0140a2 - proj_name_get -0140da - proj_sum -0140e2 - proj_unpack_c -014c82 - sound_v04 -014c9e - proj_drums_to_part -014d18 - drum_from_phys -014d38 - proj_phys -014d86 - proj_unpack -0153e2 - proj_ok -015430 - proj_g_from_v2 -015462 - proj_trk_from -0154ea - proj_trk_from_v2 -015508 @ drum_lane -015530 - step_to_grid -0155a4 - proj_engines_ok -0155c2 - proj_ap_clear -0155e4 - fm4_abs -0155ea - fm4_samples -015606 @ fm6_carriers -015616 - fm4_lg -015662 - fm4_ms -015678 @ fm6_scaleout -015692 - fm4_outlevel -0156d8 - fm4_rate -01572e - fm4_level -015778 - fm4_fall -0157a2 - fm6_max -0157d2 - fm6_sanitize -01580c - fm4_convert -015ee0 - fm6_pack -015ff8 - proj_fm4 -016156 - drum_from_perc -01617c - proj_perc -016264 - eng_gone -01627e - analog_from_trio -0162fe - proj_phys_gone -01644a - proj_import -016b06 - proj_obj -016b22 - proj_steps -016b6e @ param_fit -016b98 - proj_bound -016c2c - proj_djf_events -016c6a - proj_mf_tracks -016ca0 - proj_gl_used -016cca - proj_fg_used -016cfe - proj_lyr_len -016d16 - proj_fm_kept -016d54 - step_lm_any -016d64 - proj_step_empty -016db6 @ step_ratchet -016dc0 - proj_step_x -016e72 - proj_packed_size -01704c - proj_pack -0178a6 - proj_fetch -017902 - up_valid -017960 - up_value -017978 - up_set_value -017990 - up_migrate -017a9a - up_grid -017ab0 - up_pat_norm -017ad0 - up_bank_check -017b70 - upf_valid -017b92 - upf_empty -017bb8 - fm6_bank_valid -017c06 - up_rec -017c24 - up_used -017c42 - upf_fm6 -017c5e - upf_tag -017c84 - upf_pk_get -017cba - upf_get -017d0a - fm6_unpack -017e10 - upf_pk_put -017e5c - upf_set -017eb8 - upf_migrate -017f20 - audio_silence -017f38 - st_erase -017f9e - fl_write -017fec - st_prog -018030 - st_save_to -018132 - upf_save -01817e - fvb_valid -018208 - fvb_prog -01823c - fvb_commit -01828a - fvb_settle -0183c8 - fvb_boot -0183ce - favorite_has -018416 - favorite_set -018490 - ota_fread -018494 - ota_in_area -0184b4 - ota_erase -0184f2 - ota_unstage -01850a - ux_mix -018584 - ux_luma -0185be - palette_set -018724 - settings_init -018786 - chain_busy -0187a8 - seq_counting -0187ba - transport_busy -0187f4 - settings_export -01888c - st_save -018892 - settings_poll -018934 - settings_save -018944 - fav_rows_new -018972 - usb_replug -0189aa - usb_serial_apply -018ab4 - cv_text_on -018ac8 - cv_text_in -018af4 - sig_seg -018b42 - sig_len -018b64 @ sine_i -018b8c - bg_sin -018b92 - cv_rect -018bf8 - heat_col -018c70 - bg_col -018c90 - og_neutral -018cac - og_plot -018d52 - og_line_a -018e4a - og_line -018e60 - bg_outline -019020 - bg_ring -019082 - being_lines -0191b2 - sig_pt -01922c - cv_pset -01925a - cv_rrect -019484 - splash_sig -019a30 - hex8 -019a58 - crash_log_put -019aec - cpu_boot -019bc6 - dbg_boot -019c14 - fm1_wdt_feed -019c1e - cpu_clock -019d4e - panel_init -019dfc @ ly_word -019e1e a sy_norm -019e64 a ly_at -019e9e a ly_sym -019f26 a sy_word -01ae68 - sy_entry -01aeda - fm6_set_patch -01af2a - fm6_init -01af5c @ motion_guard -01af64 - motion_rebase -01afc8 - motion_clear -01b072 - motion_reset -01b076 - step_clear -01b0a8 - track_defaults_steps -01b11c - track_defaults -01b136 - motion_enabled -01b158 - motion_set_enabled -01b196 - load_begin -01b23a - tsel_p -01b256 - param_kept -01b27e - fm6_adopt -01b324 - fm4_apply -01b37e - motion_count -01b3ce - load_end -01b4c6 - fm4_load_preset -01b5f0 - trk_eng -01b602 - trk_engp -01b614 - fm6_bank_slot -01b61e - fm6_slot_ok -01b648 - fvb_read -01b688 - fm6_load_slot -01b708 - apply_preset_to -01b87e - set_engine_of -01b8e4 - init_sound_of -01b9a6 - power_sound_of -01b9e4 - fnv -01b9fa - steps_sig -01ba0c - fm1_adc_read -01ba6c - fm1_delay_ms -01ba86 - usb_start -01bb3c - fm1_led_dim_level -01bb64 - fm1_guard_lock_top -01bba2 - draw_text_box -01bbce - fm1_input_edges -01bbe4 - setup_show -01bc14 - fm1_enc_take -01bc30 - str_len -01bc3e - ui_say -01bc98 - ui_message -01bca2 - panel_setup -01bec6 - fm1_mc_barred -01bee2 @ dx_mute_set -01bef6 - gl_touch -01bf4e @ sy_tok -01bfc8 - lyr_set -01c0ec - lfo_fade_restart -01c10a - mut_forget -01c12e - project_restore_runtime -01c626 - motion_djf_value -01c642 - mom_base -01c674 - motion_base_value -01c6cc - as_mix -01c6e2 - autosave_sig -01c7f8 - step_on -01c80e @ rng -01c826 - track_desc -01c8c2 - macro_dice -01ca94 - master_poll -01cad0 - boot_splash -01cb48 - cpu_off -01cb6e - cpu_lost -01cb86 - usb_detach -01cbae - ed_eng -01cbb2 - ed_room -01cbce - ed_val -01cbec - ed_step_sig -01cc4c - ed_shadow -01cd02 - ed_begin -01cd26 - ed_b -01cd46 - ota_idle -01cd4a - ota_wire_send -01ce28 - ed_send -01ce44 - ed_v -01ce6c - ota_frame_get -01ce94 - ed_lm_ok -01ceac - ed_u28 -01cec6 - ed_ui_state -01cf26 - ed_ui_save -01cf7e - ed_str -01cfa8 - ed_rv -01cfb6 - ed_flash_stop -01d010 - project_capture -01d258 - project_used -01d270 - ed_bk_song_obj -01d27e - proj_store_len -01d2a4 - ed_bk_object -01d3aa - ed_bk_u32 -01d3c4 - ed_bk_r32 -01d3e0 - fm6_neutral -01d40c - ed_fm6_name -01d44c - fvb_stage -01d45c - fvb_tx_ok -01d4a0 - fvb_user -01d4a6 - menu_n -01d4ce - menu_flag -01d4ea - scr_get -01d50a - rp_get -01d542 @ ml_map -01d55a - cpu_get -01d57c - menu_get -01d704 - menu_vname -01d8d0 - rp_apply -01d93a - rp_put -01d982 - load_put -01d99e - cpu_put -01da08 - menu_put -01dc0c @ motion_set_event -01dc1c - motion_delete_event -01dcb4 - motion_set_lock -01dcc4 - motion_clear_locks -01dd62 - ed_tdesc -01dd72 - ed_desc -01ddbc - ed_load_before -01de30 - set_engine -01de40 - ed_load_after -01dea0 - motion_djf_set -01df22 - step_set_chance -01df32 - ed_step_put -01dfe0 @ step_chance -01dff0 a step_lmode -01e018 - ed_step_reply -01e092 - drum_elsewhere -01e0c8 - apply_preset -01e146 - project_save_as -01e27a - project_load -01e2e0 - up_values -01e356 - up_name_ok -01e37c - up_put -01e474 - eng_live -01e490 - up_slot_label -01e4b4 - up_auto_name -01e512 - up_set_name -01e54e - step_lanes -01e582 - step_accents -01e59a - up_store -01e6fa - up_load -01e860 - page_flash -01e87c - track_select -01e8d0 - ed_known -01e92c - row_src -01e968 @ row_var -01e996 - song_stage -01f018 - chain_prepare -01f0cc - ed_handle -0218ec - ota_frame_done -0218fa - ed_service -021c38 - ota_rd16 -021c42 - ota_rd24 -021c52 - ota_take -021ce8 - ota_send_msg -021da2 - ota_reply_identity -021dd2 - ota_show -021eaa - ota_wr16 -021eb2 - ota_wr32 -021ec4 - ota_rd32 -021ed4 - ota_read -021fba - ota_jl_enc -021fe0 - ota_crc16 -02200e - ota_memeq -022024 - ota_prog -022044 - con_putc -0220c6 - con_puts -0220d8 - con_word -02211a - con_dec -02216a - con_kv -02218a - mc_status -0221da - con_uac -0222fe - con_hex -02232a - con_kx -022350 - crash_log_get -0223a2 - con_num -022426 - mom_ptr -02245c - mom_finish -022492 - mom_poll -02254e - section_load -0225ce - section_jump -022692 - song_index_save -0226e0 - project_name -02271a - song_switch -022902 - song_select -022908 - eng_vis -022920 - preset_rank -022948 - user_of -022968 - preset_all_pos -022a0c - preset_all_at_in -022a72 - fmt_fix -022ade - ml_name -022b5e - ml_poll -022cf2 - fmt_int -022cf8 - seq_is_empty -022d14 - panel_enc -022d3c - scr_wake -022d5e - btn_hold -022dc2 - dlg_on -022dde - ly_bit -022dfc - ly_avail -022e34 - name_on -022e44 - layer_allowed -022e70 - ly_down -022e8c - layer_held -022eb0 - layer_opened -022ec2 - cur_page -022ee4 - act_cols -022f6c - layer_open -022fba - layer_set_open -022ff0 - section_store -02309a - lv_tracks -02316a - lv_keys_off -0231a4 - live_publish -02344a - lv_req -02346e - live_return -0234cc - live_page -023508 - live_frame -023732 - gen_page -02374a - nav_key -023776 - nav_ch -02378a - str_eq -0237aa - page_visible -023950 - nv_page -0239be - nv_ok -0239da - nav_mem_put -0239f2 - gen_on -023a06 - confirm_open -023a22 - go_home -023a4e - fx_trk_k -023a84 - fx_page -023ab0 - fx_mod_of -023af8 - ev_len -023b0e - ev_id_ok -023b7c - lock_page_ok -023bd2 - lock_id -023c26 - motion_find -023c80 - ev_id_step -023cba - ev_fix -023d10 - page_entered -023df8 - nav_go -023f50 - undo_mark -023f72 - dk_genome -023f9c - enum_order -023fe8 - enum_rank -024032 - ratio_of -024066 - ratio_d -024078 - bg_feat -02426e - dk_feat -0242a4 - dk_vis_take -0242cc - dlen -0242de - gr -0242fa - gseed -024356 - grr -024376 - gch -024394 - gpickw -0243d8 - gminor -0243ea - gcolour -0244ec - gnd -02453c - galt -024576 - gtone -024590 - giv -0245aa - gtriad_ok -0245fe - gprog_ok -0246b4 - gq_fix -024806 - gsplit -0248be - gplan -024b98 - gen_pick -02512a - dsq_shape -02518a - euclid -02519e - glane_rat -0251ac @ st_micro_set -0251ce - gx_drums -0252ae - gclear -0252c0 - gdrum_hit -025336 - gdrum_clear_region -02536c - gen_drums -025e88 - dstep_tie -025e9c - gci -025ede - gchord -025ef4 - gbass_root -025f26 - gchord_starts -025f4c - gnote -025fc2 - gbass_near -026002 - gbass_tone -026052 - gin_mode -026084 - gpcm -02611a - gvo_mode -026140 - gclub -026174 - gchord_at -0264f2 - gchord_root_pc -02650e - dhold -02653a - gchord_pcs -026546 - gpc -02657c - gl_ct -026598 - gl_pal -0265c4 - gl_near -02663c - gl_add -0266aa - gl_clash -0266e6 - gl_pitch -0266ee - gl_write -026bee - gl_cad -026cbe - gen_role -0292ac - dsq_near -029316 - dsq_keep -029356 - dlevel -0293ec - dice_by -029416 - dk_rr -029436 - dk_frac -02945c - part_dice -029ee2 - btn_used -029f1a - sec_of_fam -029f42 - nav_sec -029f70 - nav_mem -029f8a - nav_list -029fc2 - nav_cur -02a144 - nav_select -02a1d4 - grid_on -02a210 - live_rec_sel -02a25a @ key_black -02a276 - lock_held -02a33c - home_level -02a35a - home_set -02a376 - home_macros -02a39e - home_param -02a3ca - page_desc_v -02a48a - page_desc -02a6e0 - mom_keep -02a768 - accel -02a824 - enum_skip -02a844 - param_turn -02a93c - ml_knob -02aa18 - knob_cap -02aa30 - tracks_edit -02aad8 - live_knob -02ac14 - cursor_set -02ac4e - comp_slot -02ac86 - comp_type -02ac9e - comp_view -02acc0 - cond_idx -02acee - cond_at -02ad34 - comp_vidx -02add2 - comp_vat -02ae44 - gco_slot -02ae64 - shp_k -02ae84 - tl_len -02ae9a - tl_take -02aeac - tl_motion_map -02af60 - tl_stretch -02b11a - shp_rep -02b134 - shape_apply -02b3ec - tl_order -02b48a - tl_shift -02b4b4 - dx_pagen -02b4d6 - dx_send_ix -02b4fc - dx_mode_ix -02b514 - focus_named -02b548 - focus_k -02b572 - focus_slot -02b5a0 - motion_rows -02b630 - ev_rows -02b648 - ev_row -02b658 - ev_busy -02b672 - motion_move -02b774 - ev_follow -02b7a2 - song_idx_touch -02b7be - song_end_row -02b7d2 @ st_micro -02b7e4 - note_len -02b812 - note_drop -02b840 - len_turn -02b91c - grid_hit_of -02b940 - grid_own -02b992 - grid_hit -02ba1e - grid_acc -02baaa - list_get -02bad0 - preset_all_at -02bada - preset_in -02bb20 - preset_pos -02bb7e - preset_at -02bbd2 - select_engine -02bc04 - up_has_pat -02bc2e - up_pat_rank -02bc52 - preset_step -02bd26 - eng_rank -02bd48 - list_turn -02bda4 - save_on -02bdd6 - nav_lv -02bdf0 - save_level -02bdf4 - pat_count -02be0a - pat_pick -02be28 - fop_field -02be58 - fop_ok -02be6e - fop_byte -02beb0 - mut_keep -02bf0a - mut_back_ok -02bf2e - mut_anchor_get -02bf52 - mut_sid -02bf92 - mut_revert -02c072 - mut_revert_ui -02c0ee - edit_param -02deee - undo_ui -02dfde - project_recall_slot -02e018 - edit_recallable -02e024 - rec_set -02e04c - rl_name -02e064 - cp_say -02e0ac - cp_put -02e1e6 - cp_keys_used -02e27e - cp_copy -02e3d4 - tl_cell -02e3fc - tl_gate -02e40e - tl_lane_clear -02e42c - tl_rnd -02e444 - tl_per -02e458 - tl_euclid -02e4a6 - tl_lane_rnd -02e592 @ scale_mask -02e5b2 - tl_in_scale -02e5da - tl_lane -02e5ea - tl_hit_nth -02e640 - drum_lane_name -02e650 - up_engine -02e65e - up_name -02e692 - project_cur_name -02e69e - name_open -02e798 - trk_base4 -02e7b0 - page_first -02e7cc - ly_page -02e7e6 - gco_on -02e81a - ckeys_on -02e84e - live_mano -02e88e - keys_mode -02e8b6 - menu_close -02e95a - name_close -02e976 - cp_held -02ea50 - rec_tap -02ebb6 - cv_text_r -02ebe6 - menu_text -02ecb4 - about_cpu -02ee58 - menu_document -02f502 - menu_scroll_max -02f518 - enc_drop -02f52a - menu_tab -02f54c - mtab_first -02f566 - menu_step -02f5c0 - nm_commit -02f5d6 - nm_group -02f604 - nm_len_max -02f616 - nm_insert -02f672 - nm_black -02f6aa - nm_do -02f718 @ ly_pick -02f79a a sy_gen_word -02fc46 - up_ui_named -02fd80 - nav_button -02fe2a - open_family -02fe36 - up_ui -02fe3c - up_pat_nth -02fe5a - pat_label -02feb4 - load_pat16 -02ff42 - pat_load_ui -0300a8 - live_commit -0303c6 - comp_legacy -0303e0 - system_init -030606 - sound_put -030796 - motion_lock_steps -0307ee - page_tap -0308c2 - cursor_fix -0308e0 - panel_btn_of -0308fc - rec_first -030956 - rec_clear_auto -030b9a - ent_message -030c92 - gen_sig -030cf2 - gen_scale_page -030e7a - grg -030e96 - gnear -030ebc - gen_post -03178c @ pfx_lane_put -0317bc - gen_make -033f26 - act_col -033f6a - act_ready -0340e8 - page_go -03412a - black_held -034168 @ chord_build -034170 - gen_amt_turn -03419c - gen_knob -034332 - motion_lock_get -03439c - motion_seg -03441e - motion_thin_id -03463a - ui_input_frame -03999c - ui_input -039a3e - mut_every -039a5e - mut_on -039a98 @ beat_samples -039ac0 - mut_period -039b26 - mut_rr -039b46 - mut_value -039bbc - mut_sound -039c28 - mut_pattern -039e36 - layer_btn -039e5a - led_put -039e84 - glo_sounding -039ebc - rec_clearable -039ede @ seq_src -039f0a - live_leds -039f64 - lcd_power -039f84 - hint_tick -03a048 - scr_holes -03a088 - kc_w -03a09e - kh_ink -03a0ce - cv_keycap -03a1fc - cv_key_hint -03a25e - graph_project_used -03a300 - sound_name -03a34a - str_hash -03a35e - batt_shown -03a3a0 - head_load -03a3c8 - roll_note -03a4d0 - lens_on -03a502 - fx_on -03a52a - pd_of_fam -03a55e - pd_on -03a598 - lz_on -03a606 - lz_low -03a636 - roll_text -03a822 - skin_hud -03a83a - pd_cur -03a854 - lz_fam -03a8a4 - hud_home -03a8de - large_kind -03a954 - graph_h -03a984 - eco_bot -03a9a2 - vk_heat -03aa00 - eco_step -03adbc - bg_energy -03ae4a - eco_genome -03ae80 - eco_off -03aea8 - og_cos -03aeb2 - og_sin -03aeb8 - eco_ell -03af28 - eco_face -03b0c0 - bg_excite -03b138 - eco_feat -03b19c - eco_being -03b376 - graph_y -03b3ca - eco_draw -03b772 - eco_backdrop -03b776 - lz_begin -03b7a8 - hud_cap -03b7d4 - cv_keep -03b864 - text_fit -03b8ea - cv_free_text -03b920 - head_msg -03ba56 - cv_frame -03baa2 - dc_cell -03bb14 - dc_send -03bba0 - cv_blit_cells -03bdea - lz_blit -03be14 - draw_head -03c78c - kh_w -03c7b0 - cv_key_row -03c838 - foot_y -03c852 - foot_h -03c86c - card_y -03c8a0 - card_h -03c8c6 - fill_around -03c9dc - mtab_rows -03ca00 - nav_groups -03ca96 - nav_group_name -03cab6 - tabs_paint -03cd56 - draw_tabs -03cef6 - heat_on -03cf14 - card_heat -03cf46 - knob_col -03cf72 - gauge_col -03cf9c - ink_w -03cfb6 - large_face_has -03cfe4 - cv_text_fit -03d01a - card_ico_draw -03d060 @ djf_cut -03d082 - draw_column -03e1ca - gauge_column -03e1e4 - menu_val -03e22a - menu_short -03e250 - text_column -03e260 - menu_set -03e27a - lz_tile -03e2e8 - lz_uline -03e31e - lz_tile_bg -03e336 - cv_clip_text -03e3a4 - fx_level -03e3c6 - nav_page_name -03e492 - roll_view -03e4a8 - page_title -03e672 - foot_crumbs -03e84e - foot_ph -03e87c - steps_hash -03e910 - foot_hint -03ea44 - foot_strip -03ec4c - draw_crumbs -03ee54 - draw_foot -03f05c - dlg_tabs -03f07a - dice_side -03f23c - dlg_card -03f29a - dlg_crumb -03f31c - dlg_button -03f3bc - draw_confirm -03f970 - nm_card -03f9f8 - lcd_rule -03fa10 - draw_rules -03fae2 - draw_frame -03fbda - val_col -03fc06 - param_format -03feb2 - hot_text_column -03fecc - mod_dst_name -03ff06 - macro_routes -040056 - empty_column -04006c - rec_columns -040120 - preset_favorite -04014a - card_mot_of -040186 - lv_card -0401ca - djf_format -04026a - motion_djf_any -0402b0 - live_cards -040504 - hot_gauge_column -040526 - unit_column -04053a - hot_unit_column -04055c - cond_name -0405aa - comp_value -0409b6 - comp_columns -040d26 @ pfx_lane_at -040d44 a pfx_rec_ok -040d76 - draw_act_column -040dcc - motion_lock_count -040e20 - trk_level -040e34 - fop_bytes -040e6c - note_name -040e9c - draw_columns -04368a - glo_drums -0436aa - snd_id -0436c4 - lz_arc -043760 - lst_chip -04384e - drum_lane_abbr -04385e - ly_keyname -043f04 - pk_fill -043f8a - cv_text_up -044124 - draw_layer -0452d0 - strip_kind -04530a - cv_trk -045396 - toast_on -0453c4 - seq_roll_view -0453f8 - pd_level -0453fc - live_sig -045454 @ sing_view -04547e - pr_head_step -045504 - mut_chip -04567c - lens_strip -0456aa - pr_geom -0456dc - pr_src -045720 - pr_note -045752 - pr_held -0457ce - cv_line -045840 - cv_line_t -04586e - scope_at -045962 - graph_scope -045990 - heat_y -0459ba - graph_adsr -045cbe - graph_lfo -045e24 - gen_hash -045e4c - sec_col -045e70 - og_quad_a -045eee - og_node -045f56 - vx_fit -045f68 - vx_level -046048 @ sing_phon -046060 - vx_voice_target -046326 - vx_age -0463a4 - vh_step -04655e - vh_jaw -0465ac - vh_xf -04663c - vx_bez -04679e - vx_col -046832 - vx_line -046888 - vx_curve -0468ca - vh_curve -0468f0 - vh_len -046910 - vh_along -0469e0 - vh_poly -046a16 - vh_line -046a32 - vh_node -046a72 - vx_rnd -046a86 - vx_voice -0476a8 @ drum_kit_of -0476d8 - vx_fall -0476fa - vx_blob -047842 - vx_dot -04789e - vx_arc -047918 - vx_face -0479ca - vx_bug -047cbe - vx_kit -0482aa @ an_mode -0482c0 - vx_animal -048aee - vx_uf -048b2e - fm6_alg_of -048b6e - vx_fm_ops -048e62 - vx_sq -048e82 - vx_body -048f08 - vx_bface -048faa - vx_fm_bicho -0491f6 - vx_text -04922c - vx_fm6 -049764 - vx_draw -049874 - pat_range -04991e - lz_note -049954 - lv_x -0499c2 - graph_live -049fba - bar_cells -04a224 - pr_split -04a26a - graph_grid -04a4c8 - pr_lit -04a556 - pr_head_col -04a57a - pr_row_y -04a59e - pr_bars -04a680 - comp_col -04a6ba - lz_comp_mark -04a71e - seq_col -04a750 - pr_heads -04a7f6 - graph_roll -04b038 - lz_sec -04b070 - graph_proj -04b8e4 - lz_track_being -04ba20 - fx_dots -04baa8 @ softclip -04bade - tk_dist_y -04bc24 - fxg_en -04bc4a - fxg_label -04bc7e - fxg_dist -04be42 - fxg_mod -04cade - ed_cap -04caf8 - graph_being_at -04cbac @ ft_of -04cbc2 - ed_resp -04cc6a - env_mini -04cd9a - lfo_cap -04ce56 - key_val -04cec8 @ pd_setup -04cfca a pd_wave -04d0ee a lofi_mto -04d166 a osc_pulse -04d1f4 a an_osc -04d294 a an_morph -04d2c4 - graph_colony -04d510 - fop_dec -04d558 - vx_fm6_page -04d7dc - vx_ring -04d814 - vx_fm6env -04ddaa - vx_kit_page -04de6e - sing_up -04dea6 - graph_sing -04e402 - tk -04e448 - toast_clear -04e49a - draw_graph -054ef2 - page_flash_draw -0550a6 - ui_draw_body -056a8c - fm1_main -05a7dc - fm1_cstart -05ab1e @ analog_note_on -05ab40 a an_mpos -05ab90 a analog_morph -05b468 a an_pw -05b4a4 a analog_ext -05bec2 a analog_render -05c582 a analog_dispatch -05c60a a fm4_gone_note_on -05c60c a fm4_gone_render -05c60e a phase_note_on -05c626 a phase_render -05c958 a lofi_note_on -05c9ac a lofi_sync -05c9fa a lofi_mut -05ca78 a lofi_float -05d76a a lofi_float_render -05db14 a lofi_byte -05e01a a lofi_byte_render -05e3de a lofi_render -05eb24 a lofi_amp -05ebe4 a lofi_desc -05eca2 a phys_gone_note_on -05eca4 a phys_gone_render -05eca6 a formant_note_on -05ed3c a fmt_sung -05eda4 a fmt_ratio -05edfc a mul64_us -05ee0e a fres_coef -05eed2 a formant_word_render -05f738 a vowel_at -05f7bc a formant_render -05ff38 a formant_amp -05ff9e a formant_desc -05ffc0 a sy_take_entry -05ffda a sy_word_next -0601e6 a sy_seek -06030a a sy_enter -0603fa a sy_tick -06098e a formant_block -060e22 a wheel_note_on -060efa a drw_dust -060f74 a wheel_render -06130e a drw_level -061352 a drw_dust_pick -06137c a wheel_block -0615e4 a str_period -061626 a str_exc -0616b0 a string_note_on -06194e a str_exp2n -06197e a str_gain -0619bc a string_render -061fd4 a string_amp -061fee a string_desc -06200e a string_block -06202a a string_done -06203c a drum_note_on -06227e a drum_lane_of -0622de a dx_acoustic_patch -062362 a dx_hands_step -062454 a dx_fm_env -0624c2 a dx_fm_lim -06250c a dx_layer -0626d4 a dx_run -063498 a punch_gain -0634ea a drum_side_of -06358c a drum_side_ramp -06363e a drum_side_add -0636ae a drum_render -063b6c a drum_amp -063bb0 a drum_keys -063bc4 a noise_note_on -063c04 a noise_inc -063c66 a noise_render -064282 a noise_desc -0642b4 a fm6_sync -064624 a fm6_env_advance -0646dc a fm6_penv_advance -064732 a fm6_note_on -064a26 a fm6_op_fb -064ab2 a fm6_op_run -064be2 a fm6_render -0652ca a fm6_block -065408 a fm6_done -065510 a add_note_on -06557e a add_render -065a1c a animal_init -065aa4 a animal_note_on -065ad0 a an_inc -065af6 a an_exp2n -065b2c a animal_render -066a0a a animal_amp -066ee4 a animal_desc -066f16 a mc_job -067e8a a tape_block -068268 a eq_gain -068296 a eq_block -06840a - vx_x2 -06843c - vx_anb -068486 - vx_an_wave -06893e - vx_pl -0689b4 - vx_hash -0689d4 - vx_analog -068e0a @ drw_part -068e28 - vx_wheel -0694ee - vx_nz_step -069798 - vx_noise -069b78 - vx_pd -069c8e - vx_pdw -069cf4 - vx_rs -069d0a - vx_whorl -069dbc - vx_poly -069e10 - vx_phase -06a4e8 - vx_lofi -06ad64 - vx_string -06b52a - vx_lg2 -06b54c - vx_add -06b9a0 r ENGINES -06b9dc r ENG_ANALOG -06babc r ENG_FM4_GONE -06bb9c r ENG_PHASE -06bc7c r ENG_LOFI -06bd5c r ENG_GONE -06be3c r ENG_FORMANT -06bf1c r ENG_WHEEL -06bffc r ENG_DRUM -06c0dc r ENG_NOISE -06c1bc r ENG_FM6 -06c29c r ENG_ANIMAL -06c37c r N_ANALOG_WAVE -06c39c r ANALOG_PRESETS -06c5f4 r PITCH_OCT -06c8f4 r SVF_G -06c9f4 r SINE -06d1f6 r TANH_Q15 -06d3f8 r N_PD_WAVE -06d418 r N_PD_WAVE2 -06d43c r N_PD_LINE -06d444 r PHASE_PRESETS -06d5c4 r N_CHIP -06d5d8 r N_RWAVE -06d5f4 r LOFI_PRESETS -06d78c r WRAM -06d88c r LOFI_GAIN -06d89c r LOFI_FCHIP -06d8b0 r LOFI_FALGO -06d8c4 r LOFI_VAR -06d8d8 r LOFI_ALGO -06d8ec r LOFI_MOTN -06d900 r LOFI_LOOP -06d914 r LOFI_GRIT -06d928 r LOFI_FDCY -06d93c r LOFI_NONE -06d950 r LOFI_WAVNUM -06d964 r LOFI_DCY -06d978 r N_FCHIP -06d988 r N_FLOAT -06da4c r N_BYTE -06db10 r N_WRAM -06db54 r N_DCY -06dbd8 r FORMANT_PRESETS -06dd40 r ENV_LIN -06df40 r VOWEL_F -06df5e r VOWEL_B -06df70 r SEMI_Q16 -06dfa4 r FMT_WDESC -06e044 r N_THEME -06e068 r N_LOOP -06e080 r LOOP_N -06e088 r LY_BANK -06e0b8 r SCAT_ES -06e154 r SCAT_EN -06e18c r SCAT_JA -06e238 r TPL_ES -06e25c r TPL_EN -06e27c r TPL_JA -06e294 r VOCABLE -06e2a0 r LY_ES_TXT -06ea48 r LY_ES_OFF -06ea70 r LY_ES_META -06eba2 r LY_ES_GRP -06ec7a r LY_EN_TXT -06f294 r LY_EN_OFF -06f2b6 r LY_EN_META -06f3c2 r LY_EN_GRP -06f49a r LY_JA_TXT -06f8a0 r LY_JA_OFF -06f8b6 r LY_JA_META -06f960 r LY_JA_GRP -06fa38 r sy_ja.JV -06fa3e r LY_EN_LET -06fa74 r LY_CP -06fa80 r LY_CL -06fa8c r LY_CH -06fa98 r LY_EN_DICT -072eba r LY_EN_IDX -0730c6 r LY_EN_HCP -0730e2 r LY_EN_LUTP -073162 r LY_EN_HCL -07318c r LY_EN_LUTL -07320c r LY_EN_HCH -073262 r LY_EN_LUTH -073362 r PHON -0735e8 r N_DRW_REG -073628 r N_DRW_PERC -073644 r N_DRW_ROTR -073650 r WHEEL_PRESETS -073740 r DRW_FOLD_LIM -073764 r DRW_LV -073778 r DRW_ROT_SPD -073790 r DRW_REG -073830 r DRUM_PRESETS -073908 r DRUM_GM -073968 r N_NOISE_MODE -073978 r NOISE_PRESETS -073a38 r NOISE_SEQ -073af8 r NOISE_LONG -073b0c r NOISE_META -073b20 r NOISE_CLK -073b34 r N_NOISE_LONG -073b58 r N_NOISE_META -073b7c r N_FM6_ALG -073c04 r N_FM6_PATCH -073cac r FM6_PRESETS -073e14 r fm6_sync.SPREAD -073e1c r FM6_LFO_DELTA -073fac r FM6_LEVELLUT -073fc0 r FM6_EXPSCALE -073fe1 r FM6_VELDATA -074024 r FM6_STATICS -074158 r FM6_DETUNE -074258 r FM6_COARSE -0742d8 r FM6_FINE -074468 r FM6_PENV_TAB -0744cc r FM6_PENV_RATE -074530 r FM6_EXP2 -075534 r FM6_ALG -0755f4 r N_ANIMAL_MODE -075608 r N_AN_GROUP -075648 r ANIMAL_PRESETS -075888 r LFO_INC -075a88 r AN_LW -075a9c r AN_DESC -075dbc r UAC_FIR0 -075edc r UAC_FIR3 -076d4c r perf_key.BK -076d51 r kb_map.DEGREE -076d5d r chord_build_mode.DIA -076d71 r chord_build_mode.SHP -076d89 r chord_build_mode.T3 -076d8d r chord_build_mode.F5 -076d90 r chord_build_mode.F5M -076d93 r chord_build_mode.S7 -076d96 r chord_build_mode.S7D -076d98 r chord_build_mode.S9 -076d9a r chord_build_mode.S2 -076d9c r chord_build_mode.S4 -076da0 r TP -07773c r N_LWAVE -077750 r N_AMODE -077790 r N_DIV -0777b8 r N_ORDER -0777c0 r N_SCALE -077800 r N_QUANT -077810 r N_VOICE -077820 r N_GLMODE -077828 r N_PRIO -077834 r N_ALLOC -07783c r N_APSYNC -077844 r N_MSRC -077880 r N_MDST -0778f8 r N_DTYPE -077910 r N_FTYPE -077928 r GP -077ec8 r N_DTIME -077fc8 r N_MIDI_INPUT -077fd0 r N_ROUTE -077fd8 r N_GO -077fe0 r N_ENGNAME -07801c r N_RTYPE -078030 r N_SLCR -07803c r N_SLDIV -078054 r N_SLPQ -07805c r N_DLYTYPE -078068 r N_PFXRES -078074 r MIDI_CC_MAP -0780a2 r MIDI_CC_ENG -0780b1 r FG_DEN -0780bb r FG_NUM -0780c5 r LV_RN -0780ce r LV_RD -0780d7 r shift_step_pass.rest -0780ef r CP_RATES -0780f5 r CT_DIVS -0780fb r DIV_DEN -078101 r dx_mot_block.Q8 -07810a r PF_SVF -07828a r PF_DEN -07828e r LEVEL_Q12 -07838e r mod_param.ID -07839a r track_lfo_tick.U -0783b2 r ENV_EXP -0784b2 r REV_LITE -0784c2 r DTIME_MS -07852e r HB_Q -07854c r GR_RATIO -0785b0 r semi_q16.R -0785c8 r SL_DEN -0785d0 r SL_RATIO -078694 r CLICK_GAIN -07869a r FM1_KEYMAP -0786dc r FM1_ENC -0786f8 r FM1_ANIM_X -078713 r ep0_service.zero2 -078715 r ep0_service.RATE -078718 r ep0_service.RATE48 -07871b r DEV_DESC_STIN -07872d r DEV_DESC_PLAIN8 -07873f r DEV_DESC_DUP -078751 r DEV_DESC -078763 r DEV_DESC_PLAIN -078775 r CFG_DESC_STIN -07886e r CFG_DESC_PLAIN8 -07891d r CFG_DESC_DUP -078a19 r CFG_DESC -078b15 r CFG_DESC_PLAIN -078bc7 r STR0 -078bcb r STR1 -078be1 r STR_PROD -078beb r sysex_byte.UBOOT_KEY -078bf1 n fm1_fault.L -078c28 n AF_M -078c54 n AF_S -078c80 n HALO_X -078c94 n HALO_Y -078ca8 n AF_M_GH -078dd0 n AF_M_GP -078ef8 n AF_M_DATA -079976 n AF_M_KI -079a0a n AF_M_KP -079d96 n AF_M_EX -079da0 n AF_M_HC -079dd2 n AF_S_GH -079efc n AF_S_GP -07a024 n AF_S_DATA -07a7f8 n AF_S_KI -07a88c n AF_S_KP -07aa2a n AF_S_EX -07aa34 n st_crc32_add.T -07aa74 n UI_PALETTE_MIGRATE -07aa88 n FM6_INIT -07ab08 n EV_AB -07ab24 n CP_TRIGS -07ab3c n CP_WRATES -07ab48 n TRK_OLD -07ab5a n DX_KIT_DEF -07abb2 n DX_LAY_DEF -07abba n FM4_ALG -07ac04 n DIGITAL_PRESETS -07acc4 n TIME_MS_X10 -07aec4 n fm6_max.OPMAX -07aed9 n fm6_max.VMAX -07aeec n analog_from_trio.R -07af08 n UI_PALETTES -07afb8 n UI_RAISE_OF -07afc4 n UI_KNOBS -07b01c n ux_mix.MK -07b01f n LCD_SEQ -07b034 n SPLASH_LINES -07b03c n SIG_PTS -07b1e8 n splash_beings.SP -07b1eb n GENOME -07b22a n sig_pt.W -07b230 n heat_col.H -07b23e n TRK_DEF -07b250 n PATTERNS -07b424 n init_sound_of.ENVP -07b42a n FM6_FACTORY -07b82c n B_NAME -07b864 n E_NAME -07b880 n AF_L -07b8ac n AF_L_GH -07b950 n AF_L_GP -07b9f4 n AF_L_DATA -07c3b4 n AF_L_KI -07c408 n AF_L_KP -07c418 n AF_L_EX -07c440 n AF_L_HC -07c47a n macro_dice.DST -07c48c n VLANG_DESC -07c4a0 n VLYR_DESC -07c4b4 n LOFI_RTRG -07c4c8 n TRK_CHANCE -07c4dc n MUT_DESC -07c52c n MORPH_DESC -07c540 n CLEN_DESC -07c554 n DXIMG_DESC -07c568 n CHORD_DESC -07c5a4 n HUM_DESC -07c5e0 n RECQ_DESC -07c5f4 n DRIFT_DESC -07c608 n WROT_DESC -07c630 n N_LANG -07c640 n N_LYRIC -07c6a4 n N_MUTBARS -07c6c0 n N_MUTMODE -07c6c8 n N_CLEN -07c7d0 n N_CHRD -07c804 n N_CVOI -07c818 n ED_TIDS -07c81b n ED_BK_IDS -07c846 n ED_MENU -07c87c n MI_NAME -07c8f4 n MI_TAB -07c914 n MTAB_NAME -07c924 n MENU_FLAGS -07c984 n SKIN_NAME -07c994 n SCOPEOPT_N -07c99c n STYLE_N -07c9a4 n SPK_EQ -07c9b0 n USBLVL_N -07c9c8 n USBOUT_N -07c9dc n HOLD_N -07c9ec n CLICK_N -07c9f8 n CLKLVL_N -07ca04 n COUNTIN_N -07ca10 n MIDIOUT_N -07ca20 n SCROFF_N -07ca34 n LEDS_NAME -07ca44 n USB_GAIN -07ca4e n SCR_CODE -07ca53 n DX_KITS -07cdfc n PAGES -07d240 n ota_show.STEP -07d258 n mc_status.LOST -07d268 n con_dbg.NAMES -07d2b4 n FAM_BTN -07d2cb n ENGINE_PC_ORDER -07d2e2 n ENGINE_ORDER -07d2ed n LOFI_ORDER -07d300 n LAYERS -07d420 n LV_CUT -07d42c n CHAINS -07d4c8 n CE_HOME -07d51c n CG_HOME -07d534 n CE_SYN -07d5ac n CG_SYN -07d5c4 n CE_SEQ -07d648 n CG_SEQ -07d680 n CE_FX -07d758 n CG_FX -07d798 n CE_GLO -07d804 n CG_GLO -07d82c n CE_ENV -07d868 n CG_ENV -07d880 n CE_LFO -07d8c8 n CG_LFO -07d8e0 n CE_SCL -07d8f8 n CG_SCL -07d908 n CE_ARP -07d920 n CG_ARP -07d928 n CE_SAVE -07d97c n CG_SAVE -07d994 n CE_FM6 -07d9f4 n CG_FM6 -07da0c n CE_DRM -07dab4 n CG_DRM -07dad4 n CE_DIG -07db4c n CG_DIG -07db64 n NAV_DEF -07db71 n SEC_FAM -07db7c n fx_trk_k.FX_TRK -07db88 n FX_MHEAD -07dba0 n FX_MN -07dba6 n DK_FXT -07dbaf n DK_FXG -07dbb5 n LANE_G_HOME -07dbbc n EGEN -07dbcb n DIV_ORDER -07dbd5 n SLDIV_ORDER -07dbdb n DTIME_ORDER -07dc1b n RWAVE_ORDER -07dc24 n dice_seq.RN -07dc3c n gx_prog.QW -07dc48 n gx_prog.FL -07dc4d n gx_prog.FW -07dc52 n gcolour.AEOL -07dc59 n gcolour.ION -07dc60 n DRUM_MAP_I -07dda0 n OH_POOL_I -07dda6 n RS_POOL_I -07ddac n GM_LANE -07e144 n BA_STEP -07e664 n gen_acid.W -07e66b n gen_pads.AT -07e671 n gen_pads.CP -07e677 n gen_pads.BR -07e67d n gen_lead.W -07e682 n gen_lead.TPL -07e69a n gen_lead.ARCH -07e6b2 n gen_lead.W.1485 -07e6b6 n gl_cad.FULL -07e6b9 n gl_cad.HALF -07e6d4 n drum_lane_name.N -07e6f4 n tl_fill.E -07e710 n LY_SCL -07e71c n LY_SEQ -07e728 n MENU_CREDITS -07e870 n ABOUT_QR -07e8e4 n about_cpu.RL -07e8f0 n about_cpu.CL -07e908 n NM_ABC -07e948 n live_commit.DL -07e95c n MUT_COMMON -07e963 n system_init.KEEP -07e968 n drum_oct_name.N -07e984 n ENT_RES -07e994 n gen_make.ORDER -07e999 n gen_make.DP -07e99f n GX_ARPS -07e9a7 n GX_LEADS -07e9af n gen_sound.EW -07e9b5 n gen_mix.HV -07e9bb n gen_mix.HT -07e9c1 n gen_mix.HG -07e9c7 n gx_comps.EV -07e9ce n gx_heads.IV -07e9d8 n gen_parts.ORD_CLUB -07e9de n gen_parts.FILLS -07e9e4 n gen_parts.XL -07e9ec n TRKS_DESC -07ea00 n LOAD_DESC -07ea14 n RESO_PITCH -07ea28 n RESO_FOLW -07ea3c n REV_AIR -07ea50 n REV_PRE -07ea64 n AP_BEAT -07ea78 n N_TRKS -07ea80 n LFO_MODE_DESC -07ea94 n LFO_PHASE_DESC -07eaa8 n N_LMODE -07eab0 n N_RFOLW -07eacc n MUTK_DESC -07eb6c n N_MWHAT -07eb88 n N_MLOOP -07eba4 n N_MPARAM -07ebc4 n N_MTURN -07ebc8 n N_APDIV -07ebe8 n CP_RATE_ORD -07ebee n GA_LIST -07ebf9 n FO_PAGE -07ec05 n FO_OFF -07ec0f n MUT_BARS -07ec16 n SCR_MIN -07ec1c n KC -07ecfc n KC_DATA -07f616 n KC_HC -07f64c n AF_X -07f678 n ROLL_EASE -07f68a n ECO_PX -07f696 n ECO_PY -07f6a2 n eco_being.SC -07f6a8 n AF_X_GH -07f820 n AF_X_GP -07f998 n AF_X_DATA -07fb0c n AF_X_EX -07fb10 n layer_head.H -07fb34 n draw_menu.KH -07fb44 n CARD_ICO_OF -07fc3c n CARD_ICO -07fc9e n menu_short.SH -07fd0c n dlg_tabs.DN -07fd18 n nm_draw_panel.FN -07fd2c n LFO_HZ_X100 -07ff2c n N_LSYNC -07ff5c n CUTOFF_HZ -08005c n LEVEL_DB_X10 -08015c n FX_LATCH_FOOT -080174 n MAC_LATCH_FOOT -08018c n layer_state.TG -080198 n PF_NAME -0801d4 n GLO_GROUP -0801e4 n PK_BLK -0801f0 n ly_keyname.TG -0801fc n ly_keyname.BN -08020c n B_NOTE -080218 n TL_NAME -080248 n track_col6.SN -080258 n gen_panel.ROLE -08026c n gen_panel.FORM -080281 n VA_MID -080286 n vx_animal.SC -08028c n vx_animal.HT -080292 n vx_analog.SC -080298 n vx_phase.C2 -0802a8 n LV_BK -0802b3 n LV_WK -0802e4 n graph_lz_tools.WHAT -0802fc n graph_lz_tools.ON -080314 n graph_proj.LN -080330 n graph_proj.RV_SH -080364 n eng_abbr.A -0803e4 n FX_MOD -0803fc n fxg_sends.N -08040c n fxg_punch.RES -080410 n graph_filter_lz.FX -08041c n graph_stage.SN -08042c n graph_key.NN -08045c n graph_chord.RN -080478 n graph_arp.TRI -08047c n graph_system.LD -080488 n graph_morph.WHAT -080498 n LANE_G -0804d0 n vx_fm6_page.A -0804e0 n vx_fm6env.A -0804f0 n graph_sing.VREF -0804f5 n PH_NAME -080580 n tech_global.CK -08058c n draw_columns.M -08059c n RV_NAME -0805d0 n N_FGRATE -0805f8 n N_FGDIR -080608 n draw_columns.labels -080618 n GRID_HIT -080638 n draw_columns.TIME_N -080644 n draw_columns.FLAG_N -080654 n LV_TG -080678 n LV_RNAME -08069c n dx_cards.BUS -0806ac n dx_cards.RT -0806d0 n dx_cards.SH -0806e4 n DX_LANE_ABBR -080704 n dx_cards.PM -080714 n dx_mode_name.W -080724 n dx_mode_name.F -080730 n CA_NAMES -080770 n CC_NAMES -0807a4 n comp_vname.ORD -0807b4 n comp_vname.DEC -0807c0 n comp_vname.HIT -0807cc n rate_name.BASE -0807d8 n fop_card.STG -0807e8 n fop_card.HZ -08080c n FAM_CRUMB -080838 n foot_crumbs.LN -08085c n SEC_NAME -080884 n act_name.UP_GO -080890 n act_name.actions -0808a4 n tabs_now.LLV -0808b0 n draw_confirm.PART -078e84 c lofi_render.STEP_DUTY -078e88 c DXO_VEL -078e8c c DXO_DEC -078e90 c DXO_TON -078e94 c DXO_RAT -078e98 c CP_DEGS -078e9c c REV_AP -078edc c lofi_float.R -078ee4 c lofi_float.H -078eec c DXG_LANE -078ef4 c DX_RATIO -078efc c FM6_PMS -078f04 c pfx_note.R -078f0c c DRUM_LANE_NOTE -078f14 c GFX_ID -078f1c c dx_img_pan.F -078f24 c AP_SIXT -078f2c c REV_COMB -078fe0 c BYTE_T0 -079000 c dx_acoustic_patch.target -079020 c DX_FB_CURVE -079040 c NOISE_TAPS -079060 c fm6_carriers.CARRIER_MASK -079080 c AN_GROUP -0790a0 c SCALE_MASK -0790c0 c SL_PAT -0790e0 c FM1__BR_K -079100 c FM1_ANIM_POW -0791a0 c FM6_AMSENS -0791b0 c pfx_fire.FILL -0791c0 c cl_spawn.PITCH -0791d0 c GA_OF +003d74 a rec_on +003dbc a live_swap +003e0a a rec_release +003f00 a arp_chord_off +003f32 a arp_off +003f76 a seq_release +003fb4 a fg_release +003fda a fg_reset +004028 a mo_flush_of +004072 a srec_finish +0040fc a srec_stop +004142 a motion_restore +0041e4 a seq_stop +0042ee a mo_block +0043aa a motion_begin +0043ec a sec_apply +0045f6 a chain_apply +004732 a seq_start +0048f0 a cin_block +00495a a midi_clock_transport +0049be a cin_begin +0049ee a midi_channel +004a0c a drum_oct_of +004a3e a dxo_off +004b78 a midi_local_held +004bd2 a midi_note_held +004c1c a input_off +004cd0 a midi_release +004d98 a midi_expression +004de4 a midi_route_ch14 +004e66 a mo_key +004e8c a latch_release +004ef8 a arp_silence +004f24 a midi_forget_track +004fc4 a trk_all_off +005002 a trk_fade_out +005064 a name_of +00509e a cin_keep +005164 a rec_repeats +005256 a step_set_lmode +00528e a rec_drum +005426 a rec_note_at +005722 a rec_note +00575e a input_on +005834 a dxo_part +0058a8 a dxo_on +005a0c a drum_oct_note +005a7e a key_next +005b2c a key_place +005b74 a perf_key +005bc4 a perf_press +005c40 a scale_snap +005c8a a kb_map +005d92 a chord_build_mode +0061c8 a kb_lat +006218 a midi_clock_pulse +0063e8 a midi_note_event +00655e a midi_targets +006598 a midi_expression_channel +0065ca a mod_midi +006600 a motion_param +006664 a motion_desc +0066a2 a motion_put +0067cc a motion_capture +006962 a midi_cc_set +0069c2 a midi_learned +006a9a a midi_pedal_up +006ade a midi_cc_map +006b44 a midi_event +006eb4 a scene_capture +006f1e a srec_add +006f5c a lv_neutral +006f88 a fg_next +006ffa a live_heads +0070fe a live_q +0073aa a trk_kit +0073de a shift_step_pass +007468 a seq_due +0075c8 a rec_hold +00767a a live_next +007786 a live_adv +007900 a shift_cond +00796a a shift_prepare_pass +007b16 a shift_ahead +007b5a a dxo_rec_hold +007c6e a gl_step_at +007caa a seq_unit +007cee a comp_run +00887a a trk_chance +0088ac a step_rolls +00894c a motion_unlock +008a94 a motion_lin +008aae a motion_step +008d4e a arp_owner +008daa a step_parts +008e4e a chord_auto +008e82 a cp_order +008ee0 a scale_steps +008f60 a lm_once +008fa6 a cg_near +009024 a seq_step +00a548 a fl_once +00a588 a seq_ratchet +00a66a a seq_lane_rat +00a81c a fg_play +00a9d2 a fugue_tick +00ab44 a dxo_tick +00acf4 a cin_record +00ad92 a arp_pick +00aee0 a arp_chord +00af70 a drift_noise +00afd6 a mod_tsrc +00b07a a macro_master +00b1a8 a dx_mot_block +00b2f0 a master_begin +00b368 a dv_kb +00b3be a duck_block +00b48c a perf_avail +00b4d4 a perf_unhush +00b51c a mc_split +00b7a4 a mul64_sh15 +00b7ae a rev_state_clear +00b846 a rev_line_clear +00b870 a fx_glide +00b8a2 a tone_set +00b950 a db_block +00ba1e a delay_zero +00babc a cho_lfo +00bb56 a sp_chain +00bb8e a spring_block +00bc3c a room_clock +00bc9a a reso_block +00bf1a a umul64 +00bf20 a cl_spawn +00c0c2 a cl_age +00c0fa a room_mod_clock +00c17c a room_zero +00c1b8 a fx_gate +00c364 a ms_tick +00c3c6 a mod_voice_add +00c448 a mod_begin +00c6f0 a lfo_wave +00c768 a dx_img_k +00c7ca a dx_img_pan +00c814 a drum_side_begin +00c970 a mul64 +00c976 a mod_voice +00caf2 a voice_block +00cf98 a voice_start_rec +00d09e a drum_glue +00d2e8 a drum_bus +00d522 a track_comb +00d89c a drum_env +00da5c a tf_ms20 +00dc68 a tf_sides +00dd9c a tf_run +00e19c a track_filter +00e36c a track_post +00e3b2 a mod_end +00e3f4 a autopan +00e56e a slicer_on +00e59e a stem_pre +00e5b0 a duck_ramp +00e5d4 a perf_hush_end +00e606 a perf_mute +00e678 a drum_mix +00e884 a stem_post +00e8a8 a uin_mix +00e99a a mc_join +00ea34 a mc_lost +00ea8a a fx_trip +00eb82 a pfx_end +00ec10 a slicer_fx +00ec30 a sl_enter +00eece a sl_seg_tr +00f204 a slicer_bus_tr +00f25c a stem_fx_block +00f3ae a stem_slicer_bus +00f46a a djf_coef +00f516 a mac2_64 +00f522 a djf_block +00f9e0 a clip_block +00fab6 a lev_block +00fbbe a perf_len +00fbfc a perf_glt_seg +00fc96 a perf_glt_step +00fdae a perf_buf_start +00fe68 a perf_switch +00ff2a a pb_ring_f +00ff80 a perf_glt +010146 a perf_buf_done +010186 a perf_buf +010432 a master_out +0106f6 a uac_tap8 +0108ae a uac_tap48 +01099a a uac_tap +010a5c a usb_fixed_dac +010a7c a click_render +010b7e a uac_render_end +010c3e a load_half +010d78 a shed_check +010e28 a fm1_alnk0_irq +01100e a fm1__sr_bits +011040 a fm1__anim_frame +0112ac a sie_wr +011300 a sie_rd +01135a a uac_squeeze +01144c a ep4_fill +0116de a ep4_tx +01172c a uac_stream +01176c a uac_rate_set +0117b4 a uin_stream +0117fe a e0_chunk +01189a a e0_send +0118d8 a uac_ep4_reset +011904 a uin_ep_config +011936 a midi_enqueue +011994 a uin_take +011a16 a uin_rx +011a70 a fm1_timer5_irq +0131f8 - fm1_p33_read +01323c - fm1_enter_uboot +0132d6 - fm1_guard_enable +0133b0 - fm1_mc_park +013410 - irq_save +013416 - fl_far +013420 - st_sector +013480 - st_read +0134c6 - st_crc32_add +0134f2 - st_crc32 +013502 - st_head +01355a - st_body +013590 - st_current +013616 - st_load +013658 - settings_fix15 +013670 - palette_from_stored +013692 - settings_import +0138ec - chain_valid +01391e - chain_defaults +01393c - proj_hash +01395a @ param_desc_of +013982 - proj_pdef +01398e - params_by_count +0139c8 - step_set_ratchet +0139ee - cm_one +013d86 - comp_migrate +013e66 - motion_valid +013f0c - proj_bits +013f22 - proj_tp +013f8a - proj_eq +014016 - proj_new_tracks +01409a - dx_kit_ok +0140f6 - proj_name_get +01412e - proj_sum +014136 - proj_unpack_c +014cd6 - sound_v04 +014cf2 - proj_drums_to_part +014d6c - drum_from_phys +014d8c - proj_phys +014dda - proj_unpack +015436 - proj_ok +015484 - proj_g_from_v2 +0154b6 - proj_trk_from +01553e - proj_trk_from_v2 +01555c @ drum_lane +015584 - step_to_grid +0155f8 - proj_engines_ok +015616 - proj_ap_clear +015638 - fm4_abs +01563e - fm4_samples +01565a @ fm6_carriers +01566a - fm4_lg +0156b6 - fm4_ms +0156cc @ fm6_scaleout +0156e6 - fm4_outlevel +01572c - fm4_rate +015782 - fm4_level +0157cc - fm4_fall +0157f6 - fm6_max +015826 - fm6_sanitize +015860 - fm4_convert +015f34 - fm6_pack +01604c - proj_fm4 +0161aa - drum_from_perc +0161d0 - proj_perc +0162b8 - eng_gone +0162d2 - analog_from_trio +016352 - proj_phys_gone +01649e - proj_import +016b5a - proj_obj +016b76 - proj_steps +016bc2 @ param_fit +016bec - proj_bound +016c80 - proj_djf_events +016cbe - proj_mf_tracks +016cf4 - proj_gl_used +016d1e - proj_fg_used +016d52 - proj_lyr_len +016d6a - proj_fm_kept +016da8 - step_lm_any +016db8 - proj_step_empty +016e0a @ step_ratchet +016e14 - proj_step_x +016ec6 - proj_packed_size +0170a0 - proj_pack +0178fa - proj_fetch +017956 - up_valid +0179b4 - up_value +0179cc - up_set_value +0179e4 - up_migrate +017aee - up_grid +017b04 - up_pat_norm +017b24 - up_bank_check +017bc4 - upf_valid +017be6 - upf_empty +017c0c - fm6_bank_valid +017c5a - up_rec +017c78 - up_used +017c96 - upf_fm6 +017cb2 - upf_tag +017cd8 - upf_pk_get +017d0e - upf_get +017d5e - fm6_unpack +017e64 - upf_pk_put +017eb0 - upf_set +017f0c - upf_migrate +017f74 - audio_silence +017f8c - st_erase +017ff2 - fl_write +018040 - st_prog +018084 - st_save_to +018186 - upf_save +0181d2 - fvb_valid +01825c - fvb_prog +018290 - fvb_commit +0182de - fvb_settle +01841c - fvb_boot +018422 - favorite_has +01846a - favorite_set +0184e4 - ota_fread +0184e8 - ota_in_area +018508 - ota_erase +018546 - ota_unstage +01855e - ux_mix +0185d8 - ux_luma +018612 - palette_set +018778 - settings_init +0187da - chain_busy +0187fc - seq_counting +01880e - transport_busy +018848 - settings_export +0188e0 - st_save +0188e6 - settings_poll +018988 - settings_save +018998 - fav_rows_new +0189c6 - usb_replug +0189fe - usb_serial_apply +018b08 - cv_text_on +018b1c - cv_text_in +018b48 - sig_seg +018b96 - sig_len +018bb8 @ sine_i +018be0 - bg_sin +018be6 - cv_rect +018c4c - heat_col +018cc4 - bg_col +018ce4 - og_neutral +018d00 - og_plot +018da6 - og_line_a +018e9e - og_line +018eb4 - bg_outline +019074 - bg_ring +0190d6 - being_lines +019206 - sig_pt +019280 - cv_pset +0192ae - cv_rrect +0194d8 - splash_sig +019a84 - hex8 +019aac - crash_log_put +019b40 - cpu_boot +019c1a - dbg_boot +019c68 - fm1_wdt_feed +019c72 - cpu_clock +019da2 - panel_init +019e50 @ ly_word +019e72 a sy_norm +019eb8 a ly_at +019ef2 a ly_sym +019f7a a sy_word +01aebc - sy_entry +01af2e - fm6_set_patch +01af7e - fm6_init +01afb0 @ motion_guard +01afb8 - motion_rebase +01b01c - motion_clear +01b0c6 - motion_reset +01b0ca - step_clear +01b0fc - track_defaults_steps +01b170 - track_defaults +01b18a - motion_enabled +01b1ac - motion_set_enabled +01b1ea - load_begin +01b28e - tsel_p +01b2aa - param_kept +01b2d2 - fm6_adopt +01b378 - fm4_apply +01b3d2 - motion_count +01b422 - load_end +01b51a - fm4_load_preset +01b644 - trk_eng +01b656 - trk_engp +01b668 - fm6_bank_slot +01b672 - fm6_slot_ok +01b69c - fvb_read +01b6dc - fm6_load_slot +01b75c - apply_preset_to +01b8d2 - set_engine_of +01b938 - init_sound_of +01b9fa - power_sound_of +01ba38 - fnv +01ba4e - steps_sig +01ba60 - fm1_adc_read +01bac0 - fm1_delay_ms +01bada - usb_start +01bb90 - fm1_led_dim_level +01bbb8 - fm1_guard_lock_top +01bbf6 - draw_text_box +01bc22 - fm1_input_edges +01bc38 - setup_show +01bc68 - fm1_enc_take +01bc84 - str_len +01bc92 - ui_say +01bcec - ui_message +01bcf6 - panel_setup +01bf1a - fm1_mc_barred +01bf36 @ dx_mute_set +01bf4a - gl_touch +01bfa2 @ sy_tok +01c01c - lyr_set +01c140 - lfo_fade_restart +01c15e - project_restore_runtime +01c658 - motion_djf_value +01c674 - mom_base +01c6a6 - motion_base_value +01c6fe - as_mix +01c714 - autosave_sig +01c82a - step_on +01c840 @ rng +01c858 - track_desc +01c900 - macro_dice +01cad2 - master_poll +01cb0e - boot_splash +01cb86 - cpu_off +01cbac - cpu_lost +01cbc4 - usb_detach +01cbec - ed_eng +01cbf0 - ed_room +01cc0c - ed_val +01cc2a - ed_step_sig +01cc8a - ed_shadow +01cd40 - ed_begin +01cd64 - ed_b +01cd84 - ota_idle +01cd88 - ota_wire_send +01ce66 - ed_send +01ce82 - ed_v +01ceaa - ota_frame_get +01ced2 - ed_lm_ok +01ceea - ed_u28 +01cf04 - ed_ui_state +01cf64 - ed_ui_save +01cfbc - ed_str +01cfe6 - ed_rv +01cff4 - ed_flash_stop +01d04e - project_capture +01d294 - project_used +01d2ac - ed_bk_song_obj +01d2ba - proj_store_len +01d2e0 - ed_bk_object +01d3e6 - ed_bk_u32 +01d400 - ed_bk_r32 +01d41c - fm6_neutral +01d448 - ed_fm6_name +01d488 - fvb_stage +01d498 - fvb_tx_ok +01d4dc - fvb_user +01d4e2 - menu_n +01d50a - menu_flag +01d526 - scr_get +01d546 - rp_get +01d57e @ ml_map +01d596 - cpu_get +01d5b8 - menu_get +01d740 - menu_vname +01d90c - rp_apply +01d976 - rp_put +01d9be - load_put +01d9da - cpu_put +01da44 - menu_put +01dc48 @ motion_set_event +01dc58 - motion_delete_event +01dcf0 - motion_set_lock +01dd00 - motion_clear_locks +01dd9e - ed_tdesc +01ddae - ed_desc +01ddf8 - ed_load_before +01de6c - set_engine +01de7c - ed_load_after +01dedc - motion_djf_set +01df5e - step_set_chance +01df6e - ed_step_put +01e01c @ step_chance +01e02c a step_lmode +01e054 - ed_step_reply +01e0ce - drum_elsewhere +01e104 - apply_preset +01e182 - project_save_as +01e2b6 - project_load +01e31c - up_values +01e392 - up_name_ok +01e3b8 - up_put +01e4b0 - eng_live +01e4cc - up_slot_label +01e4f0 - up_auto_name +01e54e - up_set_name +01e58a - step_lanes +01e5be - step_accents +01e5d6 - up_store +01e736 - up_load +01e89c - page_flash +01e8b8 - track_select +01e90c - ed_known +01e968 - row_src +01e9a4 @ row_var +01e9d2 - song_stage +01f054 - chain_prepare +01f0fe - ed_handle +0218d6 - ota_frame_done +0218e4 - ed_service +021c22 - ota_rd16 +021c2c - ota_rd24 +021c3c - ota_take +021cd2 - ota_send_msg +021d8c - ota_reply_identity +021dbc - ota_show +021e94 - ota_wr16 +021e9c - ota_wr32 +021eae - ota_rd32 +021ebe - ota_read +021fa4 - ota_jl_enc +021fca - ota_crc16 +021ff8 - ota_memeq +02200e - ota_prog +02202e - con_putc +0220b0 - con_puts +0220c2 - con_word +022104 - con_dec +022154 - con_kv +022174 - mc_status +0221c4 - con_uac +0222e8 - con_hex +022314 - con_kx +02233a - crash_log_get +02238c - con_num +022410 - mom_ptr +022446 - mom_finish +02247c - mom_poll +022538 - section_load +0225b8 - section_jump +02267c - song_index_save +0226ca - project_name +022704 - song_switch +0228ec - song_select +0228f2 - eng_vis +02290a - preset_rank +022932 - user_of +022952 - preset_all_pos +0229f6 - preset_all_at_in +022a5c - fmt_fix +022ac8 - ml_name +022b48 - ml_poll +022cdc - fmt_int +022ce2 - seq_is_empty +022cfe - panel_enc +022d26 - scr_wake +022d48 - btn_hold +022dac - dlg_on +022dc8 - ly_bit +022de6 - ly_avail +022e1e - name_on +022e2e - layer_allowed +022e5a - ly_down +022e76 - layer_held +022e9a - layer_opened +022eaa - cur_page +022ecc - act_cols +022f54 - layer_open +022fa2 - layer_set_open +022fd8 - section_store +02307e - lv_tracks +02314e - lv_keys_off +023188 - live_publish +02342e - lv_req +023452 - live_return +0234b0 - live_page +0234ec - live_frame +023716 - gen_page +02372e - nav_key +02375a - nav_ch +02376e - str_eq +02378e - page_visible +023934 - nv_page +0239a2 - nv_ok +0239be - nav_mem_put +0239d6 - gen_on +0239ea - confirm_open +023a06 - go_home +023a32 - fx_trk_k +023a68 - fx_page +023a94 - fx_mod_of +023adc - ev_len +023af2 - ev_id_ok +023b60 - lock_page_ok +023bb6 - lock_id +023c0a - motion_find +023c64 - ev_id_step +023c9e - ev_fix +023cf4 - page_entered +023ddc - nav_go +023f34 - undo_mark +023f56 - dk_genome +023f80 - enum_order +023fcc - enum_rank +024016 - ratio_of +02404a - ratio_d +02405c - bg_feat +024252 - dk_feat +024288 - dk_vis_take +0242b0 - dlen +0242c2 - gr +0242de - gseed +02433a - grr +02435a - gch +024378 - gpickw +0243bc - gminor +0243ce - gcolour +0244d0 - gnd +024520 - galt +02455a - gtone +024574 - giv +02458e - gtriad_ok +0245e2 - gprog_ok +024698 - gq_fix +0247ea - gsplit +0248a2 - gplan +024b7c - gen_pick +02510e - dsq_shape +02516e - euclid +025182 - glane_rat +025190 @ st_micro_set +0251b2 - gx_drums +025292 - gclear +0252a4 - gdrum_hit +02531a - gdrum_clear_region +025350 - gen_drums +025e6c - dstep_tie +025e80 - gci +025ec2 - gchord +025ed8 - gbass_root +025f0a - gchord_starts +025f30 - gnote +025fa6 - gbass_near +025fe6 - gbass_tone +026036 - gin_mode +026068 - gpcm +0260fe - gvo_mode +026124 - gclub +026158 - gchord_at +0264d6 - gchord_root_pc +0264f2 - dhold +02651e - gchord_pcs +02652a - gpc +026560 - gl_ct +02657c - gl_pal +0265a8 - gl_near +026620 - gl_add +02668e - gl_clash +0266ca - gl_pitch +0266d2 - gl_write +026bd2 - gl_cad +026ca2 - gen_role +029290 - dsq_near +0292fa - dsq_keep +02933a - dlevel +0293d0 - dice_by +0293fa - dk_rr +02941a - dk_frac +029440 - part_dice +029ec6 - btn_used +029efe - sec_of_fam +029f26 - nav_sec +029f54 - nav_mem +029f6e - nav_list +029fa6 - nav_cur +02a128 - nav_select +02a1b8 - grid_on +02a1f4 - live_rec_sel +02a23e @ key_black +02a25a - lock_held +02a320 - home_level +02a33e - home_set +02a35a - home_macros +02a382 - home_param +02a3ae - page_desc_v +02a46e - eu_of +02a508 - page_desc +02a794 - mom_keep +02a81c - accel +02a8d8 - enum_skip +02a8f8 - param_turn +02a9f0 - ml_knob +02aacc - knob_cap +02aae4 - tracks_edit +02ab8c - live_knob +02acc8 - cursor_set +02ad02 - comp_slot +02ad3a - comp_type +02ad52 - comp_view +02ad74 - cond_idx +02ada2 - cond_at +02ade8 - comp_vidx +02ae86 - comp_vat +02aef8 - gco_slot +02af18 - shp_k +02af38 - tl_len +02af4e - tl_take +02af60 - tl_motion_map +02b014 - tl_stretch +02b1ce - shp_rep +02b1e8 - shape_apply +02b4a0 - tl_order +02b53e - tl_shift +02b568 - dx_pagen +02b58a - dx_send_ix +02b5b0 - dx_mode_ix +02b5c8 - focus_named +02b5fc - focus_k +02b626 - focus_slot +02b654 - motion_rows +02b6e4 - ev_rows +02b6fc - ev_row +02b70c - ev_busy +02b726 - motion_move +02b828 - ev_follow +02b856 - song_idx_touch +02b872 - song_end_row +02b884 @ st_micro +02b896 - note_len +02b8c4 - note_drop +02b8f2 - len_turn +02b9ce - grid_hit_of +02b9f2 - grid_own +02ba44 - grid_hit +02bad0 - grid_hit_set +02bb04 - grid_acc +02bb90 - list_get +02bbb6 - preset_all_at +02bbc0 - preset_in +02bc06 - preset_pos +02bc64 - preset_at +02bcb8 - select_engine +02bcea - up_has_pat +02bd14 - up_pat_rank +02bd38 - preset_step +02be0c - eng_rank +02be2e - list_turn +02be8a - save_on +02bebc - nav_lv +02bed6 - save_level +02beda - pat_count +02bef0 - pat_pick +02bf0e - fop_field +02bf3e - fop_ok +02bf54 - fop_byte +02bf96 - eu_hit +02bfce - eu_vary +02c176 - eu_deg +02c1a0 - eu_gen +02ca58 - edit_param +02e6b2 - undo_ui +02e782 - project_recall_slot +02e7bc - edit_recallable +02e7c8 - rec_set +02e7f0 - rl_name +02e808 - cp_say +02e850 - cp_put +02e98a - cp_keys_used +02ea22 - cp_copy +02eb78 - tl_cell +02eba4 - drum_lane_name +02ebb4 - tl_lane +02ebc4 - up_engine +02ebd2 - up_name +02ec06 - project_cur_name +02ec12 - name_open +02ed0c - trk_base4 +02ed24 - page_first +02ed40 - ly_page +02ed5a - gco_on +02ed8e - ckeys_on +02edc2 - live_mano +02ee02 - keys_mode +02ee2a - menu_close +02eece - name_close +02eeea - cp_held +02efc4 - rec_tap +02f12a - cv_text_r +02f15a - menu_text +02f228 - about_cpu +02f3cc - menu_document +02fa76 - menu_scroll_max +02fa8c - enc_drop +02fa9e - menu_tab +02fac0 - mtab_first +02fada - menu_step +02fb34 - nm_commit +02fb4a - nm_group +02fb78 - nm_len_max +02fb8a - nm_insert +02fbe6 - nm_black +02fc1e - nm_do +02fc8c @ ly_pick +02fd0e a sy_gen_word +0301ba - up_ui_named +0302f4 - nav_button +03039e - open_family +0303aa - up_ui +0303b0 - up_pat_nth +0303ce - pat_label +030428 - load_pat16 +0304b6 - pat_load_ui +03061c - live_commit +03093a - comp_legacy +030954 - system_init +030b70 - sound_put +030d00 - motion_lock_steps +030d58 - page_tap +030e2c - cursor_fix +030e4a - panel_btn_of +030e66 - rec_first +030ec0 - rec_clear_auto +03110a - ent_message +031202 - gen_sig +031262 - gen_scale_page +0313ea - grg +031406 - gnear +03142c - gen_post +031cfc @ pfx_lane_put +031d32 - gen_make +03431c - act_col +034360 - act_ready +0344d8 - page_go +03451a - black_held +034558 @ chord_build +034560 - gen_amt_turn +03458c - gen_knob +034722 - motion_lock_get +03478c - motion_seg +03480e - motion_thin_id +034a2a - ui_input_frame +0395c2 - ui_input +039664 - layer_btn +039688 - led_put +0396ae @ beat_samples +0396d6 a scale_mask +0396f6 - glo_sounding +03972e - rec_clearable +039750 @ seq_src +03977c - live_leds +0397d6 - lcd_power +0397f6 - hint_tick +0398ba - scr_holes +0398fa - kc_w +039910 - kh_ink +039940 - cv_keycap +039a6e - cv_key_hint +039ad0 - graph_project_used +039b72 - sound_name +039bbc - str_hash +039bd0 - batt_shown +039c12 - head_load +039c3a - roll_note +039d42 - lens_on +039d74 - fx_on +039d9c - pd_of_fam +039dd0 - pd_on +039e0a - lz_on +039e78 - lz_low +039ea8 - roll_text +03a094 - skin_hud +03a0ac - pd_cur +03a0c6 - lz_fam +03a116 - hud_home +03a150 - large_kind +03a1c6 - graph_h +03a1f6 - eco_bot +03a214 - vk_heat +03a272 - eco_step +03a618 - bg_energy +03a6a6 - eco_genome +03a6dc - eco_off +03a704 - og_cos +03a70e - og_sin +03a714 - eco_ell +03a784 - eco_face +03a91c - bg_excite +03a994 - eco_feat +03a9f8 - eco_being +03ab48 - graph_y +03ab9c - eco_draw +03aefe - eco_backdrop +03af02 - lz_begin +03af34 - hud_cap +03af60 - cv_keep +03aff0 - text_fit +03b076 - cv_free_text +03b0ac - head_msg +03b1e2 - cv_frame +03b22e - dc_cell +03b2a0 - dc_send +03b32c - cv_blit_cells +03b576 - lz_blit +03b5a0 - draw_head +03bf18 - kh_w +03bf3c - cv_key_row +03bfc4 - foot_y +03bfde - foot_h +03bff8 - card_y +03c02c - card_h +03c052 - fill_around +03c168 - mtab_rows +03c18c - nav_groups +03c222 - nav_group_name +03c242 - tabs_paint +03c4e2 - draw_tabs +03c682 - heat_on +03c6a0 - card_heat +03c6d2 - knob_col +03c6fe - gauge_col +03c728 - ink_w +03c742 - large_face_has +03c770 - cv_text_fit +03c7a6 - card_ico_draw +03c7ec @ djf_cut +03c80e - draw_column +03d956 - gauge_column +03d970 - menu_val +03d9b6 - menu_short +03d9dc - text_column +03d9ec - menu_set +03da06 - lz_tile +03da74 - lz_uline +03daaa - lz_tile_bg +03dac2 - cv_clip_text +03db30 - fx_level +03db52 - nav_page_name +03dc1e - roll_view +03dc34 - page_title +03ddfe - foot_crumbs +03dfda - foot_ph +03e008 - steps_hash +03e09c - foot_hint +03e1d0 - foot_strip +03e3d8 - draw_crumbs +03e5e0 - draw_foot +03e7e8 - dlg_tabs +03e806 - dice_side +03e9c8 - dlg_card +03ea26 - dlg_crumb +03eaa8 - dlg_button +03eb48 - draw_confirm +03f0b4 - nm_card +03f13c - lcd_rule +03f154 - draw_rules +03f226 - draw_frame +03f31e - val_col +03f34a - param_format +03f5f6 - hot_text_column +03f610 - mod_dst_name +03f64a - macro_routes +03f79a - empty_column +03f7b0 - rec_columns +03f864 - preset_favorite +03f88e - card_mot_of +03f8ca - lv_card +03f90e - djf_format +03f9ae - motion_djf_any +03f9f4 - live_cards +03fc48 - hot_gauge_column +03fc6a - unit_column +03fc7e - hot_unit_column +03fca0 - cond_name +03fcee - comp_value +0400fa - comp_columns +04046a @ pfx_lane_at +04048e a pfx_rec_ok +0404c0 - draw_act_column +040516 - motion_lock_count +04056a - trk_level +04057e - fop_bytes +0405b6 - note_name +0405e6 - draw_columns +042dd0 - glo_drums +042df0 - snd_id +042e0a - lz_arc +042ea6 - lst_chip +042f94 - drum_lane_abbr +042fa4 - ly_keyname +043628 - pk_fill +0436ae - cv_text_up +043848 - draw_layer +0449d6 - strip_kind +044a10 - cv_trk +044a9c - toast_on +044aca - seq_roll_view +044b0a - pd_level +044b0e - live_sig +044b66 @ sing_view +044b90 - pr_head_step +044c16 - lens_strip +044c44 - pr_geom +044c76 - pr_src +044cba - pr_note +044cec - pr_held +044d68 - cv_line +044dda - cv_line_t +044e08 - scope_at +044efc - graph_scope +044f2a - heat_y +044f54 - graph_adsr +045258 - graph_lfo +0453be - gen_hash +0453e6 - sec_col +04540a - og_quad_a +045488 - og_node +0454f0 - vx_fit +045502 - vx_level +0455e2 @ sing_phon +0455fa - vx_voice_target +0458c0 - vx_age +04593e - vh_step +045af8 - vh_jaw +045b46 - vh_xf +045bd6 - vx_bez +045d38 - vx_col +045dcc - vx_line +045e22 - vx_curve +045e64 - vh_curve +045e8a - vh_len +045eaa - vh_along +045f7a - vh_poly +045fb0 - vh_line +045fcc - vh_node +04600c - vx_rnd +046020 - vx_voice +046c42 @ drum_kit_of +046c72 - vx_fall +046c94 - vx_blob +046ddc - vx_dot +046e38 - vx_arc +046eb2 - vx_face +046f64 - vx_bug +047258 - vx_kit +047844 @ an_mode +04785a - vx_animal +048088 - vx_uf +0480c8 - fm6_alg_of +048108 - vx_fm_ops +0483fc - vx_sq +04841c - vx_body +0484a2 - vx_bface +048544 - vx_fm_bicho +048790 - vx_text +0487c6 - vx_fm6 +048cfe - vx_draw +048e0e - pat_range +048eb8 - lz_note +048eee - lv_x +048f5c - graph_live +049554 - bar_cells +0497be - pr_split +049804 - graph_grid +049a62 - pr_lit +049af0 - pr_head_col +049b14 - pr_row_y +049b38 - pr_bars +049c1a - comp_col +049c54 - lz_comp_mark +049cb8 - seq_col +049cea - pr_heads +049d90 - graph_roll +04a5d2 - lz_sec +04a60a - graph_proj +04ae72 - lz_track_being +04afae - fx_dots +04b036 @ softclip +04b06c - tk_dist_y +04b1b2 - fxg_en +04b1d8 - fxg_label +04b20c - fxg_dist +04b3d0 - fxg_mod +04c06c - ed_cap +04c086 - graph_being_at +04c13a @ ft_of +04c150 - ed_resp +04c1f8 - env_mini +04c328 - lfo_cap +04c3e4 - key_val +04c456 @ pd_setup +04c558 a pd_wave +04c67c a lofi_mto +04c6f4 a osc_pulse +04c782 a an_osc +04c822 a an_morph +04c852 - graph_colony +04ca9e - fop_dec +04cae6 - vx_fm6_page +04cd6a - vx_ring +04cda2 - vx_fm6env +04d338 - vx_kit_page +04d3fc - sing_up +04d434 - graph_sing +04d990 - tk +04d9d6 - toast_clear +04da28 - draw_graph +054906 - page_flash_draw +054aba - ui_draw_body +0564a0 - fm1_main +059c68 - fm1_cstart +059faa @ analog_note_on +059fcc a an_mpos +05a01c a analog_morph +05a8f4 a an_pw +05a930 a analog_ext +05b34e a analog_render +05ba0e a analog_dispatch +05ba96 a fm4_gone_note_on +05ba98 a fm4_gone_render +05ba9a a phase_note_on +05bab2 a phase_render +05bde4 a lofi_note_on +05be38 a lofi_sync +05be86 a lofi_mut +05bf04 a lofi_float +05cbf6 a lofi_float_render +05cfa0 a lofi_byte +05d4a6 a lofi_byte_render +05d86a a lofi_render +05dfb0 a lofi_amp +05e070 a lofi_desc +05e12e a phys_gone_note_on +05e130 a phys_gone_render +05e132 a formant_note_on +05e1c8 a fmt_sung +05e230 a fmt_ratio +05e288 a mul64_us +05e29a a fres_coef +05e35e a formant_word_render +05ebc4 a vowel_at +05ec48 a formant_render +05f3c4 a formant_amp +05f42a a formant_desc +05f44c a sy_take_entry +05f466 a sy_word_next +05f672 a sy_seek +05f796 a sy_enter +05f886 a sy_tick +05fe1a a formant_block +0602ae a wheel_note_on +060386 a drw_dust +060400 a wheel_render +06079a a drw_level +0607de a drw_dust_pick +060808 a wheel_block +060a70 a str_period +060ab2 a str_exc +060b3c a string_note_on +060dda a str_exp2n +060e0a a str_gain +060e48 a string_render +061460 a string_amp +06147a a string_desc +06149a a string_block +0614b6 a string_done +0614c8 a drum_note_on +06170a a drum_lane_of +06176a a dx_acoustic_patch +0617ee a dx_hands_step +0618e0 a dx_fm_env +06194e a dx_fm_lim +061998 a dx_layer +061b60 a dx_run +062924 a punch_gain +062976 a drum_side_of +062a1a a drum_side_ramp +062acc a drum_side_add +062b3c a drum_render +062ffc a drum_amp +063040 a drum_keys +063054 a noise_note_on +063094 a noise_inc +0630f6 a noise_render +063712 a noise_desc +063744 a fm6_sync +063ab4 a fm6_env_advance +063b6c a fm6_penv_advance +063bc2 a fm6_note_on +063eb6 a fm6_op_fb +063f42 a fm6_op_run +064072 a fm6_render +06475a a fm6_block +064894 a fm6_done +06499c a add_note_on +064a0a a add_render +064ea8 a animal_init +064f30 a animal_note_on +064f5c a an_inc +064f82 a an_exp2n +064fb8 a animal_render +065e96 a animal_amp +066370 a animal_desc +0663a2 a mc_job +067314 a tape_block +0676f2 a eq_gain +067720 a eq_block +067894 - vx_x2 +0678c6 - vx_anb +067910 - vx_an_wave +067dc8 - vx_pl +067e3e - vx_hash +067e5e - vx_analog +068294 @ drw_part +0682b2 - vx_wheel +068978 - vx_nz_step +068c22 - vx_noise +069002 - vx_pd +069118 - vx_pdw +06917e - vx_rs +069194 - vx_whorl +069246 - vx_poly +06929a - vx_phase +069972 - vx_lofi +06a1ee - vx_string +06a9b4 - vx_lg2 +06a9d6 - vx_add +06ae30 r ENGINES +06ae6c r ENG_ANALOG +06af4c r ENG_FM4_GONE +06b02c r ENG_PHASE +06b10c r ENG_LOFI +06b1ec r ENG_GONE +06b2cc r ENG_FORMANT +06b3ac r ENG_WHEEL +06b48c r ENG_DRUM +06b56c r ENG_NOISE +06b64c r ENG_FM6 +06b72c r ENG_ANIMAL +06b80c r N_ANALOG_WAVE +06b82c r ANALOG_PRESETS +06ba84 r PITCH_OCT +06bd84 r SVF_G +06be84 r SINE +06c686 r TANH_Q15 +06c888 r N_PD_WAVE +06c8a8 r N_PD_WAVE2 +06c8cc r N_PD_LINE +06c8d4 r PHASE_PRESETS +06ca54 r N_CHIP +06ca68 r N_RWAVE +06ca84 r LOFI_PRESETS +06cc1c r WRAM +06cd1c r LOFI_GAIN +06cd2c r LOFI_FCHIP +06cd40 r LOFI_FALGO +06cd54 r LOFI_VAR +06cd68 r LOFI_ALGO +06cd7c r LOFI_MOTN +06cd90 r LOFI_LOOP +06cda4 r LOFI_GRIT +06cdb8 r LOFI_FDCY +06cdcc r LOFI_NONE +06cde0 r LOFI_WAVNUM +06cdf4 r LOFI_DCY +06ce08 r N_FCHIP +06ce18 r N_FLOAT +06cedc r N_BYTE +06cfa0 r N_WRAM +06cfe4 r N_DCY +06d068 r FORMANT_PRESETS +06d1d0 r ENV_LIN +06d3d0 r VOWEL_F +06d3ee r VOWEL_B +06d400 r SEMI_Q16 +06d434 r FMT_WDESC +06d4d4 r N_THEME +06d4f8 r N_LOOP +06d510 r LOOP_N +06d518 r LY_BANK +06d548 r SCAT_ES +06d5e4 r SCAT_EN +06d61c r SCAT_JA +06d6c8 r TPL_ES +06d6ec r TPL_EN +06d70c r TPL_JA +06d724 r VOCABLE +06d730 r LY_ES_TXT +06ded8 r LY_ES_OFF +06df00 r LY_ES_META +06e032 r LY_ES_GRP +06e10a r LY_EN_TXT +06e724 r LY_EN_OFF +06e746 r LY_EN_META +06e852 r LY_EN_GRP +06e92a r LY_JA_TXT +06ed30 r LY_JA_OFF +06ed46 r LY_JA_META +06edf0 r LY_JA_GRP +06eec8 r sy_ja.JV +06eece r LY_EN_LET +06ef04 r LY_CP +06ef10 r LY_CL +06ef1c r LY_CH +06ef28 r LY_EN_DICT +07234a r LY_EN_IDX +072556 r LY_EN_HCP +072572 r LY_EN_LUTP +0725f2 r LY_EN_HCL +07261c r LY_EN_LUTL +07269c r LY_EN_HCH +0726f2 r LY_EN_LUTH +0727f2 r PHON +072a78 r N_DRW_REG +072ab8 r N_DRW_PERC +072ad4 r N_DRW_ROTR +072ae0 r WHEEL_PRESETS +072bd0 r DRW_FOLD_LIM +072bf4 r DRW_LV +072c08 r DRW_ROT_SPD +072c20 r DRW_REG +072cc0 r DRUM_PRESETS +072d98 r DRUM_GM +072df8 r N_NOISE_MODE +072e08 r NOISE_PRESETS +072ec8 r NOISE_SEQ +072f88 r NOISE_LONG +072f9c r NOISE_META +072fb0 r NOISE_CLK +072fc4 r N_NOISE_LONG +072fe8 r N_NOISE_META +07300c r N_FM6_ALG +073094 r N_FM6_PATCH +07313c r FM6_PRESETS +0732a4 r fm6_sync.SPREAD +0732ac r FM6_LFO_DELTA +07343c r FM6_LEVELLUT +073450 r FM6_EXPSCALE +073471 r FM6_VELDATA +0734b4 r FM6_STATICS +0735e8 r FM6_DETUNE +0736e8 r FM6_COARSE +073768 r FM6_FINE +0738f8 r FM6_PENV_TAB +07395c r FM6_PENV_RATE +0739c0 r FM6_EXP2 +0749c4 r FM6_ALG +074a84 r N_ANIMAL_MODE +074a98 r N_AN_GROUP +074ad8 r ANIMAL_PRESETS +074d18 r LFO_INC +074f18 r AN_LW +074f2c r AN_DESC +07524c r UAC_FIR0 +07536c r UAC_FIR3 +0761dc r perf_key.BK +0761e1 r kb_map.DEGREE +0761ed r chord_build_mode.DIA +076201 r chord_build_mode.SHP +076219 r chord_build_mode.T3 +07621d r chord_build_mode.F5 +076220 r chord_build_mode.F5M +076223 r chord_build_mode.S7 +076226 r chord_build_mode.S7D +076228 r chord_build_mode.S9 +07622a r chord_build_mode.S2 +07622c r chord_build_mode.S4 +076230 r TP +076bcc r N_LWAVE +076be0 r N_AMODE +076c20 r N_DIV +076c48 r N_ORDER +076c50 r N_SCALE +076c90 r N_QUANT +076ca0 r N_VOICE +076cb0 r N_GLMODE +076cb8 r N_PRIO +076cc4 r N_ALLOC +076ccc r N_APSYNC +076cd4 r N_MSRC +076d10 r N_MDST +076d88 r N_DTYPE +076da0 r N_FTYPE +076db8 r GP +077358 r N_DTIME +077458 r N_MIDI_INPUT +077460 r N_ROUTE +077468 r N_GO +077470 r N_ENGNAME +0774ac r N_RTYPE +0774c0 r N_SLCR +0774cc r N_SLDIV +0774e4 r N_SLPQ +0774ec r N_DLYTYPE +0774f8 r N_PFXRES +077504 r MIDI_CC_MAP +077532 r MIDI_CC_ENG +077541 r FG_DEN +07754b r FG_NUM +077555 r LV_RN +07755e r LV_RD +077567 r shift_step_pass.rest +07757f r CP_RATES +077585 r CT_DIVS +07758b r DIV_DEN +077591 r dx_mot_block.Q8 +07759a r PF_SVF +07771a r PF_DEN +07771e r LEVEL_Q12 +07781e r mod_param.ID +07782a r track_lfo_tick.U +077842 r ENV_EXP +077942 r REV_LITE +077952 r DTIME_MS +0779be r HB_Q +0779dc r GR_RATIO +077a40 r semi_q16.R +077a58 r SL_DEN +077a60 r SL_RATIO +077b24 r CLICK_GAIN +077b2a r FM1_KEYMAP +077b6c r FM1_ENC +077b88 r FM1_ANIM_X +077ba3 r ep0_service.zero2 +077ba5 r ep0_service.RATE +077ba8 r ep0_service.RATE48 +077bab r DEV_DESC_STIN +077bbd r DEV_DESC_PLAIN8 +077bcf r DEV_DESC_DUP +077be1 r DEV_DESC +077bf3 r DEV_DESC_PLAIN +077c05 r CFG_DESC_STIN +077cfe r CFG_DESC_PLAIN8 +077dad r CFG_DESC_DUP +077ea9 r CFG_DESC +077fa5 r CFG_DESC_PLAIN +078057 r STR0 +07805b r STR1 +078071 r STR_PROD +07807b r sysex_byte.UBOOT_KEY +078081 n fm1_fault.L +0780b8 n AF_M +0780e4 n AF_S +078110 n HALO_X +078124 n HALO_Y +078138 n AF_M_GH +078260 n AF_M_GP +078388 n AF_M_DATA +078e06 n AF_M_KI +078e9a n AF_M_KP +079226 n AF_M_EX +079230 n AF_M_HC +079262 n AF_S_GH +07938c n AF_S_GP +0794b4 n AF_S_DATA +079c88 n AF_S_KI +079d1c n AF_S_KP +079eba n AF_S_EX +079ec4 n st_crc32_add.T +079f04 n UI_PALETTE_MIGRATE +079f18 n FM6_INIT +079f98 n EV_AB +079fb4 n CP_TRIGS +079fcc n CP_WRATES +079fd8 n TRK_OLD +079fea n DX_KIT_DEF +07a042 n DX_LAY_DEF +07a04a n FM4_ALG +07a094 n DIGITAL_PRESETS +07a154 n TIME_MS_X10 +07a354 n fm6_max.OPMAX +07a369 n fm6_max.VMAX +07a37c n analog_from_trio.R +07a398 n UI_PALETTES +07a448 n UI_RAISE_OF +07a454 n UI_KNOBS +07a4ac n ux_mix.MK +07a4af n LCD_SEQ +07a4c4 n SPLASH_LINES +07a4cc n SIG_PTS +07a678 n splash_beings.SP +07a67b n GENOME +07a6ba n sig_pt.W +07a6c0 n heat_col.H +07a6ce n TRK_DEF +07a6e0 n PATTERNS +07a8b4 n init_sound_of.ENVP +07a8ba n FM6_FACTORY +07acbc n B_NAME +07acf4 n E_NAME +07ad10 n AF_L +07ad3c n AF_L_GH +07ade0 n AF_L_GP +07ae84 n AF_L_DATA +07b844 n AF_L_KI +07b898 n AF_L_KP +07b8a8 n AF_L_EX +07b8d0 n AF_L_HC +07b90a n macro_dice.DST +07b91c n VLANG_DESC +07b930 n VLYR_DESC +07b944 n LOFI_RTRG +07b958 n TRK_CHANCE +07b96c n MORPH_DESC +07b980 n CLEN_DESC +07b994 n DXIMG_DESC +07b9a8 n CHORD_DESC +07b9e4 n HUM_DESC +07ba20 n RECQ_DESC +07ba34 n DRIFT_DESC +07ba48 n WROT_DESC +07ba70 n N_LANG +07ba80 n N_LYRIC +07bae4 n N_CLEN +07bbec n N_CHRD +07bc20 n N_CVOI +07bc34 n ED_TIDS +07bc37 n ED_BK_IDS +07bc62 n ED_MENU +07bc98 n MI_NAME +07bd10 n MI_TAB +07bd30 n MTAB_NAME +07bd40 n MENU_FLAGS +07bda0 n SKIN_NAME +07bdb0 n SCOPEOPT_N +07bdb8 n STYLE_N +07bdc0 n SPK_EQ +07bdcc n USBLVL_N +07bde4 n USBOUT_N +07bdf8 n HOLD_N +07be08 n CLICK_N +07be14 n CLKLVL_N +07be20 n COUNTIN_N +07be2c n MIDIOUT_N +07be3c n SCROFF_N +07be50 n LEDS_NAME +07be60 n USB_GAIN +07be6a n SCR_CODE +07be6f n DX_KITS +07c218 n PAGES +07c65c n ota_show.STEP +07c674 n mc_status.LOST +07c684 n con_dbg.NAMES +07c6d0 n FAM_BTN +07c6e7 n ENGINE_PC_ORDER +07c6fe n ENGINE_ORDER +07c709 n LOFI_ORDER +07c71c n LAYERS +07c83c n LV_CUT +07c848 n CHAINS +07c8e4 n CE_HOME +07c938 n CG_HOME +07c950 n CE_SYN +07c9c8 n CG_SYN +07c9e0 n CE_SEQ +07ca64 n CG_SEQ +07ca9c n CE_FX +07cb74 n CG_FX +07cbb4 n CE_GLO +07cc20 n CG_GLO +07cc48 n CE_ENV +07cc84 n CG_ENV +07cc9c n CE_LFO +07cce4 n CG_LFO +07ccfc n CE_SCL +07cd14 n CG_SCL +07cd24 n CE_ARP +07cd3c n CG_ARP +07cd44 n CE_SAVE +07cd98 n CG_SAVE +07cdb0 n CE_FM6 +07ce10 n CG_FM6 +07ce28 n CE_DRM +07ced0 n CG_DRM +07cef0 n CE_DIG +07cf68 n CG_DIG +07cf80 n NAV_DEF +07cf8d n SEC_FAM +07cf98 n fx_trk_k.FX_TRK +07cfa4 n FX_MHEAD +07cfbc n FX_MN +07cfc2 n DK_FXT +07cfcb n DK_FXG +07cfd1 n LANE_G_HOME +07cfd8 n EGEN +07cfe7 n DIV_ORDER +07cff1 n SLDIV_ORDER +07cff7 n DTIME_ORDER +07d037 n RWAVE_ORDER +07d040 n dice_seq.RN +07d058 n gx_prog.QW +07d064 n gx_prog.FL +07d069 n gx_prog.FW +07d06e n gcolour.AEOL +07d075 n gcolour.ION +07d07c n DRUM_MAP_I +07d1bc n OH_POOL_I +07d1c2 n RS_POOL_I +07d1c8 n GM_LANE +07d560 n BA_STEP +07da80 n gen_acid.W +07da87 n gen_pads.AT +07da8d n gen_pads.CP +07da93 n gen_pads.BR +07da99 n gen_lead.W +07da9e n gen_lead.TPL +07dab6 n gen_lead.ARCH +07dace n gen_lead.W.1478 +07dad2 n gl_cad.FULL +07dad5 n gl_cad.HALF +07dad8 n drum_lane_name.N +07daf8 n tl_fill.E +07db14 n LY_SCL +07db20 n LY_SEQ +07db2c n MENU_CREDITS +07dc74 n ABOUT_QR +07dce8 n about_cpu.RL +07dcf4 n about_cpu.CL +07dd0c n NM_ABC +07dd4c n live_commit.DL +07dd60 n system_init.KEEP +07dd65 n eu_of.KIT +07dd7d n eu_key.TRY +07dd84 n eu_key.NEWS +07dd8c n drum_oct_name.N +07dda8 n ENT_RES +07ddb8 n gen_make.ORDER +07ddbd n gen_make.DP +07ddc3 n GX_ARPS +07ddcb n GX_LEADS +07ddd3 n gen_sound.EW +07ddd9 n gen_mix.HV +07dddf n gen_mix.HT +07dde5 n gen_mix.HG +07ddeb n gx_comps.EV +07ddf2 n gx_heads.IV +07ddfc n gen_parts.ORD_CLUB +07de02 n gen_parts.FILLS +07de08 n gen_parts.XL +07de10 n TRKS_DESC +07de24 n LOAD_DESC +07de38 n RESO_PITCH +07de4c n RESO_FOLW +07de60 n REV_AIR +07de74 n REV_PRE +07de88 n AP_BEAT +07de9c n N_TRKS +07dea4 n LFO_MODE_DESC +07deb8 n LFO_PHASE_DESC +07decc n N_LMODE +07ded4 n N_RFOLW +07def0 n eu_desc.MD +07df10 n N_APDIV +07df30 n CP_RATE_ORD +07df36 n GA_LIST +07df41 n FO_PAGE +07df4d n FO_OFF +07df57 n SCR_MIN +07df5c n KC +07e03c n KC_DATA +07e956 n KC_HC +07e98c n AF_X +07e9b8 n ROLL_EASE +07e9ca n ECO_PX +07e9d6 n ECO_PY +07e9e2 n eco_being.SC +07e9e8 n AF_X_GH +07eb60 n AF_X_GP +07ecd8 n AF_X_DATA +07ee4c n AF_X_EX +07ee50 n layer_head.H +07ee74 n draw_menu.KH +07ee84 n CARD_ICO_OF +07ef7c n CARD_ICO +07efde n menu_short.SH +07f04c n dlg_tabs.DN +07f058 n nm_draw_panel.FN +07f06c n LFO_HZ_X100 +07f26c n N_LSYNC +07f29c n CUTOFF_HZ +07f39c n LEVEL_DB_X10 +07f49c n FX_LATCH_FOOT +07f4b4 n MAC_LATCH_FOOT +07f4cc n layer_state.TG +07f4d8 n PF_NAME +07f514 n GLO_GROUP +07f524 n PK_BLK +07f530 n ly_keyname.TG +07f53c n ly_keyname.BN +07f54c n B_NOTE +07f558 n TL_NAME +07f588 n track_col6.SN +07f598 n gen_panel.ROLE +07f5ac n gen_panel.FORM +07f5c1 n VA_MID +07f5c6 n vx_animal.SC +07f5cc n vx_animal.HT +07f5d2 n vx_analog.SC +07f5d8 n vx_phase.C2 +07f5e8 n LV_BK +07f5f3 n LV_WK +07f624 n graph_lz_tools.WHAT +07f63c n graph_lz_tools.ON +07f654 n graph_proj.LN +07f670 n graph_proj.RV_SH +07f6a4 n eng_abbr.A +07f724 n FX_MOD +07f73c n fxg_sends.N +07f74c n fxg_punch.RES +07f750 n graph_filter_lz.FX +07f75c n graph_stage.SN +07f76c n graph_key.NN +07f79c n graph_chord.RN +07f7b8 n graph_arp.TRI +07f7bc n graph_system.LD +07f7c8 n graph_morph.WHAT +07f7d8 n LANE_G +07f810 n vx_fm6_page.A +07f820 n vx_fm6env.A +07f830 n graph_sing.VREF +07f835 n PH_NAME +07f8c0 n tech_global.CK +07f8cc n draw_columns.M +07f8dc n RV_NAME +07f910 n N_FGRATE +07f938 n N_FGDIR +07f948 n draw_columns.labels +07f958 n GRID_HIT +07f978 n draw_columns.TIME_N +07f984 n draw_columns.FLAG_N +07f994 n LV_TG +07f9b8 n LV_RNAME +07f9dc n dx_cards.BUS +07f9ec n dx_cards.RT +07fa10 n dx_cards.SH +07fa24 n DX_LANE_ABBR +07fa44 n dx_cards.PM +07fa54 n dx_mode_name.W +07fa64 n dx_mode_name.F +07fa70 n CA_NAMES +07fab0 n CC_NAMES +07fae4 n comp_vname.ORD +07faf4 n comp_vname.DEC +07fb00 n comp_vname.HIT +07fb0c n rate_name.BASE +07fb18 n fop_card.STG +07fb28 n fop_card.HZ +07fb4c n FAM_CRUMB +07fb78 n foot_crumbs.LN +07fb9c n SEC_NAME +07fbc4 n act_name.UP_GO +07fbd0 n act_name.actions +07fbe4 n tabs_now.LLV +07fbf0 n draw_confirm.PART +0782f4 c lofi_render.STEP_DUTY +0782f8 c DXO_VEL +0782fc c DXO_DEC +078300 c DXO_TON +078304 c DXO_RAT +078308 c CP_DEGS +07830c c REV_AP +07834c c lofi_float.R +078354 c lofi_float.H +07835c c DXG_LANE +078364 c DX_RATIO +07836c c FM6_PMS +078374 c pfx_note.R +07837c c DRUM_LANE_NOTE +078384 c GFX_ID +07838c c dx_img_pan.F +078394 c AP_SIXT +07839c c REV_COMB +078450 c BYTE_T0 +078470 c dx_acoustic_patch.target +078490 c DX_FB_CURVE +0784b0 c NOISE_TAPS +0784d0 c fm6_carriers.CARRIER_MASK +0784f0 c AN_GROUP +078510 c SCALE_MASK +078530 c SL_PAT +078550 c FM1__BR_K +078570 c FM1_ANIM_POW +078610 c FM6_AMSENS +078620 c pfx_fire.FILL +078630 c cl_spawn.PITCH +078640 c GA_OF diff --git a/tools/gen_nav_map.py b/tools/gen_nav_map.py index a9a0a758..ebc0942f 100644 --- a/tools/gen_nav_map.py +++ b/tools/gen_nav_map.py @@ -96,9 +96,9 @@ L = { 'LFO': 'KNOB 1: the slot on MOD, the step on MSEQ.'}, layers=[('HOME', 'the MENU: DISPLAY · CONTROL · AUDIO · SYSTEM (SELECT the rows, ALGORITHM the tabs)'), ('EDIT', 'F3 INIT · G3 RECALL · DRUM: black keys 1–8 mute each sound'), - ('SEQ', 'F3 CLEAR · G3 REVERSE · A3/B3 SHIFT · C4 RANDOM · D4 COOK · E4 BEAT · F4 CLR AUTO · D5 REVERT · **G5 CLR STEP** · REC: CLEAR ALL'), + ('SEQ', 'F3 CLEAR · G3 REVERSE · A3/B3 SHIFT · F4 CLR AUTO · G4–B4 LANE CLEAR / REVERSE / FILL · **G5 CLR STEP** · REC: CLEAR ALL'), ('FX', 'punch-in: F3–A3 REPEAT · B3/C4 LPF/HPF · D4/E4 OCT · F4 ½ TEMPO · G4/A4 DEC · B4/C5 STUTTER · D5 ATK+ · E5 ARP · F5 RANDOM'), - ('GLO', 'black 1–6 MUTE · F3–D4 SOLO · E4 unmute all · F4 TAP · A4 FREEZE · B4 REVERT ALL · **G4 UNDO** · PLAY restart · knobs: LEVEL'), + ('GLO', 'black 1–6 MUTE · F3–D4 SOLO · E4 unmute all · F4 TAP · **G4 UNDO** · PLAY restart · knobs: LEVEL'), ('LFO', 'KNOB 1–4 = M1–M4, latched · F3 new routes · G3 clear'), ('SCL', 'any key sets the ROOT'), ('SAVE', 'F3–B3 play A–D · C4–F4 store A–D · **C5 NAME** · D5 LOOP/SONG · E5 SONG REC · G5 ARRANGE'), @@ -140,9 +140,9 @@ L = { 'LFO': 'KNOB 1: el slot en MOD, el paso en MSEQ.'}, layers=[('HOME', 'el MENU: DISPLAY · CONTROL · AUDIO · SYSTEM (SELECT las filas, ALGORITHM las pestañas)'), ('EDIT', 'F3 INIT · G3 RECALL · DRUM: negras 1–8 silencian cada sonido'), - ('SEQ', 'F3 CLEAR · G3 REVERSE · A3/B3 SHIFT · C4 RANDOM · D4 COOK · E4 BEAT · F4 CLR AUTO · D5 REVERT · **G5 CLR STEP** · REC: CLEAR ALL'), + ('SEQ', 'F3 CLEAR · G3 REVERSE · A3/B3 SHIFT · F4 CLR AUTO · G4–B4 LANE CLEAR / REVERSE / FILL · **G5 CLR STEP** · REC: CLEAR ALL'), ('FX', 'punch-in: F3–A3 REPEAT · B3/C4 LPF/HPF · D4/E4 OCT · F4 ½ TEMPO · G4/A4 DEC · B4/C5 STUTTER · D5 ATK+ · E5 ARP · F5 RANDOM'), - ('GLO', 'negras 1–6 MUTE · F3–D4 SOLO · E4 desmutea todo · F4 TAP · A4 FREEZE · B4 REVERT ALL · **G4 UNDO** · PLAY reinicia · perillas: LEVEL'), + ('GLO', 'negras 1–6 MUTE · F3–D4 SOLO · E4 desmutea todo · F4 TAP · **G4 UNDO** · PLAY reinicia · perillas: LEVEL'), ('LFO', 'KNOB 1–4 = M1–M4, enganchadas · F3 rutas nuevas · G3 las borra'), ('SCL', 'cualquier tecla fija la ROOT'), ('SAVE', 'F3–B3 tocar A–D · C4–F4 guardar A–D · **C5 NAME** · D5 LOOP/SONG · E5 SONG REC · G5 ARRANGE'),