Commit Graph
286 Commits
Author SHA1 Message Date
JUAN JIANT 329dd557ae Validate complete ADD track generator, lossless UI packing and unchanged song/audio behavior 2026-11-05 22:43:03 -03:00
JUAN JIANT 7a4ef77a64 Make held fills replace sequencer notes and record replacement cells; non-releasable memory/layout probe 2026-11-05 21:43:54 -03:00
JUAN JIANT f32f46ce0f Pin verified DRUM/VOICE audio layout; require ordinary target checks and compare the UI with matching baseline tables 2026-11-05 21:32:47 -03:00
JUAN JIANT 989a7a0c57 Give every key its own fill; quantize choke changes and add recorded velocity humanization 2026-11-05 21:25:09 -03:00
JUAN JIANT 586280ca94 Release shared fill notes only after the final physical owner; document ADD beta controls and limits 2026-11-05 21:12:50 -03:00
JUAN JIANT 58c08a3229 Update RESTORE LAST on explicit in-place saves; verify LOOP and draft SONG survive reboot 2026-11-05 14:42:45 -03:00
JUAN JIANT ded14148f1 Pin the validated ADD draft layout and require ordinary builds; strengthen source-project preservation tests 2026-11-05 14:36:37 -03:00
JUAN JIANT effb7f7edc Pack long UI-only strings into freed layout gaps without moving audio code or constants 2026-11-05 14:21:44 -03:00
JUAN JIANT 39e32f26ea Keep draft source markers clean and verify save/erase UI; free a grown UI gap 2026-11-05 13:44:48 -03:00
JUAN JIANT d9d68f752f Generate songs in a RAM draft; explicit loop/song overwrite and project erase 2026-11-05 13:40:06 -03:00
JUAN JIANT 19ceeed496 Keep matrix route numbers distinct from track numbers; show scope in the destination card 2026-11-05 12:22:13 -03:00
JUAN JIANT 1a96dd71ab Pin verified contextual matrix layout and run ordinary build and compatibility checks 2026-11-05 12:17:14 -03:00
JUAN JIANT 854a921fdc Preserve selected matrix route animation and its UI contract 2026-11-05 10:55:50 -03:00
JUAN JIANT e16d11b9d5 Replace decorative generator notes and matrix animation with compact control displays 2026-11-05 10:49:52 -03:00
JUAN JIANT 350b2a66b0 Pin verified split audio layout and validate ordinary firmware build 2026-11-04 19:58:17 -03:00
JUAN JIANT a8b34914bc Bound transposed MIDI ownership in LOWBUF and preserve the pool safety reserve 2026-11-04 19:52:23 -03:00
JUAN JIANT 5ef0511334 Compact split UI, isolate parameter metadata, and route expression to both zones 2026-11-04 19:42:35 -03:00
JUAN JIANT cad33d5e01 Specify split for both physical and external MIDI keyboards [skip ci] 2026-11-04 16:30:26 -03:00
JUAN JIANT ed2c637e94 Preserve VOICE lyrics in USER presets and document keyboard split proposal 2026-11-04 16:29:32 -03:00
JUAN JIANT e147a989f6 Preserve the complete FIT candidate source alongside the probability correction 2026-11-04 15:36:07 -03:00
JUAN JIANT 4d23857b9f Preserve per-step probability through SEQ and STUTTER replacements
Previously these components forced legacy 100%, even on a step configured at 0%. Keep the destination probability before overwriting the rendered copy, including aliased C.LEN input. Test the production sequencer on ANALOG and DRUM at 0/25/50/100 percent. Leave punch-in FX unchanged per the user's verified emulator report.
2026-11-04 15:34:37 -03:00
JUAN JIANT 04c3de3bce Bound live clock changes and keep long fitted gates exact without overflow 2026-11-04 10:32:36 -03:00
JUAN JIANT 2463a3b79d Add per-track FIT and SPAN for exact rational loop durations
Add SEQ > LENGTH > RHYTHM (LEN, SPAN, FIT, DIV), a no-drift rational clock and fitted gates. Save the per-track settings in a backward-compatible optional project extension and stage them with arrangement sections. Keep parameter IDs and track size unchanged. Validate 18:16 synchronization, swing, microtimed audio, NOR persistence and SAVE SONG AS; build an isolated candidate without deploying installers.
2026-11-04 10:22:47 -03:00
JUAN JIANT 635effe287 Restore complete V10.6c source tree around the song-save changes
Keep all unmodified public firmware, build tools, assets and web files in the candidate tree.
2026-11-04 07:30:19 -03:00
JUAN JIANT 243258059e Add SAVE SONG AS to copy complete songs between projects
Copy sections A-D, unsaved live edits, current globals, arrangement scenes, per-track sources and variations into a selected project. Confirm complete-song replacement, preserve the source, and keep the naming dialog on save failure. Validate NOR persistence and UI flows; build a candidate without deploying installers.
2026-11-04 07:28:45 -03:00
Claude d9f63ad05d V10.15: VOICE's English dictionary in the Bluetooth segment
docs/BLE_FEASIBILITY.md section 10.

- LY_EN_DICT (13,346 B) and LY_EN_IDX (524 B) in the segment (gen_lyrics.py
  emits LY_DICT_SEC; sing.c makes it .btapp.rodata in the firmware), inside its
  CRC-32.
- The segment is checked in fm1_main before felucca_init (whose sing_init reads
  the dictionary), under the splash: the plain XIP window, the CRC-32;
  sing.c ly_en_ok from it. The reads (sy_en_find / ly_at only: the main loop,
  and the audio for a word not resolved there) are plain XIP data reads, as of
  the app's flash.
- Without the segment (NO SEG): sy_en_find returns before any read; English
  words by the letter rules (sy_en_rules), the generator's too; VOICE sings on.
- tests/voice_test.c: without it, all 2,095 words exactly as the rules read
  them, sing_init again; with it back, the dictionary's.
- tools/audio_layout.txt repinned (FELUCCA_REPIN=keep).

App 567,760 B of 584,336 (16,576 B free); RAM .data+.bss 95,564 B; pool spare
9,536 B; segment 47,128 B (12 of 18 sectors).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-31 21:18:18 +00:00
Claude 2abf321ecc V10.14: PROX, the Bluetooth proximity source
docs/BLE_FEASIBILITY.md stage 2 step 6 (section 9 added: as built).

- The RSSI word of every good packet on the link (ble_hw_wl82.c hw_rx_service:
  one hook, BLE_HW_RX_RSSI) into a 16-word ring in the segment (bt_seg_rssi).
- bt.c bt_prox_step (main loop, in the segment): level = (w & 63) + (w >> 8 &
  63), median of five, one pole (~50-70 ms); held without packets; eased to 0
  (~0.3 s) without a central or with BLUETOOTH OFF. FAR / NEAR in
  favorites.factory[6][22..23] (always 0 before: not calibrated, PROX 0), mapped
  to 0..1, clamped, either direction.
- mod.c MS_PROX ("PROX" after NOISE, unipolar): every SRC list, the web editor.
- MENU > SYSTEM > BLUETOOTH ON (radio running): OCT+ opens PROX's page (a meter,
  %, the level and the raw word, FAR / NEAR); OCT- stores FAR, OCT+ NEAR; SELECT
  back. The lens keeps the menu's tabs and cards for it (ui.c lz_on / lz_fam).
- ABOUT's AUDIO LOAD block in the segment too (about_load).
- tools/build.py: FELUCCA_REPIN=keep (the order recorded before, addresses anew:
  the sound stays within ~0.7 KB of V10.12's instead of the compiler's new order
  moving the engines up to 37 KB); a REPIN records the sound's tables after the
  UI's left .rodata. tools/audio_layout.txt so repinned.
- Tests: ui_test (PROX's level, page, calibration, map, outlier, gap,
  disconnect), mod_test (PROX on CUT), ui_render (menu_prox, menu_prox_off).

App 581,616 B of 584,336 (2,720 B free); RAM .data+.bss 95,564 B; pool spare
9,536 B; segment 33,260 B (9 sectors).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-31 21:11:10 +00:00
Claude 4a33ce2e3b V10.13: BLE-MIDI in/out
docs/BLE_FEASIBILITY.md stage 2 step 5 (section 8 added: as built).

- In: what a central writes, decoded by the stack (ble_midi.c), goes into the
  one MIDI input ring as USB's does (firmware/bt/bt_midi.h bt_midi_accept:
  channel messages, F8 FA FB FC; no SysEx), source 1 = USB: notes, CC, PC,
  bend, CLK USB, LEARN, ROUT, MIDI MAP alike. src/bt.c bt_midi_rx enqueues with
  the interrupts off (the BLE interrupts at priority 2 are preempted by TIMER5,
  the ring's other producer). No change to the sound's code for input.
- Out: usb.c midi_out_event (everything MENU > CONTROL > MIDI OUT lets out)
  also fills bt_oq (64) while a central listens; the stack packs it each
  connection event (header, timestamps from TIMER4, running status). The sound's
  code moved 64 B (tools/audio_layout.txt repinned).
- Flash: the app's cold constants / code can live in the segment (bt.c
  BTAPP_RO / BTAPP_FN, app.ld .btapp.* inside the segment's CRC-32), checked once
  at power-on (bt_boot, after the splash). MENU > ABOUT's THE PROJECT, CREDITS
  and LICENSES moved there; NO SEG: ABOUT without them.
- MENU's overview tiles (the slide between tabs): a bottom tile shows seven rows
  (SYSTEM's eighth, from V10.12, ran off the panel: 595 ui_render lint findings).
- Tests: tests/ble_midi_test.c (fm1-base's codec test, credited in LICENSING.md),
  tests/bt_midi_test.c (packets as apps send them, the out ring and its packets),
  tests/ui_test.c (ABOUT's lines); run_tests.sh runs the two new ones.

App 582,140 B of 584,336 (2,196 B free); RAM .data+.bss 95,564 B (+284); pool
spare 9,568 B; segment 30,660 B (8 sectors).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-31 20:35:32 +00:00
Claude 9f0a4d81c9 V10.12: MENU > SYSTEM > BLUETOOTH (BLE-MIDI peripheral in a segment at 0xEA000)
docs/BLE_FEASIBILITY.md route C2, stage 2 step 3 (section 7 added: as built).

- firmware/bt/: Optimist's BLE stack (Henri David; the hardware-tested copy in
  charlesvestal/fm1-base bt/ble 4039a8b, GPL-3.0-only OR MPL-2.0, unchanged,
  headers kept) and bt_seg.c, its glue, built as a unit of its own. Peripheral
  only: advertises "JIANT FM-1" with the BLE-MIDI service UUID, connectable; no
  scanner, no central, no SMP pairing, no LL encryption, BLE_DIAG 0, 27-octet
  PDUs (as Melodee). MIDI is not routed yet (dropped / nothing sent).
- hal/fm1_ble.h, fm1_ble_rf.h: Melodee's (Kerem Kilic, GPL-3.0-only: the
  iterative start-up replay, the crystal ramp's burst in .ram_text);
  hal/fm1_rf_cal.h and ble_rf_tables_v15.h: felucca-bsp's (Apache-2.0).
  hal/fm1_irq.h: FM1_IRQ_EXTERN for the second unit (the crash record and the
  fault entry stay the app's).
- app.ld: BTSEG at XIP 0x020E6000 = flash 0xEA000 (72 KiB) for the segment's
  header + code + constants (27,344 B, 7 sectors); its RAM in the pool (3,336 B)
  but the 1,508 B baseband block (the radio's DMA) in .bss; .noinit.* after
  .noinit (no record moves). The PC guard's window reaches _bt_end.
- tools/build.py: compiles bt_seg.c, writes build/bt.bin (header: magic, length,
  CRC-32) and the same length / CRC-32 into the app's bt_want; refuses
  initialised data in the segment and a ramp burst outside .ram_text; the
  package carries bt.bin; the layout recorder ignores the segment.
- src/bt.c: MENU > SYSTEM > BLUETOOTH OFF (default) / ON, saved in TRIO's
  retired favourites row ([6][24..31]: a mark, ON, the static random address
  made once at the first start). ON only while stopped ("STOP FIRST"), at once
  or at power-on when saved; the value reads ADV / CONN and the connections since
  power-on, NO SEG (segment missing or of another build), FAILED. OFF stops
  advertising and closes a link. Boot guard: bt_crumb (.noinit) set across the
  start; a reset in it, or a crash / watchdog reset while it ran, turns it OFF
  at the next power-on with a message.
- src/bt_hw.c: the plain XIP window set (fl_plain_window_init, JIANT never set
  it), the segment's header and CRC-32 checked, then the start with the
  interrupts off, the second core parked and the audio buffer silent: the
  vectors (IRQ 45 / 29 at priority 2, below ALNK0 3 and TIMER5 4), the live
  calibration (records 106-108 the SDK board's constants, 187 measured), the
  stack, advertising.
- MENU > ABOUT's credits, LICENSING.md, LICENSES/MPL-2.0.txt: Optimist, Melodee,
  felucca-bsp, JieLi.
- tests/ui_test.c: SYSTEM has 8 rows (31 in all); the BLUETOOTH row, STOP
  FIRST, the saved bytes, NO SEG on the host, the boot guard.
- tools/audio_layout.txt: repinned (the UI code before the sound grew).

App 584,208 B of 584,336 (+1,096 B, 128 B free); RAM .data+.bss 95,280 B
(+1,524); pool spare 9,568 B (-3,360).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-31 19:33:17 +00:00
Claude 9fcdc0b98b docs: BLE feasibility study (stage 1, no firmware change)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-31 17:16:20 +00:00
JUAN JIANT 3fbd7be626 feat(rec): accessible undo and recording quantization for ADDITIVE 2026-10-27 16:34:36 -03:00
Claude 7f2019e9f5 docs: the cheat sheets at v0.9.9-par9: STRING and ADD (eleven engines), LOFI's 48 formulas and SYNC, TAPE and the master's EQ, the FX layer's LOOP 3/5/7 and GLITCH on the grid
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-26 19:48:32 +00:00
Claude 93f3e69953 docs: next week's list (V16 install, the hiss, REC latency, the rest)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-26 14:08:46 +00:00
Claude 7b3e4a88e3 docs: the hiss: the uninterpolated tables are only ADD's and WHEEL's; the shared chain first
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-26 03:23:12 +00:00
Claude de3af315ba docs: the hiss on a pure sine (SNR 76 dB, ~12.5 bits, before the fader); the suspects for next week
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-26 03:21:45 +00:00
Claude 949ec3ce4e docs: the hiss, not the part's filter (CUT changes nothing); the two tests on the device; hiss_probe CUT / RES
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-26 03:20:08 +00:00
Claude ed48966a9e docs: the hiss measured (SNR ~58 dB under a held ANALOG note, mostly before the fader; reverb +9 dB on quiet parts); tests/hiss_probe.c
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-26 03:18:44 +00:00
Claude 181bf9ccb0 docs: the owner's generator references (EBM, darkwave, italo) measured, for the next round
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-25 22:28:51 +00:00
Claude 252023edfa p2: the version says v0.9.9-par2 (0.9.18's parity, phase 2); the navigation map and the controls cheat sheet anew
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-25 17:32:15 +00:00
Claude 692392d6de p2: VOICE draws its vocal tract alive ("Tracto vivo", main 092a379): a glowing tube in a ghost of a head, the jaw down
As main's: framed close about the mouth and the neck, the head's outline a ghost, the tract a two-walled glowing tube
(lips, palate, velum, pharynx, glottis), glottal pulses travelling up it (through the nose for m n ng), the vocal folds
as a V, waves leaving the mouth, a nod at each vowel's onset; the jaw turns downward about the condyle. The CT's tables
and scan line gone; vx_curve's arcs shared (vx_bez).
Fixed on the way: vx_curve's point buffer was main's 16-point one (2 * 49); seq-v2's STRING creature draws a closed
curve of 24 points (vx_string, its silk): a stack overrun (ui_render under ASan: stack-buffer-overflow in vx_bez); now
2 * (1 + 3 * 24).
Tests: ui_test's tract check (main's), ui_render scenes vx_tract_* (0 lint; the whole ui_render clean under ASan).
MANUAL EN / ES, README. UI only, nothing in the audio path. Flash +812 B (574988 -> 575800 B, 8536 B free). The layout
re-recorded (FELUCCA_REPIN=1: UI code between the sound's pinned runs grew), with item 2's repin one device check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-25 16:51:25 +00:00
Claude 7c9754d1b3 p2: GLO > LIVE, the six sequences in parallel with live modifiers (MANO + RIELES), main 0.9.11 on seq2
As main 5c5e976 / 0a84807 with its fixes to 0.9.18 (43cda5f: no track picked, ctz(0); 0f5e834: LIVE RATCH inside its
step, seq-v2's step_parts already so): a first GLO group LIVE (LIVE . MIX . GLOBAL . SYSTEM . COMPS; GLO still opens
MIXER at power-on, NAV_DEF), MANO (the keys a board, song.grid 3) and RIELES (six rails, playhead, ghost, window).
seq_live.c / ui_live.c from main; seq.c hooks as main's (live_q before the tracks, live_adv in seq_tick, the next step
as a JUMP, THIN in step_rolls, RATCH in step_parts, OCT in seq_step, recording at the ghost's place). On seq2:
- the FX layer's 1/2 TEMPO and LOOP 3 / 5 / 7 (pfx.c) are LIVE's RATE /2 and a LOOP of the last N steps now (main 0.9.18
  did the same for 1/2 TEMPO): seq_tick's own halving, its LOOP branch and pfx_resync gone, LIVE's ghost brings the
  track back where it would be; the PLAYHEADS follow a slower RATE and skip what they missed when back in phase
  (live_heads, snd6's for 1/2 TEMPO, generalised); a faster RATE leaves them in time. perform_test unchanged, passes.
- a LOOP's window wraps past the pattern's end (LOOP 3 on step 1: 15 16 1); seq-v2's RANDOM held stays its own.
- the components (seq2d) keep acting on the step that sounds; a component's JUMP first, as main.
- system_init clears LIVE through live_reset (seq_live.c), so the tests without the UI link.
Not saved; nothing in the audio render. Tests: tests/live_test.c from main (without 0.9.14's macros) + the PLAYHEADS
under /2 and RETURN; ui_test's GLO chains (LIVE first, 9 pages, NAV_MAX 24 kept); ui_render scenes live_* (0 lint);
cpu_vg seqtick/plain 68, seqtick/live 85; run_tests.sh runs live_test. MANUAL EN / ES § 11 and the GLO tables, README,
the cheat sheet's text.
Flash +6676 B (with the dice's room given back: 568312 -> 574988 B, 9348 B free); RAM code -204 B (pfx_resync out of
RAM); .bss +24 B; pool spare 10944 -> 10688. FELUCCA_REPIN=1 (seq_tick, seq_step, keyboard_block, rec_*, pfx_block,
events_block): needs the device check (load, crackle) as every repin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-25 16:43:37 +00:00
Claude a10f253f03 p2: SEQ + SELECT dices with GEN's generator on the song's harmony; song_dice.c's own generator gone (main caab8fc), -5712 B
dice_seq (gen.c) writes the track's part with gen_role: on the piece's plan where a GEN piece plays in the track's key
(its role in the piece kept, TEXTURE aside), else on choices made up for it (gen_pick, factored out of gen_make with the
same calls in the same order: every GEN piece bit for bit, 135 fingerprints compared). Never what the track played
before the press (90 % of its steps, over its root) nor one of its last four: another stream, and from the second try
the role's figure from the whole generator (a lead's way, an arp's order, the chords' play, the drums' family), the
bass's archetype moved (main 0.9.18's gba_vary, for the dice only: GEN's pieces unchanged).
song_dice.c keeps the helpers GEN shares (roles, dhold, euclid, dname_has, dlevel, dlen ..., CPU TEST); DSTYLE, its
drum bars (dice_bars.h empty, gen_drum_maps.py as main's), dice_drums / bass / pads / lead / arp / texture / sound gone.
The old generator's statics and small constants kept as room (dh_r*, DH_C*): the merged statics' and constants'
places are recorded; dsq_last in .bss.dice. No repin.
Measured (scratch harness, 20 presses a genre on every genre's piece; tests/dice_metrics.c from main): lead strong
steps on the chord tones 64 -> 88 %, steps 14 -> 47 %, leaps past a fifth 12.5 -> 2 %; bass on chord tones 65 -> 93 %;
the same as the press before 0-1 % (was 0-2 %); near one of the 8 before: lead 10 -> 10 %, bass 9 -> 27 %, arp 11 ->
49 % (an arp on the piece's own chords), drums 3 -> 10 %. MANUAL EN / ES.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-25 16:14:43 +00:00
Claude f4e83a1613 p1: DRUM-X held octaves half as fast, twice over (main 924355c, 1eb7444)
DXO_RAT 1 1 1 2 (was 1 2 4 8): OCT +1 REPEAT 1/2, the hit every other step while held (dxo_t.half / ph); +2 REPEAT,
once a step (a roll at the step rate); +3 RATCHET x2; the MIDI bands 82..127 the same. Recorded as heard: the hit on
every step held into (+1 every other one), +3 with its lane's x2. Main 0.9.18's +3 "x4 at the spilled rate" needs
its RATCH spill, which seq-v2 does not have: not ported. drumx_oct_test as main's; MANUAL EN / ES tables.
Flash +36 B. FELUCCA_REPIN=1 (dxo_tick, dxo_on and DXO_RAT pinned).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-25 14:48:26 +00:00
Claude d15e105c64 p1: MIDI LEARN with MIDI MAP FACTORY / CUSTOM ADD / CUSTOM (main 0.9.12's LEARN, extended)
MENU > CONTROL > MIDI MAP (editor id 25): FACTORY the fixed CC map alone, as ever (the default; 0 in every older
setting); CUSTOM ADD the learned CCs too, a learned CC over the factory meaning of it; CUSTOM the learned CCs alone.
MENU > CONTROL > LEARN: SEL TRACK / FIXED TRK arm it when the MENU closes: turn a knob on any page that edits a
track's parameter (knob_cap), then move a controller's CC: learned, fixed to that track or following whichever
track is selected when it comes (per mapping); then the next knob. CLEAR ALL clears them at the MENU's close.
Learning with the map at FACTORY sets it to CUSTOM ADD. Ten CCs, three bytes each, with MIDI MAP in DIGITAL's
retired favourites row (bytes 1..31; its byte 0 the old stars' migration, now the only byte cleared): kept with
the settings and the editor's backup, no project format change. CC0/32, 1, 6/38, 11, 64, 96..101, 120..127 never
learned ("CC64 RESERVED"). midi_control.c (ISR side: midi_learned, midi_cc_set) and midi_learn.c (UI) from main's.
LOAD moves to MENU > AUDIO (as main 0.9.12) so SYSTEM's tile holds its seven rows, and the MENU tiles space seven
rows 7 apart: ui_render's 595 menu_slide lint findings (on seq-v2 before this too) are gone, 0 now.
Tests: ui_test MIDI LEARN (FACTORY, FIXED TRK, SEL TRACK, reserved, ADD over CC7, CUSTOM alone, the settings round
trip, CLEAR ALL), MENU tabs 8 8 7 7; editor_test 26 settings, MIDI MAP id 25, LOAD's tab. Navigation maps
regenerated. Flash +1492 B. FELUCCA_REPIN=1 (midi_control runs in the audio ISR; the MENU's switch tables).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-25 14:44:21 +00:00
Claude e8372dceac JIANT 0.9.9-gen3: the generator's rules by role, each genre after its reference, the parts given room, the mix louder
The owner on gen2: ACID HOUSE perfect; "the genres in general give results very far from each genre; leads super static
with full sustain, no modulation at all; quite rudimentary". The architecture kept (the 18 B archetypes, GGRAM, the
clean base); the data and the rules rewritten.

Envelopes by role (gen_tables.c ENV_RULE, gen.c gen_sound clamps ATK DEC SUS REL whatever the archetype): a LEAD's
sustain 44..75 % (SUS 56..95: never the organ's or the choir's 127 again), a medium decay to it, a short release; a lead
whose archetype is a bell, an EP, a pluck (its sustain under 56) a pluck's; an ARP a pluck (attack 0..7, decay
32..79, SUS 0..39); the CHORDS stabbed (STAB PULSE DUB SKANK COMP BROKEN TRANCE: GSTAB) short, held (HOLD SWELL
DRONE) slow in and out; the envelope on the filter (ENV > FILTER) at least 6 on a bass, a lead, an arp. SR_LEAD,
SR_VOXLEAD, SR_HOOVER, SR_SUPERSAW's sustain ranges written to it.
Movement: every lead either the gen2 vibrato (PITCH 1, 5.1..6.3 Hz, faded in) or a filter LFO slow (0.1..0.5 Hz) and
shallow (3..8); a stab's filter swept over 2 or 4 bars (40 %, 70 % where the genre orbits); the lead and the arp
accented (the bar's one +14, the beats +4, the offbeats -10 / -4); the arp's components now the SEQ walker too, and
their condition 1:2 2:2 1:4 3:4 (55 %); MUTATE (PATTERN, LOOP 4, ORBIT) on TECHNO and TECH HOUSE too.

Each genre after a reference, written beside its row (gen_tables.c GENRE): Chicago / NY house (909, M1 piano and organ,
swing ~56 %), Larry Heard's deep house (~57 %), Perlon's micro house, Phuture's acid (as it was), Mills / Hood techno,
Derrick May, Basic Channel, Ancient Methods, Dozzy, van Dyk's trance, Cybotron / Planet Rock electro (an 808, the saw
bass jumping octaves, a vocoder-like VOICE), DAF / Nitzer Ebb (drier), Gazebo's italo, Depeche Mode, Xymox, Joy
Division / New Order, the Burundi beat, Suicide, Kraftwerk, NEU!, the Strokes, MBV, Mogwai, James Brown (~59 %), Chic,
Premier / Dilla (~58 %), Metro Boomin, MJ Cole (~58 %), Skream, the Chemical Brothers, Photek's reese, King Tubby and
Jah Shaka (a melodica-like lead), Bill Evans (~66 %), Joao Gilberto, Fela Kuti, Eno, Frahm, Debussy / Satie, Vangelis
(a CS-80-like lead), Aphex / Autechre, West London's broken beat (110..124 BPM, was 80..100). Tempos and swing from them.

The mix (gen.c gen_mix, GGRAM's new LIFT): measured now with fx.c's stems (what each part adds, before the leveler),
the drums were 90 % of the parts' energy in HOUSE, 91 % ITALO, 93 % DARKWAVE, 85 % ELECTRO / EBM / TECHNO (45 % over
all genres). The bass, chords, arp and lead 8..12 dB up, the drums 5 dB, then a genre's LIFT (-3 .. +7.5 dB on the
four: HARD TECHNO, ITALO, DARKWAVE, BOSSA most, MICRO HOUSE and HYPNOTIC below): the drums 23 % over all, 57 % at most
in the worst of 4 seeds of any genre. The whole ~9 dB louder into the LEVELER (2:1, x0.35..x2): its gain now 0.5..0.9,
the mix's RMS -16.9 -> -13.9 dBFS on average (gen1's ~-13.6), the peaks as before; CLIP 35..65 (was 25..55).

gen_test (gen3): every genre x 3 seeds, no lead over SUS 95, every lead moving (a vibrato or a slow shallow filter LFO),
its filter's envelope on, the basses' too, the plucks and stabbed chords short; every genre x 2 seeds, the drums 60 %
of the energy at most, the leveler's gain in its range, the mix -15.5 dBFS or louder on average (-13.6 now). The
drums' LEVEL cap 96 -> 106 (the share holds them now).

Flash: the generator's code and tables 38548 -> 38972 B (+424; tables +24, ENV_RULE), the image 568808 -> 569232 B;
RAM unchanged (.data+.bss 88964 B). The manual's COMP section with the cards' short names.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-24 13:43:17 +00:00
Claude fe81db8885 JIANT 0.9.9-gen2: the generator tuned by ear: ACID HOUSE a 303, the leads' vibrato, the drums leave room
After the owner listened on the device ("much better, but").

ACID HOUSE "lacks the characteristic 303 bass". What it had: DEC 32..47 (10..30 ms: a blip, no body,
no sweep), SUS 0..7, and glide in RATE mode at ~36 (an octave in ~3 ms: no slide heard). Mapped now
from X0X (charlesvestal/fm1-x0x: its Open303 port and the TB-3PO generator) onto ANALOG's real
parameters: one saw (a square one time in three), MIX 0, NOISE 0; the LP (ANALOG's own per-voice SVF:
JIANT has no 4-pole; the MS20 is a part's filter after the voices, where the accent cannot reach) low,
CUT 32..47 (~400 Hz at rest), RES 104..120 (the clamp 120 for the 303 only, still not ringing on its
own), ENV 52..63 (~2 kHz at the peak), DEC 80..95 (400..900 ms: the filter's sweep) over SUS 40..55
(ANALOG's one envelope is the level's too: the note's body, where the 303 holds its amp); an ACCENT
(velocity 127) already opens the filter with the envelope (voice.c: +24) and plays louder; LEGATO, the
SLIDE's glide in TIME (GLMODE 1, GLIDE 24..26: ~55 ms whatever the interval, as the 303's RC slew;
X0X's stock slide is 60 ms). The legato path was checked, not changed: a SLIDE holds the gate
(seq.c seq_hold), the next note goes through mono_play's legato branch (no voice_begin: the envelope
and the filter state go on), so no engine fix was needed; gen_test now plays it and watches the voice.
The line (gen_acid) after TB-3PO: one 16-step line, a note on ~69 % of the steps (the bar's first
always), the mode's degrees over the chord (the root most, more on the beat), an octave up a third of
the time, down now and then, the note before an octave away 30 % of the time, ACCENTs on ~30 % of the
notes, SLIDEs on ~22 % (never into a rest), a TIE now and then, every other bar a few notes re-rolled.

ACID HOUSE first on the GENRE knob (after EXPLORE and RANDOM), the one asked for most: the knob's order
only (gen_knob, GEN_TOP), gp.genre keeps each genre's number (the emulator, the tools, the tests).

The leads "a slow, pronounced vibrato, like a weird siren": PITCH 3..9 (56..169 cents) at RATE 52..72
(0.8..2.2 Hz). Now PITCH 1 (~19 cents, 1.1 %), RATE 88..92 (5.1..6.3 Hz), FADE 70..84 (160..450 ms: the
attack clean), the filter's LFO off under it, no tremolo; without it the lead's filter LFO slower and
half as deep (SR_LEAD GLFO 4). EXPLORE's vibrato the same on a lead or an arp, a slow drift (PITCH 1,
under 0.8 Hz) on the rest (was PITCH 2..12 at 0.25..3.4 Hz on any role).

The drums "eat the rest of the sounds": every lane's DECAY shorter (KICK -12, CLAP -8, HATC -6, HATO
-12, TOM -14, RIM -4, BELL -6; a constant, not a table: the pinned sound's .rodata stays put), the 808's
and the DUB kit's kick offsets 22 -> 12 and 18 -> 10, the kits' PMOD and COLOR offsets halved and the
factory pitch sweep an eighth less, the kit's DRIVE two thirds, the snare's FEEDBK 2..4 (was 3..6),
MORPH's motion 8..18 (was 14..34), GLUE at most 8 (HARD TECHNO 12 -> 8), the snare and clap sends
drier, the drum track's LEVEL 94 (was 106). Measured on the 43 genres' renders (8 bars, seed 2026 + 7n,
drums alone and the rest alone): the drums' share of the energy 74.4 % -> 48.2 % (drums / rest RMS
1.71 -> 0.96); ACID HOUSE 96.7 % -> 44 %.

Tests: gen_test (gen2): ACID HOUSE x 40 (notes 60..75 %, accents 25..35 %, slides 20..30 %, none into a
rest, octaves), the line played (each SLIDE's next note legato on the same voice, gliding, no retrigger;
every other note fresh), every genre's and EXPLORE's leads and arps (PITCH <= 1, >= 5 Hz, faded in, no
filter LFO with it), the pads' drift, the drums' decays, GLUE, LEVEL and FEEDBK; the archetype check's
303 values, the snare's FEEDBK, the GENRE knob's order. No DSP touched: the goldens and the pinned
audio layout unchanged. Flash: image 568900 B (+316), 12664 B free.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-24 12:03:48 +00:00
Claude 751a0b4c9c JIANT 0.9.9-gen1: the song generator redesigned: a clean base, sound archetypes, a pattern grammar
From this line's generator (0.9.9's, not 0.9.18's).

The carry-over bug: gen_make wrote over the project in place, so whatever a piece did not write stayed
from the one before (or from the player's edits): the LFO, AUTO PAN, MUTATE's v2 config, the step
components and p-locks of the tracks it rewrote only partly, DRUM-X GLUE / TONE / HANDS / octaves, the
global components lane (seq2f), FUGUE's playheads (only EXPLORE reset them, behind a dirty flag), the
punch-in lane, the macros, PLAY's SONG mode, and the generator's own state (gs.kick read by the bass when
the drums sat out). Now gen_clean starts each piece from NEW PROJECT's state (project.c system_init,
through system_init_named: the project's name kept), the tempo kept under BPM LOCK, the player's own
sections kept as before (gen_parts); gx.dirty, the MUTATE reset loop and the per-track clears are gone.

The sounds: a role's sound is its genre's ARCHETYPE (gen_tables.c RECIPE, packed: 18 B an entry, was
44): up to three (engine, factory preset) options (a bass only the first two: its engine fixed), then
the targets in the engine's real parameters, each a small range (GR: eighths, GR4: fourths): the amp
envelope, the filter type (LP HP BP COMB MS20) with its cutoff, resonance and envelope, ANALOG's wave
(and MIX 0: one oscillator), glide, an LFO on the filter (free, or synced 1/4 1/8 1/8T 1/16), drive,
chorus. The presets by their place, not by words matched across engines (a bass came out as LOFI CHIP
PAD, PHASE VOX PAD or GLASS PAD; ACID HOUSE's on PHASE RESO); SR_ALT's neighbour recipes are gone. New
archetypes: the 808 (TRAP), the upright (JAZZ BOSSA BOOM BAP), the rolling techno bass (TECHNO TECH
HOUSE HARD TECHNO HYPNOTIC), the supersaw (TRANCE), the wobble (DUBSTEP: an LFO on the filter at 1/8),
the EBM bass through the MS20 filter (EBM DARKWAVE MINIMAL SYNTH), the octave bass (ITALO SYNTH POP
ELECTRO DETROIT TRANCE). ACID HOUSE: ANALOG ACID (saw or square), one oscillator, CUT 24..47, RES
96..111 (the clamp was 90), ENV 44..63, DEC 32..47 SUS 0..7, glide on the SLIDEs, drive; always the
303's rules (BA_ACID).

The grammar (GGRAM, a uint16 a genre): over the maps and archetypes, the bass's ACCENTs off the kick,
SLIDEs into the next note, the offbeat sixteenth's octave (the mode's notes only), 0..3 each; DRUM-X
GLUE (0..12); a closed hat rolled on the beat's last sixteenth every other loop (an ECHO, EVEN, EVERY
2:2); MUTATE (WHAT PATTERN, LOOP 4, ORBIT) on the arp or the chords. From its own stream: BASS turned
still leaves the drums and the lead as they were.

The flash: gen.c's functions now link after the pinned sound (tools/build.py LATE_SRC: '-' rows only,
never audio), the holes they leave filled with the UI's tables (30700 B of holes, 0 B of padding; a
probe link in an XIP 1 MiB larger measures them first), the generator's new tables out of .rodata
(late_tables: never before the sound's merged constants). The generator 37885 -> 37717 B (RECIPE -656,
SR_ALT -56, GGRAM +86, gen_post +466); system_init no longer inlined (+214 with ui_input_frame); the
image 568604 -> 568584 B (12980 B free). RAM unchanged (88964 B, pool spare 8224 B). No DSP touched.

tests/gen_test.c: the clean base (four genres, LOOP and PARTS, from power-on and from two dirtied
states: one project; fails without gen_clean), every genre's bass and lead on the archetype's engine,
filter and wave, GLUE and MUTATE as the grammar has them, 4/4 kick and 2/4 clap in house and techno,
ACID HOUSE's 303 (ANALOG, LP, RES >= 90, CUT low, ENV high, short, glide, slides on tied steps, accents,
octaves, offbeat open hats), TRAP's 808, EBM's MS20, DUBSTEP's synced wobble, one seed one project in
every genre, the CPU budget (the voices' predicted load, voice.c, under LOAD_ADMIT; the voice budget).
gen_test, ui_test, editor_test, comp_test, stems_test pass; regress: 157 goldens unchanged (no golden
renders a generated song). The manual's GEN section (EN, ES): the clean base, the archetypes, the grammar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-24 11:19:55 +00:00
Claude da051a32f2 JIANT 0.9.9-snd2: the chorus lighter, its LFO a segment (64 samples; 16 / 8 / 4 at the fastest RATEs)
The ensemble's three read points were three sines a sample. Now the LFO is
read at a segment's ends (fx.c cho_lfo, out of the RAM code) and the read
points glide between in Q14: 64 samples below RATE 64, 16 below 96, 8 below
120, 4 above (a fast, deep sweep bends most between two points). The three
taps and their mix as they were. Against the old (tests/delay_test.c
test_chorus, a saw through it): -63 dB at the default (RATE 40 DEPTH 60),
-58 at RATE 80 / 100 DEPTH 127, -51 at 127 / 127: inaudible, so it is the
chorus (not an option). reverb_test's reference buses follow it (ROOM still
bit for bit). CPU: -35 instructions / sample at the default (cpu_vg
cho/pad 1319 -> 1284; mix/full 2593 -> 2558), -16 at RATE 127.
Goldens: 88 renders with a CHORUS send rewritten (presets with CHOR: ANALOG
20, VOICE 13, FM6 12, PHASE 12, LOFI 8, NOISE 5, WHEEL 5, ANIMAL 1; modes
ANALOG 4, VOICE 4; sends/ANALOG 2; song/4track_mix; slicer/song_gate_stut).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-24 03:13:07 +00:00
Claude c1d9d19b0e JIANT 0.9.9-snd2: MASTER at the end of the FX chain (after PUNCH)
ui_lens.c CE_FX / CG_FX: ... SLICER (SL PITCH) . PUNCH . MASTER, the tabs
TRK BUS DLY REV CHO SLC PCH MST; the BUSES tiles in the same order (ui.c
FX_MOD / FX_MHEAD, ui_lzfx.c fxg_mod, ui_graph.c's MASTER meter
signature). ui_test: the chain's 16 by SELECT, the tabs, LOAD ECO's skip, and
a check that MASTER is last. docs/navigation-map*.svg / .png regenerated
(tools/gen_nav_map.py --check clean); the manual's chain lists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-24 03:05:06 +00:00
Claude 8a447fe82a JIANT 0.9.9-snd2: CLEAR AUTOMATION on the punch-in layer (FX + G5 CLR AUTO), the PUNCH page's letters large
The punch-in automation could be cleared from FX (REC + FX: with the
track's FX automation) or FX > PUNCH's KNOB 4. Now on the layer itself: G5
is named CLR AUTO on the map, lit while held, and FX + G5 empties the
punch-in lane only, stopped or playing (recording, it still erases where the
playhead passes); the tracks' automation stays (ui_test: both, stopped and
playing). FX > PUNCH's KNOB 4 says CLR AUTO, its dialog CLEAR PUNCH
AUTOMATION?. The PUNCH page's lane line in AF_M (the large page), the bars
below it; the BUSES tile as before. tests/ui_render.c stops at
nav_scene "PATTERN" on this line already at 6ec641f (the seq2 chain renamed
it): the lint could not run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-24 03:02:06 +00:00