Juan: "Habría que implementar el OTT en el generador para los géneros más
electrónicos".
GEN (gen.c gen_ott, after the mix and the FX; RESOUND too):
- GOTT, a genre each, the drums and the bass at DEPTH 40 .. 60:
- 40: HOUSE, DEEP HOUSE, MINIMAL (its sub alone, 1 dB up);
- 44: TECH HOUSE, TRIBAL (drums only), REGGAETON, IDM GLITCH (drums
only), TECHNO ROCK (its synth 80s);
- 48 .. 54: DRUM & BASS, ELECTRO, BREAKBEAT, DEMBOW, ELECTRO METAL,
HIP HOP's trap, drill and pluggnb, HARD TECHNO, EBM, BAILE FUNK;
- 60: HARD BASS, PHONK, DUBSTEP.
MOOD DANCE adds 4.
- In most of them, one seed in two, the lead goes hard at 60 .. 78. When
the lead is a riff already up front (GAIN 6), the texture takes it.
Pads never. Three tracks at most.
- Per role TIME, UP/DN and X-OVER: the drums TIME 44 and a little less
upward, the bass X-OVER 26 (its sub whole), the lead X-OVER 55.
- None on the acoustic and organic genres (cumbia, jazz, neo classic,
dream pop, shoegaze, kraut, metalcore, IDM ambient and weird), on
HIP HOP's boom bap and lofi, on TECHNO ROCK's rock, on EXPLORE, nor
at MOOD CALM.
- Each OTT track's LEVEL comes down by the depth squared (gen_peak:
every piece under -1 dBFS with the trims as they were). No draw from
the piece's random streams: every other choice is as it was, and the
seed is still deterministic.
- RESOUND sets the genre's OTT, or clears it, on the tracks it gives
sounds. A track RESOUND does not touch keeps its OTT.
- Not per section: the sections do not store OTT.
FX > OTT, a much more extreme law (Juan via the coordinator; this
replaces the alignment to BYTE d9feaf71; BYTE v1.1b5 has no commit yet):
- Up at 0.97 dB a dB toward -18 dBFS, at most +36 dB, faded out under
-66 dBFS (a -46 dBFS band gets +27 dB).
- 20:1 over -22 dBFS, at most -36 dB.
- Both bands driven together into dsp.c's soft clip, +9 dB at the full
weight: dense and saturated, never a hard clip, never past -0.3 dBFS.
- DEPTH squared to 70, then a cubic to 100 (weight 30: 0.09, 60: 0.36,
70: 0.49, 80: 0.85, 90: 0.98).
- TIME 48 by default (~32 ms back, 1 ms up), so it pumps with the kick.
- Each block's band peaks are read first, so a hit after quiet is not
boosted by the quiet's gain, and a gain going down takes effect at
once. Still a gain per block, then the ramp.
- DEPTH 0 is still not run (bit-exact). Under the overload guard, half
the weight.
- ott_test: at DEPTH 100 a -46 dBFS sine comes out at -10.0 dBFS and a
-6 dBFS sine at -7.7 dBFS (from the rms), 2.3 dB apart.
- Stored TIME is kept less its default: a V10.8.71 file's TIME comes out
24 lower (its default 72 loads as the new default 48).
DIST TYPE gets JIANT BYTE's formula effects (origin/main DIST_EQ; on
BYTE's formula machine there, fixed code here):
- 6 RING, 7 STEPS, 8 XOR, 9 WOB, 10 SFOLD, 11 SAT. They are cases of
the shaper (dist_shape, in RAM); deq_k gives each block's constant.
- They use BYTE's input scale, TONE stage and blend; there is no low cut
and no make-up. NOISE moves the input as BYTE's does, at FM's NOISE
depth.
- SOFT .. AMP keep 0 .. 5, and old projects sound the same.
- Within 1.5 % of the formulas in floating point (dist_eq_test). The
output is a quarter inside so the TONE poles fit in 32 bits (BYTE's
can wrap).
- BYTE's GATE, LPF, LFO.F, HPF and RND are left out: the flash.
- The SENDS have no drive of their own in FM (SENDS' DIST is the track's
DIST), so there is no separate send SAT / SFOLD.
HOME > VISUAL: every frame the UI paces is drawn. V10.8.67 left out
every other or third frame by the animation's ticks, unevenly (3 to 7
drawn a second, gaps of 150 .. 400 ms). Now each frame draws less:
- past 65 % load, the first picture alone and 300 points (copies as the
budget holds them); past 80 %, 150 points;
- the animation frozen: the picture is kept and not drawn again (it was
never drawn at FREEZE);
- ui.force is cleared after a VISUAL frame (it was left set).
Host (tests/vis_cadence_test.c), frames a second and work a second,
V10.8.71 -> V10.8.72:
- idle: 66 -> 66;
- 69 % now / 66 % average: 6.7 (gaps 150 ms), 0.6 ms -> 20 (50 ms), 0.4 ms;
- 82 % / 50 %: 6.8 (350 ms), 0.7 ms -> 20 (50 ms), 0.4 ms;
- 82 % / 79 %: 3.3 (400 ms), 0.3 ms -> 10 (100 ms), 0.2 ms.
Off the page nothing of it runs.
MOOD CALM's rows checked: V10.8.68's message said "longer sections,
slower RADIO", but its code is BYTE 09ec6b57's, where Juan asked "CALM's
pieces too long". CALM -50 rows: HOUSE x 12, PARTS 356 bars against
MID's 624, SONG 490 against 1140; the radio loops 9 bars against 17.
Left as it is; gen_entry_test pins the direction.
Flash (V10.8.71: 176 B free; this work ~2.7 KB):
- more enum lists packed in PNE (str_nth): FM6's ALG and SLOT, MATH's
BYTE and FLOAT, VOICE's LYRIC LANG THEME LOOP, ARP MODE, SCALE,
ENGINE, KEY MAP, EXT's MODE, STRING's EXCITE, WHEEL's PERC. name_of
reads packed lists; descdump is identical but for DIST TYPE.
- BTAPP_FN / UH_SEG functions are now seen by size_fns.py; 13 per-key,
per-step and per-half-buffer sound functions built for size.
- the shaper's soft clip one copy in RAM (dist_sclip, bit-exact).
Image 12 B free, BT 36 B free, RAM .data+.bss 1048 B free, pool spare
8224 B, RAM code 40384 of 42496 B (headroom 2112). audio.c is V23's.
REPIN=keep; a plain build passes.
CPU (tests/cpu_lines_test.py), each scene's worst block, core 0/core 1,
V10.8.71 -> V10.8.72:
101 79/44 -> 78/44 102 62/28 -> 62/28 103 81/14 -> 85/14 (TRIBAL: OTT drums)
104 46/14 -> 50/14 (BREAKBEAT: drums, bass) 105 66/41 -> 66/41
106 53/36 -> 52/36 107 58/11 -> 62/11 (HARD BASS: drums, bass)
108 51/29 -> 51/29 0c 70/58 -> 70/58
The GEN scenes with OTT pay ~4 % on core 0, mostly ott_block's flash
lines (the first OTT track). DIST at 127 on all six tracks of 101: SOFT
81/46, WOB 81/46, SAT 82/47, RING 84/46 (CL_DTYPE).
gen_peak: 270 pieces, 0 over -1 dBFS (loudest stem -2.5, mix -1.1).
gen_test's mix pass and the rest hold.
Tests:
- ott_test: the law, the curve, GEN's OTT, RESOUND;
- tests/dist_eq_test.c and tests/vis_cadence_test.c are new, in CI;
- app_contract: DIST TYPE's DESC;
- gen_entry: MID recorded again, CALM's direction;
- cpu_lines_test.c: CL_DTYPE;
- the local workflow: all 23 steps pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- KEY MAP: BASIC EXTRA KICK SNARE CLAP HH CL HH OP TOM RIM BELL (0..9, the editor's range too); EDIT > PLAY KNOB 4 on a
kit (IMAGE's place: a kit's is STEREO); KIT 4 out of the chain.
- Cut on their cards (every engine's every page swept): GLIDE TYPE -> GL TYPE, RIGHT TIME -> RIGHT, ALL TRACKS -> ALL TRK,
FEEDBACK -> FEEDBK, DRAWBAR -> BARS, SYMMETRY -> SKEW, HH CLOSED / OPEN -> HH CL / OP, punch-in CLR AUTO -> ERASE,
TRACK GEN COMPLEX -> BUSY; the hints say them in full; the editor reads the old names.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- HOME > LIFE (ECO's second page, where MACROS was): KNOB 1 FILTER (a kit's hits close the others' filter, a voice's
open it), 2 TIMBRE (shape; ANALOG its DRIVE), 3 PUMP (a kit's hits duck the synths' level; no kit sounding: the ring's),
4 FX (the reverb and delay sends breathe). Each track moved most by the one before it in the ring of the tracks not
muted, the rest a quarter, from their followers a block late (mod.c life_block, life_mod: matrix offsets, restored
after the part). All 0: nothing runs. Kept with the project ('L' 'F'). ~1 % of the CPU at its fullest (cpu_vg
song/cputest.life); LIFE's own followers scan every 4th sample. The ECO picture draws who moves whom.
- RAMP (step component): its END on KNOB 4 with FROM and CURVE: BACK (as before), HOLD (stays till a stop or the next
launch), PING (back and forth over its LENGTH, never relaunched). Bit 7 of its VALUE (no JUMP of before had it).
- SEQ > STEP FX: OCT- clears every step component of the track (a dialog; the notes stay).
- The matrix's STEP source is MSEQ (as its page).
- tests/life_test.c in CI; ramp_test END; ui_test HOME's seven pages.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
Keep the original punch-ins, downsampling and held-note protections. Add stopped note audition, large menu rows, WEST migration and attributed Yehnah release-tail ordering. Verify target budgets, legacy audio hashes, recording, UI and native/WebAssembly parity.
- 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