V10.8.67: VISUAL from FM's own pictures, deformed, repeated, broken; a fixed budget, yields to the sound

(the owner: "No quiero que copies las visuales de BYTE, 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 pictures with their own functions: FX's DELAY REVERB CHORUS DIST
  MASTER, ENV's curve (graph_adsr), the LFO (graph_lfo), HOME's ECO, a track's being (vx_draw), ANIMAL's creature
  morphing insect / bird / mammal (vx_animal, its glide state kept for the ANIMAL page).
- One map (gfx.c cv_vm in cv_line, ui_gx.c gx_col's cells, ui_organic.c og_wf): DEFORMED warp / twist / polar / fold,
  REPEATED kaleidoscope / stutter / trail / tiles (copies turned, moved, smaller, fading along the palette), BROKEN
  strips / gaps (at most half) / scanline tears / blocks. Their words and lone pixels left out (cv_oy past the strip).
- Each segment swims with its neighbours; a kick scatters them and they gather, a snare turns the copies, the hats
  shiver, a note's ripple runs down the rows. Still at rest (the breaks and the swim scale with the level and hits).
  Lighter colours. The song (vis_song) picks two pictures and the three operators; a section changes the deformation;
  a section, twelve kicks or ten seconds bring the next second picture, fading in.
- CPU: a fixed budget of mapped points a strip (2700, busy 1000), the copies as many as it holds whole; no division a
  point, sines from og_sin's table; with the sound's load over 65 % the picture is drawn every other frame (over 80 %:
  every third), fewer points and no tears. Host timing of a VIS frame (4 GEN songs, 384 frames): V10.8.66's vis_fig
  mean 413 us / worst 1311 us -> 274 / 567.
- vis_wp, vis_being, vis_ghost, vis_thread and the old vis_fig gone; vq in the pool.
Layout recorded again (FELUCCA_REPIN=keep); the plain build passes. Image 583880 of 584336 (456 B free), BT segment
73164 (-552), net +1464 B; RAM code 40192 (-4). audio.c as V23's. Local workflow: every check step passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
This commit is contained in:
Claude committed 2026-11-27 20:32:41 +00:00
1 parent fb276e9ddb
commit 6bc2c59bce
7 files changed
+2136 -2063

No files matched your search

+1 -1
View File
@@ -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.66" /* (2026-11-27) 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: one of three duos a scene); V10.8.57 (the owner: "podría ser mucho mejor", references "anatomía cibernética y data", "una mezcla de todo eso", the whole screen, no shape at several sizes): HOME > VISUAL the whole screen (a knob a line at the foot), a composition from a seed: a ground (an isometric mesh of the output's history with digits, stars out of a vanishing point, a rain of glyphs), WHEEL's worms, a core on a third (a radial skull diagram, a scanned head with its thermal scan lines, or a creature), the data (tracking boxes joined, live numbers); KNOB 1 DENSITY, 3 PALETTE MIXED THERMAL ORG/BLUE GRN/RED AMBER MONO; the saver another every 30 s; V10.8.56 (the owner: "visuales random en HOME", both): HOME > VISUAL, BEING's second page (ROUTES' place), a figure from a seed of the creatures' pieces (OCT+ a new one, "VISUAL #n"; KNOB 1 COMPLEX, 2 WOBBLE, 3 PALETTE, 4 REACT), moving with the sound; MENU > DISPLAY > SAVER (OFF 1 3 5 10 MIN, 3 the default): the figure the whole screen after that long with no panel input, the first touch only brings the page back; V10.8.55 (the owner: "the snail and the caterpillar can be better: a misreading of the original, not the engine"; "a bit more deformity in the circles, cheap, a modifier of the animations' engine"; "DRUM-X too"): the creatures' circles wobble (vx_wf: two lobes turning, more with the sound); their colours as their originals' (ANALOG's isotherms, DRIVE's spikes and NOISE's cilia; WHEEL's tubes warmed by DRIVE; STRING's silk by BRIGHT; MATH BYTE's segments lit by the byte its voice holds); in silence an idle wave (the snail's sole,Line truncated
#define FELUCCA_VERSION "V10.8.67" /* (2026-11-27) 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: one of three duos a scene); V10.8.57 (the owner: "podría ser mucho mejor", references "anatomía cibernética y data", "una mezcla de todo eso", the whole screen, no shape at several sizes): HOME > VISUAL the whole screen (a knob a line at the foot), a composition from a seed: a ground (an isometric mesh of the output's history with digits, stars out of a vanishing point, a rain of glyphs), WHEEL's worms, a core on a third (a radial skull diagram, a scanned head with its thermal scan lines, or a creature), the data (tracking boxes joined, live numbers); KNOB 1 DENSITY, 3 PALETTE MIXED THERMAL ORG/BLUE GRN/RED AMBER MONO; the saver another every 30 s; V10.8.56 (the owner: "visuales random en HOME", both): HOME > VISUAL, BEING's second page (ROUTES' place), a figure from a seed of the creatures' pieces (OCT+ a new one, "VISUAL #n"; KNOB 1 COMPLEX, 2 WOBBLE, 3 PALETTE, 4 REACT), moving with the sound; MENU > DISPLAY > SAVER (OFF 1 3 5 10 MIN, 3 the default): the figure the whole screen after that long withLine truncated
#endif
#if FELUCCA_OTA && !FELUCCA_FLASH
#error "FELUCCA_OTA needs FELUCCA_FLASH"
+17
View File
@@ -86,6 +86,8 @@ static uint32_t cv_w, cv_h;
static uint16_t cv_bg; /* what cv_begin cleared the canvas to */
static uint8_t cv_scroll; /* 1: drawing a scrolled view (its text may run past the canvas) */
static int32_t cv_oy; /* y offset for graph drawing */
static void (*cv_vm)(int32_t *p, uint16_t *c) __attribute__((section(".pool"))); /* (V10.8.67, in the pool) HOME > VISUAL's map (ui_lzhome.c vis_mp): while set, every line
* and box drawn passes through it (Q4 points; the colour once a line) */
static int16_t cv_cy0, cv_cy1; /* text clip: canvas rows cv_cy0 .. cv_cy1 - 1 (cv_begin: the whole canvas) */
static uint8_t cv_flip; /* cv_alpha_hc: the cell mirrored left <-> right (the header's metronome, ui_draw.c) */
static uint8_t cv_turn; /* cv_alpha_hc: the cell turned a quarter left (cv_text_up) */
@@ -432,6 +434,21 @@ static void cv_line(int32_t x0, int32_t y0, int32_t x1, int32_t y1, uint16_t c)
int32_t dx = x1 > x0 ? x1 - x0 : x0 - x1, sx = x0 < x1 ? 1 : -1;
int32_t dy = y1 > y0 ? y0 - y1 : y1 - y0, sy = y0 < y1 ? 1 : -1;
int32_t err = dx + dy, guard = 2000;
if (cv_vm) { /* (V10.8.67) VIS: the line through the map, in pieces of ~10 px */
void (*m)(int32_t *, uint16_t *) = cv_vm;
int32_t p[2] = {x0 * 16, y0 * 16}, q[2], i, n = (dx - dy) / 10 + 1, sx_ = n > 1 ? (x1 - x0) * 16 / n : (x1 - x0) * 16,
sy_ = n > 1 ? (y1 - y0) * 16 / n : (y1 - y0) * 16; /* (one division a long line, none a point) */
cv_vm = 0;
m(p, &c);
for (i = 1; i <= n; i++) {
q[0] = i == n ? x1 * 16 : x0 * 16 + sx_ * i; q[1] = i == n ? y1 * 16 : y0 * 16 + sy_ * i;
m(q, 0);
cv_line(p[0] >> 4, p[1] >> 4, q[0] >> 4, q[1] >> 4, c);
p[0] = q[0]; p[1] = q[1];
}
cv_vm = m;
return;
}
while (guard--) { /* bounded: a line is never longer than 480 px */
int32_t e2 = 2 * err; /* both tests use the same error value */
cv_pset(x0, y0, c);
+3
View File
@@ -2226,6 +2226,9 @@ static void ui_draw(void)
* (V10.8.57) HOME > VISUAL too: a knob turned or OCT+'s banner a
* line at the foot a moment */
uint32_t s, v = scrn.st == SCR_VIS;
if (song.cpu_q8 > 166u && anim_fr % (song.cpu_q8 > 205u ? 3u : 2u)) /* (V10.8.67) the sound busy: the picture
* every other frame (past 80 %: every third), the UI yields first */
return;
for (s = 0; s < 2u; s++) {
cv_begin(240, 120, T_BG);
if (bt_hw_seg())
+4 -1
View File
@@ -13,7 +13,10 @@ static void gx_col(int32_t x, int32_t yb, int32_t cw, int32_t h, int32_t v, uint
{
int32_t r, nr = h / 6, on = clamp(v, 0, 1000) * nr / 1000;
for (r = 0; r < nr; r++)
cv_rect(x, yb - (r + 1) * 6, cw, 5, r < on ? (c ? c : heat_col(60 + r * 190 / (nr ? nr : 1))) : T_SURF);
if (cv_vm) /* (V10.8.67) HOME > VISUAL: the cell a line, through its map */
cv_line(x, yb - (r + 1) * 6 + 2, x + cw - 1, yb - (r + 1) * 6 + 2, r < on ? (c ? c : heat_col(60 + r * 190 / (nr ? nr : 1))) : T_SURF);
else
cv_rect(x, yb - (r + 1) * 6, cw, 5, r < on ? (c ? c : heat_col(60 + r * 190 / (nr ? nr : 1))) : T_SURF);
}
static void gx_sine(int32_t x, int32_t mid, int32_t w, int32_t a, uint32_t k, uint32_t ph, uint16_t c, int32_t lo, int32_t hi)
{
+178 -135
View File
@@ -281,29 +281,33 @@ static void graph_eco(void)
* page's name large, its state under it */
page_big(home_set() == 1u ? "LIFE" : "MACROS", home_set() == 1u ? (life_on ? "ON" : "OFF") : "HOME+SELECT DICE");
}
/* (V10.8.60 prototype, the owner: "no inventar tres dibujos y repetirlos: usar la estética que ya tiene el sistema";
* "tomá comportamientos, cómo se mueven los gusanitos ... pueden aparecer enormes en toda la pantalla, ANIMAL y VOICE
* integrados y deformados, morph entre cosas") HOME > VISUAL and the saver: the song's own creatures (each track's
* engine draws its being, vx_draw: VOICE's tract, ANIMAL's morph, DRUM-X's kit, FM6's colony, ANALOG, PHASE, MATH,
* STRING, WEST; never WHEEL's drawbars) drawn huge, one to three, through one field (og_wf: every line and node they draw
* passes through vis_wp): WHEEL's worms' wave travelling down them, a twist, the lobes breathing, a melt, a fold (a
* mirror, four ways), the scope's thread joining them; a kick thumps and jumps it, a snare pulls the rows apart, the
* hats shiver it, a note sends a wave down it; the main being morphs into another track's (both drawn through the same
* field, crossfading, the field at its wildest half way) on a section's change, every twelfth kick, or ten seconds
* still. The seed (vis_song: the song's) picks the beings, their places and sizes, the field's terms and the motion.
* KNOB 1 DENSITY (how many beings), 2 WOBBLE (the field), 3 PALETTE (MIXED: the beings' own colours), 4 REACT */
/* (V10.8.67, the owner: "No quiero que copies las visuales de BYTE, 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: the system's own pictures, drawn by their own functions (FX's DELAY REVERB CHORUS DIST MASTER,
* ENV's curve, the LFO, HOME's ECO, a track's being, ANIMAL's creature morphing), every line, box and node of them
* through one map (gfx.c cv_vm, ui_organic.c og_wf; their words and lone pixels left out):
* DEFORMED a warp, a twist, polar (the picture wound into a ring), a fold
* REPEATED a kaleidoscope, a stutter, a trail, tiles: copies turned, moved, smaller, fading
* BROKEN strips slipping, gaps, scanline tears, blocks out of place
* Each segment drawn swims on its own oscillator: a kick scatters them and they gather, a snare turns the copies, the
* hats shiver them, a note runs down the segments as a ripple; still at rest, the sound brings it. The song (vis_song:
* GEN's seed, genre, energy; the section) picks two pictures and the three operators; a section, every twelfth kick or
* ten seconds the second picture changes, fading in. KNOB 1 DENSITY (the copies), 2 WOBBLE (the deformation), 3 PALETTE
* (MIXED: the pictures' own colours, lighter), 4 REACT */
#define VQ_KI vq.e[0]
#define VQ_SN vq.e[1]
#define VQ_HA vq.e[2]
#define VQ_ME vq.e[3]
enum { VI_ENV, VI_LFO, VI_DLY, VI_REV, VI_CHO, VI_DST, VI_MST, VI_ECO, VI_BEING, VI_ANIMAL, VI_N };
static const uint8_t VIS_CY[VI_N] = {62, 50, 60, 60, 60, 60, 60, 64, 90, 90}; /* (each picture's middle, its own rows) */
static struct {
uint32_t fr, r, t, sd, ms;
int32_t lv, jx, jy, e[4], ow, wx, wy, tw, wv, br, ml, m;
uint8_t mo, fo, pa, pb, nk, sec, np, no;
uint32_t fr, r, t, sd, ms, n, bs, tt, np, bud;
int32_t lv, e[4], nh[16], sy, k, cs, sn, ox, oy, dx, dy, am, ba, wb, fd, fi, m, cj;
uint8_t ing[2], op[3], nk, gap, pa;
uint16_t sg[NTRK];
} vq __attribute__((section(".bss.tape")));
} vq VX_POOL;
static VX_SEG uint32_t vr(void) { return vx_rnd(&vq.r); }
/* a track whose engine draws a being worth fusing (WHEEL's drawbars, WEST's labelled circuit, the inputs' meters left out) */
/* a track whose engine draws a being worth drawing (WHEEL's drawbars, WEST's labelled circuit, the inputs' meters left out) */
static VX_SEG int vis_ok(uint32_t k)
{
const track_t *t = &trk[k % NTRK];
@@ -311,57 +315,90 @@ static VX_SEG int vis_ok(uint32_t k)
return trk_eng(t) == ENGI_DRUM || trk_eng(t) == ENGI_FM6 || e == &ENG_ANALOG ||
(e == &ENG_PHASE || e == &ENG_LOFI || e == &ENG_STRING || e == &ENG_FORMANT || e == &ENG_ANIMAL);
}
static VX_SEG uint32_t vis_pick(uint32_t from) /* the next track from `from` with a being (NTRK: none) */
static VX_SEG uint32_t vis_pick(uint32_t from) /* the next track from `from` with a being (0: none) */
{
uint32_t i;
for (i = 0; i < NTRK; i++)
if (vis_ok(from + i))
return (from + i) % NTRK;
return NTRK;
return 0;
}
/* the field: a point (Q4, the strip's) bent; c the line's colour (0: a point only) by PALETTE */
static const uint16_t VIS_PL[4][2] = {{0x041F, 0xFC60}, {0x07E8, 0xF800}, {0x8200, 0xFD20}, {0x4208, 0xFFFF}};
static VX_SEG void vis_wp(int32_t *p, uint16_t *c)
/* the map: a point (Q4, the picture's own) to the strip's; c the segment's colour (0: a point after its first) */
static VX_SEG void vis_mp(int32_t *p, uint16_t *c)
{
int32_t x = p[0] - vq.wx, y = p[1] + vq.ow - vq.wy, r2, a, s, k = 256 + (VQ_KI >> (vq.mo == 2u ? 0 : 1));
uint32_t t = vq.t, v = (uint32_t)vis_v[2];
if (c && v) { /* PALETTE: the line's brightness through the palette (MIXED: its own) */
uint32_t l = ((*c >> 11) + ((*c >> 6) & 31u) + (*c & 31u)) * 256u / 93u;
*c = v == 1u ? vk_heat((int32_t)l) : ux_mix(0, VIS_PL[(v - 2u) & 3u][l > 140u], (int32_t)l);
int32_t x = (p[0] - 120 * 16) * vq.k >> 8, y = (p[1] - vq.sy) * vq.k >> 8, a, r;
uint32_t tm = vq.t - vq.tt, h, v = (uint32_t)vis_v[2];
if (++vq.np > vq.bud) { /* (past the frame's budget of points: left out) */
p[0] = p[1] = -4000;
return;
}
if (vq.fo) { /* the fold: a mirror, or four */
if (x < 0) x = -x;
if (vq.fo == 2u && y < 0) y = -y;
if (c) { /* a segment: its own swim (a note's ripple down them), its colour */
h = ++vq.n * 2654435761u; /* (its place swims with its neighbours'; a kick scatters each its
* own way, then they gather; a note's ripple runs down the rows) */
a = vq.am + vq.nh[(vq.fr - ((uint32_t)p[1] >> 8)) & 15u];
vq.dx = (og_sin((uint32_t)p[1] * 48u + tm * 90u) * a >> 15) + (((int32_t)(h >> 24) - 128) * VQ_KI >> 8);
vq.dy = (og_cos((uint32_t)p[0] * 40u + tm * 70u) * a >> 15) + (((int32_t)(h >> 16 & 255u) - 128) * VQ_KI >> 8);
vq.gap = vq.op[2] == 1u && ((h ^ vq.bs) >> 24) < (uint32_t)vq.ba / 2u; /* (at most half) */
r = (int32_t)(((*c >> 11) + ((*c >> 6) & 31u) + (*c & 31u)) * 275u >> 8); /* (0..100) */
r += (100 - r) * r >> 7; /* (lighter: the middles lifted, the dark kept dark) */
a = clamp(r + vq.cj, 0, 100); /* (each copy a step along the palette) */
*c = ux_mix(T_BG, !v ? ux_mix(*c, 0xFFFFu, 25) : v == 1u ? vk_heat(a * 653 >> 8) :
ux_mix(VIS_PL[(v - 2u) & 3u][0], VIS_PL[(v - 2u) & 3u][1], a), r < 12 ? 0 : vq.fd);
}
y += vq.wv * og_sin((uint32_t)x * 36u - t * 500u) >> 15; /* WHEEL's worms: a wave travelling down the body */
x += vq.wv * og_sin((uint32_t)y * 28u - t * 380u) >> 15;
x += (VQ_ME >> 1) * og_sin((uint32_t)y * 90u - t * 1800u) >> 14; /* a note: a ripple running through it */
r2 = (x >> 4) * (x >> 4) + (y >> 4) * (y >> 4); /* (px squared) */
a = vq.tw * r2 >> 6; /* the twist, more out from the middle */
if (vq.mo == 1u) a += (int32_t)(t * 9u); /* (turning) */
s = 4096 + (vq.br * og_sin((uint32_t)(x * 14 + y * 11) + t * 300u) >> 15); /* the lobes breathing */
s = s * k >> 8;
{
int32_t cs = og_cos((uint32_t)a), sn = og_sin((uint32_t)a), nx = (x * cs - y * sn) >> 15, ny = (x * sn + y * cs) >> 15;
x = nx * s >> 12; y = ny * s >> 12;
if (vq.gap) { /* BROKEN, gaps: the segment gone */
p[0] = p[1] = -4000;
return;
}
if (y > 0) y += (vq.ml * ((32768 + og_sin((uint32_t)x * 50u + t * 200u)) >> 8) >> 8) * (y >> 4) >> 6; /* the melt, dripping */
if (((y + vq.wy) >> 8) & 1) x += VQ_SN * 2; /* a snare: the rows pulled apart */
y += VQ_HA * og_sin((uint32_t)x * 160u + t * 4000u) >> 16; /* the hats: a shiver */
p[0] = x + vq.wx + vq.jx;
p[1] = y + vq.wy + vq.jy - vq.ow;
x += vq.dx; y += vq.dy;
switch (vq.op[1]) { /* DEFORMED */
case 0: /* a warp */
y += vq.wb * og_sin((uint32_t)x * 30u - tm * 400u) >> 14;
x += vq.wb * og_sin((uint32_t)y * 24u + tm * 300u) >> 14;
break;
case 1: /* a twist, more out from the middle */
a = vq.wb * ((x >> 4) * (x >> 4) + (y >> 4) * (y >> 4)) >> 8;
r = og_cos((uint32_t)a) ; a = og_sin((uint32_t)a);
h = (uint32_t)((x * r - y * a) >> 15); y = (x * a + y * r) >> 15; x = (int32_t)h;
break;
case 2: /* polar: across the turn, its rows the radius */
a = x * 17 + (int32_t)(tm * 20u);
r = 80 * 16 + y + (vq.wb * og_sin((uint32_t)x * 60u) >> 13);
x = og_cos((uint32_t)a) * r >> 15; y = og_sin((uint32_t)a) * r >> 15;
break;
default: /* a fold: what passes 96 px out folded back, over and over */
a = (int32_t)((uint32_t)(x + 960 * 16) % 3072u) - 1536; x = (a < 0 ? -a : a) * 2 - 1536;
a = (int32_t)((uint32_t)(y + 960 * 16) % 3072u) - 1536; y = (a < 0 ? -a : a) * 2 - 1536;
x += vq.wb * og_sin((uint32_t)y * 40u + tm * 250u) >> 15;
}
a = (x * vq.cs - y * vq.sn) >> 15; y = (x * vq.sn + y * vq.cs) >> 15; /* REPEATED: the copy turned and moved */
x = a + vq.ox; y += vq.oy;
y += VQ_HA * og_sin((uint32_t)x * 160u + tm * 4000u) >> 16; /* the hats: a shiver */
h = vq.bs;
switch (vq.op[2]) { /* BROKEN */
case 0: /* strips slipping (16 px) */
x += ((int32_t)((((uint32_t)(y + 64000) >> 8) * 0x9E3779B1u ^ h) >> 26) - 32) * vq.ba >> 5;
break;
case 2: /* scanline tears (4 px) */
h ^= ((uint32_t)(y + 64000) >> 6) * 0x9E3779B1u;
if ((h >> 28) < 2u) x += ((int32_t)(h >> 12 & 255u) - 128) * vq.ba >> 5;
break;
case 3: /* blocks out of place (32 px) */
h ^= ((uint32_t)(x + 64000) >> 9) * 73856093u ^ ((uint32_t)(y + 64000) >> 9) * 19349663u;
if (!(h & 7u)) { x += ((int32_t)(h >> 8 & 63u) - 32) * vq.ba >> 4; y += ((int32_t)(h >> 16 & 63u) - 32) * vq.ba >> 5; }
}
p[0] = x + 120 * 16;
p[1] = y + vq.m;
}
/* (once a frame) the level, the hits, the time, the morph */
static VX_SEG void vis_tick(void)
/* (once a frame) the level, the hits, the time, the next picture */
static void vis_tick(void)
{
int32_t lv;
uint32_t k;
if (vq.fr == anim_fr)
return;
lv = bg_energy() * vis_v[3] >> 7;
vq.lv = bg_energy() * vis_v[3] >> 7;
vq.fr = anim_fr;
vq.lv = lv;
vq.t += 2u + (uint32_t)lv / 24u;
vq.t += 2u + (uint32_t)vq.lv / 24u;
for (k = 0; k < NTRK; k++) { /* the hits: a track's new note (the sequencer, the keys, MIDI) */
const track_t *tr = &trk[k];
uint32_t n = tr->seq_n ? tr->seq_notes[0] : tr->nheld ? tr->held[0] : 0u, r;
@@ -369,115 +406,121 @@ static VX_SEG void vis_tick(void)
if (n && g != vq.sg[k]) {
r = tr->engine != ENGI_DRUM ? 3u : n < 37u ? 0u : n < 41u ? 1u : 2u; /* (GM's keys) a kick, a snare, hats; a note */
vq.e[r] = 255 * vis_v[3] / 60;
vq.no = (uint8_t)n;
if (!r) { /* a kick: the scene jumps (motion 3 far); every twelfth a morph */
r = vr();
vq.jx = ((int32_t)(r & 511u) - 256) << (vq.mo == 3u);
vq.jy = ((int32_t)(r >> 9 & 255u) - 128) << (vq.mo == 3u);
if (++vq.nk >= 12u) { vq.nk = 0; vq.ms = 0; }
}
if (r < 2u) vq.bs = vr(); /* (a kick, a snare: the breaks elsewhere) */
if (!r && ++vq.nk >= 12u) { vq.nk = 0; vq.ms = 0; } /* (every twelfth kick: the next picture) */
}
vq.sg[k] = g;
}
for (k = 0; k < 4u; k++)
vq.e[k] -= vq.e[k] >> 2;
vq.jx -= vq.jx >> 3; vq.jy -= vq.jy >> 3;
if (vq.m) { /* a morph running: the next being comes in */
vq.m += 6;
if (vq.m >= 256) { vq.m = 0; vq.pa = vq.pb; }
} else if (fm1_ms - vq.ms > 10000u || !vq.ms) { /* (a section, twelve kicks or ten seconds: the next) */
uint32_t b = vis_pick(vq.pa + 1u + vr() % 3u);
vq.nh[vq.fr & 15u] = VQ_ME / 2;
vq.am = vq.lv + VQ_KI / 2;
vq.ba = clamp((vq.lv / 3 + VQ_KI / 2 + VQ_SN) * (2 + (int32_t)(vq.sd & 3u)) / 3, 0, 255);
if (vq.fi < 100) /* (the second picture fading in) */
vq.fi += 5;
if (fm1_ms - vq.ms > 10000u || !vq.ms) { /* (a section, twelve kicks or ten seconds: the next) */
vq.ms = fm1_ms | 1u;
if (b < NTRK && b != vq.pa) { vq.pb = (uint8_t)b; vq.m = 1; }
vq.ing[1] = (uint8_t)((vq.ing[1] + 1u + vr() % (VI_N - 2u)) % VI_N);
if (vq.ing[1] == vq.ing[0]) vq.ing[1] = (uint8_t)((vq.ing[1] + 1u) % VI_N);
vq.fi = 0;
}
}
/* a being: track k's, its middle (px, the screen's) and size, at strength al */
static VX_SEG void vis_being(uint32_t k, int32_t x, int32_t y, int32_t w, int32_t al)
/* picture i, track t's (its own coordinates) */
static void vis_ing(uint32_t i, const track_t *t)
{
if (k >= NTRK || al <= 0)
return;
og_wa = al;
vx_draw(&trk[k], x - w / 2, y - w * 3 / 8 - (vq.ow >> 4), w, w * 3 / 4, -1);
}
/* (V10.8.61, the owner: "ANIMAL y VOICE integrados y deformados") a ghost: VOICE's tract (g 1) or ANIMAL's morph (g 2) drawn
* from track k's parameters whatever its engine, fused into the scene through the same field (vx_draw's frames) */
static VX_SEG void vis_ghost(uint32_t k, uint32_t g, int32_t x, int32_t y, int32_t w, int32_t al)
{
int32_t cx = x * 16, cy = y * 16 - vq.ow, h = w * 3 / 4, s;
if (k >= NTRK || al <= 0)
return;
og_wa = al;
if (g == 1u) {
s = vx_fit(w, h, 80, 62);
vx_voice(&trk[k], cx + 5 * s / 4, cy - 37 * s / 16, s, -1);
} else
vx_animal(&trk[k], cx, cy, vx_fit(w, h, 103, 78), -1);
}
/* the scope's thread: from (x0 y0) to (x1 y1) (px), the output's last samples across it */
static VX_SEG void vis_thread(int32_t x0, int32_t y0, int32_t x1, int32_t y1, int32_t amp)
{
uint32_t i;
int32_t px = 0, py = 0, nx = -(y1 - y0), ny = x1 - x0, d = (nx < 0 ? -nx : nx) + (ny < 0 ? -ny : ny) + 1;
og_wa = 220;
for (i = 0; i <= 48u; i++) {
int32_t v = scope_buf[(scope_w - 192u + i * 4u) & (SCOPE_N - 1u)] * amp / 32768;
int32_t x = (x0 + (x1 - x0) * (int32_t)i / 48 + v * nx / d) * 16, y = (y0 + (y1 - y0) * (int32_t)i / 48 + v * ny / d) * 16 - vq.ow;
if (i) og_line_a(px, py, x, y, vk_heat(96 + vq.lv / 2 + (v < 0 ? -v : v)), 256);
px = x; py = y;
switch (i) {
case VI_ENV: {
const page_t *o = page_over;
uint32_t k;
for (k = 0; k + 1u < NPAGES && PAGES[k].graph != GR_ADSR; k++) {}
page_over = &PAGES[k];
graph_adsr(t, 0);
page_over = o;
break;
}
case VI_LFO: graph_lfo(t, 0); break;
case VI_DLY: fxg_delay(0, 0, 240, 120); break;
case VI_REV: fxg_reverb(0, 0, 240, 120); break;
case VI_CHO: fxg_chorus(0, 0, 240, 120); break;
case VI_DST: fxg_dist(t, 60, 0, 120, 120); break;
case VI_MST: fxg_master(0, 0, 240, 120); break;
case VI_ECO: graph_eco(); break;
case VI_BEING: vx_draw(t, 0, 0, 240, 180, -1); break;
default: { /* ANIMAL's creature: insect, bird, mammal and back (a note: faster) */
int16_t w0 = vxs.w[0], w1 = vxs.w[1], w2 = vxs.w[2];
vxs.w[0] = (int16_t)(128 + (og_sin(vq.t * 40u + (uint32_t)VQ_ME * 64u) >> 8));
vxs.w[1] = 1; vxs.w[2] = (int16_t)anim_fr;
vx_animal(t, 120 * 16, 90 * 16, vx_fit(240, 180, 103, 78), -1);
vxs.w[0] = w0; vxs.w[1] = w1; vxs.w[2] = w2;
}
}
}
static uint32_t vis_song(void); /* (gen.c) */
static void vis_fig(int32_t cx, int32_t cy, int32_t R, uint32_t sd)
{
uint32_t b, i, n;
int32_t X[3], Y[3], W[3], m;
uint32_t b, i, j, n, hi;
int32_t o = cv_oy;
const track_t *t;
(void)cx; (void)R;
if (!vis_seed) { /* (the first time: the knobs' defaults, a seed) */
vis_v[0] = 50; vis_v[1] = 50; vis_v[3] = 70;
vis_seed = 1791;
}
(void)R;
if (sd != vq.sd && !((sd ^ vq.sd) & 0xFFFFFFu) && vq.sd) { /* a section (A..D): the same scene, the next being */
if (sd != vq.sd) { /* a song (OCT+, the saver): its pictures, its operators; a section
* (A..D): the same, the second picture and the deformation the next */
int sec = vq.sd && !((sd ^ vq.sd) & 0xFFFFFFu);
vq.r = sd * 2654435761u | 1u;
b = vr() ^ vr() ^ vr(); /* (the seeds' neighbours apart) */
if (!sec) {
vq.ing[0] = (uint8_t)(b % VI_N);
vq.ing[1] = (uint8_t)((vq.ing[0] + 1u + (b >> 4) % (VI_N - 1u)) % VI_N);
for (i = 0; i < 3u; i++) vq.op[i] = (uint8_t)(vr() >> 13 & 3u);
vq.pa = (uint8_t)vis_pick(vr());
} else
vq.op[1] = (uint8_t)((vq.op[1] + 1u) & 3u);
vq.sd = sd;
vq.ms = 0;
} else if (sd != vq.sd) { /* a new scene (a song, OCT+, the saver): its beings, its field */
vq.sd = sd;
vq.r = sd * 2654435761u | 1u;
vq.mo = (uint8_t)(sd & 3u);
vq.pa = (uint8_t)vis_pick(vr());
vq.m = 0; vq.ms = fm1_ms | 1u;
}
vis_tick();
vq.ow = (120 - (cy >> 4)) * 16;
vq.r = vq.sd * 2654435761u | 1u; /* (the scene's numbers, the same each frame and strip) */
b = vr();
vq.fo = (uint8_t)(b % 5u < 2u ? b % 5u + 1u : 0u);
vq.tw = ((int32_t)(b >> 4 & 15u) - 7) * (1 + vis_v[1] / 40);
vq.wv = ((int32_t)(b >> 8 & 7u) + 2) * (8 + vis_v[1] / 5) + vq.lv / 4;
vq.br = ((int32_t)(b >> 11 & 7u)) * (20 + vis_v[1]) + VQ_KI * 2;
vq.ml = (b >> 18 & 1u) ? (int32_t)(b >> 14 & 15u) * (2 + vis_v[1] / 10) : 0;
m = vq.m ? vq.m : 0;
vq.wv += m * (256 - m) >> 8; /* (a morph: the field at its wildest half way) */
vq.tw += m * (256 - m) >> 12;
n = 1u + (uint32_t)vis_v[0] / 40u; /* DENSITY: one to three beings */
for (i = 0; i < 3u; i++) {
uint32_t q = vr();
X[i] = 120 + ((int32_t)(q & 127u) - 64) * (i ? 2 : 1);
Y[i] = 120 + ((int32_t)(q >> 7 & 127u) - 64) * (i ? 2 : 1);
W[i] = (i ? 120 : 220) + (int32_t)(q >> 14 & 127u) * (i ? 1 : 2) + vq.lv / 2; /* (huge: the main one past the screen) */
t = &trk[vq.pa];
hi = song.cpu_q8 > 166u; /* (the sound busy: the picture yields; ui_draw.c drew it less often) */
vq.wb = (16 + vis_v[1] * 2) * (vq.op[1] == 1u ? 1 : 3) / 4 + vq.lv / 4;
vq.m = cy + 30000 * 16; /* (the strip's rows, past cv_oy: their own words and pixels gone) */
vq.np = 0;
cv_oy = -30000;
og_wf = cv_vm = vis_mp;
for (i = 0; i < 2u; i++) {
uint32_t g = vq.ing[i], sp = vq.t * 6u + (uint32_t)VQ_SN * 40u, d = (uint32_t)vis_v[0]; /* (turning; a snare: a jolt) */
n = i ? 1u : vq.op[0] == 3u ? 4u : vq.op[0] == 1u ? 2u + d / 25u : 3u + d / 14u;
vq.bud = hi ? 700u + i * 300u : 1800u + i * 900u; /* (the points a strip may draw: the first picture 2/3) */
vq.sy = VIS_CY[g] * 16;
for (j = 0; j < n; j++) { /* REPEATED: the copies */
int32_t k = 256 + VQ_KI / 3, a = (int32_t)(i || vq.op[0] == 3u ? sp : sp / 8u), f = 100 - (int32_t)j * 9, h = (int32_t)j * 2 - (int32_t)n + 1;
/* (the first picture turning slower; h: the copy from the middle) */
vq.ox = vq.oy = 0; vq.tt = 0;
vq.n = i * 977u; /* (each copy's segments the same swim) */
vq.cj = (int32_t)j * 70 / (int32_t)n - 20;
switch (i ? 9u : vq.op[0]) {
case 9: break; /* (the second picture: as it is) */
case 0: a += (int32_t)(j * 65536u / n); f = 100; break; /* a kaleidoscope */
case 1: vq.ox = h * (8 * 16 + VQ_KI / 2); vq.oy = h * 4 * 16; break; /* a stutter */
case 2: vq.tt = j * 10u; vq.oy = h * 3 * 16; k = k * (256 - (int32_t)j * 12) >> 8; break; /* a trail */
default: k /= 2; vq.ox = (j & 1u ? 60 : -60) * 16; vq.oy = (j & 2u ? 60 : -60) * 16; a = (int32_t)(j * 16384u); /* tiles */
}
vq.k = k * (i ? 200 : 256) >> 8;
vq.cs = og_cos((uint32_t)a); vq.sn = og_sin((uint32_t)a);
vq.fd = i ? vq.fi : f;
og_wa = vq.fd * 256 / 100;
vis_ing(g, t);
if (!j && vq.np && n > 1u && vq.np * n > vq.bud) /* (as many copies as the budget holds, all whole) */
n = clamp(vq.bud / vq.np, 1, n);
if (hi && vq.op[2] == 2u) vq.op[2] = 0; /* (busy: no tears) */
}
vq.np = 0;
}
vq.wx = X[0] * 16; vq.wy = Y[0] * 16;
og_wf = vis_wp;
if (b >> 20 & 1u) /* the scope's thread, one being to the next or across */
vis_thread(n > 1u ? X[1] : -20, n > 1u ? Y[1] : Y[0] + 60, n > 1u ? X[0] : 260, n > 1u ? Y[0] : Y[0] - 60, 40 + vq.lv / 3);
for (i = 1; i < n; i++) /* the others: the next tracks' beings */
vis_being(vis_pick(vq.pa + i + (b >> 22)), X[i], Y[i], W[i], 160);
if (b % 3u == 0u) /* (a scene in three) VOICE or ANIMAL fused in, breathing in and out */
vis_ghost(vq.pa, 1u + (b >> 24 & 1u), X[1], Y[1], W[1] + 60, 120 + (og_sin(vq.t * 90u) >> 8));
vis_being(vq.pa, X[0], Y[0], W[0], m ? 256 - m : 256); /* the main one, and the one it becomes */
if (m)
vis_being(vq.pb, X[0], Y[0], W[0] * (192 + m / 4) / 256, m);
og_wf = 0;
og_wf = cv_vm = 0;
og_wa = 256;
cv_oy = o;
}
/* BEING: the track's being large, its HOME knobs as organs at the corners */
static const int16_t ORG_X[4] = {30, 210, 30, 210}, ORG_Y[4] = {28, 28, 116, 116};
+1909 -1903
View File
File diff suppressed because it is too large. Load diff
+24 -23
View File
@@ -204,7 +204,7 @@ cv_frame 76 text cv_rect
cv_key_hint 80 text cv_keycap cv_text_on
cv_key_row 184 text cv_key_hint kh_w
cv_keycap 302 text cv_alpha_hc ux_mix
cv_line 114 text cv_pset
cv_line 370 text cv_line cv_pset vis_mp
cv_line_t 46 text cv_line
cv_pset 48 text
cv_rect 100 text
@@ -257,7 +257,7 @@ draw_countin 374 text cv_begin cv_blit cv_key_hint draw_text_box kh_ink lcd_sync
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 10396 text bg_energy bg_outline bg_sin 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 eco_bot eco_face eco_feat eco_genome eco_off eco_step 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_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 home_set ink_in jam_end jam_lanes jam_len lfo_cap lz_fam lz_on lz_sec memcpy mod_dst_name note_col og_line_a 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 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_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
@@ -321,7 +321,7 @@ dx_scrape 100 text
dx_send_ix 38 text
dx_sq 44 text
dx_take 98 text memcpy
dx_wave_draw 138 text cv_line_t heat_col lofi_float
dx_wave_draw 142 text cv_line_t heat_col lofi_float
dxo_hit 36 text dxp_fire trk_note_on
dxo_off 246 text div_samples memcpy rec_on seq_src step_samples
dxo_on 574 text dxo_part input_on rec_on
@@ -483,7 +483,7 @@ fm1_irq_off 4 text
fm1_irq_on 6 text
fm1_lcd_wait 48 text
fm1_led_dim_level 40 text
fm1_main 8242 text ! autosave_poll autosave_sig boot_splash bt_get bt_hw_seg bt_prox_tick bt_set bt_start chain_defaults chain_valid cpu_clock cpu_lost cv_begin cv_blit cv_text dbg_boot dlg_on draw_confirm draw_text_box ed_service fav_rows_new favorite_set fl_far fm1__sr_bits fm1_adc_read fm1_delay_ms fm1_enter_uboot fm1_guard_enable fm1_guard_lock_top fm1_led_dim_level fm1_mc_hold fm1_wdt_feed fm6_init fvb_boot home_param home_vis irq_save jam_load lcd_init lcd_panel_apply lcd_panel_is_b lcd_power lcd_sync ly_word macro_dice master_lvl master_poll memcpy memset mx_defaults name_on og_sin ota_crc16 ota_erase ota_fread ota_jl_enc ota_memeq ota_prog ota_rd16 ota_rd32 ota_read ota_reply_identity ota_show ota_take ota_unstage ota_wr16 ota_wr32 palette_to_stored panel_init panel_setup param_format power_sound_of proj_bound proj_fetch proj_import project_restore_runtime scr_fill scr_get scr_holes scr_wake scr_wake_now seg_missing seq_counting settings_import settings_init settings_poll settings_save song_index_load song_mode_restore song_poll splash_at split_cut split_track st_load steps_sig str_cpy str_len sy_entry track_defaults track_defaults_steps uh_task ui_draw_body ui_input ui_leds ui_message up_bank_check up_used upf_empty upf_valid usb_detach usb_serial_apply usb_start vc_io vis_being vis_ghost vis_new vis_pick vis_thread vis_tick vr
fm1_main 9442 text ! autosave_poll autosave_sig bg_energy boot_splash bt_get bt_hw_seg bt_prox_tick bt_set bt_start chain_defaults chain_valid cpu_clock cpu_lost cv_begin cv_blit cv_text dbg_boot dlg_on draw_confirm draw_text_box ed_service fav_rows_new favorite_set fl_far fm1__sr_bits fm1_adc_read fm1_delay_ms fm1_enter_uboot fm1_guard_enable fm1_guard_lock_top fm1_led_dim_level fm1_mc_hold fm1_wdt_feed fm6_init fvb_boot fxg_chorus fxg_delay fxg_dist fxg_master fxg_reverb graph_adsr graph_eco graph_lfo home_param home_vis irq_save jam_load lcd_init lcd_panel_apply lcd_panel_is_b lcd_power lcd_sync ly_word macro_dice master_lvl master_poll memcpy memset mx_defaults name_on og_cos og_sin ota_crc16 ota_erase ota_fread ota_jl_enc ota_memeq ota_prog ota_rd16 ota_rd32 ota_read ota_reply_identity ota_show ota_take ota_unstage ota_wr16 ota_wr32 palette_to_stored panel_init panel_setup param_format power_sound_of proj_bound proj_fetch proj_import project_restore_runtime scr_fill scr_get scr_holes scr_wake scr_wake_now seg_missing seq_counting settings_import settings_init settings_poll settings_save song_index_load song_mode_restore song_poll splash_at split_cut split_track st_load steps_sig str_cpy str_len sy_entry track_defaults track_defaults_steps uh_task ui_draw_body ui_input ui_leds ui_message up_bank_check up_used upf_empty upf_valid usb_detach usb_serial_apply usb_start vc_io vis_new vis_pick vr vx_animal vx_draw
fm1_mc_hold 120 text
fm1_mc_park 96 text fm1_mc_hold
fm1_p33_read 68 text fm1__p33_xfer
@@ -593,11 +593,15 @@ fx_rest 432 hot_text dly_line_clear dly_wow_adv fx_glide rev_line_clear rev_stat
fx_run0 4746 hot_text ! cho_admit cho_lfo db_block delay_zero dly_grain dly_grain_adv dly_lo dly_rate dly_wow_adv fx_gate fx_glide fx_rest memcpy mul64_sh15 rev_line_clear rev_run rev_state_clear tone_set
fx_trip 254 text fm1_mc_hold mc_lost rev_line_clear rev_state_clear
fx_trk_k 52 text str_eq
fxg_chorus 272 text fmt_int fxg_en fxg_label gx_sine str_cpy
fxg_curve 746 text cv_line_t cv_pset cv_rect softclip
fxg_dist 212 text bg_energy fmt_int fxg_curve fxg_en fxg_label hud_tag str_cpy
fxg_delay 426 text fmt_int fxg_en gx_col hud_tag param_format str_cpy str_len
fxg_dist 222 text bg_energy fmt_int fxg_curve fxg_en fxg_label hud_tag str_cpy
fxg_en 38 text bg_energy
fxg_label 52 text cv_text cv_text_r
fxg_mod 2596 text bg_energy bg_sin cur_page cv_line cv_rect cv_text_fit fmt_int fxg_curve fxg_en fxg_label gx_col gx_sine heat_col hud_tag param_format sl_pattern str_cpy str_len text_w
fxg_master 622 text bg_energy cv_line cv_rect fmt_int fxg_curve fxg_label heat_col str_cpy str_len
fxg_mod 902 text cur_page cv_rect cv_text_fit fmt_int fxg_chorus fxg_delay fxg_label fxg_master fxg_reverb heat_col param_format sl_pattern str_cpy str_len text_w
fxg_reverb 442 text bg_sin fmt_int fxg_en fxg_label gx_col str_cpy str_len
galt 58 text
gauge_col 42 text card_heat heat_on
gauge_column 26 text draw_column
@@ -715,24 +719,25 @@ gplan 724 text gch gcolour gminor gq_fix gseed gsplit gtriad_ok memcpy
gprog_ok 182 text gcolour giv gminor gtriad_ok
gq_fix 338 text giv
gr 24 text
graph_adsr 1368 text cur_page cv_line_t cv_pset cv_rect cv_text cv_text_on heat_col memset param_format str_cpy str_len text_w track_desc ux_mix
graph_adsr 1386 text cur_page cv_line_t cv_pset cv_rect cv_text cv_text_on heat_col memset param_format str_cpy str_len text_w track_desc ux_mix
graph_being_at 182 text being_lines bg_energy bg_excite bg_feat cur_page trk_eng
graph_chord 1232 text chord_nm chord_peek cv_rect cv_text cv_text_on gx_keys memset scale_mask str_cpy str_len text_w
graph_colony 558 text being_lines bg_outline cv_rect cv_text cv_text_in cv_text_r drum_kit_of drum_lane_abbr dx_lane_muted heat_col
graph_eco 1100 text bg_energy bg_outline bg_sin cv_rect cv_text_in eco_bot eco_face eco_feat eco_genome eco_off eco_step home_set memcpy og_line_a page_big ux_mix
graph_euclid 604 text cv_rect cv_text eu_of graph_h og_cos og_sin step_accents_of step_lanes_of
graph_fx_lz 950 text bg_sin cur_page cv_rect cv_rrect cv_text_on fmt_int fx_dots fx_level fx_mod_of fx_page fx_trk_k fxg_dist fxg_en fxg_label fxg_mod gx_col heat_col lz_tile page_big page_desc page_visible param_format str_cpy str_len text_w track_desc
graph_fx_lz 954 text bg_sin cur_page cv_rect cv_rrect cv_text_on fmt_int fx_dots fx_level fx_mod_of fx_page fx_trk_k fxg_dist fxg_en fxg_label fxg_mod gx_col heat_col lz_tile page_big page_desc page_visible param_format str_cpy str_len text_w track_desc
graph_grid 632 text bar_cells cv_frame cv_rect cv_text_on drum_lane_abbr lens_strip lz_note motion_lock_steps pr_follow_bar pr_split seq_src step_accents_of step_lanes_of step_ratchet tsel_p
graph_h 28 text large_kind lz_on
graph_harm 612 text chord_nm cv_rect cv_text cv_text_in face_has hm_now scale_mask str_cpy text_w
graph_home_being 798 text being_lines bg_energy bg_outline cv_text_in eco_feat eco_genome eco_off eco_step enum_rank home_param og_cos og_line og_node og_sin pl_pt ratio_d sound_name trk_engp ux_mix vx_draw
graph_key 580 text bt_hw_seg cv_frame cv_rect cv_text cv_text_in fmt_int gx_keys note_col param_format scale_mask str_cpy str_len text_w
graph_lfo 530 text cv_line cv_line_t cv_pset cv_rect cv_text_on fmt_int lfo_wave og_cos str_cpy
graph_lfo 538 text cv_line cv_line_t cv_pset cv_rect cv_text_on fmt_int lfo_wave og_cos str_cpy
graph_lfodest 514 text cv_line_t cv_rect cv_text_r ed_cap heat_col lfo_cap lfo_wave og_node page_desc param_format str_cpy str_len ux_mix
graph_lz_presets 710 text cv_clip_text cv_rect cv_text_fit cv_text_in cv_text_on cv_text_r eng_vis favorite_has fmt_int graph_h heat_col lz_mini_being preset_at preset_pos str_cpy str_eq tsel_p up_name ux_mix
graph_lz_tools 512 text cv_frame cv_rect cv_text cv_text_in cv_text_on fmt_int graph_h str_cpy
graph_morph 702 text an_morph bt_hw_seg cv_line_t cv_rect cv_text heat_col morph_wave pd_setup pd_wave str_cpy str_len trk_eng
graph_proj 926 text cv_frame cv_rect cv_text cv_text_fit cv_text_in cv_text_on cv_text_r fmt_int graph_project_used lz_sec song_bars song_len_txt str_cpy str_len
graph_project_used 278 text as_mix project_name
graph_project_used 276 text as_mix project_name
graph_roll 2096 text bar_cells comp_col cur_page cv_frame cv_rect cv_text_r fmt_int lens_strip lz_comp_mark memcpy motion_lock_steps pr_bars pr_follow_bar pr_geom pr_head_col pr_head_step pr_heads pr_held pr_lit pr_row_y pr_src scale_mask st_micro step_ratchet str_cpy text_w
graph_score 1032 text cv_frame cv_rect cv_text cv_text_in cv_text_r fmt_int gx_chip memcpy row_src row_var sec_col song_len_txt str_len ux_mix
graph_signature 4970 text bg_energy bn_on comp_slot comp_view cur_page ev_row ev_rows fx_level fx_mod_of fx_on gen_draw_sig graph_project_used hm_now home_level home_set lens_on lib_scan list_get motion_count motion_enabled motion_lock_steps nav_lv pd_cur pd_on pfx_rec_ok pr_follow pr_follow_bar pr_head_step pr_held preset_favorite rec_on roll_view save_level save_on seq_roll_view seq_src sing_view steps_hash steps_sig str_hash strip_kind toast_on trk_eng trk_engp tsel_p
@@ -759,7 +764,7 @@ gtriad_ok 84 text giv
gvo_mode 36 text
gwobble 60 bt dlen gr motion_set_event
gx_chip 64 text cv_rect cv_text_in
gx_col 132 text cv_rect heat_col
gx_col 204 text cv_line cv_rect heat_col
gx_comps 606 text comp_legacy dlen gch gpickw gr grr
gx_drums 182 text gch gpickw gr grr st_micro_set step_set_chance step_set_lmode
gx_engine 110 text gch gr
@@ -829,7 +834,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
@@ -1006,7 +1011,7 @@ midi_val_set 58 text motion_capture
mir_flush_run 50 text mir_put
mir_frame 166 text mir_flush_run mir_put ota_wire_send
mir_put 26 text
mix_block 7754 hot_text ! arp_chord arp_off arp_pick arp_silence beat_samples chain_apply chord_build_mode cin_begin cin_block cin_record clay_kb clay_tick clip_block comp_run div_samples djf_block duck_block dx_mot_block dxo_rec_hold dxo_tick fm1_mc_hold fugue_tick fx_run0 fx_trip gl_step_at jam_step kb_lat kb_map key_next key_place latch_release lev_block live_adv live_q macro_master master_begin master_out mc_join mc_lost mc_split memcpy midi_clock_pulse midi_clock_transport midi_event midi_forget_track midi_route_ch14 mix_part_m0 mo_block mo_flush_of motion_step name_of perf_begin perf_master perf_pre pfx_block pfx_end pfx_hush rec_hold rec_note rec_on sec_apply seq_due seq_lane_rat seq_note_on seq_ratchet seq_start seq_step seq_stop shift_ahead shift_prepare_pass shift_step_pass slicer_bus slicer_fx slicer_on stem_slicer_bus step_rolls step_samples trk_all_off trk_fade_out trk_note_on tvel voice_soft
mix_block 7752 hot_text ! arp_chord arp_off arp_pick arp_silence beat_samples chain_apply chord_build_mode cin_begin cin_block cin_record clay_kb clay_tick clip_block comp_run div_samples djf_block duck_block dx_mot_block dxo_rec_hold dxo_tick fm1_mc_hold fugue_tick fx_run0 fx_trip gl_step_at jam_step kb_lat kb_map key_next key_place latch_release lev_block live_adv live_q macro_master master_begin master_out mc_join mc_lost mc_split memcpy midi_clock_pulse midi_clock_transport midi_event midi_forget_track midi_route_ch14 mix_part_m0 mo_block mo_flush_of motion_step name_of perf_begin perf_master perf_pre pfx_block pfx_end pfx_hush rec_hold rec_note rec_on sec_apply seq_due seq_lane_rat seq_note_on seq_ratchet seq_start seq_step seq_stop shift_ahead shift_prepare_pass shift_step_pass slicer_bus slicer_fx slicer_on stem_slicer_bus step_rolls step_samples trk_all_off trk_fade_out trk_note_on tvel voice_soft
mix_part_m0 3486 hot_text ! autopan beat_samples drum_bus drum_mix drum_side_begin duck_ramp lfo_wave mod_begin mod_end perf_mute slicer_on stem_post stem_pre track_dist track_post uin_mix voice_block voice_start_rec
mix_spread 218 text *
ml_code 12 text
@@ -1136,10 +1141,10 @@ nv_page 126 text nav_ch page_visible song_pg str_eq
oct_key 304 text drum_chrom drum_lane_name str_cpy str_len tsel_p ui_message
og_cos 10 text
og_line 22 text og_line_a
og_line_a 228 text og_line_r vis_wp
og_line_a 230 text og_line_r vis_mp
og_line_r 248 text og_plot
og_neutral 28 text
og_node 146 text og_plot vis_wp
og_node 146 text og_plot vis_mp
og_plot 166 text og_neutral
og_sin 6 text
open_family 12 text sec_of_fam
@@ -1387,10 +1392,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
@@ -1763,14 +1768,10 @@ vh_poly 54 text vh_xf vx_line
vh_pred 68 text
vh_step 442 text memset
vh_xf 144 text
vis_being 88 bt vx_draw
vis_ghost 152 bt vx_animal vx_fit vx_voice
vis_mp 936 bt * clamp og_cos og_sin ux_mix vk_heat
vis_new 84 text fmt_int ui_say
vis_ok 142 bt trk_eng trk_engp
vis_pick 38 bt vis_ok
vis_thread 262 bt og_line_a vk_heat
vis_tick 428 bt bg_energy vis_pick vr
vis_wp 500 bt * og_cos og_sin ux_mix vk_heat
vk_heat 72 text
voice_begin 304 text drum_note_lane noise32 voice_start
voice_block 1816 hot_text ! drift_noise kt_cut mod_voice mul64 voice_half