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.
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.
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
The FX layer's four free black keys: G#4 LOOP 3, C#5 LOOP 5, D#5 LOOP 7,
F#5 GLITCH. A LOOP, on the transport's next 1/16, makes every track (of
A#4's ALL / SYN / DRM) play its last N steps again (the one playing the last
of them: pressed on step 8, LOOP 3 plays 6 7 8 6 7 8 ..), each by its own
steps, not on the bar; let go, back where it would have been (1/2 TEMPO's
anchor and pfx_resync, shared; seq.c seq_tick). GLITCH is 0.9.18's
(perf_glt*, pb_ring_f) at its knobs' defaults (DENS 50 PITCH 0 SIZE 0
VARI 1): no knob page. perf_buf out of perf_block's loop as 0.9.18 has it
(the RAM code 640 B back). Not ported: TAPE STOP (written, then taken out:
the app slot overflowed by 24 B), SHUFFLE, FREEZE, the sweeps and the
performance macros (seq_live.c's ghost playheads): the image is 581268 B of
the 581564 slot. Tests: perform_test LOOP 3 / 5 / 7 steps and the return,
GLITCH grooves and lets go bit for bit; ui_test's map LEDs (G#4 breathes).
CPU: LOOP nothing per sample; GLITCH +6 instructions / sample over REPEAT
(cpu_vg mix/full.glitch 2800, .repeat 2794).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
While THROW (the FX layer's KNOB 3, the punch-in delay) sends the mix into the
delay, and for 12 s after it is let go (its tail; out over the last 0.4 s, or
at once when the buses go to rest), each repeat goes through a band in the
loop (fx.c dly_band, both loops, before DRIVE): a one-pole low cut at 180 Hz
and two poles of low-pass at 4.8 kHz, closing to 3 kHz with FEEDBK at 100 %
and by up to 1.2 kHz more over the tail, mixed in by a share that glides
(no click). DRUM-X's hats and snare lose their noise each pass much faster
than a note: repeats 1 -> 6 at FEEDBK 85, noise -34.8 dB against a 440 Hz
note's -22.1 (without THROW both -17.3, as before). The main delay keeps its
sound: it shares the code, but the band there would change every project's
repeats and fight FEEDBK past 100's growth (TONE already darkens it).
CPU: +42 instructions / sample while it is in (cpu_vg dly/full.throw), +3
otherwise; db_block out of the RAM code (once a block). dly_lo's static budget
2351 (the compiler's new layout). No golden render changed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
DLY 3's free knob (its third; the page had two): DRIVE 0..100, the repeat x1..x4
into a soft clip (u - 4/27 u^3, flat from 1.5) and back / the gain, in both
loops (the full rate's and dly_lo's), after TONE: a quiet repeat as it went, a
loud one rounded and pressed down. 0 skips it: bit for bit as before
(tests/delay_test.c: seven scenes against snd1's hashes, ANALOG DIGITAL PING
WIDE+MOD 120 % half quarter). Saved in FUNC's 'D' 'D' block after GLUE's.
CPU: +21 instructions / sample at the full rate, +10 at half (cpu_vg
dly/*.drive); DRIVE 0 +3. dly_lo's static budget 2949 -> 3570 (the branch's
code, not run at 0). The version v0.9.9-snd2.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The owner: FEEDBK / FM / ENV FM "too extreme, harsh noise, unusable"; "a SOPHIE-like
palette: hard but musical, metallic, rubbery, clean transients". drumx_voice.c:
FEEDBK (KIT 3 + SOUND 4, 0..15, summed and capped as before) through DX_FB_CURVE:
beta 1.6 (k / 13)^1.5 up to 13 (0.27 at 4, 0.77 at 8, 1.25 at 11, 1.6 at
13: a sine growing a saw's edge, rubber, metal), then 2.2 and 3.0 (the
noise; was k x 4096: beta 1.2 already at 6, 1.57 at 8, pi at 15). Fed back: the mean of the last two outputs
(the DX7's: a one-sample loop's period-2 hunting gone, no fizz; mo1 in the
voice's padding, no RAM); dx_layer the same.
FM ENV (KIT 2's E5, 0..127) through dx_fm_env: 3.26 (2^(6x) - 1) up to 114 (0.56
rad at 64, 3.3 at 114: a beater, a click, a metal edge), a line from there
to the old top (9.3 rad, the noise) at 127; was 3 x FM ENV (4.7 rad at 64).
The index is phase modulation's: the same across the keyboard; dx_fm_lim
eases it softly (e lim / (e + lim)) where the highest sideband would pass
~10 kHz (the half rate's Nyquist): a high hit not folded into hiss, the low
and middle ones as they are.
COLOR's FM on the FM waves (the sounds' own tone) untouched: the factory kits'.
Saved values keep their knob position (the curves change the sound by design).
Goldens (GOLDEN_UPDATE, regress alone): 2 of 157, the presets with FM ENV up:
preset/DRUM/04_INDUSTRIAL (FM ENV 20) 8a31853c3f56f3fc -> aa3ed3d1bb20f4c0
preset/DRUM/07_TECHNO_RAW (FM ENV 10) 4e40e32d062d1170 -> 33c33679dcd9b7fc
(no factory sound has FEEDBK; FEEDBK 0, FM ENV 0: bit for bit as before.)
drumx_test: DX_FB_CURVE strictly up, dx_fm_env never down over 0..127, the extreme in
the last steps (FEEDBK 12 under half of 15, FM ENV 114 under half of 127); the tom's
brightness rising with each (FEEDBK 0 4 8 12 15: .0009 .0008 .0013 .0031 .5817; FM ENV 0
32 64 95 127: .0009 .0008 .0010 .0015 .0143), half the knob well under the top; FM's
index a C2 hit's as it is, an 8 kHz one's eased. The 0.6.36 FM ENV / TONE checks as
before.
CPU: dx_run's loops 419 -> 424, dx_layer 105 -> 113 (the mean fed back: an add and a
move a half-rate sample on the FM ENV / FEEDBK / LAYER loop); the curves per block
(dx_fm_env, dx_fm_lim kept out of line: no loop). Budgets updated. RAM unchanged
(88836 B), pool unchanged. MANUAL (EN, ES): the curves.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The owner: "a one-knob glue / limiter on the DRUM-X bus (0 off, middle gentle glue,
top hard limiting + soft clip), cheap". What the bus had: drum_bus (0.6.16) DRV x1..x4
into the soft clip and a fixed knee (24000), PUNCH on FX > MASTER (each hit's age, no
detector), the master's CLIP; no compression. GLUE goes after DRV and the knee, only
when on (eng_drum.c drum_glue; OFF: not run, the kit bit for bit as before):
detector the block's peak (one pass of 64), a gain toward the curve's: over T,
(T + (pk - T) s) / pk; T 24000 .. 10000 (2x - x^2: ~13000 in the middle),
s = 1 - x (2:1 in the middle, a limit at the top), x = GLUE / 15
ballistics down at once (from the block's first sample: a ramp let a hit's onset
through, the crest up), back up ~93 ms (1/64 a block)
makeup 1 + 0.6 x^3 (the middle's peaks no higher, the top's limit loud)
clip soft_knee, its knee coming down 24000 .. 16000 (the top a hard limit
and a soft clip); the IMAGE's sides through the gain the sum got
(every 4th sample, as drum_bus)
The knob: KIT 3 KNOB 4 (the page's free slot: BP FEEDBK HANDS GLUE), 0 OFF .. 15 as
its neighbours. Stored with the kit (dx_glue): project_t's dx_hands byte holds it in
its high nibble (no byte more in the pool's proj_scratch), FUNC's 'D' 'G' block after
the global lane, written only when on (a project without it packs as before; seq2h
stops reading at it and loads the rest); a project of before opens with it OFF.
drumx_test: on the bus itself (a loud kit's sum, DRV 40), GLUE 0 / 8 / 15: crest 2.06 ->
1.99 -> 1.85, peak 46046 -> 38614 -> 32000 (never up, under full scale); OFF bit for bit
the bus without it, also after it was on. ui_test test_dx_glue: KIT 3 KNOB 4 0..15, the
other knobs untouched; the project: 8 back as 8, OFF as OFF, restored to the kit.
CPU: none while OFF (a branch a block). On: drum_glue's loops 88 instructions (the peak
pass ~6 a sample, the gain / clip / sides ~50 .. 80), one DRUM track's bus; added to
target_budget (231 with its divide). drum_bus 104 -> 102. RAM .data+.bss 88804 -> 88836 B
(the gains); pool unchanged. Goldens 157 unchanged. MANUAL (EN, ES): KIT 3 GLUE.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The owner: "a more aggressive filter type in the style of the Korg MS-20: a 2-pole
Sallen-Key-style low-pass with diode-like soft clipping in the resonance feedback,
screaming but controlled at high reso, the same knobs". TYPE 5, MS20 (voice.c tf_ms20):
the trapezoidal SVF (dsp.c) held at damping 2 (no resonance of its own: the MS-20's
soft knee at RES 0), its band-pass fed back into the input through softclip at half
full scale, a sample late (the linear part stable, the clip bounded: bounded however
it is driven). Its small-signal damping 2 - kn, RES exponential to it (2 x 2^-(6 RES /
127): Q 0.5 .. 33): soft in most of the travel, a scream at the top that still dies out
when the part is silent (no whistle on its own); a hot input clipped in the loop growls
instead of ringing louder. Out at 3/4 through a knee at 16000 (under full scale).
CUT moves with LFO / ENV DEST FILTER as the SVF's (tf_run's sweep kept where it is
heard); KNOB 4 drives as ever (ANALOG's DRIVE, the others' DIST). On ANALOG and LOFI the
MS20 is the part's filter after the voices (their own open, as under the combs), at
ANALOG's CUT RES (E4 E5: tf_run takes the cut it is given, P_FCUT for the others as
before). TYPE crossfades in and out as the combs do (its state from the input, tf_ms).
LP HP BP untouched (goldens). DRUM's IMAGE narrowed under it (the mono sum). The FILTER
page draws it as a low-pass with a higher peak. Web editor: MS20.
tests/filter_test.c: MS20 bounded and dying out at RES 0 / 100 / 127, CUT 0 / 64 / 127,
C1..C8 (3 engines); its ring longer as RES rises; a full-scale saw at RES 127, every CUT,
C1..C7: peak 31577, x0.99 .. x2.84 RES 0's level. The lockup check now about the mean
(the SVF's fixed point holds a DC at CUT 0: no sound): every TYPE passes it, the old
three too. Demo build/filter_demo/ms20_sweep.wav (a riff, CUT swept, RES 40 .. 127).
CPU: tf_ms20's loop 94 instructions a sample (the SVF's in tf_run ~ the same), only on a
part with MS20; tf_run 121 -> 126 (the branch; budgets added to target_budget.txt).
Image 577496 -> 578116 B; RAM .data+.bss 88740 -> 88804 B (its state, 78 B); pool
unchanged. Goldens 157 unchanged. MANUAL (EN, ES): MS20.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The owner: "improve the COMB: tuned to the note, feedback up to near self-oscillation
with a soft clip inside the loop, a damping low-pass in the loop, positive / negative
feedback, no zipper when CUT moves". voice.c track_comb, still one line a part (the
pool unchanged):
tuned the newest note + CUT (64: the note, +-32 semitones) as before; the line
shortened by the damping's delay (in tune: noise through it peaks at the
note's period within 0.33 %, C2..C6)
RES the ring's length, the same on every note: T60 25 ms x 2^(8.5 RES / 127)
(25 ms .. ~9 s), fb = e^(-6.9 per / T60) per block (2^-x linear between
octaves, e^-a by its (2,2) Pade), at most 0.998: near self-oscillation at
the top, most of the travel where it rings (was fb 0.49 + RES linear: a C1
rang 20x longer than a C6)
the loop a soft clip inside it (soft_knee 20000: however long the ring, bounded),
a damping one-pole in it (RES opens it, ~3.5 .. ~12 kHz: the highs die first)
no zipper the line's length (Q16) and the feedback glide over the block (were a step
a block: a buzz sweeping CUT); interpolated between samples as before
COMB- TYPE 4 (new, after COMB): the feedback negative over half the line: the odd
harmonics of the note, hollow, at the same pitch; COMB <-> COMB- in the one
line (its feedback glided, no crossfade)
level the wet by 1 - fb as before, at least a quarter (the clipped ring heard),
the output knee 16000 (under full scale: was 24000, ~40000 peaks)
The part-filter TYPEs (FT_POST: COMB, COMB-) open every engine's own filter (ANALOG,
LOFI: eng_analog.c ft_voice); a TYPE stored past the last is clamped (ft_of; was & 3: it
read as another TYPE). DRUM's IMAGE narrowed under both combs. The FILTER page draws
COMB-'s teeth between COMB's. Web editor: COMB-.
tests/filter_test.c (new, in run_tests.sh): every TYPE at RES 0 / 100 / 127, CUT 0 / 64
/ 127, C1..C8, on PHASE ANALOG LOFI: bounded, never at full scale, the combs dying out;
COMB and COMB- in tune with the note (COMB-'s half period negative); CUT swept over a
sine: the second difference at the blocks' edges as inside them (14.4 / 14.6; the old
comb: 27.9 / 9.3); the ring longer as RES rises, still ringing a second on at 127.
Demos build/filter_demo/comb_sweep.wav, comb_neg_sweep.wav.
CPU: tests/target_budget.py now watches track_comb and tf_run: track_comb's loops 79 ->
122 instructions (+43 a sample, only on a part with a comb: ~1.9 M instructions / s, a
fraction of a percent of a core); tf_run 122 -> 121. lofi_byte_render 152 -> 153.
RAM .data+.bss 88660 -> 88740 B (the glide's and damping's state, 72 B); pool unchanged.
Goldens 157 unchanged (no render uses a COMB). MANUAL (EN, ES): COMB / COMB-.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The owner: an LFO mode that free-runs without a retrigger on notes. 0.9.18 (main
26cc5bd) has it; brought over as it is. FREE (PHASE -1, as since 0.6.51: no format
change, every project and preset opens as it was) kept its phase but trk_note_on reset
lfo_fade on every fresh phrase, so with FADE up a FREE LFO faded in again on each note.
Now a fresh phrase restarts phase and fade only in TRIG; FREE fades once, from a project
load (not a song's next section nor UNDO: project.c proj_lfo_keep) or MODE turned to
FREE (voice.c lfo_fade_restart).
LFO = RATE WAVE MODE FADE (MODE a view of P_LPHASE, params.c ID_LMODE); LFO 2 (new, in
the LFO chain) = PHASE, dimmed in FREE (TRIG's phase kept in RAM, lfo_ph_mem, for TRIG
again). LFO dice: FREE half the time. Web editor: MODE + PHASE rows. Adapted: seq2h has
no knob_cap (MIDI LEARN): the turn is recorded by motion_capture as the other knobs.
ui_test test_lfo_free (0.9.18's): FREE over notes apart, legato, POLY MONO LEGATO,
sequenced, DRUM-X hits, FADE 0 and 100 (the phase continuous across notes); TRIG as
before; in time on the grid; the pages; project load / section; the dice.
RAM .data+.bss 88660 B (unchanged, the 6 B in alignment slack); pool unchanged. CPU: none
on the audio path (a branch per note-on). Goldens 157 unchanged. MANUAL (EN, ES): LFO.
FELUCCA_VERSION v0.9.9-snd1.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh