V10.8.76: SEQ says PRESETS moves the 16-step window (LEN over 16, the first three entries a power-on)

Juan: "Podría haber un cartelito nomás cuando ponés SEQ que diga move steps
with preset knob o algo así". A user didn't find steps 17 .. 64: the grid
shows 16 at a time and PRESETS moves it, which nothing said.

The tip (ui.c page_entered):
- On entering a SEQ page that shows the 16-step window (ui_graph.c
  seq_roll_view: STEP's roll, the DRUM grid, every SEQ page with the roll;
  not SONG or EUCLID) when the selected track's LEN is over 16, a toast
  (ui_say, the pill on a lens page, the header too):
    PRESETS: STEPS 17-32 OF 64
  the window shown (ui.bank) and LEN; a last window short: STEPS 33-40 OF 40.
- Not at LEN 16 or less. The first three such entries a power-on
  (seq_tip_n, one byte in .pool, zeroed at boot: no .data / .bss).
- As PRESETS moves, its own toast as before, unchanged: "BAR 2/4  STEP 17"
  (the window's bar each detent); the bar chips under the cards light the
  bar shown and SEQ's card says 21/64. So the range is on screen whenever
  the window moves; nothing added there.
- Nothing removed.

Manual (MANUAL.md, MANUAL.es.md): PRESETS' row in the controls table still
said SEQ's pages load patterns (PHRASES; gone since 0.9.9-seq2i). Now: the
step, a whole bar fast, the grid following, so PRESETS is how one reaches
steps 17 .. 64; the tip.

Flash: page_entered 224 -> 352 B (the formatting by hand, no str_cat:
-20 B against the first try), the strings 21 B.
Image 52 B free (584284 of 584336; V10.8.75 204), BT 36 B free (73692 of
73728, unchanged), RAM .data+.bss 184 B free (98120 of 98304, unchanged),
pool spare 8224 B, RAM code 40384 of 42496 B. audio.c is V23's; the sound's
layout unchanged (tools/audio_layout.txt as recorded; a plain build
passes); tools/audio_map.txt: page_entered's line.

CPU (tests/cpu_lines_test.py), each scene's worst block, core 0/core 1,
V10.8.75 -> V10.8.76 (both measured now): identical, lines and instructions
  101 79/44   102 62/28   103 85/14   104 51/14   105 66/41   106 52/36
  107 63/11   108 51/29   0c  69/58   0d  71/52   0e  85/61

Tests:
- ui_test test_seq_tip (new): LEN 16 nothing; LEN 64 on STEP "PRESETS:
  STEPS 1-16 OF 64"; PRESETS fast to bar 2 "BAR 2/4  STEP 17"; LEN 40
  entered on bar 2 "17-32 OF 40"; EUCLID nothing; the DRUM grid on its last
  bar "33-40 OF 40"; the fourth entry nothing. ui_power_on sets the tip as
  said (3), so every other check and render runs as before.
- ui_render: toast_seq_tip, toast_seq_tip_drum (the roll and the DRUM grid,
  LEN 64, bar 2): the pill 166 px, clear of the page's words, no lint
  finding; the header's copy ellipsised, as every lens toast's long ones.
  (ui_render's own run stops at JIANT/env_stage, go_title "STAGE", exit 2,
  as at V10.8.75: those two scenes rendered by a driver.)
- The local workflow: steps 2 .. 29 pass, the emulator job included (emsdk
  6.0.11: native-check, gen-web, resound-web, emu_test bit for bit); the
  full UI: all passed.

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-30 15:06:14 +00:00
1 parent 7198f8f88d
commit 32099fee4f
7 files changed
+75 -7

No files matched your search

+1 -1
View File
@@ -183,7 +183,7 @@ Los nombres de abajo son los que usa el firmware (la pantalla HARDWARE CALIBRATI
| --- | --- |
| **SELECT** (encoder) | Solo (0.9.2): **recorre las páginas de la sección**, una página por paso, en una sola cadena, frenando en la primera y en la última (sin niveles, sin zoom; ver [Cómo funciona la navegación](#cómo-funciona-la-navegación-seis-reglas-092)). En el MENU: sus filas, las cuatro pestañas en una cadena. Con un botón mantenido: **HOME** + SELECT **GEN**, **EDIT / SEQ / LFO / FX** + SELECT los **dados** de esa parte, **GLO** + SELECT el **tempo**, **ENV / SCL / ARP / SAVE** + SELECT recorren la cadena de esa sección desde donde estés. |
| **ALGORITHM** (encoder) | Elige la pista desde cualquier página: T1–T6 (T1–T4 con TRACKS 4). La pista es siempre de ALGORITHM (0.9.2: PRESETS ya no la elige en ENV, LFO, CHORD, ARP). En el MENU: la pestaña siguiente / anterior. Con una capa mantenida: su vista, MAP ↔ KNOBS ↔ STATE. |
| **PRESETS** (encoder) | **Siempre presets** (0.9.2): los sonidos de la pista seleccionada (los presets de fábrica de cada motor y después tus presets de usuario) en todas las páginas; en las páginas **SEQ** los **patrones** (abre el cargador PHRASES con el patrón siguiente elegido: OCT+ lo carga, OCT− vuelve a la página SEQ); en **GEN** también los sonidos (V10.7.22; su GENRE es la KNOB 1 de GEN 1). En el MENU y con un botón mantenido no hace nada, salvo con **EDIT mantenido** (V10.7): salta al primer sonido del motor siguiente / anterior, con el nombre del motor en pantalla. Nunca cambia de página, de pista, de módulo ni de fila. |
| **PRESETS** (encoder) | **Siempre presets** (0.9.2): los sonidos de la pista seleccionada (los presets de fábrica de cada motor y después tus presets de usuario) en todas las páginas; en las páginas **SEQ** el **paso** (el cursor: lento un paso por detent, rápido un compás entero; "BAR 2/4 STEP 17" en pantalla). La grilla muestra 16 pasos por vez y sigue al cursor, así que **con PRESETS llegás a los pasos 17–64**; V10.8.76: al entrar a una página SEQ con LEN mayor a 16 lo dice ("PRESETS: STEPS 1-16 OF 64", las tres primeras veces después de prender); en **GEN** también los sonidos (V10.7.22; su GENRE es la KNOB 1 de GEN 1). En el MENU y con un botón mantenido no hace nada, salvo con **EDIT mantenido** (V10.7): salta al primer sonido del motor siguiente / anterior, con el nombre del motor en pantalla. Nunca cambia de página, de pista, de módulo ni de fila. |
| **KNOB 1–4** | Las cuatro tarjetas (columnas) de la pantalla. Una página que elige algo lo elige con **KNOB 1** (el paso, el compás, el slot, la etapa, el operador, el sonido del kit, la fila). Con una capa mantenida, las perillas propias de la capa. Girar rápido recorre todo el rango, despacio ajusta fino (MENU › CONTROL › KNOB ACCEL lo desactiva). En el MENU: KNOB n el ajuste de la tarjeta n. |
| **MASTER** | El volumen de salida. |
+1 -1
View File
@@ -172,7 +172,7 @@ The names below are the ones the firmware uses (the HARDWARE CALIBRATION screen
| --- | --- |
| **SELECT** (encoder) | Alone (0.9.2): **walks the section's pages**, one page a detent, as one chain, stopping at its first and last page (no levels, no zoom; see [How navigation works](#how-navigation-works-six-rules-092)). In the MENU: its rows, all four tabs in one chain. With a button held: **HOME** + SELECT **GEN**, **EDIT / SEQ / LFO / FX** + SELECT that part's **dice**, **GLO** + SELECT the **tempo**, **ENV / SCL / ARP / SAVE** + SELECT walk that section's chain from wherever you are. |
| **ALGORITHM** (encoder) | Selects the track from any page: T1–T6 (T1–T4 with TRACKS 4). The track is always ALGORITHM's (0.9.2: PRESETS no longer picks it on ENV, LFO, CHORD, ARP). In the MENU: the next / previous tab. With a layer held: its view, MAP ↔ KNOBS ↔ STATE. |
| **PRESETS** (encoder) | **Always presets** (0.9.2): the selected track's sounds (every engine's factory presets, then your user presets) on every page; on the **SEQ** pages the **patterns** (it opens the PHRASES loader with the next pattern picked: OCT+ loads it, OCT− back to the SEQ page); on **GEN** the sounds too (V10.7.22; its GENRE is GEN 1's KNOB 1). In the MENU and with a button held it does nothing, except **EDIT held** (V10.7): it jumps to the first sound of the next / previous engine, the engine's name on screen. It never changes page, track, module or row. |
| **PRESETS** (encoder) | **Always presets** (0.9.2): the selected track's sounds (every engine's factory presets, then your user presets) on every page; on the **SEQ** pages the **step** (the cursor: slow a step a detent, fast a whole bar; "BAR 2/4 STEP 17" on screen). The grid shows 16 steps at a time and follows the cursor, so **PRESETS is how you reach steps 17–64**; V10.8.76: entering a SEQ page with LEN over 16 says it ("PRESETS: STEPS 1-16 OF 64", the first three times after power-on); on **GEN** the sounds too (V10.7.22; its GENRE is GEN 1's KNOB 1). In the MENU and with a button held it does nothing, except **EDIT held** (V10.7): it jumps to the first sound of the next / previous engine, the engine's name on screen. It never changes page, track, module or row. |
| **KNOB 1–4** | The four cards (columns) on screen. A page that picks something picks it with **KNOB 1** (the step, the bar, the slot, the stage, the operator, the kit's sound, the row). With a layer held, the layer's own knobs. Turning fast sweeps the whole range, slowly fine-tunes (MENU › CONTROL › KNOB ACCEL turns this off). In the MENU: KNOB n the setting on card n. |
| **MASTER** | The output volume. |
+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.75" /* (2026-11-30) V10.8.75 (the owner: "lo implementaría solo en math"): MATH USER, a formula of one's own on a MATH track (ALGO -4 USER), JIANT BYTE's formula machine (math_user.c: its bytecode, sent by the web editor with FORMULA 100, kept by the project), four such voices at most, read at 11 kHz at most; MATH's ALGO 128 .. 191 saved and loaded (was SAVE FORMAT ERROR 4); the stop-side click (crash screen, UBOOT, update reset); V10.8.74 (the owner: "es ridículo un comando tan raro para algo que debería estar ahí mientras escroleás"): FX > GATE, REVERB's third page right after REVERB 2, KNOB 1 the reverb's GATE and KNOB 2 the delay's (fx_gt, the same values, the project's 'G' 'T' as before), drawn with its name large and two thermal columns; OCT+ held + KNOB 4 on REVERB / DLY still turns them (their "HOLD: K4 GATE" hint gone); V10.8.73 (the owner: "¿se puede llevar el OTT más al extremo? quiero que me permita hacer bajos y sonidos ultra comprimidos y saturados tipo dubstep"): FX > OTT's DEPTH 85 .. 100 an extreme zone (a smoothstep from 80; to 80 every sample as before, GEN's at most 78): both thresholds up to 9 dB higher, the drive into the soft clip up to +18 dB, its half under 0 3 dB less (asymmetric, a growl), the release faster; still never past -0.3 dBFS; V10.8.72 (the owner: "habría que implementar el OTT en el generador para los géneros más electrónicos"): GEN sets FX > OTT on the electronic genres' drums and bass (DEPTH 40 .. 60) and, a throw in two, the lead or the texture hard (60 .. 80), three tracks at most, RESOUND too; OTT's law much more extreme (up to +36 dB toward -18 dBFS, 20:1 over -22, both bands driven into the soft clip, DEPTH squared to 70 then a cubic, TIME 48: it pumps); DIST TYPE gets JIANT BYTE's formula effects RING STEPS XOR WOB SFOLD SAT (fixed code in the shaper); HOME > VISUAL under load draws every frame, lighter, never one left out; V10.8.71: FX > OTT, JIANT BYTE 43923fd4's light two-band upward / downward compressor on each track (fx.c ott_block; FX > TRACK's fourth page, HOME's tag, the project's 'O' 'T' block and the user presets' bytes; its TIME, UP/DN and X-OVER kept at DEPTH 0 too); DRONE CLAY's main-loop side built for size and the project's array blocks one writer (project.c proj_blk) for the flash; 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 SPLITLine truncated
#define FELUCCA_VERSION "V10.8.76" /* (2026-11-30) V10.8.76 (the owner: "podría haber un cartelito nomás cuando ponés SEQ que diga move steps with preset knob"): a SEQ page with the 16-step window (STEP, the DRUM grid, every page with the roll) entered with LEN over 16 says "PRESETS: STEPS 1-16 OF 64" (the window shown), the first three entries a power-on; PRESETS still says "BAR 2/4 STEP 17" as it moves; V10.8.75 (the owner: "lo implementaría solo en math"): MATH USER, a formula of one's own on a MATH track (ALGO -4 USER), JIANT BYTE's formula machine (math_user.c: its bytecode, sent by the web editor with FORMULA 100, kept by the project), four such voices at most, read at 11 kHz at most; MATH's ALGO 128 .. 191 saved and loaded (was SAVE FORMAT ERROR 4); the stop-side click (crash screen, UBOOT, update reset); V10.8.74 (the owner: "es ridículo un comando tan raro para algo que debería estar ahí mientras escroleás"): FX > GATE, REVERB's third page right after REVERB 2, KNOB 1 the reverb's GATE and KNOB 2 the delay's (fx_gt, the same values, the project's 'G' 'T' as before), drawn with its name large and two thermal columns; OCT+ held + KNOB 4 on REVERB / DLY still turns them (their "HOLD: K4 GATE" hint gone); V10.8.73 (the owner: "¿se puede llevar el OTT más al extremo? quiero que me permita hacer bajos y sonidos ultra comprimidos y saturados tipo dubstep"): FX > OTT's DEPTH 85 .. 100 an extreme zone (a smoothstep from 80; to 80 every sample as before, GEN's at most 78): both thresholds up to 9 dB higher, the drive into the soft clip up to +18 dB, its half under 0 3 dB less (asymmetric, a growl), the release faster; still never past -0.3 dBFS; V10.8.72 (the owner: "habría que implementar el OTT en el generador para los géneros más electrónicos"): GEN sets FX > OTT on the electronic genres' drums and bass (DEPTH 40 .. 60) and, a throw in two, the lead or the texture hard (60 .. 80), three tracks at most, RESOUND too; OTT's law much more extreme (up to +36 dB toward -18 dBFS, 20:1 over -22, both bands driven into the soft clip, DEPTH squared to 70 then a cubic, TIME 48: it pumps); DIST TYPE gets JIANT BYTE's formula effects RING STEPS XOR WOB SFOLD SAT (fixed code in the shaper); HOME > VISUAL under load draws every frame, lighter, never one left out; V10.8.71: FX > OTT, JIANT BYTE 43923fd4's light two-band upward / downward compressor on each track (fx.c ott_block; FX > TRACK's fourth page, HOME's tag, the project's 'O' 'T' block and the user presets' bytes; its TIME, UP/DN and X-OVER kept at DEPTH 0 too); DRONE CLAY's main-loop side built for size and the project's array blocks one writer (project.c proj_blk) for the flash; 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 WAVLine truncated
#endif
#if FELUCCA_OTA && !FELUCCA_FLASH
#error "FELUCCA_OTA needs FELUCCA_FLASH"
+18
View File
@@ -711,6 +711,8 @@ static int lens_on(void) { return fam_on(FAM_SEQ); }
static int save_on(void) { return fam_on(FAM_SAVE); }
static void page_entered(void);
static uint32_t lz_hint_ms __attribute__((section(".pool"))); /* (V10.8.54) the page entered at: its OCT+ hint (ui_draw.c lz_hint) */
static uint8_t seq_tip_n __attribute__((section(".pool"))); /* (V10.8.76) SEQ's PRESETS tip said, this power-on (page_entered) */
static int seq_roll_view(const page_t *pg); /* (ui_graph.c) */
static void page_flash(void);
#define FX_NMOD 6u
static const char *const FX_MOD[FX_NMOD] = {"DELAY", "REVERB", "CHORUS", "SLICER", "PUNCH IN", "MASTER"}; /* (snd2: MASTER */
@@ -928,6 +930,22 @@ static void page_entered(void)
ui.hot_t = 0; /* clear the previous page's emphasis */
ui.act = pg->graph == GR_USER ? 4u : 0u; /* the save screen is ready for OCT+ */
ui.force = 1;
if (song.seq_mode && seq_roll_view(pg) && TSEL->p[P_SLEN] > 16 && seq_tip_n < 3u) { /* (V10.8.76, the owner: "un
* cartelito cuando ponés SEQ") a SEQ page with the 16-step window, LEN
* over 16: the knob that moves it said, the window shown; the first 3
* entries a power-on (PRESETS: "BAR 2/4 STEP 17" as it moves) */
char b[24], *p;
int32_t n = TSEL->p[P_SLEN], s = (int32_t)ui.bank * 16;
seq_tip_n++;
fmt_int(b, s + 1);
p = b + str_len(b);
*p++ = '-';
fmt_int(p, s + 16 < n ? s + 16 : n);
p += str_len(p);
str_cpy(p, " OF ", 5);
fmt_cat(p, n);
ui_say("PRESETS: STEPS ", b);
}
}
static int step_on(const step_t *st) { return st->time == ST_NOTE && (st->n || st->hit); }
+9 -3
View File
@@ -674,7 +674,7 @@ enum { S_HOME, S_HOME_IDLE, S_MESSAGE, S_MESSAGE_KEY, S_MESSAGE_NOFILE, S_PRESET
S_V6_ANALOG, S_V6_ANALOG_SQR, S_V6_ANALOG_RING, S_V6_ANALOG_QUIET, S_V6_ANALOG_HOME, S_V6_ANALOG_FULL, S_V6_FM6, S_V6_FM6_ALG32, S_V6_FM6_OP, S_V6_FM6_OP2, S_V6_FM6_ENV, S_V6_FM6_ENV_REL, S_V6_FM6_HOME, S_V6_FM6_FULL, S_V6_WHEEL, S_V6_WHEEL_FAST, S_V6_WHEEL_HOME, S_V6_WHEEL_FULL, S_V6_NOISE, S_V6_NOISE_LFSR, S_V6_NOISE_WHITE, S_V6_NOISE_HOME, S_V6_NOISE_FULL, S_V6_PHASE, S_V6_PHASE_RING, S_V6_PHASE_HOME, S_V6_PHASE_FULL, S_V6_LOFI, S_V6_LOFI_FLOAT, S_V6_LOFI_PLS, S_V6_LOFI_HOME, S_V6_LOFI_FULL, S_V6_VOICE_FULL, S_V6_ANIMAL_FULL, S_VX_TRACT_A_FULL, S_VX_TRACT_M_FULL, S_VX_TRACT_A_EDIT, S_VX_TRACT_M_EDIT, S_VX_TRACT_A_HOME, S_VX_TRACT_M_HOME, S_V6_STRING, S_V6_STRING_BOW, S_V6_STRING_HOME, S_V6_STRING_FULL, S_V6_ADD, S_V6_ADD_BELL, S_V6_ADD_HOME, S_V6_ADD_FULL, S_HOME_MUT, S_HOME_FACES,
S_MIXER_T4, S_HOME_T4, S_MOCK_HOME, S_MOCK_PRESETS, S_MOCK_SEQ, S_MOCK_DRUM, S_MOCK_MIXER, S_MOCK_DIALOG, S_MOCK_MENU,
S_TOAST_ENV, S_TOAST_MUTATE, S_TOAST_MUTATE_HINT, S_TOAST_MOTION, S_TOAST_MOTION_LOCKS, S_TOAST_PUNCH, S_TOAST_AUTO_LIST,
S_TOAST_AUTO_LIST_DRUM, S_TOAST_PATTERN, S_TOAST_FM6_OP, S_TOAST_ANALOG, S_COUNT };
S_TOAST_AUTO_LIST_DRUM, S_TOAST_PATTERN, S_TOAST_FM6_OP, S_TOAST_ANALOG, S_TOAST_SEQ_TIP, S_TOAST_SEQ_TIP_DRUM, S_COUNT };
static const char *const S_NAME[S_COUNT] = {"home", "home_idle", "message", "message_key", "message_nofile", "presets", "presets_nofav", "user",
"phrases", "project", "tools", "song_empty", "song", "step", "pattern", "chance", "comp", "comp_trig", "comp_echo", "euclid", "euclid_mutate", "scene", "nudge_micro", "morph", "dx_image", "dx_send", "page_flash", "page_flash_home", "fugue", "motion", "drum",
"drum_hand", "drum_cym", "mixer", "mixer_pan", "env", "env_dest", "lfo", "mod", "fx", "slicer", "slbus", "slpitch", "dly", "scl", "shift", "arp",
@@ -711,7 +711,7 @@ static const char *const S_NAME[S_COUNT] = {"home", "home_idle", "message", "mes
"v6_analog", "v6_analog_sqr", "v6_analog_ring", "v6_analog_quiet", "v6_analog_home", "v6_analog_full", "v6_fm6", "v6_fm6_alg32", "v6_fm6_op", "v6_fm6_op2", "v6_fm6_env", "v6_fm6_env_rel", "v6_fm6_home", "v6_fm6_full", "v6_wheel", "v6_wheel_fast", "v6_wheel_home", "v6_wheel_full", "v6_noise", "v6_noise_lfsr", "v6_noise_white", "v6_noise_home", "v6_noise_full", "v6_phase", "v6_phase_ring", "v6_phase_home", "v6_phase_full", "v6_lofi", "v6_lofi_float", "v6_lofi_pls", "v6_lofi_home", "v6_lofi_full", "v6_voice_full", "v6_animal_full", "vx_tract_a_full", "vx_tract_m_full", "vx_tract_a_edit", "vx_tract_m_edit", "vx_tract_a_home", "vx_tract_m_home", "v6_string", "v6_string_bow", "v6_string_home", "v6_string_full", "v6_add", "v6_add_bell", "v6_add_home", "v6_add_full", "home_mutate", "home_faces",
"mixer_tracks4", "home_tracks4", "mock_home", "mock_presets", "mock_seq", "mock_drum", "mock_mixer", "mock_dialog", "mock_menu",
"toast_env", "toast_mutate", "toast_mutate_hint", "toast_motion", "toast_motion_locks", "toast_punch", "toast_auto_list",
"toast_auto_list_drum", "toast_pattern", "toast_fm6_op", "toast_analog"};
"toast_auto_list_drum", "toast_pattern", "toast_fm6_op", "toast_analog", "toast_seq_tip", "toast_seq_tip_drum"};
/* the scenes of the UI design screens: the state the UI-redesign
* prototype drew them from (its setup(): two pattern tracks, the drum pattern on track 4, a synthetic scope),
@@ -1026,10 +1026,16 @@ static void setup(int s)
if (s >= S_TOAST_ENV) { /* (0.9.5) a toast over a page with words to its foot: the pill keeps clear
* of them (or is not drawn: the header says it), never over one (hk_overlay) */
static const uint16_t BASE[] = {S_ENV, S_MUTATE, S_MUTATE, S_MOTION, S_MOTION_LOCKS, S_COUNT, S_AUTO_LIST,
S_AUTO_LIST_DRUM, S_PATTERN, S_V6_FM6_OP, S_V6_ANALOG}; /* (0.9.6: over the creatures too) */
S_AUTO_LIST_DRUM, S_PATTERN, S_V6_FM6_OP, S_V6_ANALOG, S_STEP, S_DRUM}; /* (0.9.6: over the creatures
* too; V10.8.76: SEQ's PRESETS tip, the roll and the DRUM grid) */
int b = BASE[s - S_TOAST_ENV];
if (b == S_COUNT) { setup(S_HOME); go_page(GR_PUNCH); }
else setup(b);
if (s >= S_TOAST_SEQ_TIP) { /* (V10.8.76) the page entered with LEN 64: ui.c page_entered's tip */
TSEL->p[P_SLEN] = 64; ui.cursor = 20; ui.bank = 1; seq_tip_n = 0;
page_entered();
return;
}
if (s == S_TOAST_MUTATE_HINT) { /* (MUTATE's hint, dwelt on: ui_layer.c hint_tick) */
ui_message("OCT+ KEEP GLO+A4 FREEZE");
str_cpy(ui.msg2, "SEQ+D5 REVERT GLO+B4 ALL", sizeof ui.msg2);
+44
View File
@@ -214,6 +214,8 @@ static void ui_power_on(void)
if ((dice_secs >> i) & 1u) memset(proj_slot[i].raw, 0, 4);
dice_secs = 0;
memset(&ui, 0, sizeof ui);
seq_tip_n = 3; /* (V10.8.76) SEQ's PRESETS tip as said: the scenes and checks before it
* as they were (test_seq_tip and the toast_seq_tip renders: 0) */
cin_left = cin_total = 0; /* (no count-in) */
memset(&nm, 0, sizeof nm); /* NAME closed, no project name */
memset(glane, 0, sizeof glane); gl_mono = 0; gl_touch(); /* (seq2f) no global lane; V10.8.21: G.COMP gone */
@@ -14253,6 +14255,47 @@ static int test_split_scope(void)
#include "song_save_ui_cases.h"
/* (V10.8.76, the owner: "un cartelito cuando ponés SEQ que diga move steps with preset knob") a SEQ page with the
* 16-step window entered with LEN over 16: "PRESETS: STEPS a-b OF n", the window shown; not at LEN 16, not on a page
* without the window (EUCLID), the first three entries a power-on; PRESETS' own "BAR 2/4 STEP 17" as it moves */
static int test_seq_tip(void)
{
int bad = 0, ok;
ui_power_on();
seq_tip_n = 0;
my_steps(TSEL); /* (LEN 32) */
TSEL->p[P_SLEN] = 16;
go_page(GR_ROLL);
bad += check("V10.8.76 SEQ tip: LEN 16, STEP entered: nothing said", !ui.msg_t && seq_tip_n == 0u);
go_home(); frame();
TSEL->p[P_SLEN] = 64;
go_page(GR_ROLL);
bad += check("V10.8.76 SEQ tip: LEN 64, STEP entered: PRESETS: STEPS 1-16 OF 64", msg_is("PRESETS: STEPS 1-16 OF 64"));
frame();
turn(EN_PRESET, 4); /* (fast: the next bar) */
ok = ui.bank == 1u && msg_is("BAR 2/4 STEP 17");
bad += check("V10.8.76 SEQ tip: PRESETS moves the window, its bar said (BAR 2/4 STEP 17)", ok);
go_home(); frame();
TSEL->p[P_SLEN] = 40;
go_page(GR_ROLL);
bad += check("V10.8.76 SEQ tip: the window shown, LEN 40: STEPS 17-32 OF 40", msg_is("PRESETS: STEPS 17-32 OF 40"));
cursor_set(35); go_home(); frame();
go_page(GR_EUCLID);
bad += check("V10.8.76 SEQ tip: EUCLID (no step window): nothing said", seq_tip_n == 2u);
go_home(); frame();
set_engine_of(TSEL, ENGI_DRUM);
TSEL->engine = TSEL->eng_req;
TSEL->p[P_SLEN] = 40;
go_page(GR_ROLL); frame();
bad += check("V10.8.76 SEQ tip: the DRUM grid, its last window: STEPS 33-40 OF 40", grid_on() &&
msg_is("PRESETS: STEPS 33-40 OF 40"));
go_home(); frame();
ui.msg_t = 0;
go_page(GR_ROLL);
bad += check("V10.8.76 SEQ tip: three a power-on, the fourth entry says nothing", seq_tip_n == 3u && !ui.msg_t);
ui_power_on();
return bad;
}
int main(void)
{
#ifdef SONG_SAVE_ONLY
@@ -14266,6 +14309,7 @@ int main(void)
int bad = 0;
bad += test_song_save_ui();
bad += test_seg_missing();
bad += test_seq_tip();
bad += test_eq_tape_load();
bad += test_comp_cards();
bad += test_string_excite();
+1 -1
View File
@@ -1219,7 +1219,7 @@ ott_put 80 text *
page_big 92 text cv_text face_has text_w
page_desc 2432 text eu_of page_desc_v str_cpy str_len str_nth 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_entered 352 text cur_page ev_fix fmt_cat fmt_int fx_mod_of fx_trk_k lock_page_ok seq_roll_view str_cpy str_len tsel_p ui_say
page_first 28 text
page_flash 32 text
page_flash_draw 424 text cur_page cv_begin cv_blit cv_text cv_text_r draw_crumbs foot_h foot_y lz_on memcpy str_cpy trk_engp tsel_p