Commit Graph
109 Commits
Author SHA1 Message Date
Claude d9becf03da Editor's offline mock: the MOD sources as the firmware has them (V10.8.78: IN ENV, T1..T6 ENV, OCT+ / OCT-, RAMP)
The device's own names reach the editor from its descriptors; this list is
only the mock device's (no FM-1 connected), which still had V10.22's order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-12-01 21:18:08 +00:00
Claude dc74b4dbe4 Editor: the SOUND page's modules again on V10.8.7x (G_COUNT 77), not the plain list; appended parameters tolerated; a test in the site deploy
A user (via JIANT Studio): "the sound editor used to show modules, for a few
updates now it is a vertical list". knownLayout knew G_COUNT up to 73; the
firmware has 77 since the OTT / GATE globals, so the editor fell back to the
plain list. Now any G_COUNT from 73 up and any P_COUNT from 123 up with the
engine block last (P_E0 = P_COUNT - 8) is known: the firmware appends, the
ids the layout names stay. web/editor_layout_test.mjs compiles P_COUNT,
G_COUNT, P_E0 from core.h of web/STABLE and web/PREVIEW and checks them
(fails on the old editor: 32099fe and b983fbb both 123 / 77 / 115);
emulator.yml runs it before the site is deployed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-30 21:14:12 +00:00
Claude 94cb7a1f17 MATH generator: seven families and CHAOS 0..100 (the owner: "poco versátiles, cambios muy suaves")
mathGenerate in the editor's MATH section (which JIANT Studio also loads from the published editor page) now builds
formulas by family and by CHAOS, and checks every one against the device (V10.8.75 MATH USER).

- MATH_FAMILIES, each with an id and EN/ES/JA labels: sierpinski (classic bit patterns, xor), melodic (scales as
  string tables, plucks, sine echoes, arpeggios, hex nibble tables), fm (FIX: sin(w) phase modulation, index
  envelopes, stepped carriers, harmonic stacks, ring), glitch (stutters, random grains, reversed and modulo-chopped
  t, bit-crush), drone (FIX: detuned saws and sines, slow LFO phase modulation, beating chords; a detuned INT pair),
  rhythm (a falling-pitch sine kick, hashed-noise hats and snares, pattern masks, toms), chip (pulses and PWM, fast
  arpeggios, triangle bass, noise).
- mathGenerate(seed, {family, chaos}) -> {src, fix, wave (5 INT / 6 FIX), family, chaos, bytes, stack}; one
  (seed, family, chaos) is one formula; "any" takes the seed's family whatever the CHAOS. mathGenerate(seed) is the
  old call: a text, the seed's family at CHAOS 40. mathGenerate.FAMILIES too, for Studio's loader.
- CHAOS changes the build: at 0, one of the family's shapes with musical numbers; above, odd numbers and more rewrites
  (each kept only while the formula still fits 64 bytes and sounds): a gate or a second voice (15), the family's own
  idioms: t bent, crush, xor, phase modulation, octave jumps, vibrato, swing, layers (30); modulo, waveshapers,
  switching to another formula, other families mixed in, odd constants (55); t replaced by a whole formula, every t
  bent, formulas multiplied, other families' idioms (80).
- Every formula: FVM compiles it, at most 64 B and a stack of 12, no ph lp hp eu nor FUNC calls, only t w a n v; heard
  with FVM.run in four windows (sounding, not stuck at full-scale DC, not white noise, changing); else the next try.
- The MATH tab: a Family selector (Any and the seven) and a Chaos slider (0..100) by Generate formula, EN/ES/JA,
  40 px touch targets; the status names the family and the CHAOS. A FIX result is shown as FIX -> FLOAT and sent on
  WAVE 6, as one's own FIX formulas are.
- math_test.mjs: 1056 formulas (7 families and any x CHAOS 0..100 x 12 seeds) all valid, 0 silent; determinism;
  variety (10 seeds a family at CHAOS 50, eleven audio features: every family's median pair distance 4.0..6.1x a
  formula's distance from itself 4 s later, 76..98% of pairs past that one's 90th percentile, high-passed waveform
  correlation at most 0.43); families apart (nearest family centroid right for 48/70 at CHAOS 0, 37/70 at 50, chance
  10/70; 26/70 at 90, the families mixed); CHAOS 0 -> 100 terms 1.5..3.9x and nesting 3..6 levels deeper; the old
  call as Studio loads it; with EMU_WASM, 28 generated formulas sent to the V10.8.75 emulator: all taken and heard.
- editor_browser_test.mjs: the family and CHAOS controls (FM 80: FIX, RHYTHM 0: INT, seeded), the slider's height on
  a phone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-30 12:57:43 +00:00
Claude 378f2c5da6 MATH tab: formulas of one's own sent to the device (MATH USER, JIANT FM V10.8.75)
The MATH tab compiles a formula of one's own to the device's bytecode and sends it to a track, now that the firmware
plays them (JIANT FM V10.8.75, codex/v66-clean: firmware/src/math_user.c, JIANT BYTE's formula machine).

- FVM (in the MATH section): a port of JIANT BYTE's compiler (its firmware/src/fvm.c, GPL-3.0, the owner's): its
  grammar (t w a n v; C's operators; sin cos tri saw sqr abs min max floor int fix rnd sat clip; a string as a table),
  its INT / FIX types, its folding, its instructions, serialized as math_user.c reads them (EDITOR_PROTOCOL.md "1.5").
  ph() lp() hp() eu() and FUNC's calls are BYTE's only: refused with that message. At most 64 bytes, a stack of 12.
  FVM.run is math_user.c's machine in JavaScript; FVM.pack7 / unpack7 the backup's groups.
- The tab: a text that is one of the firmware's 48 BYTE formulas is sent as its ALGO, as before; any other is MATH
  USER (the message says its size and INT -> BYTE or FIX -> FLOAT). Heard through the emulator's own machine (the
  wasm's FORMULA, track 1 at ALGO USER), the model when the wasm is older. Sent with FORMULA (100) to a device whose
  INFO has 'E' (45 02 64 12), read back and compared, then the eight values with ALGO -4 (USER) and WAVE 5 (INT) or 6
  (FIX). Read: a track at ALGO USER gives its bytes; their text comes back if it was sent from this browser (kept in
  localStorage by its bytes). An older device: not sendable, as before. The generator's formulas are MATH USER ones.
- The mock device answers FORMULA and says 'E' and 'C' 1.5 (before its 'D' / 'H').
- EDITOR_PROTOCOL.md: the proposal becomes "1.5: MATH USER, a formula of one's own (100; V10.8.75)": the command, the
  bytes (BYTE's FO_* numbers, the operand modes), the checks, what is not in JIANT FM, the project block, the presets;
  the version table and the frozen command numbers.

Tests:
- math_test.mjs: web/math_fvm_gold.json (142 texts compiled by BYTE's own fvm_compile from BYTE origin/main 1495526,
  serialized, run by its fvm_run): FVM gives BYTE's bytes for all 135 that fit (93 of BYTE's 96 factory formulas: B16 and F32 are over 64 bytes, F05 and F22 use ph(); and every operator),
  FVM.run BYTE's values for each (3 x 4160); the 7 refused refused; errors with their place; pack7; the generator's
  formulas fit. With EMU_WASM: B01's bytecode at ALGO USER plays B01's samples bit for bit; FORMULA reads back; a FIX
  formula on FLOAT sounds. Passes against a wasm built from the firmware's V10.8.75 commit (emsdk 6.0.11).
- editor_browser_test.mjs: on the firmware wasm, a formula of one's own compiled, sent to track 4 (FORMULA 4 0 gives
  the editor's bytes, ALGO -4), read back into the editor with its text; without a device, one's own heard through the
  emulator (the model without one), a FIX floatbeat recognised. Passes (with that wasm); test_web, test_backup,
  test_manual pass.

The public emulator (web/EMULATOR's pin) gets the VM when the pin moves to the firmware's V10.8.75 commit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-30 11:13:55 +00:00
Claude 511c9e4588 Editor: the MATH preview's wasm from the site's /emu/ (the editor is served at webapp/editor/, two levels down)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-29 00:45:43 +00:00
Claude 2f49580a00 Editor: a formula editor for MATH (MATH tab): write, hear, generate, send
- A VM for MATH's BYTE grammar (eng_lofi.c lofi_byte: a C expression of t and a, unsigned 32-bit): errors said with
  their place, the operators a tap away, the grammar's help; bit for bit the firmware's 48 BYTE formulas (768000
  samples against the C compiled natively), VARIANT's mutation (lofi_mut) and MOTION's speed (lofi_motion) too. A
  formula that is one of the device's (however spaced) is recognised as its ALGO
- Its picture: 128 rows of what it plays (VAR, BEND, LOOP, the start), each sample its heat
- Its sound: the device's formulas (BYTE and FLOAT's 48) through the emulator's own wasm (/emu/felucca.wasm, loaded on
  the first Play: track 1 made MATH as the send does, the note on MIDI channel 1); a formula of one's own through a model
  of the BYTE voice (the firmware's integer time, hold, bits, smoothing); against the emulator, dry, C4: waveform
  correlation median 0.97 (MOTION 0), 0.90 (MOTION 64)
- A seeded generator: formulas built from the families of the firmware's own (nibble-table melodies, Sierpinski,
  multiplied-and-shifted, modulo textures), each kept only if it moves and is not noise; and sounds the device plays
  (a formula of its own, VARIANT, MOTION, BEND, LOOP, CHIP)
