- mod.c: MS_OCTUP (24), MS_OCTDN (25) appended after T1..T6 ENV (MS_N 26; the ids before kept).
OCT+ = the bend's smoothstep ramp (0..1, eased in and back; OCT BEND OFF: 0), OCT- = the vibrato
(5.5 Hz, depth faded in, bipolar). kx_semi / kx_amt / kx_ph moved here from seq.c (no new RAM);
kx_shape, kx_src, kx_route out of line so the sound's code keeps its place (mod_tsrc +8 B, kx_block
the same size). track_follow_mask only for T1..T6 ENV.
- seq.c kx_block: a track whose slot routes OCT+ (SRC, DEST, AMT set) gets no bend and no MIDI OUT
pitch bend; one routing OCT- no pitch vibrato (CC1 still sent). Recording, OFF, UBOOT, AT unchanged.
- params.c N_MSRC "OCT+", "OCT-"; web editor, EDITOR_PROTOCOL, manuals (EN/ES), cheatsheet.
- tests: expr_keys_test.c (checksum 9d661a90 equal to V10.7.21's sources with no route; OCT+ on CUT
sweeps, eases back, no bend; OCT- on CUT / LEVEL wobbles, pitch still); persistence round-trip.
- tools/audio_layout.txt rebuilt (audio code after mod_tsrc 6-8 B later; new helpers after the last run).
- flash +220 B (582196 -> 582416), RAM +0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
MENU > DISPLAY > COLOR offers exactly seven, all the owner's: JIANT (unchanged, the
default) and six of its own. The ten inherited from Felucca (GREY GREEN AMBER ICE
VIOLET ROSE PAPER HI-CON NIGHT MONO) are gone.
- tools/gen_ui_palettes.py: a palette is twelve stored tokens (bg surf text theme
accent mid dim line sel tint rec raise); JIANT's are its five colours and the
blends it has had since 0.8.9 (bit for bit), the six new ones the owner's hex
values at the nearest RGB565. INK is black in all. NEON's SEL a step lighter than
set (#D43589) so black INK on it passes 4.5.
- gfx.c palette_set copies the twelve; KEY, LANE, GRID stay derived. The GREY
(gray axis), MONO (black and white) and PAPER (light) paths are removed: ux.mono,
ux.light, the light coverage curve, ux_gray / ux_luma, the knob table per palette.
- The thermal ramp (beings, notes, bars, card values) in every palette.
- Saved ids: UI_PAL_TAG + the place the nearest palette had up to V10.7.18, so old
settings land on the nearest of the family (GREY MONO NIGHT -> HUESO, GREEN ->
SELVA, AMBER ROSE -> BRASA, ICE -> ABISAL, VIOLET -> JIANT, PAPER HI-CON ->
CONTRAST) and older firmware reads new settings as its nearest palette (NEON: a
new id, its fallback). The record's format and version are unchanged.
- A card value too long for S (COLOR's CONTRAST) is set whole in the small face;
COLOR's chips fit it. An arrange row of an empty section is a well (DIM on the
section's colour could not be read).
- Tests: theme_test (the family, the stored tokens, the knobs' contrast; its probe
glyph in the byte-packed format, which is what failed before), settings_test and
backup_test (the migration), ui_test, ui_render (gray / neutral lints replaced by
a contrast lint of every ink drawn), editor_test, the web mock.
- Manuals (EN, ES), README, cheat sheet text, EDITOR_PROTOCOL.
Image: 1992 B free (was 256).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- DRUM-X: noise filter GR (mode filter 3, rejected by older firmware's kit check, so old kits are bit-identical):
a band-pass whose hit is a stroke of ridge ticks at 24..64 Hz (PITCH), held for SCRAPE (PMOD's slot, 0..173 ms)
times the hit's velocity^4 (accent = long "rrrrip", soft = "chk"); on any lane. SOUND 3 MODE 24 -> 32 values,
SOUND's PMOD card reads SCRAPE. The hit's velocity in dx_voice_t's padding (sv).
- Factory kit LATIN PERC (11th DRUM preset): bombo, timbal, llamador, GUIRO (closed hat), maracas, conga, clave, cowbell.
- CUMBIA: kits take LATIN PERC's llamador, guiro (SCRAPE per throw), maracas, conga, clave; sonidera guiro long on the
"e", short on the "and" and on 2's/4's "a"; villera rebuilt as RKT after the owner's reference (kick + clap on every
quarter, guiro X..x with the "a" pulled ~28 ms early via MICRO, conga on the "and"s, bass/keys low).
- REGGAETON: GSP_HEAVY (kit, 808, master driven; romantico clean), 808 gate 70, pad 25 and under, arp 70 (BROKEN,
CYCLE3), hook 30, drier, drums up in GMIX, LATIN PERC conga/clave, a perc pickup on 13.
- BAILE FUNK: claps/hats replaced by tom shots on 3 6 12 (low tom lane, high = llamador on the clap lane) and
cowbells; no chords; 808 archetypes short with rests and an octave glide (BA_TAMBOR, BA_MANDEL, new BA_FUNK3),
gate 55, bass up in GMIX, chops 30, drier.
- Other genres' dumps (12 seeds) and audio identical to V10.7.7; EXPLORE differs only where it draws the BAILE map.
- Flash: image 583440 B (896 B free; was 583992 / 344): net -552 B, from noinline on single-call helpers inlined into
big functions (layer_cards, graph_morph, graph_system, eu_*, gidm_edit, gx_sound, pr_follow, ...).
- Tests: gen_test V10.7.8 checks (guiro long/short, sonidera syncopation, RKT, reggaeton heavy/arps, baile tom shots,
cowbells, no snare/clap/hats/chords, short gliding 808), OCT+ test seeded from a fixed state; drumx_test GR;
ui_test 11 kits, MODE to GR; web editor LATIN PERC. Docs: MANUAL (en/es), TONIC-DRUMX, EDITOR_PROTOCOL.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The three play factory patch F2 (GLASS BELL: carriers R4 35/40/45, L3 0, R3 25). FM6's REL slows the
carriers' R4 by REL x 90 / 127 (fm6_sync), so REL 25 put OP1's R4 at 18 (qrate 11, ~1.7 dB/s): a
released bell rang far longer than a held one (held 1 s: -15 dB; released: -1 dB after 1 s), audible
~10 s, and its voice stayed until the carriers fell under the done threshold: 38-45 s for one note
(regress: 'voices not free 12 s after the note-offs'), an FM6 voice of the 8 kept busy per note.
The 'DC left at the end' was not DC: regress measured the tail's midpoint while those voices still
rang (BELL CLOUD -91 with a 1036 peak); with the voices free the tail is 0 / DC 0.
REL 5: R4 31 -> free 8.3-8.6 s after the regress phrase, 9.9-10 s after a short note at 127; -20 dB
at 1.2-1.3 s (was 2.4-5.6 s). REL changes only R4, so the sound while held is bit for bit the same.
Web editor mock synced. fm6_test 9: every factory preset's note is free within 12 s; the three held
as at their V10.6i REL, bit for bit. 0 B.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- descdump: SHOWN capped lists at 64 names, G_DTIME has 67 (the dotted times):
a trailing comma, desc.json was not JSON and test_web.mjs threw. Names are now
indexed by value as param_format / ED_DESC do (MATH WAVE read "-", "-").
- run_tests.sh builds descdump with FM4_CONVERT=1, the DIGITAL conversion the
editor mirrors (the firmware itself retired it in V10.6s).
- editor.html: divLength knows the dotted 1/4D 1/8D 1/16D, so the real editor
lists DLY TIME in the device's knob order; the mock: matrix SRC/DST names,
GATE 100 %, TIME's dotted values, EXT engine, R TIME (G_COUNT 73), the
levelled presets' sustains, FM6 factory patches, ENGINE_ORDER ADD and EXT.
- test_web.mjs: G_COUNT 73, the matrix's 24 sources / 32 destinations.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
Noise without the one-pole and its level following COLOR, a hard FM ceiling,
808 clap bursts, a faster kick drop with a click, retriggers from where they
were, smooth FOLD/DRIVE/FEEDBK/FM ENV curves, kit knobs without dead spots.
Cowbell: two band-passed squares at 1.47, click + tail, COLOR mix > AM > FM.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
ANALOG FM6 PHASE MATH VOICE WHEEL NOISE STRING ADD ANIMAL, DRUM-X a little.
ENV 2 (MUTATE's old slots) no longer kept across a sound load.
Tests start from a free matrix where they assumed presets had none.
Editor tables regenerated from the firmware's.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
BIRD FLUTE no longer a copy of WHISTLE; WING HUM / HUM VOX with attack and release;
new instruments, experiments and bare INITs. Stored numbers and PROGRAM CHANGE kept.
Editor tables generated from the firmware's (tools/preset_mods_js.py).
upreset_test builds again (clamp) and expects V10.6h's kept FILTER.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- MATH: the chip waves and the STEP envelope gone (~3 KB); a stored chip
sound (project, user preset) loads as ANALOG's nearest (core.h
analog_from_chip); MOTION 0 and RTRG ON by default; five FLOAT voices
at the note (MATH KEYS BASS PAD LEAD BELL) in the chip presets' places
- power-on / NEW PROJECT: DRUM-X ACOUSTIC (its kit), ANALOG FAT BASS,
PHASE GLASS PAD, FM6 TINE EP, VOICE CHOIR AAH, ANIMAL WHISTLE; the
engine list in that order
- ANIMAL: WHISTLE BIRD FLUTE WING HUM HUM VOX PULSE TONE (C3 is C3);
SIZE shown as semitones from the key on WHSTL PULSE WING
- editor protocol: an enum's names from its min (MATH's WAVE 5..6)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
Previously these components forced legacy 100%, even on a step configured at 0%. Keep the destination probability before overwriting the rendered copy, including aliased C.LEN input. Test the production sequencer on ANALOG and DRUM at 0/25/50/100 percent. Leave punch-in FX unchanged per the user's verified emulator report.
Copy sections A-D, unsaved live edits, current globals, arrangement scenes, per-track sources and variations into a selected project. Confirm complete-song replacement, preserve the source, and keep the naming dialog on save failure. Validate NOR persistence and UI flows; build a candidate without deploying installers.
The user's ask: the audio input routed to tracks (IN 1, IN 2, 1+2, stereo),
the track in an audio mode, an envelope follower to modulate with.
Engine 15 INPUT (eng_input.c) plays the USB audio input (an interface on
HOST, or the computer's USB IN+OUT): SOURCE IN 1 / IN 2 / 1+2 / STEREO
(the image through the part's chain as IMAGE keeps it), GAIN, GATE, PLAY
THRU / KEYS (at a note's envelope), WIDTH, RING, BITS, RATE; nine presets.
While a track is INPUT the last track's IN+OUT mix steps aside. FOLLOW:
the input's envelope as a matrix source (mod.c). EDIT shows both inputs'
meters, GATE's level and FOLLOW (Bluetooth segment). Engine 15 appended
(NENGINES 16): stored SAMPLE tracks still load as ANALOG. audio_test
covers the routing, the image and FOLLOW.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
FM6: the seven near copies of the first eight patches become leads,
basses and a bell pad through the macros (FM LEAD, SQR LEAD, SAW LEAD,
SLAP BASS, SUB BASS, BELL PAD; HARD BASS stays; program numbers kept).
WHEEL: PEDAL BASS and DRIVE LEAD in DUB ORGAN / SOFT KEYS' places.
LOFI: PULSE BASS appended (browsing order after TRI BASS).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
Editor: the device describes a track's knobs as the panel does (track_desc:
ANALOG SAW3 / PLS3 INT 3 at -24..24, not NOISE's 0..127 that clamped it;
STRING FDBK; NOISE LFSR), a WAVE / EXCITE set from the editor resets the
knobs that change meaning (excite_turn), and the editor re-reads the engine's
knobs when that parameter changes (from either side).
HOME's lazy redraw: a 16-bit cell hash misses about one changed cell in 65536;
one cell per strip a frame was sent anyway, so a miss on HOME's panel strip
(1140 cells) could stay ~95 s. Now n / 128 + 1 cells a frame: every strip
again within ~128 frames (~10 s), ~4 % more pixels sent.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
A user's ask for ambient drones and pads: the LFO's sixth wave, DRIFT, a smooth
random wander (each cycle a new value within half the range of the last, reached
on a smoothstep). The presets' spare byte (xp, VOICE's alone until now) carries
BREATHE for the other engines: DRIFT on FILTER, some a little on PITCH, over 4 or
16 bars, given to ten factory pads. AUTO PAN keeps its five waves.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
A user's ask: a boom bap kit (a round kick with a knock, a fat cracking snare, a
tight clap, dusty band-passed hats, a low tom, a woody rim, a shaker in the BELL's
place; the snare, clap and rim a little reverb) as DRUM's tenth preset, suggesting
the new SEQ > PATTERNS 14 BOOM BAP (kick on 1, the and of 2, 3's second 16th; snare
on 2 and 4). The editor's tables follow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
docs/BLE_FEASIBILITY.md stage 2 step 6 (section 9 added: as built).
- The RSSI word of every good packet on the link (ble_hw_wl82.c hw_rx_service:
one hook, BLE_HW_RX_RSSI) into a 16-word ring in the segment (bt_seg_rssi).
- bt.c bt_prox_step (main loop, in the segment): level = (w & 63) + (w >> 8 &
63), median of five, one pole (~50-70 ms); held without packets; eased to 0
(~0.3 s) without a central or with BLUETOOTH OFF. FAR / NEAR in
favorites.factory[6][22..23] (always 0 before: not calibrated, PROX 0), mapped
to 0..1, clamped, either direction.
- mod.c MS_PROX ("PROX" after NOISE, unipolar): every SRC list, the web editor.
- MENU > SYSTEM > BLUETOOTH ON (radio running): OCT+ opens PROX's page (a meter,
%, the level and the raw word, FAR / NEAR); OCT- stores FAR, OCT+ NEAR; SELECT
back. The lens keeps the menu's tabs and cards for it (ui.c lz_on / lz_fam).
- ABOUT's AUDIO LOAD block in the segment too (about_load).
- tools/build.py: FELUCCA_REPIN=keep (the order recorded before, addresses anew:
the sound stays within ~0.7 KB of V10.12's instead of the compiler's new order
moving the engines up to 37 KB); a REPIN records the sound's tables after the
UI's left .rodata. tools/audio_layout.txt so repinned.
- Tests: ui_test (PROX's level, page, calibration, map, outlier, gap,
disconnect), mod_test (PROX on CUT), ui_render (menu_prox, menu_prox_off).
App 581,616 B of 584,336 (2,720 B free); RAM .data+.bss 95,564 B; pool spare
9,536 B; segment 33,260 B (9 sectors).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
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
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
- 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
- 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
- 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
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