mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-05 20:34:27 +01:00
V10.8.70: GEN with JIANT BYTE's grich; call and response and EXPLORE's cut back
Juan: "si, todo". - grich from JIANT BYTE 5aebdf56 (Juan's GPL code), on FM's engines. Each section, and A, gets its own automation, locks and step components: - the kit's TONE rises over the build; - DECAY rises toward the turn (only up, so the kit keeps its punch); - a snare roll is muted into the turn; - the hats' offbeats get an 80 % chance; - the delay is thrown on the lead's last note; - the arp's filter ramps over the build; - a stab chord lands in a melodic part; - the break's pads get a slower attack and a longer release. - FM's call and response is back: the arp is silent where the lead speaks. - EXPLORE's cut is back: the cycle's last beat or two are cleared. - Both sit beside BYTE's gen_post. - GTRIM: HOUSE is 0.5 dB lower and METALCORE 1 dB lower, so every piece stays under -1 dBFS (gen_peak). Flash: the long enum lists are packed with str_nth. desc_nm reads them; PNB holds params.c's lists and PNE the engines' (CLAY SHAPE and EUCLID, WEST RATIO, ANIMAL GROUP, WHEEL BARS, ADD MODE). The names, stored ids and NRPN/editor ids are unchanged. tests/descdump's output is byte-identical to V10.8.69's. Image: 228 B free (V10.8.69: 128). BT: 24 B free. RAM code: 40192 B, unchanged. ui_graph: SOUND 3 is now matched by its whole title. The old check read past a short page title (found by ASan). CPU (tests/cpu_lines_test.py), each scene's worst block on core 0 and core 1, V10.8.69 -> V10.8.70: 101 80/44 -> 78/44 102 61/29 -> 61/28 103 79/14 -> 80/14 104 46/14 -> 46/14 105 65/41 -> 65/41 106 53/36 -> 52/35 107 58/11 -> 58/11 108 51/29 -> 51/29 0c 70/58 -> 70/58 Scene 101's worst block is a dense step (seq_step, note-ons). The drums' rendering is not the cost there. Tests: - gen_entry: MID recorded again. - Tests read the packed lists through PN_AT / desc_nm. - Layout recorded again (FELUCCA_REPIN=keep); the plain build passes. - Local workflow: all 19 steps pass. audio.c is V23's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
This commit is contained in:
25 files changed
+1750
-1628
No files matched your search
@@ -42,13 +42,12 @@ static const char *const FORM_SHAPE[]={
|
||||
"FM x1/2","FM x1","FM x1.5","FM x2","FM x3","FM x5","FM x7",0};
|
||||
#define FORM_NSH 55u
|
||||
/* (BYTE, RAM) DRONE CLAY's SHAPE knob: the same names, the HITS first (clay_sh), a table in the flash */
|
||||
static const char *const CLAY_SHN[]={"KICK","SNARE","HAT","OPEN HAT","CLAP","RIM","TOM","ZAP","BITHAT","NOISE DN","SWELL","CRASH","SINE","S&H","DRIFT","SPRING","STAIRS","BOUNCE","EXP UP","LOG DN","CHAOS","SWEEP","RND GATE","TRIPLET","RAMP UP","RAMP DN","TRI","GATE","ENV UP","ENV DN","RISER","STUTTER","STUT UP","DOWN","UP","REST","ARP UP","ARP DN","ARP UPDN","ARP RND","CHORD m","CHORD M","SUS4","m7","CLUSTER","+OCT","+5TH","GLIDE DN","FM x1/2","FM x1","FM x1.5","FM x2","FM x3","FM x5","FM x7",0};
|
||||
/* (V10.8.70) CLAY_SHN: core.h PNE */
|
||||
enum{FPG_TAB,FPG_HIT,FPG_GES,FPG_NOTE,FPG_FM};
|
||||
enum{FS_ENVDN=29,FS_REST=35}; /* (BYTE's S_ENVDN, S_REST: its S_* names the USB's registers here) */
|
||||
/* (BYTE's 1adbf0a6) DRONE CLAY's EUCLID: the straight ones first (on the bar's grid), then the triplets' 12, then the
|
||||
* polyrhythms; "--" none, FUSE two drawn from the SEED and joined, 1/1 every step */
|
||||
static const char *const CLAY_EU[]={"--","FUSE","1/1","1/4","2/4","3/4","1/8","2/8","3/8","5/8","7/8","3/16","5/16","7/16","9/16",
|
||||
"5/12","7/12","2/5","3/5","3/7","4/7","2/9","4/9","5/9","4/11","5/13",0};
|
||||
/* (V10.8.70) CLAY_EU: core.h PNE */
|
||||
static const uint8_t CLAY_EUK[26][2]={{0,0},{0,0},{1,1},{1,4},{2,4},{3,4},{1,8},{2,8},{3,8},{5,8},{7,8},{3,16},{5,16},{7,16},{9,16},
|
||||
{5,12},{7,12},{2,5},{3,5},{3,7},{4,7},{2,9},{4,9},{5,9},{4,11},{5,13}};
|
||||
#define CLAY_NEU 26u
|
||||
|
||||
@@ -97,6 +97,21 @@ typedef struct {
|
||||
int16_t min, max, def;
|
||||
const char *const *names; /* F_ENUM */
|
||||
} param_desc_t;
|
||||
/* (V10.8.70) the engines' long enum lists packed as params.c PNB (desc_nm), here before the engines */
|
||||
static const char PNE[] =
|
||||
/* CLAY_SHN (clay_form.c) */ "KICK\0" "SNARE\0" "HAT\0" "OPEN HAT\0" "CLAP\0" "RIM\0" "TOM\0" "ZAP\0" "BITHAT\0" "NOISE DN\0" "SWELL\0" "CRASH\0" "SINE\0" "S&H\0" "DRIFT\0" "SPRING\0" "STAIRS\0" "BOUNCE\0" "EXP UP\0" "LOG DN\0" "CHAOS\0" "SWEEP\0" "RND GATE\0" "TRIPLET\0" "RAMP UP\0" "RAMP DN\0" "TRI\0" "GATE\0" "ENV UP\0" "ENV DN\0" "RISER\0" "STUTTER\0" "STUT UP\0" "DOWN\0" "UP\0" "REST\0" "ARP UP\0" "ARP DN\0" "ARP UPDN\0" "ARP RND\0" "CHORD m\0" "CHORD M\0" "SUS4\0" "m7\0" "CLUSTER\0" "+OCT\0" "+5TH\0" "GLIDE DN\0" "FM x1/2\0" "FM x1\0" "FM x1.5\0" "FM x2\0" "FM x3\0" "FM x5\0" "FM x7\0" "\0"
|
||||
/* CLAY_EU (clay_form.c) */ "--\0" "FUSE\0" "1/1\0" "1/4\0" "2/4\0" "3/4\0" "1/8\0" "2/8\0" "3/8\0" "5/8\0" "7/8\0" "3/16\0" "5/16\0" "7/16\0" "9/16\0" "5/12\0" "7/12\0" "2/5\0" "3/5\0" "3/7\0" "4/7\0" "2/9\0" "4/9\0" "5/9\0" "4/11\0" "5/13\0" "\0"
|
||||
/* N_WEST_RATIO (eng_west.c) */ "0.5\0" "1\0" "1.41\0" "1.5\0" "1.73\0" "2\0" "2.5\0" "2.76\0" "3\0" "3.5\0" "4\0" "5\0" "5.40\0" "6\0" "7\0" "8\0" "0.5T\0" "1T\0" "1.41T\0" "1.5T\0" "1.73T\0" "2T\0" "2.5T\0" "2.76T\0" "3T\0" "3.5T\0" "4T\0" "5T\0" "5.40T\0" "6T\0" "7T\0" "8T\0"
|
||||
/* N_AN_GROUP (eng_animal.c) */ "HOLD\0" "TRILL\0" "1+1\0" "1+3\0" "2+2\0" "2+6\0" "3+3\0" "3+9\0" "4+4\0" "4+12\0" "6+6\0" "8+8\0" "8+24\0" "12+12\0" "16+16\0" "32+32\0"
|
||||
/* N_DRW_REG (eng_wheel.c) */ "FLUTE\0" "MELLO\0" "HOLLW\0" "SMOOT\0" "3BAR\0" "BLUES\0" "GOSPL\0" "ROCK\0" "TOPS\0" "CLARI\0" "REED\0" "STRNG\0" "CHAPL\0" "BRITE\0" "BASS\0" "FULL\0"
|
||||
/* N_ADD_MODE (eng_add.c) */ "HARM\0" "ODD\0" "WIDE\0" "BELL\0" "BAR\0" "DRUM\0" "PRIME\0" "FIFTH\0" "SUB\0" "PLATE\0"
|
||||
;
|
||||
#define CLAY_SHN ((const char *const *)(PNE + 0))
|
||||
#define CLAY_EU ((const char *const *)(PNE + 351))
|
||||
#define N_WEST_RATIO ((const char *const *)(PNE + 464))
|
||||
#define N_AN_GROUP ((const char *const *)(PNE + 584))
|
||||
#define N_DRW_REG ((const char *const *)(PNE + 659))
|
||||
#define N_ADD_MODE ((const char *const *)(PNE + 749))
|
||||
static inline uint32_t desc_fmt(const param_desc_t *d) { return d->fmt >= F_INT_CT ? (uint32_t)F_INT : d->fmt; }
|
||||
static inline const char *desc_unit(const param_desc_t *d) /* F_INT_CT .. F_REG64's, else 0 */
|
||||
{
|
||||
|
||||
@@ -591,7 +591,7 @@ static void ed_handle(const uint8_t *f, uint32_t n) /* f: the bytes between F0
|
||||
for (i = 0; i <= (uint32_t)(d->max - d->min) && i < 32u; i++) {
|
||||
int dst = d->names == N_MDST, show = dst && (mod_dst_offer(TSEL, i) || i == (uint32_t)*vp);
|
||||
if (show && i) { ed_b(mod_dst_scope(TSEL, i)); ed_b(':'); }
|
||||
ed_str(dst ? (show ? mod_dst_name(TSEL, (int32_t)i) : N_MDST[0]) : d->names[d->min + (int32_t)i], show && i ? 6u : 8u);
|
||||
ed_str(dst ? (show ? mod_dst_name(TSEL, (int32_t)i) : PN_AT(N_MDST, 0)) : desc_nm(d, d->min + (int32_t)i), show && i ? 6u : 8u);
|
||||
}
|
||||
break;
|
||||
case ED_STEP_GET:
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
* part's either way (a part is WHEEL or ADD); the voice's age in blocks in its perc. Cost: WHEEL's (a table lookup and a
|
||||
* multiply-add a partial a sample); the levels and the decays once a block. A note from silence starts its partials in
|
||||
* phase (a bell's, a pluck's attack the same every time). */
|
||||
static const char *const N_ADD_MODE[] = {"HARM", "ODD", "WIDE", "BELL", "BAR", "DRUM", "PRIME", "FIFTH", "SUB", "PLATE"};
|
||||
/* (V10.8.70) N_ADD_MODE: core.h PNE */
|
||||
enum { AD_HARM, AD_ODD, AD_WIDE, AD_BELL, AD_BAR, AD_DRUM, AD_PRIME, AD_FIFTH, AD_SUB, AD_PLATE, AD_N };
|
||||
#define AD_R(x) ((uint16_t)((x) * 1024.0 + 0.5)) /* a ratio, Q10 */
|
||||
static const uint16_t ADD_RATIO[AD_N][DRW_NP] = {
|
||||
|
||||
@@ -48,8 +48,7 @@
|
||||
enum { AN_CMOS, AN_PULSE, AN_WHSTL, AN_WING, AN_GLOTT, AN_NMODE };
|
||||
static const char *const N_ANIMAL_MODE[] = {"CMOS", "PULSE", "WHSTL", "WING", "GLOTT"};
|
||||
/* GROUP: syllables sounding + silent (HOLD: one as long as the note, TRILL: no gap) */
|
||||
static const char *const N_AN_GROUP[] = {"HOLD", "TRILL", "1+1", "1+3", "2+2", "2+6", "3+3", "3+9", "4+4", "4+12",
|
||||
"6+6", "8+8", "8+24", "12+12", "16+16", "32+32"};
|
||||
/* (V10.8.70) N_AN_GROUP: core.h PNE */
|
||||
static const uint8_t AN_GROUP[16][2] = {{1, 0}, {1, 0}, {1, 1}, {1, 3}, {2, 2}, {2, 6}, {3, 3}, {3, 9}, {4, 4}, {4, 12},
|
||||
{6, 6}, {8, 8}, {8, 24}, {12, 12}, {16, 16}, {32, 32}};
|
||||
/* Sparse overrides: the old 5x8 table held 25 empty descriptors. */
|
||||
|
||||
@@ -43,10 +43,7 @@
|
||||
* NOISE (engine 11 until V10.7.35) is gone: a project or a user preset made with it opens as WEST in a DUST patch
|
||||
* (core.h west_from_noise, project.c proj_phys_gone, upreset.c up_migrate); its first eight presets are NOISE's names
|
||||
* remade (PROGRAM CHANGE, the generator's textures 4..7 and the stored preset numbers name what they named). */
|
||||
static const char *const N_WEST_RATIO[] = {"0.5", "1", "1.41", "1.5", "1.73", "2", "2.5", "2.76",
|
||||
"3", "3.5", "4", "5", "5.40", "6", "7", "8",
|
||||
"0.5T", "1T", "1.41T", "1.5T", "1.73T", "2T", "2.5T", "2.76T",
|
||||
"3T", "3.5T", "4T", "5T", "5.40T", "6T", "7T", "8T"};
|
||||
/* (V10.8.70) N_WEST_RATIO: core.h PNE */
|
||||
static const uint16_t WEST_RATIO[16] = {128, 256, 362, 384, 443, 512, 640, 706, 768, 896, 1024, 1280, 1383, 1536, 1792, 2048};
|
||||
/* (V10.8.28) DUST's METAL, NOISE's META as Leo Kuroshita wrote it (eng_noise.c until V10.7.35): one period of a register's output bit (bit i of the words, from the state 1), its length,
|
||||
* and the levels of a 1 and a 0 (no DC, the larger at 16384). 7-bit taps 0x60 and 0x78, the 15-bit
|
||||
|
||||
@@ -41,8 +41,7 @@
|
||||
static const uint16_t DRW_LV[9] = {0, 2920, 4125, 5827, 8231, 11627, 16423, 23198, 32767};
|
||||
|
||||
/* the 16 registrations, one digit per bar: 16' 5 1/3' 8' 4' 2 2/3' 2' 1 3/5' 1 1/3' 1' */
|
||||
static const char *const N_DRW_REG[] = {"FLUTE", "MELLO", "HOLLW", "SMOOT", "3BAR", "BLUES", "GOSPL", "ROCK",
|
||||
"TOPS", "CLARI", "REED", "STRNG", "CHAPL", "BRITE", "BASS", "FULL"};
|
||||
/* (V10.8.70) N_DRW_REG: core.h PNE */
|
||||
static const char DRW_REG[16][DRW_NP + 1] = {
|
||||
"008000000", /* FLUTE one soft flute */
|
||||
"008400000", /* MELLO flute and octave */
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
#define FELUCCA_ID "FM-1_900" /* package identity (build.py: the .fwsc marker string) */
|
||||
#endif
|
||||
#ifndef FELUCCA_VERSION
|
||||
#define FELUCCA_VERSION "V10.8.69" /* (2026-11-27) V10.8.69 (the owner: "las baterías tienen menos fuerza ... los resultados de BYTE son mucho más interesantes"): GEN with JIANT BYTE 5aebdf56's song plans (gsong: templates by the genre's family, rows thrown, two to five minutes, the fills placed), its sections' timbre moving over each loop, its gen_post (no call and response, no EXPLORE cut), FM's engines and sounds; the kits' punch, drive and CLIP back to V10.8.67's, HARD BASS and KRAUT 1 dB of headroom more; UI and VOICE name lists packed (str_nth) for the flash; V10.8.68 (the owner: "BYTE tiene un mejor generador de canciones"): GEN as JIANT BYTE 09ec6b57 / 77f2b602 / 12b70fd0: the mix rebalanced (MOOD in the levels, DANCE's drums under the rest, softer kit drive, five genres' GMIX), CALM longer sections, slower RADIO, longer tails and sends, held chords, EXPLORE's field, voices and scales widened, the build's DJ FILTER a swept low-pass, NEO CLASSIC without drums; VISUAL back on its page whole (its hits taken as they are, nothing of it run away); V10.8.67 (the owner: "tratemos de darle onda a las nuestras con poco. Usaría las gráficas de FX, ENVELOPE, LFO, las de HOME, ANIMAL haciendo el morph, pero deformadas, repetidas, rotas"): HOME > VISUAL and the saver draw the system's own pictures (DELAY REVERB CHORUS DIST MASTER, ENV, the LFO, ECO, a being, ANIMAL morphing) through one map: deformed (warp, twist, polar, fold), repeated (kaleidoscope, stutter, trail, tiles), broken (strips, gaps, tears, blocks), each segment swimming, still at rest; a fixed budget of points a frame, drawn less often and simpler while the sound is busy; V10.8.66 (the owner: "aplicá lo de BYTE"): MATH's LOOP with WAVE SYNC in the song's divisions (4 BAR 2 BAR 1 BAR 1/2 1/4 1/8 1/16 1/32, JIANT BYTE 68b546c9's loopq), the note's t from 0 at each window, aligned to the transport; V10.8.65 (the owner: "cuánto se puede agrandar el nombre de lo que hace la página"; "LIFE tiene PAN y no se ve que dice LIFE"): a page with no picture of its own its name large (GLOBAL, KEY SPLIT 1/2, LEVEL, PUNCH IN, the four CLAY pages), LIFE / MACROS' beings under their name, a knob turned said on the footer with its page ("LIFE FILTER 40", "LFO RATE ..."); V10.8.64 (the owner: "la página de macros en HOME con DICE"; "LIFE: PUMP por STEREO"; "todo en 100 mucho más extremo"; "LIFE en grande"): HOME > MACROS back (ECO's third page, M1..M4 the FX layer's own; HOME + SELECT DICE MACROS, one UNDO); LIFE STEREO (each track pushed across the field by its neighbours, two playing apart; was PUMP) and every LIFE depth curved past 60 (at 100 about 2.5 times); LIFE and MACROS named large; V10.8.63 V10.8.63 (the owner: "dale implementalo"; a user's report: the late-2026 units' panel washed out): MENU > DISPLAY > PANEL AUTO / A / B: A today's ST7789 set-up as it was, B the datasheet's power, VCOM and gamma registers and INVOFF after it (untested on that panel), AUTO B on flash 0xB36014; applied at once ("PANEL B"); OCT- + SAVE held at power-on: A for that start; V10.8.62 (a user: "the bpm is not the same from a note to another"): MATH WAVE SYNC (the time locked): BYTE's rhythm (the formula's slow bits) from the tempo, its pitch (the fast bits) the note's, every key the same pattern in time (120 BPM: C4's as before), chosen on WAVE, a new preset BYTE SYNC (BYTEBEAT with it; the factory presets and GEN's picks as they were); V10.8.61 (the owner: "están mucho mejor las visuales"): VISUAL from the system's own beings (the song's tracks' creatures, huge, fused and morphing through one field: WHEEL's worms' wave, a twist, breathing lobes, a melt, a fold; the scope's thread; kick, snare, hats and notes), VOICE's tract or ANIMAL's morph fused in one scene in three whatever the engines; V10.8.60 (the owner: "dale", JIANT BYTE's CPU technique: the FM-1's time a block goes by the flash's 32-byte lines the sound reads): the USB resampler's table halved (its history kept newest first too), its 7.5 KiB the RAM code's: a voice's block, the matrix, the FILTER, the split and the drums' sides in RAM; core 1's parts from the RAM copy; the expression keys' pass not run for a kit; the lines model (tests/cpu_lines_test.py, tools/audio_map.txt); V10.8.59 (the owner: "una visual por canción, muy audio reactiva, todas deformadas y fusionadas"; SCL simplified and PER1/PER2 settings no longer read for the room): VISUAL from the song (GEN seed, genre, mood, energy; else the project), hits (kick jump and thump, snare glitch, note lobes), one field bends every layer; V10.8.58 (the owner: "veamos qué se puede hacer con menos espacio"): VISUAL composed in the same room: the data a few boxes apart with their callouts, a head with crown, temples, cheekbones, jaw and neck (no egg), WHEEL's worms in some scenes on the other third, the core and the ground placed and sized by the seed, the mesh or its rows alone (topographic), the skull's spokes with square tips, PALETTE every layer (MIXED: onLine truncated
|
||||
#define FELUCCA_VERSION "V10.8.70" /* (2026-11-28) V10.8.70 (the owner: "si, todo"): GEN with JIANT BYTE 5aebdf56's grich, each section's own automation, locks and components (the drums' tone into the next part, the build rising to the drop, a snare roll muted into the turn, the lead's delay thrown on its last note, the arp's filter ramped over the build, a stab chord, the break's pads slower and longer); FM's call and response (the arp silent where the lead speaks) and EXPLORE's cut (the cycle's last beat or two) back beside BYTE's gen_post; the parameters' and the engines' long enum lists packed (str_nth: desc_nm) for the flash, their names and the editor's DESC as they were; V10.8.69 (the owner: "las baterías tienen menos fuerza ... los resultados de BYTE son mucho más interesantes"): GEN with JIANT BYTE 5aebdf56's song plans (gsong: templates by the genre's family, rows thrown, two to five minutes, the fills placed), its sections' timbre moving over each loop, its gen_post (no call and response, no EXPLORE cut), FM's engines and sounds; the kits' punch, drive and CLIP back to V10.8.67's, HARD BASS and KRAUT 1 dB of headroom more; UI and VOICE name lists packed (str_nth) for the flash; V10.8.68 (the owner: "BYTE tiene un mejor generador de canciones"): GEN as JIANT BYTE 09ec6b57 / 77f2b602 / 12b70fd0: the mix rebalanced (MOOD in the levels, DANCE's drums under the rest, softer kit drive, five genres' GMIX), CALM longer sections, slower RADIO, longer tails and sends, held chords, EXPLORE's field, voices and scales widened, the build's DJ FILTER a swept low-pass, NEO CLASSIC without drums; VISUAL back on its page whole (its hits taken as they are, nothing of it run away); V10.8.67 (the owner: "tratemos de darle onda a las nuestras con poco. Usaría las gráficas de FX, ENVELOPE, LFO, las de HOME, ANIMAL haciendo el morph, pero deformadas, repetidas, rotas"): HOME > VISUAL and the saver draw the system's own pictures (DELAY REVERB CHORUS DIST MASTER, ENV, the LFO, ECO, a being, ANIMAL morphing) through one map: deformed (warp, twist, polar, fold), repeated (kaleidoscope, stutter, trail, tiles), broken (strips, gaps, tears, blocks), each segment swimming, still at rest; a fixed budget of points a frame, drawn less often and simpler while the sound is busy; V10.8.66 (the owner: "aplicá lo de BYTE"): MATH's LOOP with WAVE SYNC in the song's divisions (4 BAR 2 BAR 1 BAR 1/2 1/4 1/8 1/16 1/32, JIANT BYTE 68b546c9's loopq), the note's t from 0 at each window, aligned to the transport; V10.8.65 (the owner: "cuánto se puede agrandar el nombre de lo que hace la página"; "LIFE tiene PAN y no se ve que dice LIFE"): a page with no picture of its own its name large (GLOBAL, KEY SPLIT 1/2, LEVEL, PUNCH IN, the four CLAY pages), LIFE / MACROS' beings under their name, a knob turned said on the footer with its page ("LIFE FILTER 40", "LFO RATE ..."); V10.8.64 (the owner: "la página de macros en HOME con DICE"; "LIFE: PUMP por STEREO"; "todo en 100 mucho más extremo"; "LIFE en grande"): HOME > MACROS back (ECO's third page, M1..M4 the FX layer's own; HOME + SELECT DICE MACROS, one UNDO); LIFE STEREO (each track pushed across the field by its neighbours, two playing apart; was PUMP) and every LIFE depth curved past 60 (at 100 about 2.5 times); LIFE and MACROS named large; V10.8.63 V10.8.63 (the owner: "dale implementalo"; a user's report: the late-2026 units' panel washed out): MENU > DISPLAY > PANEL AUTO / A / B: A today's ST7789 set-up as it was, B the datasheet's power, VCOM and gamma registers and INVOFF after it (untested on that panel), AUTO B on flash 0xB36014; applied at once ("PANEL B"); OCT- + SAVE held at power-on: A for that start; V10.8.62 (a user: "the bpm is not the same from a note to another"): MATH WAVE SYNC (the time locked): BYTE's rhythm (the formula's slow bits) from the tempo, its pitch (the fast bits) the note's, every key the same pattern in time (120 BPM: C4's as before), chosen on WAVE, a new preset BYTE SYNC (BYTEBEAT with it; the factory presets and GEN's picks as they were); V10.8.61 (the owner: "están mucho mejor las visuales"): VISUAL from the system's own beings (the song's tracks' creatures, huge, fused and morphing through one field: WHEEL's worms' wave, a twist, breathing lobes, a melt, a fold; the scope's thread; kick, snare, hats and notes), VOICE's tract or ANIMAL's morph fused in one scene in three whatever the engines; V10.8.60 (the owner: "dale", JIANT BYTE's CPU technique: the FM-1's time a block goes by the flash's 32-byte lines the sound reads): the USB resampler's table halved (its history kept newest first too), its 7.5 KiB the RAM code's: a voice's block, the matrix, the FILTER, the split and the drums' sides in RAM; core 1's parts from the RAM copy; the expression keys' pass not run for a kit; the lines model (tests/cpu_lines_test.py, tools/audio_map.txt); V10.8.59 (the owner: "una visual por canción, muy audio reactiva, todas deformadas y fusionadas"; SCL simplifiedLine truncated
|
||||
#endif
|
||||
#if FELUCCA_OTA && !FELUCCA_FLASH
|
||||
#error "FELUCCA_OTA needs FELUCCA_FLASH"
|
||||
|
||||
+82
-4
@@ -100,7 +100,7 @@ static uint32_t gpickw(const uint8_t *w, uint32_t n) /* an index by its weigh
|
||||
for (i = 0; i < n; i++) { if (r < w[i]) return i; r -= w[i]; }
|
||||
return n - 1u;
|
||||
}
|
||||
enum { GS_PICK, GS_DRUMS, GS_BASS, GS_CHORDS, GS_ARP, GS_LEAD, GS_SOUND, GS_FORM, GS_MIX, GS_TEX, GS_PLAN, GS_GRAM };
|
||||
enum { GS_PICK, GS_DRUMS, GS_BASS, GS_CHORDS, GS_ARP, GS_LEAD, GS_SOUND, GS_FORM, GS_MIX, GS_TEX, GS_PLAN, GS_GRAM, GS_RICH };
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------ the piece --- */
|
||||
/* (0.8.3) a chord of the plan: its first step, its steps, its root's degree in the mode, its quality (QSTACK) and how
|
||||
@@ -2025,8 +2025,8 @@ BTAPP_FN static void gmix_more(track_t *t, uint32_t r) /* (the Bluetooth segme
|
||||
* master (tests/gen_peak.c, the stems' and the mix's peaks over the genres x MOOD -50 / 0 / +50) its loudest piece's mix
|
||||
* under -1 dBFS (were up to +13 dBFS, the leveler at its floor and the limiter taking the rest: the distortion); the
|
||||
* LEVELER (fx.c lev_block) brings the whole back to its loudness. The last EXPLORE's (V10.8.69: HARD BASS and KRAUT 1 dB more, the kits' punch back: their DANCE pieces -0.1 and -0.6 dBFS) */
|
||||
static const uint8_t GTRIM[] BTAPP_RO = {29, 29, 28, 20, 21, 31, 29, 14, 21, 20, 24, 19, 16, 12, 15, 19, 16, 26, 20, 19, 12, 18,
|
||||
31, 24, 21, 16, 24, 17, 14, 21};
|
||||
static const uint8_t GTRIM[] BTAPP_RO = {29, 29, 28, 21, 21, 31, 29, 14, 21, 20, 24, 19, 16, 12, 15, 19, 16, 26, 20, 19, 12, 18,
|
||||
31, 24, 21, 16, 24, 17, 16, 21}; /* (V10.8.70: HOUSE 0.5 dB, METALCORE 1 dB more: grich's throws) */
|
||||
_Static_assert(sizeof GTRIM == NGENRE + 1u, "GTRIM: a genre each, EXPLORE last");
|
||||
static __attribute__((noinline)) void gen_mix(track_t *t, uint32_t r)
|
||||
{
|
||||
@@ -2255,6 +2255,51 @@ static void gmot(track_t *t, uint32_t step, uint32_t id, int32_t v, int ramp)
|
||||
{
|
||||
if (!motion_set_event(t, step, id, (int16_t)clamp(v, 0, 127)) && ramp) motion.event[motion.count - 1u].value ^= (int16_t)(1 << 13);
|
||||
}
|
||||
/* (V10.8.70, JIANT BYTE's grich, its V10.7.30) a section's own automation, locks and components: the drums' tone
|
||||
* moving into the next part (the build's rising to the drop), a snare's roll muted into the turn, the hats' offbeats a
|
||||
* chance; the lead's delay thrown on its last note; the arp's filter ramped over the build, a stab chord in a melodic
|
||||
* part; the break's pads slower and longer */
|
||||
static uint32_t gchord_page(void);
|
||||
static track_t *gtr(uint32_t r) { uint32_t k = gs.trk_of[r]; return k < NTRK && gs.act[r] ? &trk[k] : 0; }
|
||||
static uint32_t gfree(const track_t *t, uint32_t i, uint32_t to)
|
||||
{ for (; i < to && (!dstarts(t, i) || comp_any(&t->step[i])); i++) {} return i; }
|
||||
static __attribute__((noinline)) void grich(uint32_t k)
|
||||
{
|
||||
uint32_t q0 = gq, f = gform(), e = (gs.energy + gs.complex) / 2u + (gx.on ? 25u : 0u), i, len, id;
|
||||
uint32_t bld = f == FM_CLUB && k == 2u, brk = k == (f == FM_CLUB ? 3u : 1u), mel = !bld && !brk && (f != FM_CLUB || k != 1u);
|
||||
track_t *t, *dr = gtr(RL_DRUM), *ld = gtr(RL_LEAD), *ar = gtr(RL_ARP), *pd = gtr(RL_PAD);
|
||||
step_t *s;
|
||||
if (gls.on) return;
|
||||
gseed(GS_RICH);
|
||||
if (dr && !brk) {
|
||||
t = dr; len = dlen(t); id = bld ? P_E2 : P_E3;
|
||||
if (bld || gch(e)) { gmot(t, 0, id, t->p[id], 0); /* (FM: from the kit's own, never shorter: its punch) */ gmot(t, bld ? 63u : len - 1u, id, t->p[id] + (bld ? 24 : 8), 1); }
|
||||
for (i = 0; i < len && !bld; i++) {
|
||||
s = &t->step[i];
|
||||
if (i + 2u >= len && s->time != ST_NOTE && gch(e)) {
|
||||
gdrum_hit(t, i, DV_SNARE, 80, 0);
|
||||
s->comp = CO_MAKE(CA_MUTE, CC_NM); s->carg = CV_MUTE_TRIG; s->cnm[0] = (uint8_t)(len > 16u ? 0x11u : 0x33u);
|
||||
} else if ((i & 1u) && s->time == ST_NOTE && s->hit == 1u << DV_HATC && !s->comp && gs.complex > 55u) step_set_chance(s, 80);
|
||||
}
|
||||
}
|
||||
if (!ld) ld = ar;
|
||||
if (mel && ld && gch(e)) {
|
||||
len = dlen(ld);
|
||||
for (i = len - 1u; i > 1u && i + 8u >= len; i--)
|
||||
if (dstarts(ld, i)) { gmot(ld, i, P_DLY, ld->p[P_DLY] + 48, 0); gmot(ld, 0, P_DLY, ld->p[P_DLY], 0); break; }
|
||||
}
|
||||
if (ar && (mel ? GSTAB(gs.g->pads) && !gx.on && ar->p[P_VOICE] == V_POLY && gch(e) : bld)) {
|
||||
len = dlen(ar);
|
||||
i = gfree(ar, mel && len > 16u ? len - 16u : 0u, bld ? 16u : len);
|
||||
id = ar->eng_req == EG_A ? P_E4 : P_FCUT;
|
||||
s = &ar->step[i];
|
||||
if (i < 16u && bld && !motion_set_lock(ar, i, id, (int16_t)clamp(ar->p[id] + 30, 0, 127))) {
|
||||
s->comp = CO_MAKE(CA_RAMP, 0); s->carg = 1u | CV_RAMP_BARS; s->clen[0] = 3;
|
||||
} else if (i < len && mel) { s->comp = CO_MAKE(CA_CHORD, CC_NM); s->carg = (uint8_t)(gchord_page() - 1u); s->cnm[0] = 0x11u; }
|
||||
}
|
||||
if (brk && pd) { gmot(pd, 0, P_ATK, pd->p[P_ATK] + 16, 0); gmot(pd, 0, P_REL, pd->p[P_REL] + 24, 0); }
|
||||
gq = q0;
|
||||
}
|
||||
/* (V10.6m) the song as rows (after SIREN's plan, docs: the owner's "nothing happens in a section, fills every loop, no
|
||||
* builds"): a row's kind, GT_*: the section it plays, the drums' groups out (DXG_*), the bass in or out, the melodic
|
||||
* layers it lets in by priority (a role a nibble, the first first), three at most; GT_SEC + s: section s as it stands
|
||||
@@ -2603,6 +2648,7 @@ static void gen_parts(void)
|
||||
gmute(dr);
|
||||
if (bs < NTRK && (ld < NTRK || ar < NTRK || pd < NTRK)) trk[bs].p[P_MUTE] = 1;
|
||||
}
|
||||
grich(k); /* (V10.8.70, BYTE's) the section's automation, locks, components */
|
||||
for (i = 0; i < NTRK; i++) /* (BYTE: every melodic part's timbre moving over its loop, the
|
||||
* break's back) */
|
||||
if (gs.role[i] - 1u < 5u && gs.act[gs.role[i]] && trk[i].eng_req != ENGI_DRUM) {
|
||||
@@ -2976,6 +3022,25 @@ static void gen_post(void)
|
||||
if (i + 1u < len && trk[bs].step[i + 1u].time == ST_NOTE && gch(GG_SLD(gg) * 12u)) s->flags |= SF_SLIDE;
|
||||
if (i % 4u == 2u && s->n == 1u && s->note[0] <= 52u && gin_mode(s->note[0]) && gch(GG_OCT(gg) * 12u)) s->note[0] += 12;
|
||||
}
|
||||
{ /* (V10.8.34, the owner: "call and response"; V10.8.70 back) a dialogue, a throw in two: where the lead speaks
|
||||
* (two notes or more in a half bar) the arp is silent, and answers in its gaps; not where the lead leaves it
|
||||
* none */
|
||||
uint32_t ld = gs.trk_of[RL_LEAD], ar = gs.trk_of[RL_ARP], c = 0, kill = 0, busy = 0, j;
|
||||
if (ld < NTRK && ar < NTRK && gs.act[RL_LEAD] && gs.act[RL_ARP] && gch(50)) {
|
||||
uint32_t ll = dlen(&trk[ld]);
|
||||
len = dlen(&trk[ar]);
|
||||
for (k = 0; k < 2u; k++) /* (the first pass counts the lead's busy half bars) */
|
||||
for (i = 0; i < len && busy * 4u <= len / 8u * 3u; i++) {
|
||||
step_t *s = &trk[ar].step[i];
|
||||
if (!(i & 7u)) {
|
||||
for (j = c = 0; j < 8u; j++) c += trk[ld].step[(i + j) % ll].time == ST_NOTE;
|
||||
if (!k) busy += c >= 2u;
|
||||
}
|
||||
if (!k) continue;
|
||||
if (c >= 2u || (kill && s->time == ST_TIE)) { gclear(s); kill = 1; } else kill = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
gchr();
|
||||
gq = q0;
|
||||
}
|
||||
@@ -3036,8 +3101,20 @@ static void gen_post(void)
|
||||
}
|
||||
}
|
||||
}
|
||||
if (gx.on) gx_comps(); /* (0.8.6) EXPLORE: wilder ones (V10.6n: the odd track's; every
|
||||
if (gx.on) {
|
||||
gx_comps(); /* (0.8.6) EXPLORE: wilder ones (V10.6n: the odd track's; every
|
||||
* piece's) */
|
||||
if (gch(45)) { /* (V10.8.41, the owner: "cuts, changes"; V10.8.70 back) the cut:
|
||||
* the cycle's last beat or two silent but for the drums and the
|
||||
* odd role's track */
|
||||
uint32_t n = gch(50) ? 4u : 8u;
|
||||
for (k = 0; k < NTRK; k++) {
|
||||
uint32_t len = dlen(&trk[k]);
|
||||
if (gs.role[k] == RL_DRUM || gs.role[k] == gx.orole || len < 16u) continue;
|
||||
for (i = len - n; i < len; i++) gclear(&trk[k].step[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
for (k = 0; k < NTRK; k++) /* (seq2d) the CP_* written above as components v2 */
|
||||
comp_migrate(trk[k].step, dlen(&trk[k]));
|
||||
}
|
||||
@@ -3556,6 +3633,7 @@ static __attribute__((noinline)) void gen_make(void)
|
||||
fg_set_t *f = &fg_set[gs.trk_of[RL_LEAD]][0];
|
||||
f->rate = 5; f->dir = FG_FWD; f->ivl = -2; /* (x1, with it, a third under) */
|
||||
}
|
||||
grich(0); /* (V10.8.70, BYTE's) A's automation, locks, components */
|
||||
parts:
|
||||
gen_parts();
|
||||
gs.song = 0;
|
||||
|
||||
+4
-4
@@ -100,7 +100,7 @@ static void mx_defaults(void)
|
||||
uint32_t i;
|
||||
for (i = 0; i < MX_N; i++) mx_r[i] = i < 4u ? D[i] : (mx_t){0, 0, 0};
|
||||
}
|
||||
_Static_assert(NELEM(N_MSRC) == MS_N && NELEM(N_MDST) == MD_N, "N_MSRC / N_MDST == MS_* / MD_*");
|
||||
_Static_assert(N_MSRC_N == MS_N && N_MDST_N == MD_N, "N_MSRC / N_MDST == MS_* / MD_*");
|
||||
_Static_assert(PS_LFO == MS_LFO && PS_ENV2 == MS_ENV2 && PS_NOISE == MS_NOISE && PS_MODW == MS_MODW && PS_RAND == MS_RAND &&
|
||||
PD_VIB == MD_VIB && PD_E1 == MD_E1 && PD_FCUT == MD_FCUT && PD_LEVEL == MD_LEVEL && PD_REV == MD_REV,
|
||||
"core.h PS_* / PD_* (a preset's MOD slots) == MS_* / MD_*");
|
||||
@@ -803,7 +803,7 @@ BTAPP_FN static const char *mod_dst_name_bt(const track_t *t, int32_t v)
|
||||
if (v == MD_CUT) {
|
||||
static const uint8_t CUT_ID[NENGINES] = {P_E4, P_FCUT, P_E2, P_FCUT, P_FCUT, P_E0, P_FCUT, P_FCUT,
|
||||
P_FCUT, P_FCUT, P_FCUT, P_E2, P_E2, P_FCUT, P_FCUT, P_FCUT};
|
||||
if (e == ENGI_WHEEL || e == ENGI_DRUM || e == ENGI_STRING || e == ENGI_INPUT) return N_MDST[MD_FCUT];
|
||||
if (e == ENGI_WHEEL || e == ENGI_DRUM || e == ENGI_STRING || e == ENGI_INPUT) return PN_AT(N_MDST, MD_FCUT);
|
||||
return track_desc(t, CUT_ID[e])->label;
|
||||
}
|
||||
if (v == MD_SHP) {
|
||||
@@ -814,10 +814,10 @@ BTAPP_FN static const char *mod_dst_name_bt(const track_t *t, int32_t v)
|
||||
k = e == ENGI_LOFI && t->p[P_E1] >= RW_BYTE ? P_E3 : SHP_ID[e];
|
||||
return track_desc(t, k)->label;
|
||||
}
|
||||
return N_MDST[v];
|
||||
return PN_AT(N_MDST, v);
|
||||
}
|
||||
|
||||
static const char *mod_dst_name(const track_t *t, int32_t v)
|
||||
{
|
||||
return bt_hw_seg() ? mod_dst_name_bt(t, v) : N_MDST[clamp(v, 0, MD_N - 1)];
|
||||
return bt_hw_seg() ? mod_dst_name_bt(t, v) : PN_AT(N_MDST, clamp(v, 0, MD_N - 1));
|
||||
}
|
||||
+145
-87
@@ -2,6 +2,115 @@
|
||||
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
|
||||
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
|
||||
/* Parameter descriptors, formatting and the page table. */
|
||||
/* (V10.8.70) the enum lists of these parameters packed one after another, each name 0-terminated (str_nth: desc_nm),
|
||||
* for the flash (a pointer each saved); PNB + the list's byte offset in place of the list, its count _N */
|
||||
static const char PNB[] =
|
||||
/* N_CLEN */ "OFF\0" "1\0" "2\0" "3\0" "4\0" "5\0" "6\0" "7\0" "8\0" "9\0" "10\0" "11\0" "12\0" "13\0" "14\0" "15\0" "16\0" "17\0" "18\0" "19\0" "20\0" "21\0" "22\0" "23\0" "24\0" "25\0" "26\0" "27\0" "28\0" "29\0" "30\0" "31\0" "32\0" "33\0" "34\0" "35\0" "36\0" "37\0" "38\0" "39\0" "40\0" "41\0" "42\0" "43\0" "44\0" "45\0" "46\0" "47\0" "48\0" "49\0" "50\0" "51\0" "52\0" "53\0" "54\0" "55\0" "56\0" "57\0" "58\0" "59\0" "60\0" "61\0" "62\0" "63\0" "64\0" "\0"
|
||||
/* N_HPROG */ "OFF\0" "PEDAL\0" "I-bVII\0" "I-VI\0" "I-IV\0" "I-V\0" "I-II\0" "I-III\0" "IV-I\0" "AXIS\0" "TRANCE\0" "MINOR 4\0" "ANDALUZ\0" "EPIC\0" "50S\0" "CADENCE\0" "DEEP\0" "DEEP VI\0" "II-V-I\0" "SUS\0" "POP\0" "PHRYGIAN\0" "ELECTRO\0" "DREAM\0" "DREAM 2\0" "TURN\0" "STAB\0" "NEO SOUL\0" "NEOSOUL2\0" "JAZZ 2\0" "JAZZ 3\0" "IDM 1\0" "IDM 2\0" "LYDIAN\0" "PROG\0"
|
||||
/* N_DRTIM */ "=L\0" "x1/2\0" "x2/3\0" "x3/4\0" "x4/3\0" "x3/2\0" "x2\0"
|
||||
/* N_HSKIP */ "NONE\0" "T1\0" "T2\0" "T3\0" "T4\0" "T5\0" "T6\0"
|
||||
/* N_HLEN */ "1/4\0" "1/2\0" "1 BAR\0" "2 BARS\0" "4 BARS\0"
|
||||
/* N_QUANT */ "OFF\0" "SNAP\0" "WHITE\0" "SEQ\0"
|
||||
/* N_VOICE */ "POLY\0" "MONO\0" "LEG\0" "UNI\0"
|
||||
/* N_GLMODE */ "RATE\0" "TIME\0"
|
||||
/* N_PRIO */ "LAST\0" "LOW\0" "HIGH\0"
|
||||
/* N_ALLOC */ "ROT\0" "REUSE\0"
|
||||
/* N_ORDER */ "NOTE\0" "PLAY\0"
|
||||
/* N_CLOCK */ "INT\0" "USB+BT\0" "TRS\0"
|
||||
/* N_MIDI_INPUT */ "USB\0" "TRS\0"
|
||||
/* N_ROUTE */ "CH1-6\0" "SEL\0"
|
||||
/* N_GO */ "--\0" "GO\0"
|
||||
/* N_SLCR */ "OFF\0" "GATE\0" "STUT\0"
|
||||
/* N_SLDIV */ "1/8\0" "1/16\0" "1/32\0" "8T\0" "16T\0" "32T\0"
|
||||
/* N_SLPQ */ "CHR\0" "SCL\0"
|
||||
/* N_APSYNC */ "FREE\0" "BEAT\0"
|
||||
/* N_APDIV */ "4BAR\0" "2BAR\0" "1BAR\0" "1/2\0" "1/4\0" "1/8\0" "1/16\0" "1/32\0"
|
||||
/* N_PFXRES */ "1/8\0" "1/16\0" "1/32\0"
|
||||
/* N_TRKS */ "4\0" "6\0"
|
||||
/* N_LMODE */ "TRIG\0" "FREE\0"
|
||||
/* N_MXM */ "M1\0" "M2\0" "M3\0" "M4\0"
|
||||
/* N_VPAL */ "MIXED\0" "THERMAL\0" "ORG/BLUE\0" "GRN/RED\0" "AMBER\0" "MONO\0"
|
||||
/* N_RFOLW */ "OFF\0" "T1\0" "T2\0" "T3\0" "T4\0" "T5\0" "T6\0"
|
||||
/* N_MSRC */ "OFF\0" "LFO\0" "ENV\0" "VEL\0" "KEY\0" "RAND\0" "MODW\0" "AT\0" "EXPR\0" "M1\0" "M2\0" "M3\0" "M4\0" "MSEQ\0" "NOISE\0" "PROX\0" "ENV2\0" "IN ENV\0" "T1 ENV\0" "T2 ENV\0" "T3 ENV\0" "T4 ENV\0" "T5 ENV\0" "T6 ENV\0" "OCT+\0" "OCT-\0"
|
||||
/* N_MDST */ "OFF\0" "PITCH\0" "CUT\0" "SHP\0" "AMP\0" "PAN\0" "DIST\0" "CHO\0" "DLY\0" "REV\0" "L.RATE\0" "L.PIT\0" "E1\0" "E2\0" "E3\0" "E4\0" "E5\0" "E6\0" "E7\0" "E8\0" "CLIP\0" "PNCH\0" "D.TIM\0" "D.FB\0" "D.TON\0" "D.MIX\0" "R.SIZ\0" "R.DMP\0" "C.RAT\0" "C.DEP\0" "F.CUT\0" "LEVEL\0" "M1\0" "M2\0" "M3\0" "M4\0"
|
||||
/* N_CHRD */ "OFF\0" "TRIAD\0" "7TH\0" "ADD9\0" "SUS2\0" "SUS4\0" "MAJ\0" "MIN\0" "7\0" "MAJ7\0" "MIN7\0" "POWER\0" "POP\0" "JAZZ\0" "SOUL\0" "DREAM\0" "QUART\0" "\0"
|
||||
/* N_DTIME (last: its length the delay line's) */ "1/4\0" "1/8\0" "1/16\0" "1/32\0" "8T\0" "16T\0" "1/2\0" "1/1\0" "2BAR\0" "4BAR\0" "5ms\0" "6ms\0" "7ms\0" "8ms\0" "9ms\0" "10ms\0" "11ms\0" "12ms\0" "13ms\0" "15ms\0" "17ms\0" "19ms\0" "21ms\0" "24ms\0" "27ms\0" "31ms\0" "35ms\0" "39ms\0" "44ms\0" "50ms\0" "56ms\0" "64ms\0" "72ms\0" "81ms\0" "91ms\0" "103ms\0" "116ms\0" "131ms\0" "148ms\0" "167ms\0" "189ms\0" "213ms\0" "241ms\0" "272ms\0" "307ms\0" "346ms\0" "391ms\0" "441ms\0" "498ms\0" "562ms\0" "634ms\0" "716ms\0" "808ms\0" "912ms\0" "1.03s\0" "1.16s\0" "1.31s\0" "1.48s\0"
|
||||
/* (0.8.4) past the line at the full rate (fx.c dly_lo): half rate to 2.97 s, then a quarter */
|
||||
"1.67s\0" "1.89s\0" "2.13s\0" "2.40s\0" "2.71s\0"
|
||||
#if DLY_LEN >= 65536u
|
||||
"3.06s\0" "3.45s\0" "3.90s\0" "4.40s\0" "4.97s\0" "5.61s\0" "5.90s\0"
|
||||
#else
|
||||
"2.95s\0"
|
||||
#endif
|
||||
"1/8D\0" "1/16D\0" "1/4D\0" /* (V10.8) dotted, appended (the values before mean what
|
||||
* they did); DTIME_ORDER puts them by their divisions */
|
||||
;
|
||||
#define N_CLEN ((const char *const *)(PNB + 0))
|
||||
#define N_CLEN_N 66u
|
||||
#define N_HPROG ((const char *const *)(PNB + 188))
|
||||
#define N_HPROG_N 35u
|
||||
#define N_DRTIM ((const char *const *)(PNB + 405))
|
||||
#define N_DRTIM_N 7u
|
||||
#define N_HSKIP ((const char *const *)(PNB + 436))
|
||||
#define N_HSKIP_N 7u
|
||||
#define N_HLEN ((const char *const *)(PNB + 459))
|
||||
#define N_HLEN_N 5u
|
||||
#define N_QUANT ((const char *const *)(PNB + 487))
|
||||
#define N_QUANT_N 4u
|
||||
#define N_VOICE ((const char *const *)(PNB + 506))
|
||||
#define N_VOICE_N 4u
|
||||
#define N_GLMODE ((const char *const *)(PNB + 524))
|
||||
#define N_GLMODE_N 2u
|
||||
#define N_PRIO ((const char *const *)(PNB + 534))
|
||||
#define N_PRIO_N 3u
|
||||
#define N_ALLOC ((const char *const *)(PNB + 548))
|
||||
#define N_ALLOC_N 2u
|
||||
#define N_ORDER ((const char *const *)(PNB + 558))
|
||||
#define N_ORDER_N 2u
|
||||
#define N_CLOCK ((const char *const *)(PNB + 568))
|
||||
#define N_CLOCK_N 3u
|
||||
#define N_MIDI_INPUT ((const char *const *)(PNB + 583))
|
||||
#define N_MIDI_INPUT_N 2u
|
||||
#define N_ROUTE ((const char *const *)(PNB + 591))
|
||||
#define N_ROUTE_N 2u
|
||||
#define N_GO ((const char *const *)(PNB + 601))
|
||||
#define N_GO_N 2u
|
||||
#define N_SLCR ((const char *const *)(PNB + 607))
|
||||
#define N_SLCR_N 3u
|
||||
#define N_SLDIV ((const char *const *)(PNB + 621))
|
||||
#define N_SLDIV_N 6u
|
||||
#define N_SLPQ ((const char *const *)(PNB + 646))
|
||||
#define N_SLPQ_N 2u
|
||||
#define N_APSYNC ((const char *const *)(PNB + 654))
|
||||
#define N_APSYNC_N 2u
|
||||
#define N_APDIV ((const char *const *)(PNB + 664))
|
||||
#define N_APDIV_N 8u
|
||||
#define N_PFXRES ((const char *const *)(PNB + 701))
|
||||
#define N_PFXRES_N 3u
|
||||
#define N_TRKS ((const char *const *)(PNB + 715))
|
||||
#define N_TRKS_N 2u
|
||||
#define N_LMODE ((const char *const *)(PNB + 719))
|
||||
#define N_LMODE_N 2u
|
||||
#define N_MXM ((const char *const *)(PNB + 729))
|
||||
#define N_MXM_N 4u
|
||||
#define N_VPAL ((const char *const *)(PNB + 741))
|
||||
#define N_VPAL_N 6u
|
||||
#define N_RFOLW ((const char *const *)(PNB + 783))
|
||||
#define N_RFOLW_N 7u
|
||||
#define N_MSRC ((const char *const *)(PNB + 805))
|
||||
#define N_MSRC_N 26u
|
||||
#define N_MDST ((const char *const *)(PNB + 935))
|
||||
#define N_MDST_N 36u
|
||||
#define N_CHRD ((const char *const *)(PNB + 1096))
|
||||
#define N_CHRD_N 18u
|
||||
#define N_DTIME ((const char *const *)(PNB + 1178))
|
||||
#define N_DTIME_N (DT_DOT + 3u)
|
||||
#define PN_AT(l, i) str_nth((const char *)(l), (unsigned)(i)) /* a packed list's name i */
|
||||
static const char *desc_nm(const param_desc_t *d, int32_t i) /* an enum's name i (a list of PNB's or of pointers) */
|
||||
{
|
||||
const char *p = (const char *)d->names;
|
||||
return (uintptr_t)p - (uintptr_t)PNB < sizeof PNB || (uintptr_t)p - (uintptr_t)PNE < sizeof PNE ? str_nth(p, (unsigned)i) : d->names[i];
|
||||
}
|
||||
static const char *const N_LWAVE[] = {"SIN", "TRI", "SAW", "SQR", "S&H"};
|
||||
static const char *const N_LWAVE6[] = {"SIN", "TRI", "SAW", "SQR", "S&H", "DRIFT"}; /* (V10.36) the LFO's own: AUTO PAN keeps five */
|
||||
/* (JIANT 0.6.51) the LFO's RATE below 0: in time with the tempo, -1 the slowest (next to the slowest free rate) */
|
||||
@@ -20,21 +129,9 @@ static const char *const N_DIV[] = {"1/4", "1/8", "1/16", "1/32", "8T", "16T", "
|
||||
#ifndef DLY_LEN
|
||||
#define DLY_LEN 32768u
|
||||
#endif
|
||||
static const char *const N_DRTIM[] = {"=L", "x1/2", "x2/3", "x3/4", "x4/3", "x3/2", "x2"}; /* (V10.49) R TIME */
|
||||
static const char *const N_DTIME[] = {"1/4", "1/8", "1/16", "1/32", "8T", "16T", "1/2", "1/1", "2BAR", "4BAR", "5ms", "6ms", "7ms", "8ms", "9ms", "10ms", "11ms", "12ms", "13ms", "15ms", "17ms", "19ms", "21ms", "24ms", "27ms", "31ms", "35ms", "39ms", "44ms", "50ms", "56ms", "64ms", "72ms", "81ms", "91ms", "103ms", "116ms", "131ms", "148ms", "167ms", "189ms", "213ms", "241ms", "272ms", "307ms", "346ms", "391ms", "441ms", "498ms", "562ms", "634ms", "716ms", "808ms", "912ms", "1.03s", "1.16s", "1.31s", "1.48s",
|
||||
/* (0.8.4) past the line at the full rate (fx.c dly_lo): half rate to 2.97 s, then a quarter */
|
||||
"1.67s", "1.89s", "2.13s", "2.40s", "2.71s"
|
||||
#if DLY_LEN >= 65536u
|
||||
, "3.06s", "3.45s", "3.90s", "4.40s", "4.97s", "5.61s", "5.90s"
|
||||
#else
|
||||
, "2.95s"
|
||||
#endif
|
||||
, "1/8D", "1/16D", "1/4D" /* (V10.8) dotted, appended (the values before mean what
|
||||
* they did); DTIME_ORDER puts them by their divisions */
|
||||
};
|
||||
#define DT_DOT (DLY_LEN >= 65536u ? 70u : 64u) /* the first dotted one */
|
||||
typedef char dt_dot_ok[NELEM(N_DTIME) == DT_DOT + 3u ? 1 : -1];
|
||||
static const uint16_t DTIME_MS[NELEM(N_DTIME) - DT_FREE] = {5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 19, 21, 24, 27, 31, 35, 39, 44, 50, 56, 64, 72, 81, 91, 103, 116, 131, 148, 167, 189, 213, 241, 272, 307, 346, 391, 441, 498, 562, 634, 716, 808, 912, 1029, 1162, 1311, 1480,
|
||||
typedef char dt_dot_ok[N_DTIME_N == DT_DOT + 3u ? 1 : -1];
|
||||
static const uint16_t DTIME_MS[N_DTIME_N - DT_FREE] = {5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 17, 19, 21, 24, 27, 31, 35, 39, 44, 50, 56, 64, 72, 81, 91, 103, 116, 131, 148, 167, 189, 213, 241, 272, 307, 346, 391, 441, 498, 562, 634, 716, 808, 912, 1029, 1162, 1311, 1480,
|
||||
1670, 1885, 2128, 2402, 2711
|
||||
#if DLY_LEN >= 65536u
|
||||
, 3060, 3454, 3899, 4400, 4967, 5606, 5900
|
||||
@@ -46,45 +143,17 @@ static const char *const N_SCALE[] = {"CHR", "MAJ", "MIN", "DOR", "MIX", "PEN",
|
||||
"PHRY", "LYD", "LOC", "MEL", "BLUES", "WHOLE", "DIMHW", "DIMWH"};
|
||||
static const char *const N_ONOFF[] = {"OFF", "ON"};
|
||||
static const char *const N_DLYTYPE[] = {"ANALOG", "DIGITAL", "REVERS", 0}; /* (0.6.90) DLY 3 > TYPE; (V10.6g) REVERSE */
|
||||
static const char *const N_PFXRES[] = {"1/8", "1/16", "1/32"}; /* (0.6.99) FX > PUNCH: the lane's step */
|
||||
/* (V10.7.66) SCL > HARMONY: the progressions, gen_tables.c PROG's order (1 + PR_*) */
|
||||
static const char *const N_HPROG[] = {"OFF", "PEDAL", "I-bVII", "I-VI", "I-IV", "I-V", "I-II", "I-III", "IV-I", "AXIS",
|
||||
"TRANCE", "MINOR 4", "ANDALUZ", "EPIC", "50S", "CADENCE", "DEEP", "DEEP VI", "II-V-I",
|
||||
"SUS", "POP", "PHRYGIAN", "ELECTRO", "DREAM", "DREAM 2", "TURN", "STAB", "NEO SOUL",
|
||||
"NEOSOUL2", "JAZZ 2", "JAZZ 3", "IDM 1", "IDM 2", "LYDIAN", "PROG"};
|
||||
static const char *const N_HLEN[] = {"1/4", "1/2", "1 BAR", "2 BARS", "4 BARS"};
|
||||
static const char *const N_HSKIP[] = {"NONE", "T1", "T2", "T3", "T4", "T5", "T6"};
|
||||
/* seq.c kb_map; 1 = SNAP (stored projects: the former ON); 3 = SEQ: SNAP, and the sequencer's notes snap too as
|
||||
* they play (seq.c seq_step; the steps keep what was written). Append-only: older projects hold 0..2 */
|
||||
static const char *const N_QUANT[] = {"OFF", "SNAP", "WHITE", "SEQ"};
|
||||
static const char *const N_DTYPE[] = {"SOFT", "HARD", "FOLD", "CRUSH", "RECT", "AMP"}; /* (JIANT) fx.c DT_*; 0.7.8 AMP */
|
||||
static const char *const N_FTYPE[] = {"LP", "HP", "BP", "COMB", "COMB-"}; /* (JIANT 0.5) P_FTYPE: eng_analog.c FT_*
|
||||
* (0.9.9-snd1: COMB- the negative comb, MS20) */
|
||||
static const char *const N_VOICE[] = {"POLY", "MONO", "LEG", "UNI"}; /* V_POLY .. V_UNISON */
|
||||
static const char *const N_GLMODE[] = {"RATE", "TIME"};
|
||||
static const char *const N_PRIO[] = {"LAST", "LOW", "HIGH"};
|
||||
static const char *const N_ALLOC[] = {"ROT", "REUSE"};
|
||||
static const char *const N_ORDER[] = {"NOTE", "PLAY"};
|
||||
static const char *const N_CLOCK[] = {"INT", "USB+BT", "TRS"}; /* (V10.37) USB follows Bluetooth's clock too */
|
||||
static const char *const N_MIDI_INPUT[] = {"USB", "TRS"};
|
||||
static const char *const N_ROUTE[] = {"CH1-6", "SEL"}; /* MIDI IN (seq.c): 1..6 -> parts, 7..16 ignored / all -> selected */
|
||||
static const char *const N_NOTE[] = {"C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"};
|
||||
static const char *const N_DASH[] = {"--"};
|
||||
static const char *const N_RTYPE[] = {"ROOM", "SPRING", "SHIMR", "RESO", "CLOUD"}; /* (JIANT 0.5: + 3) */ /* G_RTYPE: the reverb bus's model (fx.c) */
|
||||
static const char *const N_GO[] = {"--", "GO"};
|
||||
static const char *const N_SLCR[] = {"OFF", "GATE", "STUT"}; /* SL_OFF .. SL_STUT (slicer.c) */
|
||||
static const char *const N_SLDIV[] = {"1/8", "1/16", "1/32", "8T", "16T", "32T"}; /* SL_DEN */
|
||||
static const char *const N_SLPQ[] = {"CHR", "SCL"}; /* (JIANT 0.6.3) the SLICER's pitch steps */
|
||||
static const char *const N_APSYNC[] = {"FREE", "BEAT"}; /* (JIANT 0.6.9) AUTO PAN's RATE: Hz / the tempo */
|
||||
static const char *const N_APDIV[] = {"4BAR", "2BAR", "1BAR", "1/2", "1/4", "1/8", "1/16", "1/32"}; /* .. BEAT (fx.c AP_SIXT) */
|
||||
/* modulation matrix (mod.c): sources, destinations (E1..E8 = P_E0..P_E7: shown with the engine's labels) */
|
||||
static const char *const N_MSRC[] = {"OFF", "LFO", "ENV", "VEL", "KEY", "RAND", "MODW", "AT", "EXPR",
|
||||
"M1", "M2", "M3", "M4", "MSEQ", "NOISE", "PROX", "ENV2", "IN ENV", "T1 ENV", "T2 ENV", "T3 ENV", "T4 ENV", "T5 ENV", "T6 ENV", "OCT+", "OCT-"}; /* (V10.7.22) OCT+ OCT-: the expression keys */ /* (V10.22) ENV2 */ /* (0.7.8) NOISE; (V10.14) PROX */ /* (JIANT: the macros, LFO held; the modulation sequence) */
|
||||
static const char *const N_MDST[] = {"OFF", "PITCH", "CUT", "SHP", "AMP", "PAN", "DIST", "CHO", "DLY", "REV", "L.RATE",
|
||||
"L.PIT", "E1", "E2", "E3", "E4", "E5", "E6", "E7", "E8",
|
||||
"CLIP", "PNCH", /* (JIANT: the master, FX > MASTER) */
|
||||
"D.TIM", "D.FB", "D.TON", "D.MIX", "R.SIZ", "R.DMP", "C.RAT", "C.DEP", "F.CUT", "LEVEL", "M1", "M2", "M3", "M4"}; /* (0.7.0) the FX buses'
|
||||
* globals (DELAY TIME FDBK TONE MIX, REVERB SIZE DAMP, CHORUS RATE
|
||||
/* modulation matrix (mod.c): sources, destinations (E1..E8 = P_E0..P_E7: shown with the engine's labels; V10.8.70: in PNB)
|
||||
* (0.7.0) the FX buses' globals (DELAY TIME FDBK TONE MIX, REVERB SIZE DAMP, CHORUS RATE
|
||||
* DEPTH): mod.c macro_master, fx.c GFX() */
|
||||
static const char *const N_ENGNAME[] = {"ANALOG", FELUCCA_FM4 ? "DIGITAL" : "-", "PHASE", "MATH", "-", "VOICE", "-", "WHEEL", "STRING", "-",
|
||||
"DRUM", "WEST", "FM6", "ADD", "ANIMAL", "EXT"}; /* (JIANT: SAMPLE 4, GRAIN 8, SLICE 13 retired; 0.8.3 ANIMAL;
|
||||
@@ -92,6 +161,7 @@ static const char *const N_ENGNAME[] = {"ANALOG", FELUCCA_FM4 ? "DIGITAL" : "-",
|
||||
|
||||
#define PD(l, f, mn, mx, df) {l, f, mn, mx, df, 0}
|
||||
#define PE(l, n, df) {l, F_ENUM, 0, (int16_t)(sizeof(n) / sizeof(n[0]) - 1), df, n}
|
||||
#define PEN(l, n, df) {l, F_ENUM, 0, (int16_t)(n##_N - 1u), df, n} /* (V10.8.70) a packed list (PNB) */
|
||||
|
||||
static const param_desc_t TP[P_COUNT];
|
||||
/* (V10.6i) a factory preset's movement (preset_t.mod): each pair a common parameter (< P_E0) and its value, within its
|
||||
@@ -130,10 +200,10 @@ static const param_desc_t TP[P_COUNT] = {
|
||||
[P_ASWING] = PD("SWING", F_PCT, 0, 100, 0),
|
||||
[P_APROB] = PD("PROB", F_PCT, 0, 127, 127),
|
||||
[P_AHOLD] = PE("HOLD", N_ONOFF, 0),
|
||||
[P_AORDER] = PE("ORDER", N_ORDER, 0),
|
||||
[P_AORDER] = PEN("ORDER", N_ORDER, 0),
|
||||
[P_ROOT] = PD("ROOT", F_NOTE, 0, 11, 0),
|
||||
[P_SCALE] = PE("SCALE", N_SCALE, 0),
|
||||
[P_QUANT] = PE("QUANT", N_QUANT, 0),
|
||||
[P_QUANT] = PEN("QUANT", N_QUANT, 0),
|
||||
[P_TRANS] = PD("TRANS", F_SEMI, -24, 24, 0),
|
||||
[P_SLEN] = PD("LEN", F_STEPS, 1, NSTEP, 16),
|
||||
[P_SDIV] = PE("DIV", N_DIV, 2),
|
||||
@@ -143,11 +213,11 @@ static const param_desc_t TP[P_COUNT] = {
|
||||
[P_CHOR] = PD("CHORUS", F_PCT, 0, 127, 0),
|
||||
[P_DLY] = PD("DLY", F_PCT, 0, 127, 0),
|
||||
[P_REV] = PD("REV", F_PCT, 0, 127, 0),
|
||||
[P_VOICE] = PE("POLY", N_VOICE, 0), /* (codex/coherence: was VOICE, the engine's, the group's and the page's) */
|
||||
[P_VOICE] = PEN("POLY", N_VOICE, 0), /* (codex/coherence: was VOICE, the engine's, the group's and the page's) */
|
||||
[P_GLIDE] = PD("GLIDE", F_TIME, 0, 127, 0),
|
||||
[P_GLMODE] = PE("GL TYPE", N_GLMODE, 0), /* (codex/coherence: the glide's MODE) */
|
||||
[P_PRIO] = PE("NOTE PRIO", N_PRIO, 0),
|
||||
[P_ALLOC] = PE("VOICE ORDER", N_ALLOC, 0),
|
||||
[P_GLMODE] = PEN("GL TYPE", N_GLMODE, 0), /* (codex/coherence: the glide's MODE) */
|
||||
[P_PRIO] = PEN("NOTE PRIO", N_PRIO, 0),
|
||||
[P_ALLOC] = PEN("VOICE ORDER", N_ALLOC, 0),
|
||||
[P_DETUNE] = PD("UNISON", F_PCT, 0, 127, 40), /* (codex/coherence) UNISON's detune, how far apart (was DETUNE, a
|
||||
* bare number: the engines' DETUNE is another) */
|
||||
[P_PAN] = PD("PAN", F_BIPCT, -64, 63, 0),
|
||||
@@ -155,8 +225,8 @@ static const param_desc_t TP[P_COUNT] = {
|
||||
[P_APDEP] = PD("DEPTH", F_PCT, 0, 127, 0), /* (JIANT 0.6.9) AUTO PAN (core.h: the old SLICER's slots) */
|
||||
[P_APRATE] = PD("RATE", F_LFOHZ, 0, 127, 2), /* (BEAT: 0..7, page_desc AP_BEAT) */
|
||||
[P_APWAVE] = PE("WAVE", N_LWAVE, 1),
|
||||
[P_APSYNC] = PE("SYNC", N_APSYNC, 1),
|
||||
#define MSLOT(k) [P_M##k##SRC] = PE("SRC" #k, N_MSRC, 0), [P_M##k##DST] = PE("DEST" #k, N_MDST, 0), \
|
||||
[P_APSYNC] = PEN("SYNC", N_APSYNC, 1),
|
||||
#define MSLOT(k) [P_M##k##SRC] = PEN("SRC" #k, N_MSRC, 0), [P_M##k##DST] = PEN("DEST" #k, N_MDST, 0), \
|
||||
[P_M##k##AMT] = PD("AMT" #k, F_BIPCT, -128, 127, 0)
|
||||
MSLOT(1), MSLOT(2), MSLOT(3), MSLOT(4),
|
||||
#undef MSLOT
|
||||
@@ -194,9 +264,9 @@ static const param_desc_t TP[P_COUNT] = {
|
||||
static const param_desc_t GP[G_COUNT] = {
|
||||
[G_BPM] = PD("BPM", F_BPM, 40, 240, 120),
|
||||
[G_SWING] = PD("SWING", F_PCT, 0, 100, 0),
|
||||
[G_CLOCK] = PE("CLOCK", N_CLOCK, 0),
|
||||
[G_CLOCK] = PEN("CLOCK", N_CLOCK, 0),
|
||||
[G_TUNE] = PD("TUNE", F_INT, -50, 50, 0),
|
||||
[G_DTIME] = PE("TIME", N_DTIME, 1), /* (JIANT 0.4: past the divisions, free times) */
|
||||
[G_DTIME] = PEN("TIME", N_DTIME, 1), /* (JIANT 0.4: past the divisions, free times) */
|
||||
[G_DFDBK] = PD("FEEDBK", F_PCT, 0, 120, 60),
|
||||
[G_DCOLOR] = PD("TONE", F_PCT, 0, 127, 64), /* (JIANT 0.4, was COLR + HPF) the repeats: below 64 darker, above
|
||||
* thinner (64 open) */
|
||||
@@ -205,18 +275,18 @@ static const param_desc_t GP[G_COUNT] = {
|
||||
[G_RDAMP] = PD("DAMP", F_PCT, 0, 127, 60),
|
||||
[G_CRATE] = PD("RATE", F_LFOHZ, 0, 127, 40),
|
||||
[G_CDEPTH] = PD("DEPTH", F_PCT, 0, 127, 60),
|
||||
[G_MIDI] = PE("MIDI", N_MIDI_INPUT, 0),
|
||||
[G_MIDI] = PEN("MIDI", N_MIDI_INPUT, 0),
|
||||
[G_DREL] = PD("REL", F_PCT, 0, 100, 30), /* DUCK's release: 40 .. 600 ms (fx.c duck_block) */
|
||||
[G_ROUTE] = PE("ROUTE", N_ROUTE, 0), /* (was "--": stored 0 = CH1-4, as MIDI IN always was) */
|
||||
[G_ROUTE] = PEN("ROUTE", N_ROUTE, 0), /* (was "--": stored 0 = CH1-4, as MIDI IN always was) */
|
||||
[G_INFO] = PD("CPU", F_INT, 0, 0, 0),
|
||||
[G_SLOT] = PD("SLOT", F_INT, 1, 4, 1),
|
||||
[G_DJF] = PD("DJ FILT", F_BIPCT, -64, 63, 0), /* (0.9.1) the master DJ FILTER: 0 off, - low-pass, + high-pass (fx.c) */
|
||||
[G_LOAD] = PE("LOAD", N_GO, 0),
|
||||
[G_SAVE] = PE("SAVE", N_GO, 0),
|
||||
[G_LOAD] = PEN("LOAD", N_GO, 0),
|
||||
[G_SAVE] = PEN("SAVE", N_GO, 0),
|
||||
[G_ENGSEL] = PE("ENG", N_ENGNAME, 0),
|
||||
[G_CLIP] = PD("CLIP", F_PCT, 0, 100, 0), /* the master clipper: drive x1 .. x4 into the soft clip */
|
||||
[G_CLRSEQ] = PE("CLEAR SEQ", N_GO, 0),
|
||||
[G_INITSND] = PE("INIT", N_GO, 0),
|
||||
[G_CLRSEQ] = PEN("CLEAR SEQ", N_GO, 0),
|
||||
[G_INITSND] = PEN("INIT", N_GO, 0),
|
||||
/* the reverb's model on the REVERB page: the id of the old GM drum channel (G_DRCH, inert since 1.0) */
|
||||
[G_RTYPE] = PE("TYPE", N_RTYPE, 0),
|
||||
/* (JIANT) the drum bus and the kick's ducking (fx.c, eng_drum.c); the ids of the GM drum part's level and
|
||||
@@ -230,11 +300,11 @@ static const param_desc_t GP[G_COUNT] = {
|
||||
[G_DPING] = {"PING", F_ENUM, 0, 1, 0, N_ONOFF}, /* (0.6.90) PING-PONG: the repeats left, right, left .. */
|
||||
[G_PFXLEN] = PD("LEN", F_INT, 1, 64, 64), /* (0.6.99) the punch-in lane: its steps and their size */
|
||||
[G_PFXRES] = {"RES", F_ENUM, 0, 2, 1, N_PFXRES},
|
||||
[G_DRTIM] = PE("RIGHT", N_DRTIM, 0), /* (V10.49) the right echo's time, a ratio of TIME (fx.c dly_rate) */
|
||||
[G_HPROG] = PE("PROG", N_HPROG, 0), /* (V10.7.66) SCL > HARMONY */
|
||||
[G_HLEN] = PE("LENGTH", N_HLEN, 2),
|
||||
[G_DRTIM] = PEN("RIGHT", N_DRTIM, 0), /* (V10.49) the right echo's time, a ratio of TIME (fx.c dly_rate) */
|
||||
[G_HPROG] = PEN("PROG", N_HPROG, 0), /* (V10.7.66) SCL > HARMONY */
|
||||
[G_HLEN] = PEN("LENGTH", N_HLEN, 2),
|
||||
[G_HEVO] = PD("EVOLVE", F_PCT, 0, 127, 0),
|
||||
[G_HSKIP] = PE("SKIP", N_HSKIP, 0),
|
||||
[G_HSKIP] = PEN("SKIP", N_HSKIP, 0),
|
||||
[G_DDRV] = PD("DRIVE", F_PCT, 0, 100, 0), /* (snd2) the delay's loop driven: 0 clean as before, 100 x4 into the clip */
|
||||
[G_DMOD] = PD("MOD", F_PCT, 0, 127, 0), /* (0.6.89: 0, the repeats exact copies, by default) */ /* (0.6.86) the delay's drift: WOW + FLUTTER (fx.c dly_wow_adv) */
|
||||
[G_RMOD] = PD("MOD", F_PCT, 0, 127, 0), /* the reverb's modulation depth (ROOM: the combs, SPRING: its wobble) */
|
||||
@@ -246,15 +316,15 @@ static const param_desc_t GP[G_COUNT] = {
|
||||
[G_DSPRY] = PD("SCATTER", F_PCT, 0, 127, 0), /* .. their spray: each grain from a random place (0: plain delay) */
|
||||
[G_STRN] = PD("ALL TRK", F_INT, -14, 14, 0), /* (JIANT 0.4) every sequence this many steps up / down its scale (0.6.45:
|
||||
* named ALL TR, was STRN: nobody knew what moved their notes) */
|
||||
[G_SLMODE] = PE("MODE", N_SLCR, 0), /* (JIANT 0.6.3) the SLICER bus (slicer.c) */
|
||||
[G_SLMODE] = PEN("MODE", N_SLCR, 0), /* (JIANT 0.6.3) the SLICER bus (slicer.c) */
|
||||
[G_SLPAT] = PD("PAT", F_INT, 1, 16, 1),
|
||||
[G_SLRATE] = PE("RATE", N_SLDIV, 1),
|
||||
[G_SLRATE] = PEN("RATE", N_SLDIV, 1),
|
||||
[G_SLDEP] = PD("DEPTH", F_PCT, 0, 127, 127),
|
||||
[G_SLT1] = PE("T1", N_ONOFF, 1), [G_SLT1 + 1] = PE("T2", N_ONOFF, 1), [G_SLT1 + 2] = PE("T3", N_ONOFF, 1),
|
||||
[G_SLT1 + 3] = PE("T4", N_ONOFF, 1), [G_SLT1 + 4] = PE("T5", N_ONOFF, 1), [G_SLT6] = PE("T6", N_ONOFF, 1),
|
||||
[G_SLFX] = PE("FX", N_ONOFF, 1), /* the delay, reverb and chorus returns: on, the tails cut too */
|
||||
[G_SLPLEN] = PD("LEN", F_INT, 1, 16, 16),
|
||||
[G_SLPQ] = PE("QUANT", N_SLPQ, 1), /* the pitch steps: every semitone / the scale's */
|
||||
[G_SLPQ] = PEN("QUANT", N_SLPQ, 1), /* the pitch steps: every semitone / the scale's */
|
||||
[G_SLP0] = PD("PITCH", F_SEMI, -24, 24, 0), [G_SLP0 + 1] = PD("PITCH", F_SEMI, -24, 24, 0),
|
||||
[G_SLP0 + 2] = PD("PITCH", F_SEMI, -24, 24, 0), [G_SLP0 + 3] = PD("PITCH", F_SEMI, -24, 24, 0),
|
||||
[G_SLP0 + 4] = PD("PITCH", F_SEMI, -24, 24, 0), [G_SLP0 + 5] = PD("PITCH", F_SEMI, -24, 24, 0),
|
||||
@@ -268,11 +338,6 @@ static const param_desc_t GP[G_COUNT] = {
|
||||
static const param_desc_t LOFI_RTRG = {"RESTART", F_ONOFF, 0, 1, 1, 0}; /* (0.6.12) P_LRTRG on a MATH track (V10.6d: ON its default) */
|
||||
static const param_desc_t TRK_CHANCE = {"CHANCE", F_PCTINV, 0, 127, 0, 0}; /* (0.6.37) P_TCHAN: 0 = 100 % */
|
||||
static const param_desc_t MORPH_DESC = {"MORPH", F_PCT, 0, 127, 0, 0}; /* (0.6.45) P_MORPH */
|
||||
static const char *const N_CLEN[] = {"OFF", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15",
|
||||
"16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29",
|
||||
"30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43",
|
||||
"44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57",
|
||||
"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.6.47) P_CLEN */
|
||||
static const param_desc_t DXIMG_DESC = {"IMAGE", F_INT, 0, 127, 0, 0}; /* (0.6.48) P_DXIMG */
|
||||
/* (V10.6) SEQ > EUCLID / MODES' knobs (ui_euclid.c: ids ID_EU0 + EK_*, the views of the selected track's settings) */
|
||||
@@ -284,8 +349,6 @@ _Static_assert(ID_CL0 + CL_SEL <= 0xDFu && P_COUNT < ID_CL0, "DRONE CLAY's ids b
|
||||
static const param_desc_t *clay_page_desc(const track_t *t, uint32_t f, int16_t **valp); /* (seq.c clay.c) */
|
||||
static const param_desc_t *eu_desc(uint32_t k, int16_t **valp);
|
||||
static const param_desc_t *sc_desc(uint32_t k, int16_t **valp); /* (V10.25) ui_scene.c */
|
||||
static const char *const N_CHRD[] = {"OFF", "TRIAD", "7TH", "ADD9", "SUS2", "SUS4", "MAJ", "MIN", "7", "MAJ7", "MIN7",
|
||||
"POWER", "POP", "JAZZ", "SOUL", "DREAM", "QUART", 0}; /* (V10.7.63: the SETS) */
|
||||
static const char *const N_CVOI[] = {"CLOSE", "LEAD", "OPEN", "+BASS", 0};
|
||||
static const param_desc_t CHORD_DESC[3] = { /* (0.6.81) SCL > CHORD: P_CHRD P_CVOI P_CSTR */
|
||||
{"CHORD", F_ENUM, 0, 16, 0, N_CHRD}, {"VOICING", F_ENUM, 0, 3, 0, N_CVOI}, {"STRUM", F_PCT, 0, 127, 0, 0}};
|
||||
@@ -431,7 +494,7 @@ static int32_t enum_step(const param_desc_t *d, int32_t from, int32_t v)
|
||||
* -> the shown order of d's values (index: position, entry: value), 0 = the values' own order */
|
||||
static const uint8_t DIV_ORDER[10] = {9, 8, 7, 6, 0, 1, 4, 2, 5, 3}; /* 4BAR 2BAR 1/1 1/2 1/4 1/8 8T 1/16 16T 1/32 */
|
||||
static const uint8_t SLDIV_ORDER[6] = {0, 3, 1, 4, 2, 5}; /* 1/8 8T 1/16 16T 1/32 32T */
|
||||
static const uint8_t DTIME_ORDER[NELEM(N_DTIME)] = {9, 8, 7, 6, DT_DOT + 2u, 0, DT_DOT, 1, DT_DOT + 1u, 4, 2, 5, 3, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
|
||||
static const uint8_t DTIME_ORDER[N_DTIME_N] = {9, 8, 7, 6, DT_DOT + 2u, 0, DT_DOT, 1, DT_DOT + 1u, 4, 2, 5, 3, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
|
||||
58, 59, 60, 61, 62
|
||||
#if DLY_LEN >= 65536u
|
||||
, 63, 64, 65, 66, 67, 68, 69
|
||||
@@ -624,7 +687,7 @@ static void param_format(const param_desc_t *d, int32_t v, char *val, const char
|
||||
*unit = "st";
|
||||
break;
|
||||
case F_ENUM:
|
||||
str_cpy(val, d->names[v < d->min ? d->min : v > d->max ? d->max : v], 6);
|
||||
str_cpy(val, desc_nm(d, v < d->min ? d->min : v > d->max ? d->max : v), 6);
|
||||
break;
|
||||
case F_BPM:
|
||||
fmt_int(val, v);
|
||||
@@ -674,8 +737,7 @@ typedef struct {
|
||||
* kept with the settings, not in the song). An id past the globals (no song.g of its own): trks_ui mirrors the setting
|
||||
* (ui.c rp_apply), a turn writes it back (ui_input.c knob_turn) */
|
||||
#define G_TRKS 0xFEu
|
||||
static const char *const N_TRKS[] = {"4", "6"};
|
||||
static const param_desc_t TRKS_DESC = PE("TRACKS", N_TRKS, 0);
|
||||
static const param_desc_t TRKS_DESC = PEN("TRACKS", N_TRKS, 0);
|
||||
static int16_t trks_ui;
|
||||
/* (0.6.30) .. and LOAD, next to it (ui.c ui_load, voice.c sys_load): the heavy parts lightened or gone while they
|
||||
* sound, ECO the lightest. load_ui mirrors it as trks_ui does */
|
||||
@@ -701,8 +763,7 @@ static int16_t load_ui;
|
||||
* (RAM, a track each) for TRIG again, and PHASE turned in FREE moves only that (shown dimmed) */
|
||||
#define ID_LMODE 0xFBu
|
||||
#define ID_LPHS 0xFAu
|
||||
static const char *const N_LMODE[] = {"TRIG", "FREE"};
|
||||
static const param_desc_t LFO_MODE_DESC = PE("MODE", N_LMODE, 0);
|
||||
static const param_desc_t LFO_MODE_DESC = PEN("MODE", N_LMODE, 0);
|
||||
static const param_desc_t LFO_PHASE_DESC = PD("PHASE", F_INT, 0, 127, 0);
|
||||
static int16_t lmode_ui, lphase_ui;
|
||||
/* (0.9.9-snd8) the master's TAPE (FX > TAPE): its DRIVE and WOW, 0..100 (fx.c tape_block). Not song globals: song_t's size
|
||||
@@ -723,8 +784,7 @@ static mx_t mx_r[MX_N];
|
||||
/* (V10.8.7, the owner) FX > MACROS: KNOB 1 the macro (M1..M4), 2 a destination, 3 how much that macro moves it (0: none;
|
||||
* the destinations add up, a macro moves as many as it is given), 4 its next destination set (the count shown) */
|
||||
#define ID_MX0 0xECu
|
||||
static const char *const N_MXM[] = {"M1", "M2", "M3", "M4"};
|
||||
static const param_desc_t MX_DESC[4] = {PE("MACRO", N_MXM, 0), PE("DEST", N_MDST, 0), PD("AMOUNT", F_BIPCT, -128, 127, 0),
|
||||
static const param_desc_t MX_DESC[4] = {PEN("MACRO", N_MXM, 0), PEN("DEST", N_MDST, 0), PD("AMOUNT", F_BIPCT, -128, 127, 0),
|
||||
PD("DESTS", F_INT, 0, MX_N, 0)};
|
||||
static int16_t mx_ui[4] = {0, 2, 0, 0}; /* (the macro, the destination: MD_CUT; the views) */
|
||||
/* (V10.7.62, the owner: "the tracks interacting, completely audible, as light as it can be") LIFE: HOME > LIFE, ECO's
|
||||
@@ -738,9 +798,8 @@ static int16_t life_v[4] __attribute__((section(".bss.tape")));
|
||||
/* (V10.8.56, the owner: "visuales random en HOME") HOME > VISUAL, BEING's second page, and the screensaver (ui.c scr_*): a
|
||||
* figure from a seed (OCT+ a new one), drawn with the creatures' pieces (ui_lzhome.c vis_fig): KNOB 1 COMPLEX (how many
|
||||
* pieces), 2 WOBBLE (the circles' deformation), 3 PALETTE, 4 REACT (how much it follows the sound). Not saved */
|
||||
static const char *const N_VPAL[] = {"MIXED", "THERMAL", "ORG/BLUE", "GRN/RED", "AMBER", "MONO"}; /* (V10.8.57) */
|
||||
static const param_desc_t VIS_DESC[4] = {PD("DENSITY", F_PCT, 0, 100, 0), PD("WOBBLE", F_PCT, 0, 100, 0),
|
||||
PE("PALETTE", N_VPAL, 0), PD("REACT", F_PCT, 0, 100, 0)};
|
||||
PEN("PALETTE", N_VPAL, 0), PD("REACT", F_PCT, 0, 100, 0)};
|
||||
static int16_t vis_v[4] __attribute__((section(".bss.tape")));
|
||||
static uint16_t vis_seed __attribute__((section(".bss.tape"))); /* (0: not set yet: vis_fig sets the knobs' defaults) */
|
||||
#define ID_EQ0 0xE0u
|
||||
@@ -935,13 +994,12 @@ static const page_t PAGES[] = {
|
||||
#define NPAGES (sizeof(PAGES) / sizeof(PAGES[0]))
|
||||
static uint8_t mod_ui_slot; /* the MOD page: the matrix slot (0..3) KNOB 2..4 edit */
|
||||
static uint8_t ms_ui_step; /* (JIANT) the MSEQ page: the step (0..15) KNOB 2 edits */
|
||||
static const char *const N_RFOLW[] = {"OFF", "T1", "T2", "T3", "T4", "T5", "T6"};
|
||||
static const param_desc_t RESO_PITCH = PD("PITCH", F_INT, 0, 14, 0); /* (0.6.5) RESO: the chord's steps up the scale (G_RPRE) */
|
||||
static const param_desc_t RESO_FOLW = PE("FOLLOW", N_RFOLW, 0); /* .. the track whose notes it follows (G_RDAMP) */
|
||||
static const param_desc_t RESO_FOLW = PEN("FOLLOW", N_RFOLW, 0); /* .. the track whose notes it follows (G_RDAMP) */
|
||||
static const param_desc_t REV_PRE = PD("PRE", F_INT, 0, 100, 0); /* ROOM / SPRING: the pre-delay, ms (G_RPRE) */
|
||||
static const param_desc_t REV_AIR = PD("AIR", F_SEMI, -24, 24, 0); /* (0.6.12) SHIMMER / CLOUD: pitch and tone, down dark,
|
||||
* up airy (G_RPRE; fx.c rev_air) */
|
||||
static const param_desc_t AP_BEAT = PE("RATE", N_APDIV, 2); /* (0.6.9) AUTO PAN's RATE on the tempo (SYNC BEAT) */
|
||||
static const param_desc_t AP_BEAT = PEN("RATE", N_APDIV, 2); /* (0.6.9) AUTO PAN's RATE on the tempo (SYNC BEAT) */
|
||||
static uint8_t sl_ui_step; /* (JIANT 0.6.3) the SL PITCH page: the step KNOB 2 edits */
|
||||
|
||||
/* page_desc's views (ids ID_TAPE .. ID_LMODE): (0.9.18) the LFO's MODE and PHASE, views of P_LPHASE; (0.9.9-snd8) the
|
||||
|
||||
+1
-1
@@ -1091,7 +1091,7 @@ static void comp_vname(const track_t *t, const step_t *s, uint32_t a, uint32_t v
|
||||
break;
|
||||
}
|
||||
case CA_SOUND: str_cpy(lb, "HIT", 8); str_cpy(val, HIT[v % 3u], 8); break;
|
||||
case CA_CHORD: str_cpy(lb, "CHORD", 8); str_cpy(val, N_CHRD[1u + v % CD_POW], 8); break;
|
||||
case CA_CHORD: str_cpy(lb, "CHORD", 8); str_cpy(val, PN_AT(N_CHRD, 1u + v % CD_POW), 8); break;
|
||||
case CA_SHIFT: str_cpy(lb, "MOVE", 8); m = (int32_t)(v % 127u) - 63; val[0] = m < 0 ? '-' : '+'; fmt_int(val + 1, m < 0 ? -m : m); str_cpy(un, "ST", 8); break; /* (ST as BEND: "-63 STEPS" was cut to "-.." on the card) */
|
||||
case CA_BEND: str_cpy(lb, "BEND", 8); m = (int32_t)(v % 25u) - 12; val[0] = m < 0 ? '-' : '+'; fmt_int(val + 1, m < 0 ? -m : m); str_cpy(un, "ST", 8); break;
|
||||
default: break;
|
||||
|
||||
@@ -1270,7 +1270,7 @@ static __attribute__((noinline)) void macro_cards(void)
|
||||
for (r = 0; r < MX_N && !d; r++)
|
||||
if ((mx_r[r].m & 3u) == c && mx_r[r].d && mx_r[r].a)
|
||||
d = mx_r[r].d;
|
||||
if (d && d < NELEM(N_MDST)) { nm[2] = ' '; str_cpy(nm + 3, N_MDST[d], 6); }
|
||||
if (d && d < N_MDST_N) { nm[2] = ' '; str_cpy(nm + 3, PN_AT(N_MDST, d), 6); }
|
||||
fmt_int(val, macro_v[c] * 100 / 127);
|
||||
draw_column(c, nm, macro_v[c] ? val : "OFF", macro_v[c] ? "%" : "", macro_v[c] ? VAL(c) : T_DIM,
|
||||
macro_v[c] * 1000 / 127, ICON_MIX);
|
||||
@@ -1330,7 +1330,7 @@ static void draw_columns(void)
|
||||
hot_gauge_column(0, "PARAM", d->label, (int32_t)k * 1000 / 7);
|
||||
card_mot_of(vp);
|
||||
draw_column(1, d->label, val, unit, VAL(1u), RATIO(d, enum_rank(d, *vp)), ICON_NONE);
|
||||
text_column(2, "SRC", j < 0 ? "OFF" : N_MSRC[clamp(TSEL->p[P_M1SRC + 3u * (uint32_t)j], 0, MS_N - 1)], j < 0 ? T_DIM : VAL(2u));
|
||||
text_column(2, "SRC", j < 0 ? "OFF" : PN_AT(N_MSRC, clamp(TSEL->p[P_M1SRC + 3u * (uint32_t)j], 0, MS_N - 1)), j < 0 ? T_DIM : VAL(2u));
|
||||
if (j < 0)
|
||||
text_column(3, "AMT", "--", T_DIM);
|
||||
else {
|
||||
@@ -1640,7 +1640,7 @@ static void draw_columns(void)
|
||||
int32_t s = t->p[id], d = t->p[id + 1u], a = t->p[id + 2u];
|
||||
fmt_int(val, (int32_t)mod_ui_slot + 1);
|
||||
draw_column(0, "SLOT", val, "/4", VAL(0u), (int32_t)mod_ui_slot * 1000 / 3, mod_src_icon(MS_OFF)); /* (the mod icon) */
|
||||
text_column(1, "SRC", N_MSRC[clamp(s, 0, MS_N - 1)], s ? VAL(1u) : T_DIM);
|
||||
text_column(1, "SRC", PN_AT(N_MSRC, clamp(s, 0, MS_N - 1)), s ? VAL(1u) : T_DIM);
|
||||
text_column(2, mod_dst_scope(t, d) == 'M' ? "MASTER" : mod_dst_scope(t, d) == 'V' ? "VOICE" : "TRACK", mod_dst_name(t, d), d ? VAL(2u) : T_DIM);
|
||||
pf_column(3, "AMT", &TP[id + 2u], a, a ? VAL(3u) : T_DIM, mod_src_icon(MS_OFF));
|
||||
return;
|
||||
|
||||
@@ -2155,7 +2155,7 @@ static void draw_graph(void)
|
||||
break;
|
||||
case GR_DXSND: /* EDIT > SOUND: the kit's lanes, the sound edited singled out */
|
||||
cv_oy = 0;
|
||||
if (pg->title[0] == 'S' && pg->title[6] == '3' && dx_fml[dx_ui_lane & 7u])
|
||||
if (str_eq(pg->title, "SOUND 3") && dx_fml[dx_ui_lane & 7u]) /* (V10.8.70: no read past a short title) */
|
||||
dx_wave_draw(dx_fml[dx_ui_lane & 7u]); /* (V10.7.76, the owner) SOUND 3, a formula: its wavetable */
|
||||
else if (pg->title[0] == 'S') /* (0.9.4) SOUND 1..4: the drum kit, the sound edited lit (ui_engvis.c) */
|
||||
vx_kit_page(t, (int32_t)(dx_ui_lane & 7u));
|
||||
|
||||
@@ -2500,7 +2500,7 @@ static void mx_banner(void)
|
||||
dn = str_nth(MX_DST_FULL, dst);
|
||||
if (!*dn) { /* E1..E8: the engine's own label */
|
||||
const param_desc_t *d = track_desc(TSEL, P_E0 + (dst - 12u));
|
||||
dn = d && d->label && d->label[0] != '-' ? d->label : N_MDST[dst];
|
||||
dn = d && d->label && d->label[0] != '-' ? d->label : PN_AT(N_MDST, dst);
|
||||
}
|
||||
str_cpy(b, str_nth(MX_SRC_FULL, src), sizeof b);
|
||||
str_cpy(b + str_len(b), " > ", sizeof b - str_len(b));
|
||||
|
||||
@@ -177,7 +177,7 @@ static void graph_focus_lz(const track_t *t)
|
||||
cv_rect(10 + x0, 42, x1 - x0 + 1, 3, tc);
|
||||
cv_rect(10 + x0, 40, 1, 5, tc); cv_rect(10 + x1, 40, 1, 5, tc);
|
||||
str_cpy(b, "MOD: ", 24);
|
||||
str_cpy(b + 5, N_MSRC[clamp(t->p[P_M1SRC + 3u * (uint32_t)j], 0, MS_N - 1)], 19);
|
||||
str_cpy(b + 5, PN_AT(N_MSRC, clamp(t->p[P_M1SRC + 3u * (uint32_t)j], 0, MS_N - 1)), 19);
|
||||
str_cpy(b + str_len(b), " \xB7 ", 4);
|
||||
param_format(da, am, a, &u);
|
||||
str_cpy(b + str_len(b), a, 24 - str_len(b));
|
||||
|
||||
@@ -46,7 +46,7 @@ static void graph_mod_net(const track_t *t)
|
||||
uint16_t bg = sel ? T_TINT : T_RAISE, lc = sel ? T_THEME : on ? T_MID : T_DIM;
|
||||
char b[16];
|
||||
const char *u = "";
|
||||
cv_text(6, sy - AF_X_CAP_Y, &AF_X, N_MSRC[clamp(p[0], 0, MS_N - 1)], on ? T_TEXT : T_DIM);
|
||||
cv_text(6, sy - AF_X_CAP_Y, &AF_X, PN_AT(N_MSRC, clamp(p[0], 0, MS_N - 1)), on ? T_TEXT : T_DIM);
|
||||
if (on) {
|
||||
cv_rect(58, sy, 100, 1, lc);
|
||||
if (sel && !ANIM_OFF())
|
||||
|
||||
@@ -714,7 +714,7 @@ static void md_desc(const param_desc_t *d)
|
||||
int32_t i;
|
||||
mdp(" | ");
|
||||
for (i = 0; i <= d->max - d->min && i < 40; i++)
|
||||
mdp("%s%s", i ? " " : "", d->names[d->min + i]);
|
||||
mdp("%s%s", i ? " " : "", desc_nm(d, d->min + i));
|
||||
if (i <= d->max - d->min)
|
||||
mdp(" ...");
|
||||
} else
|
||||
@@ -729,7 +729,7 @@ static int md_same(const param_desc_t *a, const param_desc_t *b)
|
||||
!a->names != !b->names)
|
||||
return 0;
|
||||
for (i = 0; a->names && a->fmt == F_ENUM && i <= a->max - a->min; i++)
|
||||
if (strcmp(a->names[a->min + i], b->names[b->min + i])) return 0;
|
||||
if (strcmp(desc_nm(a, a->min + i), desc_nm(b, b->min + i))) return 0;
|
||||
return 1;
|
||||
}
|
||||
static void nrpn_doc(void)
|
||||
|
||||
+3
-3
@@ -192,11 +192,11 @@ static void test_times(void)
|
||||
dreset();
|
||||
song.g[G_DTIME] = (int16_t)(DT_FREE + n - 1u);
|
||||
printf("delay: free times: %u, the last %s = %.3f s (the line's longest %.3f s); full rate to %.3f s, half to %.3f s\n",
|
||||
n, N_DTIME[DT_FREE + n - 1u], last / (double)FS, DLY_MAX / (double)FS, DLY_SPAN(0u) / (double)FS,
|
||||
n, PN_AT(N_DTIME, DT_FREE + n - 1u), last / (double)FS, DLY_MAX / (double)FS, DLY_SPAN(0u) / (double)FS,
|
||||
DLY_SPAN(1u) / (double)FS);
|
||||
check("the free times past 1.48 s, each longer, the last within the line (its own length)",
|
||||
inc && n > 48u && DTIME_MS[47] == 1480u && last <= DLY_MAX && delay_samples() == last &&
|
||||
NELEM(N_DTIME) == DT_FREE + n + 3u && (uint32_t)GP[G_DTIME].max == DT_FREE + n + 2u);
|
||||
N_DTIME_N == DT_FREE + n + 3u && (uint32_t)GP[G_DTIME].max == DT_FREE + n + 2u);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -415,7 +415,7 @@ static void test_clicks(void)
|
||||
blk_hook = 0;
|
||||
st = step_max(3u * FS, 3u * FS + len);
|
||||
snprintf(what, sizeof what, "TIME swept %s -> %s -> back, a sine playing: %u rate changes, largest step %d (the echo's own %d)",
|
||||
N_DTIME[seq[0]], N_DTIME[last], n_sw, st, own);
|
||||
PN_AT(N_DTIME, seq[0]), PN_AT(N_DTIME, last), n_sw, st, own);
|
||||
check(what, n_sw >= 4u && n_rs == n_sw && st <= own * 2 + 64);
|
||||
}
|
||||
{ /* the tempo: 1/2 at 120 -> 60 -> 120 -> 40 -> 200 BPM */
|
||||
|
||||
+2
-2
@@ -42,7 +42,7 @@ static void js_desc(const param_desc_t *d)
|
||||
for (i = 0; i <= d->max - d->min; i++) {
|
||||
if (i)
|
||||
putchar(',');
|
||||
js_str(d->names[d->min + i]); /* (as editor.c ED_DESC and param_format: names[] by the value itself;
|
||||
js_str(desc_nm(d, d->min + i)); /* (as editor.c ED_DESC and param_format: names[] by the value itself;
|
||||
* names[i] read MATH's WAVE 5..6 as "-", "-") */
|
||||
}
|
||||
putchar(']');
|
||||
@@ -238,7 +238,7 @@ int main(void)
|
||||
int32_t w = param_turn(d, v, 1);
|
||||
if (n)
|
||||
putchar(',');
|
||||
js_str(d->names[v]);
|
||||
js_str(desc_nm(d, v));
|
||||
if (w == v)
|
||||
break;
|
||||
v = w;
|
||||
|
||||
@@ -263,8 +263,8 @@ int main(void)
|
||||
#ifndef EXPR_HASH_ONLY /* (the sources: not in V10.7.21) */
|
||||
ck("OCT+ / OCT- appended (24, 25), every source before them where it was: a stored project's matrix the same",
|
||||
MS_MODW == 6 && MS_PROX == 15 && MS_FOLLOW == 17 && MS_T1 == 18 && MS_OCTUP == MS_T1 + NTRK && MS_OCTUP == 24 &&
|
||||
MS_OCTDN == 25 && MS_N == 26 && str_eq(N_MSRC[MS_OCTUP], "OCT+") && str_eq(N_MSRC[MS_OCTDN], "OCT-") &&
|
||||
str_eq(N_MSRC[MS_T1 + NTRK - 1], "T6 ENV") && TP[P_M1SRC].max == MS_N - 1 && !MS_BIPOLAR(MS_OCTDN) && !MS_VOICE(MS_OCTUP));
|
||||
MS_OCTDN == 25 && MS_N == 26 && str_eq(PN_AT(N_MSRC, MS_OCTUP), "OCT+") && str_eq(PN_AT(N_MSRC, MS_OCTDN), "OCT-") &&
|
||||
str_eq(PN_AT(N_MSRC, MS_T1 + NTRK - 1), "T6 ENV") && TP[P_M1SRC].max == MS_N - 1 && !MS_BIPOLAR(MS_OCTDN) && !MS_VOICE(MS_OCTUP));
|
||||
setup();
|
||||
midi_out_mode = MO_ALL;
|
||||
trk[0].p[P_M1SRC] = MS_OCTUP; trk[0].p[P_M1DST] = MD_CUT; trk[0].p[P_M1AMT] = 63;
|
||||
|
||||
@@ -31,7 +31,7 @@ int main(void)
|
||||
ui_power_on();
|
||||
{ /* (V10.8.40) MOOD MID: the pieces V10.8.39's, byte for byte (from power-on: the tracks' values and steps, the
|
||||
* song's, the kit; a checksum of 8 seeds in EXPLORE, RANDOM and HOUSE; V10.8.39's own, the same tool) */
|
||||
static const uint32_t MID[3] = {0x43055cabu, 0x37679e26u, 0x5a231927u}; /* (V10.8.69 recorded again: JIANT BYTE's song plans (gsong), its sections' timbre moving, gen_post without the call and response, the kits' punch back; V10.8.68: JIANT BYTE 09ec6b57 / 77f2b602's generator, the kits shorter and less driven, EXPLORE's field and voices; V10.8.51: a genre's headroom, GTRIM; V10.8.48: the envelopes by role, the filter types; V10.8.47: JAZZ's hats; V10.8.46 recorded again: a part never still; V10.8.45: the envelopes' rules; V10.8.42 too; V10.8.41: the generator rewritten genre by genre:
|
||||
static const uint32_t MID[3] = {0xce3b95dcu, 0x0cd64a96u, 0x3484efabu}; /* (V10.8.70 recorded again: JIANT BYTE's grich, the call and response and EXPLORE's cut back, HOUSE and METALCORE trimmed; V10.8.69: JIANT BYTE's song plans (gsong), its sections' timbre moving, gen_post without the call and response, the kits' punch back; V10.8.68: JIANT BYTE 09ec6b57 / 77f2b602's generator, the kits shorter and less driven, EXPLORE's field and voices; V10.8.51: a genre's headroom, GTRIM; V10.8.48: the envelopes by role, the filter types; V10.8.47: JAZZ's hats; V10.8.46 recorded again: a part never still; V10.8.45: the envelopes' rules; V10.8.42 too; V10.8.41: the generator rewritten genre by genre:
|
||||
* this version's own pieces, recorded with GEN_MID=1; a change to the generator records them again) */
|
||||
uint32_t md, hs = 0, r, i;
|
||||
for (r = 1; r <= NGENRE; r++) if (str_eq(GENRE[r - 1u].name, "HOUSE")) hs = r;
|
||||
|
||||
+5
-5
@@ -3143,7 +3143,7 @@ static int test_menu_tabs(void)
|
||||
memset(&favorites.factory[6][22], 0, 10);
|
||||
memset(&bp, 0, sizeof bp);
|
||||
mod_prox = 0;
|
||||
ok = MS_PROX == 15 && MS_N > MS_FOLLOW && MS_FOLLOW == 17 && /* Existing source IDs stay stable when sources are appended. */ str_eq(N_MSRC[MS_PROX], "PROX") && !MS_BIPOLAR(MS_PROX);
|
||||
ok = MS_PROX == 15 && MS_N > MS_FOLLOW && MS_FOLLOW == 17 && /* Existing source IDs stay stable when sources are appended. */ str_eq(PN_AT(N_MSRC, MS_PROX), "PROX") && !MS_BIPOLAR(MS_PROX);
|
||||
for (k = 0; k < 40u; k++)
|
||||
w[k] = LV(80u);
|
||||
bt_prox_step(w, 8, 1, t);
|
||||
@@ -9688,7 +9688,7 @@ static int test_div_order(void)
|
||||
d == &GP[G_DTIME] && v >= (int32_t)DT_DOT ? div_samples((0x021u >> ((v - DT_DOT) * 4u)) & 3u) * 3u / 2u :
|
||||
div_samples((uint32_t)v);
|
||||
if (!(len < prev && enum_rank(d, v) == d->min + n && !seen[v])) {
|
||||
printf(" %s: %s (value %d, place %d, length %u) after %u\n", d->label, d->names[v], (int)v,
|
||||
printf(" %s: %s (value %d, place %d, length %u) after %u\n", d->label, desc_nm(d, v), (int)v,
|
||||
(int)enum_rank(d, v), len, prev);
|
||||
ok = 0;
|
||||
}
|
||||
@@ -9710,14 +9710,14 @@ static int test_div_order(void)
|
||||
prev = DTIME_MS[n];
|
||||
}
|
||||
okf &= param_turn(&GP[G_DTIME], v, 1) == v && DTIME_MS[0] == 5u && DTIME_MS[47] == 1480u &&
|
||||
str_eq(N_DTIME[DT_FREE], "5ms") && str_eq(N_DTIME[57], "1.48s") && nf > 48 &&
|
||||
NELEM(N_DTIME) == (uint32_t)(DT_FREE + nf + 3) && DTIME_MS[nf - 1] * 441u / 10u <= DLY_MAX;
|
||||
str_eq(PN_AT(N_DTIME, DT_FREE), "5ms") && str_eq(PN_AT(N_DTIME, 57), "1.48s") && nf > 48 &&
|
||||
N_DTIME_N == (uint32_t)(DT_FREE + nf + 3) && DTIME_MS[nf - 1] * 441u / 10u <= DLY_MAX;
|
||||
song.g[G_DTIME] = DT_FREE + 47;
|
||||
okf &= delay_samples() == 1480u * 441u / 10u;
|
||||
song.g[G_DTIME] = (int16_t)(DT_FREE + nf - 1);
|
||||
okf &= delay_samples() == DTIME_MS[nf - 1] * 441u / 10u;
|
||||
song.g[G_DTIME] = (int16_t)DT_DOT; /* (V10.8) 1/8D: three 16ths */
|
||||
okf &= str_eq(N_DTIME[DT_DOT], "1/8D") && delay_samples() == div_of(beat_real(), 1) * 3u / 2u; /* (V10.8.40: the DAC's samples) */
|
||||
okf &= str_eq(PN_AT(N_DTIME, DT_DOT), "1/8D") && delay_samples() == div_of(beat_real(), 1) * 3u / 2u; /* (V10.8.40: the DAC's samples) */
|
||||
song.g[G_DTIME] = (int16_t)(DT_DOT + 2u);
|
||||
okf &= delay_samples() == div_of(beat_real(), 0) * 3u / 2u && param_turn(&GP[G_DTIME], 0, -1) == (int32_t)(DT_DOT + 2u);
|
||||
song.g[G_DTIME] = 1;
|
||||
|
||||
+1451
-1479
File diff suppressed because it is too large.
Load diff
+22
-17
@@ -166,7 +166,7 @@ cm_one 894 text
|
||||
comp_any 22 text
|
||||
comp_arg 20 text comp_slot
|
||||
comp_col 60 text
|
||||
comp_columns 1592 text comp_arg comp_slot comp_view empty_column fmt_int hot_unit_column motion_lock_at str_cpy str_len str_nth text_column tsel_p unit_column val_col
|
||||
comp_columns 1600 text comp_arg comp_slot comp_view empty_column fmt_int hot_unit_column motion_lock_at str_cpy str_len str_nth text_column tsel_p unit_column val_col
|
||||
comp_knob 1022 text chain_busy comp_slot comp_view cond_at cond_idx motion_lock_at tsel_p ui_message
|
||||
comp_legacy 26 text
|
||||
comp_migrate 298 text cm_one
|
||||
@@ -223,6 +223,7 @@ dc_cell 114 text
|
||||
dc_send 188 text lcd_data lcd_window scr_blit scr_out scr_rows
|
||||
dc_touch 64 text
|
||||
delay_zero 150 text
|
||||
desc_nm 38 text
|
||||
desc_unit 20 text
|
||||
dhold 44 text dstep_tie
|
||||
dice_by 42 text rng
|
||||
@@ -251,13 +252,13 @@ dly_rev_set 108 text *
|
||||
dly_wow_adv 154 hot_text
|
||||
draw_act_column 86 text act_col act_ready
|
||||
draw_column 3032 text card_h card_heat card_line card_y cv_begin cv_blit cv_keycap cv_pset cv_rect cv_rrect cv_text_fit cv_text_in cv_text_on face_has gauge_col heat_on ink_w kc_w large_kind lz_on roll_note roll_text str_cpy str_eq str_hash str_len text_w tsel_p ux_mix
|
||||
draw_columns 8748 text act_cols act_ready bt_hw_seg card_mot_of comp_columns cur_page draw_act_column draw_column drum_lane_name drum_note_lane dx_pagen dx_send_ix empty_column enum_rank ev_fix ev_id_ok ev_row ev_rows fit_span fm6_max fmt_frac fmt_int focus_k focus_slot fop_byte fop_bytes fop_field fop_ok gauge_column graph_project_used grid_hit_of home_macros home_param hot_gauge_column hot_text_column hot_unit_column jam_card jam_end jam_len list_get lock_held lock_id lyric_pick macro_cards memset mod_dst_name mod_dst_scope motion_base_value motion_count motion_enabled motion_lock_count motion_lock_get note_len note_name page_desc param_format pf_column preset_favorite preset_pos ratio_d save_level sec_col song_end_row split_field split_value st_micro step_accents_of step_lanes_of step_on str_cpy str_len sw_ui_cards_bt text_column track_desc trackgen_cards_bt trk_level tsel_p unit_column up_slot_label up_used val_col
|
||||
draw_columns 8726 text act_cols act_ready bt_hw_seg card_mot_of comp_columns cur_page draw_act_column draw_column drum_lane_name drum_note_lane dx_pagen dx_send_ix empty_column enum_rank ev_fix ev_id_ok ev_row ev_rows fit_span fm6_max fmt_frac fmt_int focus_k focus_slot fop_byte fop_bytes fop_field fop_ok gauge_column graph_project_used grid_hit_of home_macros home_param hot_gauge_column hot_text_column hot_unit_column jam_card jam_end jam_len list_get lock_held lock_id lyric_pick macro_cards memset mod_dst_name mod_dst_scope motion_base_value motion_count motion_enabled motion_lock_count motion_lock_get note_len note_name page_desc param_format pf_column preset_favorite preset_pos ratio_d save_level sec_col song_end_row split_field split_value st_micro step_accents_of step_lanes_of step_on str_cpy str_len str_nth sw_ui_cards_bt text_column track_desc trackgen_cards_bt trk_level tsel_p unit_column up_slot_label up_used val_col
|
||||
draw_confirm 1454 text cv_begin cv_blit cv_pset cv_rect cv_rrect cv_text_flags cv_text_in cv_text_on dice_side dlg_button dlg_card dlg_crumb dlg_tabs fmt_int graph_project_used ink_in project_name scr_fill str_cpy str_len text_fit text_w tsel_p up_name up_slot_label
|
||||
draw_countin 374 text cv_begin cv_blit cv_key_hint draw_text_box kh_ink lcd_sync scr_fill str_cpy
|
||||
draw_crumbs 480 text cv_text_fit cv_text_on cv_text_r fmt_frac fmt_int foot_crumbs foot_strip lz_fam lz_on nav_groups str_cpy str_len text_w
|
||||
draw_foot 674 text act_cols act_ready black_held cv_begin cv_blit cv_key_row cv_text_fit draw_crumbs foot_crumbs foot_h foot_hint foot_ph foot_strip foot_y grid_on knob_line lz_hint lz_on memcpy page_title steps_hash str_cpy str_hash tsel_p
|
||||
draw_frame 158 text card_h card_y foot_y graph_h graph_y scr_fill
|
||||
draw_graph 9660 text clay_lanes clip_dash cur_page cv_begin cv_clip_text cv_frame cv_line_t cv_pset cv_rect cv_rrect cv_text cv_text_flags cv_text_in cv_text_on cv_text_r div_samples draw_tracks dx_wave_draw ed_cap ed_resp enum_rank face_has fmt_int focus_k focus_slot fop_ok ft_of gen_radio graph_adsr graph_being_at graph_chord graph_colony graph_eco graph_euclid graph_fx_lz graph_grid graph_h graph_harm graph_home_being graph_key graph_lfo graph_lfodest graph_lz_presets graph_lz_tools graph_morph graph_proj graph_project_used graph_roll graph_score graph_signature graph_sing graph_sound graph_sound_lz graph_system graph_y gx_chip heat_col home_level ink_in jam_end jam_lanes jam_len lfo_cap lz_fam lz_on lz_sec mod_dst_name note_col og_node page_big page_desc page_title panel_send param_format ratio_d roll_view save_level scn_notes scope_at sec_col seq_overlay seq_roll_view sine_i str_cpy str_len strip_kind text_fit text_w tk toast_clear toast_on track_desc trk_eng trk_engp trk_nvoice tsel_p ux_mix vx_draw vx_fm6_page vx_fm6env vx_kit_page
|
||||
draw_graph 9470 text clay_lanes clip_dash cur_page cv_begin cv_clip_text cv_frame cv_line_t cv_pset cv_rect cv_rrect cv_text cv_text_flags cv_text_in cv_text_on cv_text_r div_samples draw_tracks dx_wave_draw ed_cap ed_resp enum_rank face_has fmt_int focus_k focus_slot fop_ok ft_of gen_radio graph_adsr graph_being_at graph_chord graph_colony graph_eco graph_euclid graph_fx_lz graph_grid graph_h graph_harm graph_home_being graph_key graph_lfo graph_lfodest graph_lz_presets graph_lz_tools graph_morph graph_proj graph_project_used graph_roll graph_score graph_signature graph_sing graph_sound graph_sound_lz graph_system graph_y gx_chip heat_col home_level ink_in jam_end jam_lanes jam_len lfo_cap lz_fam lz_on lz_sec mod_dst_name note_col og_node page_big page_desc page_title panel_send param_format ratio_d roll_view save_level scn_notes scope_at sec_col seq_overlay seq_roll_view sine_i str_cpy str_eq str_len str_nth strip_kind text_fit text_w tk toast_clear toast_on track_desc trk_eng trk_engp trk_nvoice tsel_p ux_mix vx_draw vx_fm6_page vx_fm6env vx_kit_page
|
||||
draw_head 2212 text batt_shown cur_page cv_begin cv_blit cv_frame cv_rect cv_rrect cv_text cv_text_fit cv_text_in cv_text_r fmt_int graph_project_used head_load head_msg head_trk project_cur_name roll_note roll_text seq_counting sound_name str_cpy str_hash str_len text_ink text_w trk_engp tsel_p
|
||||
draw_layer 1778 text bn_on bn_set chain_busy cv_begin cv_blit cv_rect cv_rrect cv_text_in cv_text_up draw_foot draw_tabs ev_len glo_drums graph_grid graph_h graph_roll graph_y hold_banner key_black key_place layer_cards ly_fx_cells ly_keyname perf_avail pfx_rec_ok pk_fill pr_head_step preset_favorite project_recall_slot rec_clearable seq_col seq_sel steps_hash tsel_p
|
||||
draw_menu 1374 text bt_hw_rxdiag bt_hw_status bt_prox_panel card_h card_y cv_begin cv_blit cv_key_row cv_rect cv_rrect draw_foot draw_head draw_tabs fill_around fmt_frac foot_h foot_y gauge_column menu_document menu_get menu_n menu_panel menu_scroll_max menu_set menu_short menu_tab menu_val mtab_first mtab_rows text_column text_w
|
||||
@@ -298,6 +299,7 @@ drw_dust_pick 42 text
|
||||
drw_level 68 text
|
||||
drw_part 30 text
|
||||
dsounding 78 text dlen
|
||||
dstarts 52 text dlen
|
||||
dstep_tie 20 text
|
||||
duck_block 208 text dx_fall
|
||||
duck_ramp 40 text
|
||||
@@ -356,7 +358,7 @@ ed_eng 4 text
|
||||
ed_flash_stop 90 text chain_busy fm1_wdt_feed transport_busy
|
||||
ed_fm6_handle 1510 text ed_b ed_flash_stop ed_fm6_name ed_str fm6_adopt fm6_bank_slot fm6_neutral fm6_pack fm6_set_patch fm6_unpack fvb_commit fvb_prog fvb_read fvb_stage fvb_tx_ok fvb_user fvb_valid gz_get memcpy memset st_crc32_add st_current st_erase st_read upf_fm6 upf_get upf_pk_get upf_pk_put upf_save upf_set
|
||||
ed_fm6_name 64 text ed_str
|
||||
ed_handle 7142 text apply_preset bt_hw_seg chain_busy chain_defaults chain_prepare_at chain_valid desc_unit ed_args_ok ed_b ed_begin ed_bk_object ed_bk_r32 ed_bk_u32 ed_bk_write ed_desc ed_eng ed_flash_stop ed_fm6_handle ed_known ed_load_after ed_load_before ed_pj_copy ed_pj_name ed_rv ed_send ed_shadow ed_step_put ed_step_reply ed_step_sig ed_str ed_tdesc ed_ui_save ed_ui_state ed_v ed_val excite_turn favorite_has favorite_set fm1_wdt_feed fm4_load_preset lib_scan load_begin load_end lyr_set memcmp memcpy memset menu_get menu_n menu_put menu_vname mod_dst_name mod_dst_offer mod_dst_scope motion_base_value motion_capture motion_clear motion_clear_locks motion_count motion_delete_event motion_djf_set motion_enabled motion_param motion_set_enabled motion_set_event motion_set_lock ota_wire_send palette_set proj_pack project_capture project_load project_rename project_save_as project_used set_engine settings_export settings_save song_erase_parts st_crc32 st_read str_len str_nth track_select transport_busy tsel_p ui_message up_grid up_load up_name_ok up_parse up_put up_rec up_set_value up_store up_used up_values
|
||||
ed_handle 7140 text apply_preset bt_hw_seg chain_busy chain_defaults chain_prepare_at chain_valid desc_nm desc_unit ed_args_ok ed_b ed_begin ed_bk_object ed_bk_r32 ed_bk_u32 ed_bk_write ed_desc ed_eng ed_flash_stop ed_fm6_handle ed_known ed_load_after ed_load_before ed_pj_copy ed_pj_name ed_rv ed_send ed_shadow ed_step_put ed_step_reply ed_step_sig ed_str ed_tdesc ed_ui_save ed_ui_state ed_v ed_val excite_turn favorite_has favorite_set fm1_wdt_feed fm4_load_preset lib_scan load_begin load_end lyr_set memcmp memcpy memset menu_get menu_n menu_put menu_vname mod_dst_name mod_dst_offer mod_dst_scope motion_base_value motion_capture motion_clear motion_clear_locks motion_count motion_delete_event motion_djf_set motion_enabled motion_param motion_set_enabled motion_set_event motion_set_lock ota_wire_send palette_set proj_pack project_capture project_load project_rename project_save_as project_used set_engine settings_export settings_save song_erase_parts st_crc32 st_read str_len str_nth track_select transport_busy tsel_p ui_message up_grid up_load up_name_ok up_parse up_put up_rec up_set_value up_store up_used up_values
|
||||
ed_known 96 text
|
||||
ed_lm_ok 24 text
|
||||
ed_load_after 88 text ed_eng tsel_p
|
||||
@@ -393,7 +395,7 @@ eng_vis 24 text
|
||||
eng_voice_weight 48 text
|
||||
ent_commit 456 text cursor_set memset rng tsel_p
|
||||
ent_message 244 text fmt_int str_cpy str_len
|
||||
enum_order 58 text
|
||||
enum_order 56 text
|
||||
enum_rank 94 text enum_order
|
||||
enum_skip 32 text fm6_slot_ok
|
||||
ep4_fill 622 text sie_wr uac_squeeze
|
||||
@@ -615,6 +617,7 @@ gch 30 text gr
|
||||
gchord 24 text gci
|
||||
gchord_at 894 text gchord giv gtone
|
||||
gchord_next 44 text gci
|
||||
gchord_page 154 text
|
||||
gchord_pcs 12 text gchord
|
||||
gchord_root_pc 28 text gchord gtone
|
||||
gchord_starts 36 text gchord
|
||||
@@ -644,21 +647,21 @@ gen_genre_next 44 text
|
||||
gen_kit 1826 text gch gclub gkit_math glatin grr memcpy memset
|
||||
gen_knob_bt 344 bt accel clamp gen_amt_turn gen_genre_next
|
||||
gen_lead 4422 bt euclid gch gchord gen_riff gl_add gl_cad gl_ct gl_near gl_pal gl_write gnd gpickw gr grr gseed
|
||||
gen_make 8666 text chain_defaults dhold dlen dlevel gch gclear_all gclub gdna gdrum_clear_region gdrum_hit gen_drums_m gen_evolve gen_fxs gen_kit gen_mix gen_pick gen_post gen_role gen_scale_page gen_sound gform gkick_of glane_rat glatin gls_hash gls_prep gmot gmut_take gmute gnd gnote gplan gr grow grr gseed gsong gtile gtriad_ok gwobble gx_engine gx_genre gx_prog gx_sound load_begin load_end macro_dice memcmp memcpy memset motion_clear motion_set_event pfx_lane_put rng section_load section_store set_engine_of steps_sig system_init
|
||||
gen_make 8678 text chain_defaults dhold dlen dlevel gch gclear_all gclub gdna gdrum_clear_region gdrum_hit gen_drums_m gen_evolve gen_fxs gen_kit gen_mix gen_pick gen_post gen_role gen_scale_page gen_sound gform gkick_of glane_rat glatin gls_hash gls_prep gmot gmut_take gmute gnd gnote gplan gr grich grow grr gseed gsong gtile gtriad_ok gwobble gx_engine gx_genre gx_prog gx_sound load_begin load_end macro_dice memcmp memcpy memset motion_clear motion_set_event pfx_lane_put rng section_load section_store set_engine_of steps_sig system_init
|
||||
gen_mix 1244 text gclub gmix_more grr
|
||||
gen_new_seed 246 text rng
|
||||
gen_on 20 text
|
||||
gen_pads 1710 bt clamp dhold gch gchord gchord_at gchord_root_pc gci gclub gnote gr grr gseed gvo_mode
|
||||
gen_page 16 text
|
||||
gen_pick 1734 bt clamp gch glatin gminor gplan gprog_ok gr grr gx_prog memcpy
|
||||
gen_post 1428 text comp_legacy comp_migrate dlen gch gchr gin_mode gjazz gkick gr gseed gx_comps step_set_ratchet
|
||||
gen_post 1756 text comp_legacy comp_migrate dlen dstarts gch gchr gclear gin_mode gjazz gkick gr gseed gx_comps step_set_ratchet
|
||||
gen_press 702 text bt_hw_seg chain_busy chain_play_ui gcpu_fit gen_make gen_new_seed gen_sig gls_begin gst_put proj_pack project_capture seg_missing seq_counting seq_stop song_draft_begin song_poll str_cpy str_len ui_message ui_say
|
||||
gen_radio 312 text beat_samples cv_frame cv_rect cv_text fmt_int heat_col str_cpy
|
||||
gen_riff 486 text dstep_tie gba_vary gnd gnote gr gz_get memcpy
|
||||
gen_role 90 bt gen_texture
|
||||
gen_rs_apply 758 bt drum_track gen_evolve gen_fxs gen_kit gen_mix gen_pick gen_sound gr gseed gx_engine gx_genre gx_sound memcpy memset
|
||||
gen_rs_prep 282 bt drum_track gls_role
|
||||
gen_scale_page 380 text
|
||||
gen_scale_page 196 text gchord_page
|
||||
gen_sig 124 text
|
||||
gen_sound 2364 text apply_preset_to gch gnear gnever gpickw gr grg grr semi_pick set_engine_of track_desc trk_engp
|
||||
gen_texture 174 text dhold gch gchord gnote gseed gtone
|
||||
@@ -748,6 +751,7 @@ graph_sound_lz 208 text cv_rect cv_text_on graph_being_at scope_at vx_draw
|
||||
graph_system 486 text cur_page cv_rect cv_text_in cv_text_r ed_cap fmt_int page_desc param_format scope_at str_cpy str_eq str_len
|
||||
graph_y 32 text large_kind lz_on
|
||||
grg 28 text grr
|
||||
grich 852 text comp_any dlen dstarts gch gchord_page gdrum_hit gform gmot gseed gtr motion_set_lock
|
||||
grid_acc 140 text grid_hit grid_own step_accents_of step_lanes_of
|
||||
grid_hit 146 text grid_own step_clear step_lanes_of step_set_lmode
|
||||
grid_hit_of 42 text step_lanes_of step_lmode tsel_p
|
||||
@@ -762,6 +766,7 @@ gsplit 186 bt gcolour gq_fix gtriad_ok memcpy
|
||||
gst_put 82 text memcpy proj_import sound_put
|
||||
gtile 68 text dlen memcpy
|
||||
gtone 26 text galt gnd
|
||||
gtr 44 text
|
||||
gtriad_ok 84 text giv
|
||||
gvo_mode 36 text
|
||||
gwobble 60 bt dlen gr motion_set_event
|
||||
@@ -836,7 +841,7 @@ kc_w 22 text
|
||||
kern 78 text glyph_at
|
||||
key_black 28 text
|
||||
key_next 336 text drum_oct_note dxo_on midi_local_held mo_key mo_kon
|
||||
key_off 278 text * drum_oct_note dxo_off input_off midi_local_held mo_koff rec_release trk_note_off
|
||||
key_off 278 text drum_oct_note dxo_off input_off midi_local_held mo_koff rec_release trk_note_off
|
||||
key_place 46 text key_black
|
||||
keys_mode 32 text ckeys_on grid_on name_on skeys_on
|
||||
keys_pg 56 text cur_page
|
||||
@@ -952,7 +957,7 @@ lz_on 118 text dlg_on fx_on gen_on lens_on name_on pd_on save_on
|
||||
lz_sec 56 text sec_col ux_mix
|
||||
lz_tile 102 text cv_rrect
|
||||
mac2_64 12 text
|
||||
macro_cards 242 text draw_column fmt_int str_cpy val_col
|
||||
macro_cards 244 text draw_column fmt_int str_cpy str_nth val_col
|
||||
macro_dice 462 text mod_dst_offer rng step_on track_desc
|
||||
macro_master 956 hot_text *! ain_follow life_block memset mod_tsrc
|
||||
master_begin 124 text
|
||||
@@ -1038,7 +1043,7 @@ mo_plays 82 text drum_muted_t
|
||||
mo_send 18 text
|
||||
mod_begin 898 hot_text ! clay_mod mod_track_desc mod_tsrc mod_voice_add ms_tick
|
||||
mod_dst_name 50 text bt_hw_seg
|
||||
mod_dst_name_bt 178 bt clamp eng_idx mod_dst_ok track_desc
|
||||
mod_dst_name_bt 176 bt clamp eng_idx mod_dst_ok track_desc
|
||||
mod_dst_offer 32 text bt_hw_seg
|
||||
mod_dst_offer_bt 92 bt eng_idx mod_dst_ok
|
||||
mod_dst_ok 280 bt eng_idx track_desc
|
||||
@@ -1175,7 +1180,7 @@ ota_wire_send 224 text ota_idle
|
||||
ota_wr16 8 text
|
||||
ota_wr32 18 text ota_wr16
|
||||
page_big 92 text cv_text face_has text_w
|
||||
page_desc 2320 text eu_of page_desc_v str_cpy track_desc tsel_p
|
||||
page_desc 2312 text eu_of page_desc_v str_cpy track_desc tsel_p
|
||||
page_desc_v 298 text
|
||||
page_entered 224 text cur_page ev_fix fx_mod_of fx_trk_k lock_page_ok
|
||||
page_first 28 text
|
||||
@@ -1196,7 +1201,7 @@ panel_setup 550 text cv_begin cv_blit cv_text draw_text_box fm1_delay_ms fm1_enc
|
||||
panic_block 316 text midi_out_event_at midi_silence_track mo_flush_of mo_koff pfx_hush
|
||||
param_desc_of 36 text
|
||||
param_fit 42 text
|
||||
param_format 818 text desc_unit fmt_fix fmt_int name_of str_cpy vcons_q6
|
||||
param_format 820 text desc_nm desc_unit fmt_fix fmt_int name_of str_cpy vcons_q6
|
||||
param_kept 52 text
|
||||
param_store_def 18 text param_desc_of
|
||||
param_turn 372 text enum_order enum_rank enum_skip name_of
|
||||
@@ -1394,10 +1399,10 @@ sc_track 374 text input_on midi_local_held mo_kon rec_note rec_on scn_notes
|
||||
scale_mask 32 text
|
||||
scale_snap 52 text scale_mask
|
||||
scale_steps 112 text scale_mask scale_snap
|
||||
scene_drum_tick 272 text * div_samples trk_note_off trk_note_on
|
||||
scene_drum_tick 272 text div_samples trk_note_off trk_note_on
|
||||
scene_follow 156 text sc_track scene_follow_off
|
||||
scene_follow_off 82 text * input_off mo_koff
|
||||
scene_key 322 text * input_off kb_map midi_local_held mo_koff sc_track
|
||||
scene_follow_off 82 text input_off mo_koff
|
||||
scene_key 322 text input_off kb_map midi_local_held mo_koff sc_track
|
||||
scn_notes 280 text chord_build_mode
|
||||
scope_at 238 text cv_rect scope_lod scope_seg
|
||||
scope_lod 110 text scope_seg
|
||||
@@ -1687,7 +1692,7 @@ uh_start_ep 178 bt sie_wr
|
||||
uh_task 418 bt uh_connect uh_host_up uh_hub_port_probe uh_hub_status uh_session_end uh_start_ep uh_wait
|
||||
uh_wait 40 bt fm1_wdt_feed
|
||||
ui_draw_body 1390 text as_mix bt_hw_seg cursor_fix cv_begin cv_blit cv_key_hint cv_keycap cv_text dlg_on dlg_tabs draw_columns draw_confirm draw_countin draw_foot draw_frame draw_graph draw_head draw_layer draw_menu draw_tabs draw_text_box fill_around fmt_int gen_cards_bt kh_ink lcd_sync lz_on name_on nm_card nm_draw_panel nm_len_max nv_page page_entered page_first page_flash_draw page_visible scr_fill seg_screen str_cpy str_len transport_busy
|
||||
ui_input 556 text beat_samples chain_busy eu_mutate gen_tick str_cpy str_len str_nth track_desc tsel_p ui_input_frame ui_preview_ok ui_say
|
||||
ui_input 558 text beat_samples chain_busy eu_mutate gen_tick str_cpy str_len str_nth track_desc tsel_p ui_input_frame ui_preview_ok ui_say
|
||||
ui_input_frame 15560 text accel act_col act_cols act_do act_ready apply_preset apply_preset_to black_held bn_set bt_cal_tick bt_hw_seg bt_prox_input bt_prox_ok btn_hold btn_used chain_busy chain_defaults chain_play_ui chord_peek ckeys_on clip_launch comp_any comp_legacy comp_migrate confirm_open cp_copy cp_held cp_say cur_page cursor_fix cursor_set dlg_on drum_elsewhere edit_param enc_drop eng_gone ent_commit ent_message eu_anchor eu_gen eu_mutate eu_of ev_len excite_turn fm1_input_edges fm4_apply fm6_bank_slot fm6_load_slot fm6_neutral fm6_pack fm6_set_patch fm6_slot_ok fm6_unpack fmt_int fx_macro_back gen_knob_bt gen_on gen_page gen_press go_home grid_acc grid_hit grid_on home_life home_macros home_param home_vis init_sound_of jam_end jam_load kb_map key_black key_place keys_mode knob_cap kx_frame layer_allowed layer_held layer_key layer_let_go layer_open layer_opened layer_set_open layer_tap live_rec_sel load_begin load_end lock_held lock_id ly_avail ly_bit ly_down ly_page lyr_set macro_dice memcpy memset menu_close menu_put menu_scroll_max menu_set menu_step menu_tab ml_poll mom_knob mom_poll motion_base_value motion_capture motion_clear motion_desc motion_lock_get motion_set_lock motion_thin_id mtab_first mtab_rows name_close name_on name_open nav_button nav_go nav_key nav_mem nav_put nav_sec nav_select nm_black nm_commit nm_do nm_group nm_insert oct_key open_family page_desc page_first page_go page_tap panel_btn_of panel_enc panel_setup param_turn part_dice pk_load pk_per pk_shape pke_knob_bt pke_oct pke_sel_bt preset_all_at_in preset_all_pos preset_at preset_go preset_pos preset_step project_recall_slot project_recall_sound project_rename project_save_as rec_clear_auto rec_first rec_set rec_tap rng row_copy rp_apply rp_get sc_beat sc_dice scr_wake sec_of_fam section_ask section_jump section_keep sel_set seq_counting seq_is_empty seq_sel set_engine set_engine_of skeys_on song_draft_begin song_erase_parts song_idx_touch song_save_as song_select step_accents_of step_lanes_of str_cpy str_len sy_gen_word system_init take_busy tl_keys tools_key track_defaults_steps track_desc track_select transport_busy trk_base4 trk_engp tsel_p ui_message ui_say undo_mark undo_sound up_load up_ui up_ui_named usb_serial_apply vis_new
|
||||
ui_leds 3906 text ! act_cols act_ready beat_samples black_held bt_prox_ok chain_busy click_beat_len cur_page dx_lane_muted edit_recallable fm1_led_dim_level glo_sounding grid_on kb_map key_black key_place layer_btn layer_set_open led_put menu_get menu_step midi_note_held name_on nm_black perf_avail perf_key project_used rec_clearable rp_get scale_mask seq_counting seq_src step_accents_of step_lanes_of tsel_p
|
||||
ui_message 10 text
|
||||
|
||||
Reference in new issue
Block a user