- Send to a track (TRACK, SET of G_ENGSEL, the eight values by TRACK_PARAM, read back) and read a MATH track back
- EDITOR_PROTOCOL.md: the proposal for a user formula (100 FORMULA, the bytecode the editor builds and tests: at most 90
  bytes and a stack of 8 for the firmware's 48); no firmware change
- Built when the tab first opens; its sound stops with the tab. English, Spanish, Japanese
- The roll's operations run one after another (a reload never between a batch's writes)
- math_test.mjs (the VM, the bytecode, the generator, the model against the emulator); editor_browser_test.mjs: the MATH
  tab on desktop and phone, and a send to the firmware itself read back

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-29 00:44:59 +00:00
Claude a4224a84d6 Editor: a piano roll for every sequencer (Piano roll tab), drawn as the FM-1 draws it
- One canvas in the firmware's own picture (ui_graph.c graph_roll / graph_grid / bar_cell): the JIANT palette from
  ui_palettes.h (lane / grid derived as gfx.c), each note its pitch class's heat (note_col, lz_note), accents toward
  white, RATCH parts split, TIE bars carried, slides joined, the scale's rows tinted, the keys at the left with the
  root's tooth, LENTE's four bar cells on top, past LEN dark, locks ACCENT and automation THEME at the columns' foot;
  Chakra Petch / Inter Tight as the device's faces
- A DRUM track as the grid (BD..CB): hits, their accents, the lane modes (x2 x4 x8 SHORT GHOST FLAM)
- Edits through the protocol only: TRACK_STEP (notes, TIE / REST, accent, slide, velocity, hits, chance, ratchet, lane
  modes), TRACK_PARAM (LEN DIV SWING GATE OFS PIT as HUD cards; the modulation sequence's 16 levels), MOTION ops 3..7
  (automation and parameter locks with their kinds; INFO 4C 01 read), SET scope 1 (the SLICER's pitch steps)
- EUCLID with the device's formula (eu_hit, eu_kit ported): previewed, then written as steps
- Touch: tap to add / select / remove, drag a note for pitch or length, pan, pinch zoom; >= 40 px cells and buttons on a
  phone; wheel, Ctrl+wheel, keys and undo on a desktop
- Nothing runs while the tab is closed (no timer; one frame drawn per change)
- English and Spanish (a Spanish locale; missing texts fall back to English) and Japanese
- EDITOR_PROTOCOL.md: what the protocol cannot carry (MICRO, step components, EUCLID's settings, the playhead) and a
  proposal for it (98 STEP_EXT, 99 EUCLID, TRANSPORT's step bytes); no firmware change
- The mock answers MOTION ops 5..7 and advertises the locks; editor_browser_test.mjs tests the roll on the mock (desktop
  and phone) and on the firmware itself (felucca.wasm behind a page MIDI port, EMU_WASM)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-29 00:14:52 +00:00
Claude 9067408c06 Editor design: the FM6 page and the steps' table in the firmware's look
Their small fields as the firmware's values (the accent, the value type, wide enough for 100), the table's rows as
cards (the step number in the frame colour), labels and checkboxes in the design's tokens. Same block in both sites'
editor.html. web tests pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-23 22:17:14 +00:00
Claude ca1966f345 Design: the editor, the installer and the emulator page in the firmware's look, as JIANT Studio
One design for every page, JIANT FM's or JIANT BYTE's (html[data-skin]; Studio sets it in its frames), with Studio's
tokens and type; a self-contained block in each page (#jiant-skin), nothing of the pages' markup or code changed:
- editor.html: each parameter a card as the FM-1's screen draws one (its name small, its value big in the accent, a
  bar filled to it: a small script keeps --p at the value), the sections as panels with the firmware's tab titles,
  the tabs as the firmware's, each track its colour (the buttons, the mixer's strips), lists and buttons alike.
  BYTE: pixel values (VT323), the four knob colours, stars; FM: the heat gradient, cream and violet.
- index_pkg.html: the notices as cards, Install the one big button, the progress in the heat gradient, the report in
  its panel.
- emu/index.html: the page around the drawn FM-1 dark, its panels as cards.
JIANT BYTE's editor and installer say JIANT BYTE (they said JIANT FM). web tests, the editor and Studio in Chromium pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-23 21:37:31 +00:00
Claude 1069008042 Screen mirror: frames of 256 token bytes (was 480), so V10.8.20's pool keeps its 8 KiB to spare
Measured on V10.8.20 (710bbc4), the firmware branch's tip: the mirror with 480-byte frames took the pool's spare to
8032 B, under build.py's 8192 B headroom. With 256-byte frames (a 0.3 KiB SysEx, ~7 % more header): flash +928 B
(2208 B left), .data/.bss +0, pool +432 B (8256 B spare); every check passes. The editor's and Studio's encoders (the
simulated device, the tests) follow; the decoders take any size. EDITOR_PROTOCOL.md says so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-23 17:41:05 +00:00
Claude 62cde03949 JIANT Studio: install, edit, the screen, the emulator and recording in one page, for JIANT FM and JIANT BYTE
web/studio/ (published at /JIANT/studio/; .github/workflows/emulator.yml):
- One page in each firmware's look (JIANT FM: cream, violet and the heat gradient, Michroma, the horizon grid;
  JIANT BYTE: stars, synthwave stripes, pixel type), chosen by the firmware the FM-1 runs (INFO's engines: MATH is
  BYTE's) or by hand. Home in steps (connect, install, use it) after Melodee's installer, with the help that matters.
- A target for everything: the FM-1 over USB, or the emulator.
- Install / Editor / Emulator: the sites' own pages in frames (JIANT FM's from /JIANT/, BYTE's from /JIANT-BYTE/: one
  origin), dressed in the look, without their own headers. The editor connects by itself to the FM-1 Studio found.
- Screen: the FM-1's (78 SCREEN / 79 SCREEN_DATA) or the emulator's, straight to full screen; square, the width in
  portrait and the height in landscape, the controls beside; sharp or smooth pixels; the phone kept awake.
- Record: the FM-1's USB audio (stereo, or USB > STEMS's 8 channels: T1..T6, FX, the mix, as a ZIP) or the emulator's
  output, as WAV; what comes in over MIDI as a .mid; a song's offline stems through the emulator's panel.
- Install safety: on the jiant-midi channel like every MIDI page: lets the FM-1 go while an installer writes.
- dev_server.py: the published layout on this computer (local tools, the live site for the rest).
The emulator answers the whole editor (web/emu/editor-api.h: the firmware's editor.c, as the ports' core runs it; built
into felucca.wasm by web/emu/build.sh), so with target Emulator the editor edits the FM-1 in the browser; the emulator
lets Studio record its output and choose which MIDI input plays it.
editor.html: ?emu=1 inside Studio edits the emulator; the Screen button goes full screen at once.
Tests: web/studio/studio_test.mjs (screen frames as the editor's and the firmware's, WAV / ZIP / MIDI, the words),
web/studio/browser_test.mjs (Chromium: detection, the screen and full screen both ways, install safety, the editor on
the emulator, recording), in tests/run_tests.sh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-23 17:21:49 +00:00
Claude fa6d3de250 Install safety: every MIDI page lets the FM-1 go before the installer writes
The installer already told editor tabs to disconnect while it writes (BroadcastChannel
"jiant-midi"); the emulator was not part of it and listened to every MIDI input, the FM-1's
update loader included, and nothing waited for the other tabs before the first byte.
- index_pkg.html: letGo() before installing or returning to official firmware: asks who is
  there (editors, emulators, the studio of JIANT FM and JIANT BYTE: one origin), says busy,
  and waits up to 1.5 s until each tab answered "released"; the log says how many did.
- editor.html: answers "released" once its ports are closed (the screen mirror closes too).
- emu/index.html: joins the channel: while an install runs it closes every MIDI input and
  answers "released", and listens again when it ends (or after 60 s without a word).
Checked in Chromium with the FM and BYTE editors connected, the mirror open and both
emulators in other tabs: all four let go, no editor reconnects until the install ends.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-23 16:50:32 +00:00
Claude 5abc629b00 Screen mirror: smaller, one frame type, nothing static (as JIANT BYTE needs it)
The same mirror, rewritten to fit JIANT BYTE (its image nearly full, its sound pinned): a fill
is one colour and its runs in the pixel frame (type 1 gone: ~130 B for the whole screen), the
header written in a loop, the reply built in the mirror's own buffer, the 4 s timeout checked
in ed_service. Its state is not static and sits after the pool (app.ld: .pool.mirror after
.pool), so the compiler's merged globals stay as they were. The FM-1's image: 324 B smaller
than the first version, 656 B less RAM.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-23 16:38:36 +00:00
Claude 0878885c49 Screen mirror: the FM-1's screen in the web editor, as big as a computer's or a phone's
The firmware keeps no frame, so lcd.c hands every fill and strip it sends to the panel to
editor_screen.c while the editor asks for it, which sends them on as SysEx (79 SCREEN_DATA):
fills as a colour, strips compressed (runs, a 64-colour hash, colours in full), each frame
standing alone and at most 0.5 KiB. 78 SCREEN turns it on (the whole screen redrawn), keeps
it on, refreshes, turns it off; it stops by itself 4 s after the editor's last request or
when a frame cannot go out. About 0.1 byte a pixel on the UI's pages.

The editor: a Screen button (only when the firmware answers SCREEN), a full-window view
(sharp / smooth pixels, full screen, wake lock on phones), ?screen to open it on connect.
The mock device mirrors a picture of its own. Protocol in EDITOR_PROTOCOL.md; tests in
tests/editor_test.c (decode back to the pixels drawn) and web/test_web.mjs (the editor's
encoder gives the firmware's bytes, the mock, firmware without it).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-23 16:08:21 +00:00
Claude ae9afc86e4 editor: SMK-37, the computer ports and the big CPUs' engines (SAMPLE, GRAIN, DRUM-X's samples)
- firmware (editor.c): INFO tags 'D' 1 board (SMK-37 Pro / Elite, a computer, the MPC Sample, the MPC plugin) and,
  FELUCCA_HOST_POWER only, 'H' 2 caps slots, both before 'Y'; on the big CPUs DESC / SET / TRACK_PARAM name the
  values beyond EDIT by the track's engine (hp_xdesc) and send enum names by value (DRUM-X's SLOT 112..). The FM-1
  binary is byte for byte as before (cmp build/felucca.bin, .fwsc), regress 0 golden changes.
- ports/core: the editor's SysEx (jiant_sysex, jiant_sysex_out, jiant_editor_poll, jiant_editor_host) through the
  firmware's own handler; felucca_hp.wasm leaves it out. JUCE standalone: SysEx in, replies out of its MIDI output
  (producesMidi only for the standalone; the plugins' buses unchanged); tests/sysex_check.cpp.
- web/editor.html: the device shown (tag, else port name), SMK-37 / MPC Sample port names, the structured layout for
  P_COUNT 123 (it showed a plain list) with a FILTER section, SAMPLE's TRIG REC, GRAIN's TRAVEL SOURCE PITCH and
  DRUM-X's SAMPLES pages on a device with 'H', SAMPLE sounds kept on such a device; the mock as a big CPU (?hp=1)
  or an SMK-37 (?board=1), its tables generated from and compared with descdump built with FELUCCA_HOST_POWER=1.
- tests: editor_test with FELUCCA_HOST_POWER, core_test, test_web devices section, web/editor_browser_test.mjs.
- docs: EDITOR_PROTOCOL.md "Device and big CPUs"; MPC Sample README: why its app does not answer the editor yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
2026-11-21 17:15:04 +00:00
Claude 1f9a061c93 Web editor: its device tables as V10.6c's; the web tests on V10
The editor's mock device and its tests were still the 0.9 line's: 8 web
tests failed, and 21 differences against V10.6c's own tables
(tests/descdump.c of the public tree, web/STABLE).

- the INPUT engine (15: its titles, parameters, presets), ADD and INPUT
  in ENGINE_ORDER, MOD SRC FOLLOW, delay TIME's dotted values (and their
  order), the global R TIME (G_COUNT 73), the pads' BREATHE (xp) as
  ui.c applies it, engine 6 (TRIO) retired as eng_gone does
- test_web.mjs: each expectation restated as V10.6c's (16 engines, 18
  sources, the order, retired 1 4 6 9); the full delay TIME order checked

node web/test_web.mjs passes, and with FELUCCA_DESC set to V10.6c's
table: 0 differences.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnSaTrKHw7sg8JxeN6
2026-11-06 12:48:49 +00:00
Claude acd2fb31d4 V10.42 docs: presets less alike (FM6 leads/basses, WHEEL, LOFI), editor tables
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-02 03:50:16 +00:00
Claude cd2f74c7e6 V10.40 docs + editor: mode knobs re-read (INT 3), HOME repair
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-02 02:59:13 +00:00
Claude 4da541b0c9 V10.37 docs: CLOCK USB +BT, SYSTEM 2 BT; editor CLOCK names
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-02 01:43:56 +00:00
Claude 62ac5b3b63 V10.36 docs: LFO WAVE DRIFT, breathing pads; editor WAVE list
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-02 01:04:05 +00:00
Claude 37032a8729 Editor: back to the site's own (the firmware repo's older copy had replaced it), with HIP HOP and BOOM BAP added
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-01 20:41:11 +00:00
Claude 9610a9530d V10.34 beta: DRUM-X kit HIP HOP and the pattern BOOM BAP
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-01 20:39:33 +00:00
Claude 6c2a170fc1 Public: V10.26 (5db7ffc: SCENE with role dice, redesigned pages, NUDGE micro timing, ENV 2, LP24, PLS3)
Editor: LFO RATE 8BAR / 16BAR (for V10.27).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-01 15:15:34 +00:00
Claude 987601b994 Beta: V10.22 (17eff83: ENV 2, LP24, ANALOG PLS3)
Editor: MOD SRC PROX and ENV2, WAVE PLS3, TYPE LP24. README, manuals, news.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-01 11:50:41 +00:00
Claude 8e4870e84d Withdraw the SAMPLE edition: par13b out of the installer, the editor's sample bank and the emulator's sample kits removed; engine 13 is ADD again in the editor (add15); README to the current editions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-30 12:59:02 +00:00
Claude c9e8c99915 editor: find the FM-1 under any name: the installer's names (Skiff, the stock firmware's, the USB composite's, Windows' generic USB MIDI / USB Audio), and with none of them every other port asked (INFO; the reply's JIANT / FELUCCA decides; software ports skipped); not found, the status says the MIDI ports it saw (or none: the cable, MENU > USB)
Users on Discord: the editor did not see their FM-1 while the M-VAVE installer did.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-30 05:57:47 +00:00
JUAN JIANT ee75e89526 feat(beta): nine-sound stock pack, empty-bank provisioning and sequence clipboard editions 2026-10-28 16:48:20 -03:00
juanjiant-bit 328ee4a345 feat(editor): offer seven-sample voices and instruments bank 2026-10-27 11:27:35 -03:00
juanjiant-bit c34fce2872 style(web): balance long control panels and retain live/recording indicators 2026-10-27 08:59:16 -03:00
juanjiant-bit 0c78edf7d3 style(web): bring the JIANT landing identity to installer and editor 2026-10-27 08:55:32 -03:00
juanjiant-bit c198a388ea web: publish sampler-compatible MIDI editor and external factory sample bank
Preserve public par12 and beta par13b firmware pins. Add tested MIDI port probing/manual selection, keep installer coordination, and ship factory samples only as web assets. No automatic sample writes.
2026-10-27 08:15:03 -03:00
Claude 26cc5bd94e LFO MODE TRIG / FREE: FREE never restarts the phase or the FADE; MODE on the LFO page, PHASE on LFO 2
The owner: "the LFO has no TRIGGER/FREE option... it always retriggers." FREE (PHASE -1) 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 (FADE 0:
one control block at zero, track_render and the MOD matrix reading it before the tick). 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) or MODE
turned to FREE (lfo_fade_restart).

MODE is a view of P_LPHASE (-1 FREE, as since 0.6.51): no format change, every project and preset as before. LFO =
RATE WAVE MODE FADE; LFO 2 (new, in the LFO chain) = PHASE, dimmed in FREE (TRIG's phase kept in RAM for TRIG
again). The caption says the mode. LFO dice: FREE 50/50 (was 2/3), TRIG at 0..127. Web editor: MODE + PHASE rows.
Tests (ui_test test_lfo_free): FREE over notes apart, legato, POLY MONO LEGATO, sequenced, DRUM-X hits, FADE 0 and
100; TRIG as before; in time on the grid at every note; the pages; project load / section; the dice. README
0.9.18, EN/ES manuals, the map and the manual's screens regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-20 03:22:38 +00:00
Claude 74ce7c7c9f Merge branch 'usb-name' into rel-0912
# Conflicts:
#	README.md
#	docs/MANUAL.es.md
#	docs/MANUAL.md
2026-10-18 20:45:04 +00:00
Claude ebcefb24d2 Merge branch 'skiff-bits' into rel-0912
# Conflicts:
#	README.md
#	docs/MANUAL.es.md
#	docs/MANUAL.md
#	docs/navigation-map.es.png
#	docs/navigation-map.es.svg
#	docs/navigation-map.png
#	docs/navigation-map.svg
#	firmware/src/menu_items.c
#	firmware/src/ui_menu.c
#	tests/editor_test.c
#	tests/ui_test.c
2026-10-18 20:44:36 +00:00
Claude eb9ee2d2af USB name "JIANT", on a new iProduct index so Windows/Live stop showing "Felucca"
Windows' USB audio driver caches a MIDI port's name under MediaCategories\{GUID},
the GUID built from VID, PID and the iProduct string *index* only (ksmedia.h
INIT_USBAUDIO_PRODUCT_NAME), written once. Felucca and JIANT shared 1209:0001 and
index 2, so Live kept showing "Felucca". The product string moves to index 4
(USB_STR_PRODUCT) and reads "JIANT" (was "JIANT FM"); the loader keeps
"JIANT Update" on the same new index. Manufacturer "Juan Jiant", VID/PID and
bcdDevice unchanged. Image 576192 -> 576176 B.

Consumers already matched /felucca|jiant/ and identify the firmware by its
identity / INFO reply; tests now cover "JIANT", "JIANT FM", "Felucca", Windows'
numbered names, and a "JIANT"-named port answering FM-1_015 (web/test_web.mjs,
tests/install_test.py), plus the string descriptors (tests/usb_desc_test.c).
Editor mock renamed. README v0.9.12 (draft), MANUAL EN/ES, EDITOR_PROTOCOL.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-18 19:54:48 +00:00
Claude 59cbe0d323 Installer: diagnoses itself (ES/EN/JA, COPY REPORT, a box per error), Skiff/Felucca/V13/V16, busy ports, retries, 404 redirects
Many could not install. Failure paths now told apart, each with its message and a "what to do" box: no WebMIDI
(iPhone/iPad, Safari, old Firefox), MIDI refused / blocked / failing to start (asked again), a port another program
holds (Windows: open() rejects; the M-VAVE app, a DAW), a port that does not answer, no FM-1, official V13/V14 and a
future V16, Felucca (FM-1_9XY + INFO 1.x), Skiff (FM-1_7XY: it was taken for an official firmware and sent to V15
without its backup), other firmware (a 9XY without INFO used to time out in the backup: a dead end), no update request,
the loader not appearing, the wrong file for Return to V15 (the ZIP, another version, a JIANT package), WL80UBOOT
(WebUSB check).

Robustness: rescans with backoff, UPGRADE asked again when nothing was read, the loader and the return waited 90 s
(was 30/40), a fresh MIDIAccess while waiting, Windows port names paired, an FM-1 under an unknown name probed when
alone and a new port while waiting, INFO and backup reads retried (late replies skipped), LIST 8 s. Return to V15
saves Felucca's and Skiff's complete archives (their own editors restore them) or asks before going on without one.
The editor lets the FM-1 go while the installer writes in another tab (BroadcastChannel).

The flows move to web/fm1diag.js (inlined by make_site.py); test_web.mjs runs every path against a simulated FM-1
and the page in a fake DOM. web/404.html sends old / mistyped links (/installer/, /webapp/, ":1:1") where they meant.
Manual § 16 and README: the installer troubleshooting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-18 18:57:03 +00:00
Claude 329aff53fa 0.9.12 draft: 12 voices with the second core, sound types + PRESETS by type, MIDI LEARN (MENU > MIDI), FM6 bank sector guard, copyright lines
- voice.c voice_cap: VOICES_2CORE 12 while the second core takes parts (fx.c mc_two: CORES 2, not REC at
  power-on, not given up); one core 8, LOAD ECO 6; a track still NVOICE 8 (no RAM). After Skiff by illuminus5.
  cpu_vg: mix/v12 (both cores 3924 instr/sample), mix/v12.c0 (core 0 1949), mix/v12.one (one core, 8 voices 3241);
  regress.c chk_budget_2core; the dual-core equivalence test at one budget (mc_host_v12).
- Sound types (PT_BASS..PT_FX) on all factory presets in preset_t.mono bits 1..4 (no format change); PRESETS LIST
  ALL / FAV / BASS LEAD PAD KEYS PLUCK BELL VOX DRUM FX across engines, saved in favorites.factory[15][18];
  gen.c keeps PT_BASS sounds off the other roles (was a name match). After Skiff by illuminus5.
- MIDI LEARN ported from Felucca 1.5 (midi_learn.c): 10 CCs, 3 bytes each in DIGITAL's favourites row, reserved
  CCs and the standard map refused, any channel, USB and TRS; MENU > MIDI tab (MIDI OUT, LEARN, LEARN CLEAR);
  state in the pool.
- fm6_vbank.c: 0xE7000 holding foreign data (Skiff's pattern bank) reads as no bank and is never erased at
  power-on; only a bank the user sends replaces it. fm6bank_test foreign_test.
- Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) in JIANT's files ("Portions" in mostly-Felucca ones),
  README / LICENSING.md / MENU > ABOUT credits (Felucca, Skiff).
- Docs: MANUAL.md / MANUAL.es.md, README v0.9.12 draft, EDITOR_PROTOCOL.md (tabs), cheat sheets, nav map.

Flash 576192 -> 577712 B (+1520), .data+.bss unchanged, pool +8 B (spare 10528 B).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-18 18:50:07 +00:00
Claude 0912abb2f0 0.9.9: PROGRAM CHANGE follows the new engine order (DRUM-X first), as PRESETS shows it
ENGINE_PC_ORDER and preset_all_at_in removed: program n loads the PRESETS list's n + 1-th sound. MIDI rigs set up
for 0.9.8 or older need their program numbers set again (manuals, README, protocol say so).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-18 11:27:00 +00:00
Claude 6968b20ed1 0.9.9: DRUM-X, VOICE, ANIMAL first: power-on tracks and the engine order
- 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
2026-10-18 06:21:57 +00:00
Claude ec14f5eaca 0.9.8: VOICE sings softer: band-passed, eased sibilants, joined syllables, a singer's vibrato and glide
- 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
2026-10-18 03:10:37 +00:00
Claude 700d893a84 0.9.1: a master DJ FILTER on GLO > MIXER KNOB 4 (was the track's MUTE): LP / HP, out of the chain in the middle
- 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
2026-10-17 15:56:41 +00:00
Claude c524e3c45f 0.8.5: merge DRUM-X octaves (ratchet / short / ghost / flam per sound)
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
2026-10-17 02:19:38 +00:00
Claude c3435e48eb 0.8.5: DRUM-X octaves per sound: each lane's own x2 / x4 / x8 / SHORT / GHOST / FLAM on a step
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
2026-10-17 02:01:15 +00:00
Claude 1a124b8c48 0.8.5: VOICE sings words: ES / EN / JA lyrics, typed, sent or diced, automatable
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
2026-10-17 00:00:58 +00:00
Claude 719e06057e 0.8.4: the long delay: the line at half / a quarter rate past 0.74 / 1.49 s (to 2.97 s), the read kept inside it, 64 KB back
- 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
2026-10-16 21:54:48 +00:00
Claude c612539e61 0.8.3: ANIMAL, a new engine of animal calls (CMOS PULSE WHSTL WING GLOTT), engine 14
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
2026-10-16 17:17:47 +00:00
Claude d05e1994ef 0.7.8: DIST AMP, DRIFT, WHEEL ROTOR (DEPTH, DUST), NOISE mod source
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-16 01:13:49 +00:00
Claude 124ab61fe9 0.7.6: MASTER is FX's second page
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
2026-10-15 22:53:39 +00:00
Claude e081c6e1a9 0.7.2: nine DRUM-X kits as DRUM presets (909 CLUB, 808 BOOM, LOFI DUST, INDUSTRIAL, ACOUSTIC, DUB ROOTS, TECHNO RAW, BREAKS)
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
2026-10-15 18:02:30 +00:00
Claude 275211a051 FX destinations: an offset over the live stored value; DESC enum names up to 32
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
2026-10-15 16:19:51 +00:00