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
- hal/fm1_power.h: the supplies as stock V15 sets them (LDO13 -> DCDC13, the
analog bytes, VDDIO 3.2 V, VDC14 1.60 V, SYSVDD 1.38 V last), ported from
Melodee (Kerem Kilic, GPL-3.0-only). main.c runs it at boot before
fm1_rails_boot (which then finds the rails set). MENU > ABOUT shows "DC"
when it took. The radio's prerequisite (docs/BLE_FEASIBILITY.md stage 2).
- 0xEA000..0xFBFFF (72 KiB) reserved for the Bluetooth segment (FL_EXT_*):
outside FL_RANGE_OK already; the update loader's record sweep skips it.
- Emulator: stubs for the new supply setup.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
KNOB 4 on SAVE > ARRANGE 2 picks a track's variation for that row only:
MUTE, THIN, FILL, HALF, REV, SHIFT, OCT+, OCT-, VAR 1..4 (seeded by song,
row and track: the same row always plays the same). Applied as the row is
staged (song_main.c row_vary); MUTE over the row's scene. The graph shows
the row's six tracks (their section's colour and letter, their VAR).
The song index goes to version 4 (+512 B, a uint32_t per row, 4 bits a
track); versions 1..3 in flash and version 2/3 backups load with no
variations. The variation scratch buffer lives in the pool.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
A song row can take any track from another of its song's four sections:
KNOB 1 the row, KNOB 2 the track, KNOB 3 FROM (the row's own, A..D), KNOB 4
left resets the row; MIX shows where the six come from. A track brings its
sound, steps, FM6 patch and automation (DRUM its kit); the row's section
keeps the globals (punch-in lane, SLICER). Quick chains and live jumps play
whole sections as before.
The song index goes to version 3 (+512 B: a uint32_t per row, 3 bits a
track); version 1 and 2 indexes in flash and version 2 backups load with
every track on its row's section. Row add / delete / SONG REC / CLEAR SONG /
NEW PROJECT keep the map in step. Tests: persistence (the mixed staging,
v2 migration), backup (v3 and v2 restores), startup (the map through boot),
ui (ARRANGE 2's knobs, the SAVE chain with the page).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
As main 9678bf3 + 7180629's poll skip, 1417f9e, eb9ee2d:
- uac_service on every 10 kHz TIMER5 tick (nested in the render or not), not every 5th: a STEMS+IN packet is on
the wire ~0.65 ms, the next one must be queued in the ~0.35 ms after it; the guard inlined, the SIE check
(ep4_tx) and the refill (ep4_fill) out of line; no SIE poll for UAC_SKIP ticks after a fill; the stall count 20 ms.
stems_usb_test models the bus time and TIMER5's drift (0.9.9's 2 kHz poll loses up to half the frames);
target_budget watches ep4_tx / ep4_fill.
- a USB mode switch keeps the FM-1 off the bus 500 ms (usb_replug, usb_retry_due): hosts saw the ~25 ms drop
miss; ui_test checks it.
- iProduct "JIANT" (was "JIANT FM") on string index 4 (Windows caches the name by VID, PID and index: Live kept
"Felucca"); the loader "JIANT Update" there too. The Stems app's USB filter takes "JIANT" too; install_test and
usb_desc_test cover the names; editor mock and EDITOR_PROTOCOL.md renamed.
Flash +80 B. FELUCCA_REPIN=1 (uac_service pinned, it runs in TIMER5).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- ADD (the owner: the knobs moved too little): MODE, MORPH (to the next MODE's ratios), BRIGHT (past 96
the highs over the fundamental), PARTIAL (1..9, the last by its fraction), SHIFT (down: stretched,
up: + Hz to every partial), COMB (notches sweeping the partials, LFO/ENV -> SHAPE), DECAY (the highs
sooner), MOTION (down: BLOOM, up: SHIMMER); 12 presets anew, the web editor's copy too; goldens
- DRUM-X: the ENV page drove nothing (the hits hold their voices' ADSR at full): one envelope for the
kit, restarted by every hit (seen once a block in the part's filter), its peak the hit's velocity
(kick / snare / clap whole, the rest 5/8); ENV DEST's FILTER moves with it. No RAM: the kit's unused
mono stack holds it
- 1/2 TEMPO let go: the main playhead went back in step, the extra PLAYHEADS stayed half a time behind;
now they skip the half they missed (seq_tick, no table: it runs from RAM)
- target budget: add_render's per-partial block work (the per-sample loops unchanged)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- gen.c/gen_tables.c: HOUSE DEEP TECHHOUSE TECHNO DETROIT get fixed stab figures,
chord memory (house), no texture role, no DM/CS alternation, punchier kit lanes
- ui_input.c: on SEQ pages PRESETS moves the step cursor; the PATTERNS loader is gone
- tests: ui_test PRESETS/reach checks, web retired-engine checks, gen_test club limits, goldens
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
STRING (eng_string.c): a delay line a period long in the COMB's lines (comb_buf cut in NVOICE lines of 128; low notes
loop at 1/2^d of the rate, down to ~22 Hz), filled with the EXCITE (NOISE PLUCK PICK HAMMR STICK at POS), through a
two-point average, BRIGHT's low-pass, STRETCH's allpass and DECAY's gain (T60 50 ms .. 13 s over the keyboard), BOW's
noise while held, BODY / SIZE's band; a COMB TYPE on its part plays as BP. ADD (eng_add.c): nine partials in WHEEL's
voice state (MODE HARM ODD WIDE BELL BAR DRUM, BRIGHT, EVEN, STRETCH, PEAK, FORMNT, DECAY, DAMP), nothing above
~19.8 kHz. No RAM; 12 presets each. They take GRAIN's 8 and SLICE's 13 (retired): ENGINES[] keeps its 15 and the
sound's code and tables stay where the layout pins them; their own tables leave .rodata (build.py late_tables), the
favourites' stars of 8 and 13 cleared once (prefs_rev 3).
Creatures (ui_engvis.c): TEJEDORA, a spider whose threads are the sounding strings' real lines; MEDUSA, a jellyfish
whose tentacles are the partials' gains now. New tests/string_add_test.c (tune C1..C6, T60, BRIGHT, partials, EVEN,
DAMP, alias, presets, corners, demos); UI order, project, web mock and protocol updated.
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
hal/fm1_guard.h: the SDK's write limits are per bus master over one set of windows (C0 / C1 / PRP_WR_LIMIT_EN at
0x1EEE348 / 34C / 350, the COREX2 layout read from the SDK's sdk.elf DWARF). Window 3, _rt_start .. _sstack_top
(.ram_text, .c1_text, .hot_text, both guards and both stacks of core 0), is closed to core 1 (with the two guard
bands) and to every DMA. Neither writes there by design; a misread pointer of core 1 landing in core 0's stack
(crash audit, cause 4) is now a fault of core 1 at once (held, CORES 1 (FAULT), the window's number kept in
fm1_core1_fault.wr) and a DMA's a crash report with PRP_WR_LIMIT_ID naming it, instead of a corrupted word
found later. The resets that hand RAM to the boot loader drop the new enables with core 0's (fm1_sys.h).
hal/fm1_irq.h, 0.9.19's record (.noinit, the old fields in place; 0x3D0C of 0x3D50 B used): the core that
faulted, USP and SSP (which stack the main loop runs on: cause 6), the other core's PC (paused and read as the
SDK's handler does, only while it is live: fm1_other_live from fm1_multicore.h), the debug unit's eight culprit
registers (0x1EEE360..37C), the app's stage. main.c fm1_fault: the screen labelled (the firmware, CORE n OF m,
VEC PC EMU DBG RETS as always, SP USP SSP, C2 PC, WR / RD the bus masters, P the DMA's window, N the windows hit),
10 s instead of 4 for a photo; MENU > ABOUT shows CRASH n VEC / PC SP / C2 BUS until power-off. README's
dual-core section says so. App slot: 567860 B of 602112 (0x93000).
Image 566884 -> 567860 B; RAM .data+.bss 78996 -> 79012 B.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
Up to 0.9.9-cpu3 JIANT ran both cores at 360 MHz on the boot loader's supplies (VDC14 3 = 1.40 V,
SYSVDD 11 = 1.26 V), a configuration no M-VAVE firmware uses: V15 raises them to 7 / 15 at the same
360 MHz as it starts, and the open firmware runs 320 MHz at 1.26 V. fm1-base found units reading
flash and SRAM wrong under load at the boot loader's levels; the second core's misreads and the
random crashes (scratchpad crash audit, cause 2) look like that margin.
hal/fm1_sys.h: fm1_vdc14_raise / fm1_sysvdd_raise / fm1_rails_boot, ported from fm1-base
(felucca-bsp, MPL-2.0, fc79: bsp/chip/fm1_sys.h, device/main_fm1.c): up only, a level per 100 us,
VDC14 first, read back, three tries. main.c fm1_cstart calls it with interrupts off, after the RAM
copies and before the guards, the second core and the audio. MENU > ABOUT shows the steps reached
and the ones found at boot ("RAILS 7/15 (3/11)") under AUDIO LOAD.
Image 564296 -> 564748 B.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- Power-on, INIT SYSTEM and NEW PROJECT (engines.c TRK_DEF, ui.c power_sound_of / power_on_parts): T1 DRUM-X (the
factory kit), T2 VOICE SINGER EN (sings words), T3 ANIMAL CMOS BIRD, T4 LOFI BYTEBEAT, T5 ANALOG FAT BASS,
T6 FM6 TINE EP, each its preset's sound, dry (no DIST CHOR DLY REV send). INIT SOUND unchanged.
- The display order (ENGINE_ORDER, a table over the append-only ENGINES[] indices): DRUM-X VOICE ANIMAL LOFI ANALOG
FM6 PHASE WHEEL NOISE (DIGITAL last in FELUCCA_FM4 builds) on PRESETS, KNOB 2 ENG, the web editor's lists and the
cheat sheet. Engine numbers never renumbered; PROGRAM CHANGE keeps 0.9.8's numbering (ENGINE_PC_ORDER).
- Old projects: the tracks an old format lacks still load as 0.9.8's power-on sounds (TRK_OLD); everything saved
loads unchanged. GEN genre recipes unchanged; drums found by drum_track() wherever they are.
- Tests: new ui_test checks (power-on engines/presets in order, dry, each sounding, DRUM on T1 alone, HOME key and
MIDI note on T1, NEW PROJECT identical; selector place <-> engine round trips; ENGINES[] indices; PROGRAM CHANGE
order; a 0.9.8-track project unchanged after the new power-on). Updated old-order / old-power-on assertions (KNOB 2
steps, ENGINE_ORDER names, NEW PROJECT sounds, PROGRAM CHANGE expected sound, web editor lists and mock, project
tests on old formats -> TRK_OLD). UI tests, renders and CPU sections keep 0.9.8's tracks as fixture (TRK_OLD).
Goldens, cpu_vg and target budgets unchanged.
- FELUCCA_VERSION v0.9.9; README v0.9.9 section, manuals (EN / ES), EDITOR_PROTOCOL; navigation map, cheat sheets
and README hero (HOME render now on the power-on tracks) regenerated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- MANUAL.md / MANUAL.es.md: the skins section (AIR first, the default of new settings, saved settings keeping theirs;
LARGE on AIR), the tabs' dash on AIR, HOME's faces (ECO's being in three isotherms by its level, the face, asleep,
the MUTATE cue instead of the critters and the ring of dots), the MENU (26 rows, DISPLAY 8, SKIN 2/26), the table's
SKIN row (AIR COLORS BOTTOM HUD) and a SCOPE row (OFF by default), SCOPE in the creatures' section.
- README: status v0.9.7, the skins, HOME's faces, the v0.9.7 changelog (memory, tests).
- FELUCCA_VERSION "v0.9.7"; the navigation map (EN / ES) and the cheat sheets regenerated (the MENU's skins and SCOPE).
- EDITOR_PROTOCOL.md: JIANT's MENU ids 18..22 (21 SKIN in the menu's new order, 22 SCOPE).
- README images (tools/gen_readme_hero.py) from the default now: AIR on JIANT, SCOPE OFF (the creature on the whole
panel), COLORS as the other skin shown.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- Sibilants (WORDS): frication band-passed (1 - z^-2 into F4: no fizz past ~12 kHz), s ~6 kHz,
sh ~2.7 kHz; comes in over ~10 ms (s 10-90 % 9 ms, was 3), goes over ~5 ms, ~5 dB lower
(s -19.6 dB of the vowel, was -14.6); the vowel's voicing fades under it (~6 ms).
- Coarticulation: formants through two one-poles in a row (S-shaped, no corner); nasal / lateral
F1 less widened (a murmur); singer presets ATK ~5 ms, REL ~190 ms: joins click-free (worst 1.2x
the sound around, was 3.7), la-le-li gap -22 dB (was -48).
- Voice: vibrato on held notes (~5.5 Hz, +-20 ct, after ~0.3 s, none while gliding, per choir
voice phase), per-period jitter ~0.3 % / shimmer ~0.4 dB, softer source, less presence; BUZZ's
top steadies it (ROBOT EN). New state: two padding fields of voice_t, 60 B of pool (sing_x).
- Glide: VOICE's glide is an S-curve in pitch over GLIDE's time (eng_formant.c glide_sung /
fmt_sung, sub-1/16 st fine), formants on the vowel, no re-attack; legato words glide ~60 ms at
GLIDE 0. Other engines' glide and track_render untouched (RAM code identical).
- Cost: cpu_vg VOICE.ES/EN +3.0 %, peak/VOICE.EN6 +4.2 %, other engines identical, cputest
+0.005 %; target formant_word_render 338 (+3.7 %), sy_tick out of line (formant_block 122);
flash +912 B. Goldens: the eight word presets and mode/VOICE/LEGATO only. web/editor.html
mock presets synced. voice_test: soft s / sh, joins, glide S-curve + formants, vibrato.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- core.h ST_MICRO / ST_MICRO_SET (inline now): the sixteenth below stays in cwhen's bits 4-7 as always, the 64ths above
it (0..3) in two free bits of the flags (SF_MFINE, bits 5-6): step_t is still 20 bytes, no struct or static moved
(its 6 x 64 in trk[], cvs / cva / cvp / rh_bak, the project scratch, the section stage, tl_src, gen_keep, dxo_bak,
the stack copies: 0 B; a byte more would have been ~478 B of main RAM and shifted track_t after step[]).
- seq.c: live recording with REC Q under 100 % writes 64ths (rounded; REC Q 0 % where you played, 50 % half way);
playback in 64ths (a late step's queue, the early end of the step before). Flags written whole keep the 64ths
(rec_hold, load_pat16, GEN, the dice, the editor's STEP_SET); gen.c's sixteenths x 4 (its pieces as before).
- SEQ > NOTE's KNOB 4 a 64th a detent (accelerated), the card "+5/64", the big step's chip, the piano roll.
- FUNC: the 64ths in a block after the others ('M' 'F': the tracks, 2 bits a step), only when a step has some; a
project of before plays and saves exactly as with 0.9.0 (its sixteenths x 4); firmware before 0.9.1 loads a newer one
and plays each step at the sixteenth at or below (up to 3/64 sooner).
- Tests: micro_test.c (every value; an old project sample for sample and byte for byte as 0.9.0; recording within
1/64 of a step at 72 / 120 / 174 BPM on 1/8 1/16 1/32 16T and swung, worst 0.0088 of a step; playback within a
sample of MICRO's place; REC Q 50 % / 100 %; save / load and the block missing); ratchet_test's TIMING in 64ths;
editor_test (STEP_SET keeps MICRO); ui_render sweeps every MICRO. Manuals, README, protocol, cheat sheets.
- CPU / audio: goldens, cpu_vg and target budgets as before. Image 548444 B (+564), RAM unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- fx.c djf_block: one bipolar knob on the whole mix just before CLIP and the leveler. 0: not run at all (the mix bit
for bit 0.9.0's, the CPU too: one test a block). Below 0 a low-pass sweeping down (~15 kHz .. ~70 Hz), above 0 a
high-pass sweeping up (~30 Hz .. ~6 kHz), on CUTOFF_HZ's log scale, Q 0.72 near the middle to 1.1 at the ends. A
trapezoidal SVF in 64-bit products, Q28 coefficients, the mix 16 x finer in its states (tsvf's Q13 left a -31 dB
floor of highs through the closed low-pass); the cutoff glides (~6 ms), coefficients ramp every sample; ~5.8 ms
crossfades into / out of the chain and between sides: no click crossing the middle; the knob stops there once.
Its state in its own .bss section, so the merged statics the ISR reads keep their places (no codegen change in
any hot function: only mix_block's call and motion_step's branch).
- G_DJF in G_NAME's slot (17: "--", 0..0, never set): saved in the header, every older project loads it OFF;
autosave and saves keep the knob's value, not its automation's.
- Automation: MOT_DJF (motion id 127) records on the selected track while recording, plays at its step, a stop or
the loop's restart brings the knob's value back; no lock. FUNC keeps those records in a block after the lyrics
('M' 'G'), so firmware before 0.9.1 loads the project without them. AUTO LIST and the web editor name them.
- The card: "2.0k LP" / "400 HP" / "OFF" and a small response curve where the bar was (BOTTOM / HUD: 5 rows).
- Mutes stay on the GLO layer's black keys (all six tracks, latched); the MIXER keeps the MUTE badge.
- No MIDI CC: no GLO parameter has one. The editor's SET of global 17 records like the knob; its web page.
- CPU: centred nothing (goldens, cpu_vg, target budgets as 0.9.0); on: target djf_block 200, song/cputest.djf
+1.7 % on the host. RAM +52 B (79124 of 98304), image 547880 B (+2876).
- Tests: djf_test.c (centred bit for bit 0.9.0's render, LP / HP responses, clicks, automation round trip, old
projects); ui_test MIXER K4; ui_render sweeps every value; ui_test's HUD beings check no longer depends on how
the tests before moved them. FELUCCA_VERSION v0.9.1; README, manuals, protocol, cheat sheets.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
GEN's GENRE reads EXPLORE, RANDOM, then the 43 genres; the screen opens on EXPLORE (power-on, NEW PROJECT, every
HOME + SELECT). EXPLORE throws its own genre field by field (gen.c gx_genre, table-driven): any tempo 56..200 BPM,
any drum map / kit (sounds pulled far from the kit's), bass archetypes, kick rule, chord play, voicing, arp, lead,
wider recipe pools, any space and FORM; a mode of seven from the SCALE page with the exotic ones likeliest (LOCRIAN
too), a pentatonic / hexatonic / gapped lead palette; a non-functional progression of 1..4 chords on any degrees
(colours where its thrown harmony takes them); chords 8..48 steps, loops 8..64; each track its own LEN and DIV
(polyrhythm), any engine on any role (ANIMAL, VOICE singing words; FM6 / ANIMAL / VOICE two tracks each at most),
DRUM-X octaves per sound, hits off the grid, scattered step components, PLAYHEADS, MUTATE, grain-delay pitch and
spray. It keeps two melodic parts, the genres' levels and the shared voice budget; every note in the key but the
coloured chords' and approaches. RANDOM and every genre are bit for bit as in 0.8.5 (gen_test metrics, a 792-piece
fingerprint identical); after an EXPLORE piece a genre's piece puts DIV back to 1/16 and PLAYHEADS off.
gp.genre keeps its values (0 RANDOM, 1 + genre) with EXPLORE appended (44), not persisted: no migration needed;
web_gen takes 44. Tests: defaults, knob order, 60 EXPLORE seeds heard and measured, determinism, forms, no residue.
Manuals, README v0.8.6, cheat sheets regenerated; FELUCCA_VERSION v0.8.6.
Image 555928 -> 561072 B of 581564 (20492 free); .data+.bss 88340 of 98304, pool spare 52096 B, RAM code 22084 B:
unchanged. No audio path changes; CPU baselines untouched.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
Merge drumx-octaves-085 (a05a190, c3435e4) on top of the VOICE words in the new skin.
- editor INFO tags in order J, O (DRUM lane modes, 4F 01 07), Y (LYRIC, the last tag: the web editor reads it at
the trailer's end); editor_test checks both, the web mock sends both (lanes inside the ratchet caps, Y last).
- README: the status line's DRUM-X note; one 0.8.5 section (VOICE words, DRUM-X octaves, then the skin and lenses)
with one cost line measured on the merged build.
- app.ld: LOWBUF's comment (undo and the section stage there; the project scratch and the decode tables in the pool).
- tests/ui_render.c: DRUM grid HIT x4 / GHOST, the OCT messages (RATCHET x8, FLAM), COMP TOUCH and ECHO EVEN scenes,
linted in every palette: the HIT values fit the square cards, the OCT message the header's middle.
- Cheat sheets regenerated.
Image 555928 B of 581564; .data+.bss 88340 of 98304; LOWBUF 18232 of 28672; pool spare 52096 B.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The octave variations are now per drum sound, not per step (the owner's option b). step_t gets lm[3]: 3 bits for each
of the 8 lanes (core.h LM_*: none, x2, x4, x8, SHORT, GHOST, FLAM). No zero-RAM room existed: on a DRUM track note[] / n
hold the step's other GM drums (a low tom, a crash, any note recorded below / above the lanes), every other byte is
in use, and the few free bits (slide, LEN on a kit) are 4 or fewer.
Playback (seq.c): a lane's SHORT / GHOST / FLAM goes on that lane's note-ons only (t->dtch per note, the HUMAN TIME
queue too); a lane's x2 / x4 / x8 retriggers that lane's hit and its notes at every step / n (seq_lane_rat, the grid
the held keys' live ratchets already use), nothing else on the step. The step's own RATCH / ECHO (EVEN) / TOUCH
work on the whole step exactly as before (synth tracks, old projects, a kit). Live REC (rec_drum, the held ratchets'
steps, the count-in) writes the lane's mode, the rest of the step untouched; a centre-octave hit sets its lane back
to none. Tested: kick plain + closed hat x4 + snare GHOST on one step (1 + 4 + 1 a pass, the kick never damped);
recorded live (kick OCT 0, hat OCT +2, snare OCT -2 into one step) and played back so; every earlier REC test now on
lane modes; the step's RATCH x2 unchanged.
Edit: the DRUM grid's KNOB 3 HIT of the selected lane is one list: --, ON, x2, x4, x8, SHORT, GHOST, FLAM (left back to
-- takes the hit and its mode away; the white keys' off clears it too). ui.c GRID_HIT / grid_hit_of / grid_hit_set,
one card string in ui_draw.c, one knob call in ui_input.c.
Format: FUNC unchanged for every step without modes (a 0.8.4 project loads and saves byte for byte); a step with them
sets bit 6 of its extension byte and adds 3 bytes (a 7 reads as none). Firmware before 0.8.5 refuses such a project
(it rejects that bit), so it fails as with any newer project. Older formats load with no modes (tested with FUNB).
User presets' patterns have no room for them.
Protocol: INFO 4F 01 07; STEP_SET 22 / TRACK_STEP 23 bytes carry the 8 lane modes after the ratchet (each 0..6, a 7
refused); STEP_GET with a flag byte 1 (TRACK_STEP get with 1) replies them; every older request replies byte for byte
as before (editor_test's INFO offsets moved by the new tag). web/editor.html reads them when the device has the tag
and writes a step back whole; the mock device does the same (web/test_web.mjs). EDITOR_PROTOCOL.md updated.
FELUCCA_VERSION is now "v0.8.5" (cheat sheets' version too), so the installer notice shows. The notice now shows for
0.8.5 in both installers (preview and the official one once web/STABLE is bumped; web/STABLE untouched), never on the
landing page (tested); its text says each sound keeps its own variation.
RAM (on a05a190): step_t 17 -> 20 B. .data+.bss 85600 -> 87456 B (+1856: the tracks' 384 steps and 24 working copies
+1224, the dice / shape / GEN copies dk, shp_base, gen_keep +576, dxo_bak +18, lr_on); the project scratch (project_t,
384 steps) moved LOWBUF -> pool (main loop only, as before 0.6.78): LOWBUF 28064 -> 19780 B (the section stage's +1152
stays there), pool 247584 -> 258364 B (spare 62144 B; tl_src +192); the stack +192 in one tool. Flash image
498260 -> 499320 B, RAM code 21768 -> 21964 B. With voice-words merged: about 88.2 KB of 96 KB .data+.bss.
CPU: callgrind song/cputest 3082 -> 3081, eng/DRUM 1581 -> 1582, every entry within 0.1 %; target loops unchanged.
All host tests pass; the 149 golden renders unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
On a DRUM track the keys keep the kit on the same keys at every OCT (drum_keys no longer adds the octave); OCT says how
they play and the screen names it on each press (RATCHET x2 / x4 / x8, SHORT, GHOST, FLAM, DRUM-X KIT). OCT 0 is the
kit exactly as before (bit for bit: every golden render unchanged).
Above (seq.c dxo_*): the hit, then again x2 / x4 / x8 a step while held: playing on the step's RATCH grid (each step's
start, then every step/n, swing included), stopped every step/n of the track's DIV from the press; the release ends it.
Below (eng_drum.c DXO_*, per-hit modulation of the DRUM-X voice, no new voice type): SHORT -14 DECAY (half the decay
time), GHOST -14 DECAY -24 TONE and ~45 % velocity, FLAM a grace hit at ~45 % then the hit itself DXO_FLAM blocks later
(~20 ms, tempo-independent, a retrigger of the same lane).
Live REC stores what was played, played back identically (tested to the block): the hit plus the step's RATCH x2 / x4;
x8 (past RATCH's x4) as ECHO x8 with the new EVEN flag (carg bit 7: every repeat at the step's level); below, the new
step component TOUCH (carg SHORT / GHOST / FLAM). A ratchet held over several steps writes each step before the
sequencer plays it (the held note is silent there); an early release in the last one puts that step back, as a held
synth note's TIE. The count-in keeps the octave too. They show and edit on SEQ > COMP like any step (TOUCH: HIT
SHORT / GHOST / FLAM; ECHO: x8 EVEN, KNOB 3 keeps EVEN). They are the step's: everything on that step plays with them; a
centre-octave hit leaves them alone.
MIDI: 35..81 the GM map exactly as before. The notes around it, which played their octave of 36..47 plain, are now the
octaves' bands by pitch class: 23..34 SHORT, 11..22 GHOST, 0..10 FLAM, 82..93 x2, 94..105 x4, 106..127 x8; the keys
send those notes to MIDI OUT. Compat flag: songs / MIDI setups sending drum notes below 35 or above 81 now hear these
variations (move them into 35..81 to keep the old sound); stored step notes play as before whatever their number;
keys with OCT moved no longer reach GM 56..81. No format change: TOUCH is a comp value (firmware before 0.8.5 refuses
a project holding one, as any unknown component), EVEN a bit older firmware reads as a fading ECHO.
Installer (web/index_pkg.html): before writing 0.8.5 the preview installer (its version ends -preview) shows a notice in
English / Japanese (its languages) and Spanish: the feature, that existing songs / MIDI setups may change, how to keep
the old sound, back up first (editor backup); install asks to confirm. The public installer (web/STABLE, 0.7.4) never
shows it; web/STABLE untouched. The notice keys on the package version v0.8.5: FELUCCA_VERSION is still "v0.8.4".
Cost (on 0.8.4): callgrind every entry within 0.3 % (song/cputest 3079 -> 3082, seq/heavy 2786 -> 2788, eng/DRUM
1579 -> 1581); target loops unchanged (drum_render 33, dx_run 419; perf_block 522 -> 528, layout); flash image
498108 -> 498260 B; .data+.bss 84848 -> 85600 B (held ratchets 4 a part, their recording backup, 3 bytes a lane);
RAM code 21676 -> 21768 B; LOWBUF 28064 B and the pool 247584 B unchanged.
Tests: new tests/drumx_oct_test.c (centre bit for bit and recorded plain; x2 / x4 / x8 stopped and playing on the
grid; SHORT / GHOST / FLAM length, level, brightness and the grace hit measured; live REC both ways played back as
heard, early release, late press; MIDI bands, MIDI REC, a FUNC round trip; the OCT message, COMP TOUCH and ECHO EVEN);
web/test_web.mjs: the installer notice (preview only, 0.8.5 only, EN / JA / ES). Manuals EN / ES, cheat sheets
regenerated, README v0.8.5.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
EDIT > WORDS > LANG (OFF ES EN JA) turns a VOICE track into a singer (src/sing.c): each note sings the next
syllable of its lyric (held note holds the vowel, TIE holds it on, the release sings the coda at the note's
level; legato glides, a chord sings together). LANG OFF is VOICE as before, bit for bit (goldens unchanged).
Articulation per track, block rate: 46 phonemes as formant targets with voicing, aspiration (into the
cascade) and frication (high-passed noise into F4 tuned to the consonant); plosives closure / burst /
aspiration, affricates, nasals, liquids, tap and trill, glides. Spanish by rules, Japanese romaji to morae,
English through a 2095-word CMU-derived dictionary (tools/gen_lyrics.py, BSD-2-Clause notice in
LICENSES/). LYRIC: TEXT (63 chars, NAME screen via OCT+ on WORDS with a KNOB 3 dice, or editor cmd 39
LYRIC), W1-W16 generated phrases from themed banks (306 ES, 272 EN, 169 JA words) as long as the pattern's
notes, S1-S8 scat. Word-mode EDIT values: POS THEME ARTIC SHIFT | BUZZ BREATH Q LOOP (POS lockable /
automatable). Lyrics saved in FUNC's optional 'L' 'Y' block (older projects load without). The VOICE pages
show word, phonemes and a moving vowel chart (sing_view for the CT head). 8 new presets appended.
Cost (on 0.8.4): flash image 498108 -> 540824 B (+41.7 KB; app slot 581564 B, 40740 B free), .data+.bss
84848 -> 85584 B (+736), RAM code +8 B, no per-voice state. The lyric text (6 x 64 B) lives in the pool
(LOWBUF had 608 B free); the project scratch's copy (+384 B) stays in LOWBUF, so the fonts' decode tables
(hc_tab, 1.5 KB, main loop only) move LOWBUF -> pool: LOWBUF 28064 -> 26900 B of 28672 (1772 B free), pool
247584 -> 249568 B (spare 72928 -> 70944 B). CPU: callgrind 4 voices VOICE vowels 1611 -> 1605, words 1743
(ES) / 1726 (EN) vs ANALOG 2314 at 8 voices; worst case song/cputest 3079 and every other section unchanged;
target loop formant_render 312 -> 315, formant_word_render 326 (analog_render 603). New tests/voice_test.c;
project, editor, web, ui_render, cpu_vg and target budget extended (existing entries untouched); ui_test's
LARGE HOME probe reads the old panel row over 16 px (a mote of HOME's moving dust landed on its one pixel
with the new presets' frame count); manuals EN/ES, protocol notes, cheat sheets regenerated, README v0.8.5.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- Fixed: at the longest TIME with MOD on, the modulated read (wow + the Hermite's older taps) wrapped onto the
newest samples and the input leaked into the wet. Every read now stays DLY_EDGE (8 line samples) inside the line.
tests/delay_test.c measures it (fails on the parent commit in 7 cases).
- Adaptive-rate line (fx.c dly_lo): R = 1 / 2 / 4 chosen from the farthest read (TIME, PING-PONG x2, WIDE). A 55-tap
half-band (Q14, DC exact) decimates the input and interpolates the output once each way. The loop (MOD, GRAIN,
FEEDBK, TONE at the line's rate) runs at fs/R. A rate change fades out over 2.9 ms, clears the line, and restarts
with the input faded in: no click. Hysteresis keeps a wavering clock from restarting it.
- DLY_LEN one constant (params.c): 32768 (option b). Half rate: flat to 9.5 kHz, aliases/images under -75 dB; all
149 golden renders bit-identical. Free times appended to 2.95 s; every division real up to 2.97 s.
- The FX gate holds for an echo still due when TIME > 1.5 s.
- Pool 311236 -> 247584 B; flash +4216 B; CPU at full rate unchanged, half +158 / quarter +202 instr/sample (callgrind).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The section keeps one DRUM-X kit: the sound dice and INIT SOUND on a DRUM track
leave it alone when another track plays DRUM (as preset browsing already did
since 0.8.1), saying KIT OF T? KEPT / INIT, KIT KEPT; ui_test covers both cases.
web/landing/frecuencia.html: an interactive ladder of frequency in octaves from
the solar cycle to PET gamma rays, drawn as a natural-history atlas, with four
sounding examples (polyrhythm to chord, LFO to FM, note to colour, day to LFO)
in EN/ES/ZH/JA; linked from the front page and copied by the Pages workflow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
From the bioacoustic synthesis report: a source that oscillates or strikes exciting a resonator, with a call's
rhythm on top. MODE picks the source and relabels the knobs (desc): CMOS, the owner's 40106 / 4093 circuit
(Schmitt-RC relaxation oscillators, exponential charge, fractional-edge polyBLEP; a slow one gates and sweeps the
fast one, a third groups phrases; C5 chirps at ~1.05 kHz with rising hooks, 2.4-4.5 a second, or a trill of 8-10);
PULSE, an escapement into a tuned SVF (crickets, katydid, cicada, frogs); WHSTL, a Hopf oscillator in polar form
(born by bifurcation, Podos-limited sweeps); WING, a polyBLEP flight tone with drift and Doppler fly-bys; GLOTT, a
glottal pulse into two formants with period doubling and a logistic map. Pattern layer in amp(): RATE, GROUP
(HOLD TRILL n+m), TEMP in degrees C (Dolbear). 24 species presets. All integer, 32-bit products.
Cost: the voice state fits voice_t's ph[3] + s[8] (no RAM: .data+.bss 95092 B and the pool unchanged), +7616 B
flash, no RAM code. Callgrind per voice (instr/sample): CMOS 103, PULSE 92, WHSTL 86, WING 67, GLOTT 167, against
ANALOG's 193: eight voices on every mode. ANIMAL comes after DRUM in ENGINE_ORDER so every existing sound keeps its
PRESETS place and PROGRAM CHANGE number. New tests/animal_test.c; cpu_vg sections per mode; target budget, goldens
and the editor mock extended (existing entries untouched); protocol notes, manuals (EN, ES), cheat sheets, README.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The cover leaves the screen to the creatures (firmware/src/ui_being.c's species, as tools/video/beings.js ports them),
the name at its foot; the FM-1 is drawn with its controls where tools/gen_panel_diagram.py's boxes put them, HOME live
on its screen; a row of the eight engines' species; links to the manuals and the cheat sheets (published under docs/
by the Pages workflow); plain dark plates behind headings instead of a glow; English, Spanish, Chinese and Japanese.
The preview installer is no longer linked from the site, the emulator or the README.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
For people who just want to play: what JIANT is, three steps (try it in the browser, install it on the FM-1, edit and
back up), what's inside, future upgrades (with Ko-fi's early access), support and a short FAQ, in English and Spanish.
The Pages workflow puts it at the root and moves the emulator to emu/ (its footer links go up one level and gain the
home page and the editor); README and the manuals point to emu/.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
FX's sections: MIX (FX, MASTER), TRACK (DIST, AUTO PAN), DELAY, REVERB,
CHORUS, SLICER, PUNCH. A tap on FX goes from FX to MASTER; the footer says
"MASTER 2/2", "AUTO PAN 2/2". The web editor lists MASTER after FX.
ui_test's FX page-order checks follow. Manual EN / ES, README, cheat sheet
text, version.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
DRUM's presets are factory kits (drumx_voice.c DX_KITS: the eight
sounds' A and B, their LAYERs and SENDs, one a style, built from the
factory kit by offsets and mode changes: the 909's driven kick, the 808's
long pitch envelopes, the industrial FM kick and glitch rim, the acoustic
bell-toned snare and tom, dub's wet snare and delayed rim ..). Browsing
one on a DRUM track (PRESETS, the editor, PROGRAM CHANGE: ui.c
apply_preset) loads the whole kit into the section; an engine switch,
INIT SOUND, a project load and the generator leave the section's kit
alone (apply_preset_to). Editor mirror, web and ui tests (each kit loads
whole, in range, differs from the factory one). Docs: README, MANUAL
EN/ES, cheat sheets.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- MENU > SYSTEM > USB: CONSOLE / STEREO / STEMS (was USB SERIAL ON / OFF).
STEMS re-enumerates the device as an 8-channel USB audio input at
44.1 kHz: the six tracks mono (LEVEL, DIST, SLICER routing and mutes in,
PAN out) and the FX return in stereo (DELAY, REVERB, CHORUS, the SLICER's
bus when on), all before the master. fx.c taps each part as it is mixed
(one core or the other) and the return after the buses; usb.c gets an
8-channel configuration (720-byte packets, bcdDevice + 0x40), four words
a frame in the ring, the priming, packets and underruns in frames. The
ring moved into the pool (8 KiB). uac_test checks the descriptors and
the framing; ui_test the row; editor and web tests the names.
- The emulator page renders a backup's song or live section as separate
WAV tracks (each part alone with its own share of the buses, fx.c
mix_skip) plus the MIX, in a ZIP (web/emu/stems.js: a module Worker,
WAV and stored-ZIP writers; felucca_web.c: the backup's objects into a
fresh device, the song's rows, bars and end, the part mask). A node
test (stems_test.mjs) renders the generator's piece both ways; the
suite runs it with the emulator.
- The RAM-code reach margin 12 KiB (was 16): the image grew and RAMTEXT
has moved up twice already. Docs: README, MANUAL EN/ES, cheat sheets.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The buses read the stored value plus the matrix offset (no slot: the
stored value, live for the UI and the host tests). The editor protocol
sends up to 32 enum names (the matrix DST has 30 now; was 24).
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
Eight destinations after CLIP and PNCH: the DELAY's TIME, FDBK, TONE and
MIX, the REVERB's SIZE and DAMP, the CHORUS' RATE and DEPTH. AMT 64 at a
full source is the parameter's whole range; every track's slots on one
bus add. macro_master (once an audio block, mod.c) sums them into
effective values the buses read through GFX() in place of song.g[] (the
stored values until the first block: the UI's graphs and the host tests
of a bus alone), so a STEP source sequences the delay time and an LFO
breathes the room. Editor mirror and tests, a mod_test case, MANUAL
EN/ES, cheat sheet, README.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- 46 new factory presets across ANALOG, PHASE, LOFI, VOICE, WHEEL, NOISE
and FM6 (appended: stored preset numbers stay; the LOFI browsing order
and the editor's mirror extended). Every preset played on the host:
none quiet, none hot.
- GEN: the recipes point at the new presets first (pads, stabs, leads,
textures, basses); melodies stay in their octave (a leap past a sixth
takes the nearer octave), the motif follows the chord the nearer way
and less often, every phrase ends on a chord tone.
- GEN: HOME closes the screen (OCT- still does).
- Fix (community report): browsing presets switched SCL > CHORD off. A
sound load keeps CHORD, VOICING, STRUM, C.LEN, CHANCE and MUTATE.
- The device is JIANT wherever it speaks: USB MIDI and audio "JIANT FM"
(manufacturer "Juan Jiant", updater "JIANT Update"), the editor's
version string "JIANT v..", the splash, ABOUT, CREDITS, the console,
the crash screen. The web editor, installer and the Python installer
match both names so older firmware still connects.
- PRESETS card: past 99 the number alone (the total is 3 digits now).
- Memory map: RAMTEXT up 4 KiB (the image grew); user stack 15.75 KiB.
- Docs: README changelog and status, MANUAL EN/ES, cheat sheets.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh