Commit Graph
16 Commits
Author SHA1 Message Date
Claude 3c6854b0f5 V10.8.40: the tempo exact and every DIV on one grid, a track's place from the transport's, RESYNC, MOOD on the drums
(a user: "the sequencer creeps ahead of the project's tempo"; the owner: "after a pattern change, an edit, EUCLID, a
variation, a track's start no longer lines up with the others'; I stop and play again")

- the tempo (fx.c beat_samples, seq_time): a beat a multiple of 24 samples, so every division of it is whole and tracks
  on different DIVs, the click and the clock out keep one grid (were FS * 60 / BPM cut, and cut again a division: at
  133 BPM a 1/16 track 8 ms a minute ahead of the tempo, a 1/32 one 20 ms, so 12 ms a minute apart); mix_block leaves
  a sample of the sequencer's time out when what that cut adds up to one: FS * 60 samples are BPM beats exactly
  (tests/drift_test.c: 0 samples after ten minutes, eight tempos, every DIV, SWING, FIT, the click). The DELAY's time
  as it was (the DAC's samples: beat_real)
- a track's place (seq.c seq_anchor): at every step it enters, the step and the samples into it from the transport's
  1/16s since its origin (PLAY, a song's section in, RESYNC) over its DIV. A track left alone is there already; one
  whose LEN or DIV changed under it (EUCLID's STEPS, MUTATE, a variation of another length, the knobs, SWING) is back
  with the others at its next step (tests/resync_test.c: 14 actions x 18 moments and EUCLID's knobs, none off; before:
  11 of the 14 left a track off). LIVE's playheads, a JUMP, FIT's own clock and an odd LEN with SWING as they run
- RESYNC: SEQ held + PLAY while it plays: every track from its first step at the next bar, in time (the banner, the
  [SEQ] layer's footer)
- GEN's MOOD on the drums in every GENRE mode (the owner: "CALM changes nothing audible, everything still has drums"):
  CALM the kit's levels down (the kick first; at -50 a low, short, dark closed hat alone), DANCE drums in every piece,
  a kick on the bar's first and third beats from +25 and on every beat from +40, the kit up and driven; the energy
  +-60 (was 40); MID byte for byte V10.8.39's (gen_entry_test). tests/gen_mood.c: the study's table
- usb_host.c uh_hub_status in the image (the Bluetooth segment's room)
- tests: the clocks that counted the DAC's samples count the sequencer's (rep_sync), the references that hold a
  sequence's timing follow (micro's 0.9.0 render, expr's MIDI OUT checksum, perform's 1/16, 14 golden renders: every
  key kept); layout re-recorded (REPIN=keep)

Image 583316 B of 584336 (1020 B free), RAM 97008 of 98304, RAM code 32504 of 34816, pool spare 8480 B, BT segment
73700 of 73728 B. audio.c as V23's.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-24 22:29:50 +00:00
Claude 5d59a3331a V10.8.37: MUTATE without a page, KEY TRK on FILTER, the factory sounds retouched
MUTATE (SEQ): its page gone. EVERY (OFF, 1 2 4 8 bars) is a tag in EUCLID's
picture ("EVERY 4"; nothing when OFF), set with OCT+ held + KNOB 4 on EUCLID;
OCT+ alone mutates when let go, OCT- is the anchor.

KEY TRK (EDIT > FILTER): OCT+ held + KNOB 2 (CUT's) OFF / 50 / 100 / NOTE, a
tag on the curve. 50 and 100: the cutoff follows the key (100: a semitone a
semitone, around C4) on every filter type, COMB too; NOTE: 100 and the cutoff
after all its modulation on the chromatic semitones (MOD SEQ > CUT plays tuned
resonances). A byte a track in the project's 'D' 'N' block, OFF by default; OFF
is bit for bit the sound before. OCT+ alone on FILTER is the keys' octave still,
when let go. tests/key_trk_test.c (in the workflow), ui_test's cases.

Factory sounds: sends by role (basses dry, leads more delay than reverb, pads
more reverb), a late vibrato on the leads, the plucked STRINGs darker played
softly, GONG and MATH BELL brighter struck hard, shared lists of movement
(engines.c R_*) for the sounds that had none (the kits, ANIMAL's calls, WEST's
struck ones and basses, PEDAL BASS) and in place of near copies. INIT sounds,
EXT and DIGITAL as they were. tests/golden.txt rewritten (every key kept, the
two newest kits added); micro_test's two hashes follow the sounds.

Image 582984 B of 584336 (1352 B free), RAM code 32516 of 34816, pool spare
8480 B, BT segment 73196 B. audio.c as V23's.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-24 17:03:49 +00:00
Claude cbfd4d33e7 V10.7.56 beta candidate: CI green locally: WEST's CC74 / CC71 FOLD / RES (was NOISE's, RATIO a list), micro's hash with the new ROOM, audio_test's budget checks as LOAD ECO's, target budgets, the CI's V23 renders kept (changed on purpose)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-19 00:17:41 +00:00
JUAN JIANT 56d4532785 Build V10.7.55 beta from V10.7.23 with WEST, readable editing and quieter tail reuse
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.
2026-11-18 14:45:16 -03:00
Claude bcb1d20f70 Merge branch 'codex/clean-authorship' into codex/swarm 2026-11-11 18:54:10 +00:00
Claude 385ee4204a ROOM: a 4-line feedback delay network, tails that end clean
ROOM's 4 parallel Freeverb combs become a 4-line FDN (Householder mix, per-line
DAMP low-pass, lengths 919/997/1061/1119 in one 4096 ring + the two output
allpasses 577/447 in a 1024 ring) in the same reverb buffers (5934 samples).
Echo density ~0.98 (was ~0.57). The roundings are symmetric, so no DC: the line
gain is rounded to nearest and DAMP snaps to its target within 1 LSB. Tails end
in exact 0 at every SIZE / DAMP corner. Error against a float model is
17-30 dB lower. SIZE / DAMP / level keep the combs' T30 (within ~10 %) and
loudness. MOD / WIDE path (rev_room_mod) uses the same network; SHIMMER and
CLOUD inherit it.

Tests: reverb_test reference rewritten for the network, plus echo density,
T30 vs the combs, exact-zero end; goldens updated only for renders that differ
through the reverb bus (verified: with the reverb muted old and new trees
render identically); djf/micro mix hashes likewise; perform OCT+ zero-crossing
count made independent of the preset's reverb send; fx_rest wake check taken at
the second chord's end; tools/audio_layout.txt from the REPIN=keep build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-11 18:16:12 +00:00
Claude da1b1dd2c1 Copyright headers: name Juan Jiant on JIANT's own files, add him on the modified Felucca ones
Comment-only change (the built image is byte-identical: felucca.bin 583936 B, felucca.fwsc 684736 B, same SHA-256).

- 37 files written new for JIANT FM after the fork (no Felucca text in them: checked against ac6bfcbd by literal
  code lines, runs of consecutive lines, same-named functions and moves in their creating commit) carried Leo
  Kuroshita's copyright line copied from a template: it is now Juan Jiant's (SPDX GPL-3.0-only kept). Among them
  sing.c, eng_animal.c, eng_input.c, eng_string.c, pfx.c, seq_live.c, ui_engvis.c, ui_lens.c, ui_lz*.c, ui_being.c,
  ui_organic.c, ui_tech.c, ui_dx.c, ui_live.c, tools/lyrics/*.txt, gen_drum_maps.py, gen_px_font.py and 14 tests.
- 140 files that hold Felucca's code (Felucca 1.1.5.1 files changed since, imports of Felucca 1.5.x, the SLOOP-based
  song_main/song_play, and new files that carry copied Felucca helpers: drumx_voice.c dv_exp2/dv_kb, gen_lyrics.py's
  Huffman, test harness helpers) keep Leo's notice and add "Portions Copyright (C) 2026 Juan Ignacio Antonucci
  (Juan Jiant)". Files unchanged since the fork are left as they were.
- LICENSING.md and README.md name both copyright holders.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-11 18:04:53 +00:00
Claude 10f1a7fedf djf_test / micro_test: hashes re-pinned for V10.7.6's intended changes
DJF_CENTRE_090 0x643f7d41 -> 0xa884ede6: the four-part mix holds an FM6 BELL whose REL is 5 now
(2b5861f; bisected: 2b5861f is the first commit that moves it). MICRO_PACK_090 0x49120182 ->
0xd49924b3: every FUNC carries the VEL mark at byte 65 (48ed1ba). The semantic checks (djf_block
never runs centred; no 'M' 'F' block, MICRO read back x 4) unchanged and green.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-09 14:11:35 +00:00
Claude d19d28bf3d host tests: TRACKS, MICRO, DJ FILTER, RATCH, LIVE brought up to the intended behaviour
- TRACKS (hostsim): V10.6z4 records lengths in LEN; a note released early in a
  step keeps that TIE with its LEN (3/16) instead of putting the older take back.
- MICRO / RATCH HUMAN: track 1's power-on sound glides (V10.6d); POLY + GLIDE
  slides each step into the next on the same voice (seq.c chord_auto), so the
  playback checks saw one note-on. GLIDE 0 there; MICRO also reads a start kept
  in pn_* (voice.c voice_begin, ctl64).
- MICRO / DJ FILTER golden hashes: renders and project bytes changed with the
  sounds and defaults since V10.55 (GATE 100 %, levelled presets, V10.7's mix);
  the checks that matter (MICRO places x 4 on load, djf_block never ran) pass.
- LIVE: GLO's chain has 11 pages since e3c9e26 (KEY SPLIT, KEY SPLIT 2).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-09 12:13:13 +00:00
Claude a3b0312ab8 Tests: editor_test links again, EQ / TAPE kept in a project checked when it opens, MICRO's old-project render hash
editor_test: editor.c calls ui_input.c's excite_turn (V10.40), which the test
does not build: a stub. eq_test / tape_test: since V10.58 a project's EQ and
TAPE are set when it is opened (project_restore_runtime), not by the read.
micro_test: the 0.9.0 project's render, rewritten by 0.9.9-snd2's chorus
(da051a3) and gen6e's notes in a release (b587793). No firmware change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ANe9VnsP3SadWTYQD8zCJ6
2026-11-06 12:20:41 +00:00
JUAN JIANT e147a989f6 Preserve the complete FIT candidate source alongside the probability correction 2026-11-04 15:36:07 -03:00
JUAN JIANT 4d23857b9f Preserve per-step probability through SEQ and STUTTER replacements
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.
2026-11-04 15:34:37 -03:00
JUAN JIANT 635effe287 Restore complete V10.6c source tree around the song-save changes
Keep all unmodified public firmware, build tools, assets and web files in the candidate tree.
2026-11-04 07:30:19 -03:00
JUAN JIANT 243258059e Add SAVE SONG AS to copy complete songs between projects
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.
2026-11-04 07:28:45 -03:00
Claude caa8b2557b ctl64 (0.9.9): the control block 64 samples, notes at their sample inside the block
core.h CTL 32 -> 64 (tools/gen_tables.py; the half buffer 128 frames: two mix_block passes a half, not
four), so the fixed cost of a block (events_block, mc_split, the core-1 handshake, buffers cleared and
summed, sends, buses, master) is paid half as often. Everything that counted blocks of 32 counts in CTL:
envelope / LFO tables, glides, fades, the steal fade, the leveler's (its peak still read over 32) and
DUCK's followers, DRUM-X FLAM / PUNCH / pan slew / group fade, the FX gate, DJF crossfade, SPRING / RESO
glides, WORDS' phoneme timing, the FX layer's LPF / HPF sweep (perform.c PF_CSTEP), the mod matrix's
NOISE and STEP eases.

The sequencer did not get coarser: a note inside the block carries its sample (core.h ev_off; voice.c
voice_begin / voice_off_at / track_render render the sounding voice up to it and the new one from it;
every engine but FM6, which renders whole blocks and keeps the nearer edge). tests/ctl64_timing_test.c:
on a MICRO-shifted pattern every rendered onset is within 2 samples of the sample-at-a-time sequencer
(ANALOG POLY worst 2, ANALOG MONO cuts worst 2, DRUM kit hits worst 1); the 32-sample build placed them
-22 .. +5 samples off.

Host CPU (tests/cpu_vg.py, exact instructions / sample, 32 -> 64): mix/idle 516 -> 426 (-17.5 %),
seq/mono4 1514 -> 1188 (-21.5 %), eng/DRUM 1477 -> 1156 (-21.7 %), eng/FM6 1710 -> 1507 (-11.9 %),
eng/VOICE 1500 -> 1337 (-10.9 %), VOICE.EN 1783 -> 1619 (-9.2 %), ANALOG / PHASE / LOFI / NOISE / WHEEL
-6 .. -9 %, reverbs and delays -7 .. -8 %, mix/full 2671 -> 2505 (-6.2 %), seq/plain 2381 -> 2158
(-9.4 %), seq/heavy 2783 -> 2485 (-10.7 %), song/cputest 3016 -> 2742 (-9.1 %), peak/VOICE.EN6
3304 -> 2937 (-11.1 %). Firmware: image 567896 B, .data+.bss 88276 of 98304 (+9 KB: the CTL-long
buffers), RAM code 21848 of 24576; the render loops' target cost as before (tests/target_budget.txt).
docs/CPU3_PERFORMANCE.md, README (the dual-core section), CPU5_PERFORMANCE.md.

Goldens: tests/golden.txt, cpu_baseline_vg.txt, target_budget.txt regenerated (GOLDEN_UPDATE /
BUDGET_UPDATE: the sound changes through the buses' one-block lag, now 1.45 ms, and the leveler's
reading); djf_test / micro_test reference hashes of the 0.9.0 renders redone at CTL 64. Host tests that
counted blocks count in CTL (reverb DUCK 3 / 20 ms, voice glide 163 blocks of 32 and 1/8 st a block,
click_test, drumx_oct_test); drumx_test's HANDS and PUNCH checks reset the kit's noise generator before
each compared strike (they compared different noise realizations: up to x5 strike to strike on the
32-sample build too, measured). Full host suite: every section passes but gen_nav_map's stale
docs/navigation-map.svg, which the base reports as well.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-23 17:07:04 +00:00
Claude c5f9b17255 0.9.1: REC off the grid 4 x finer: a step's MICRO in 64ths (-32 .. +31), recorded, played and saved
- core.h ST_MICRO / ST_MICRO_SET (inline now): the sixteenth below stays in cwhen's bits 4-7 as always, the 64ths above
  it (0..3) in two free bits of the flags (SF_MFINE, bits 5-6): step_t is still 20 bytes, no struct or static moved
  (its 6 x 64 in trk[], cvs / cva / cvp / rh_bak, the project scratch, the section stage, tl_src, gen_keep, dxo_bak,
  the stack copies: 0 B; a byte more would have been ~478 B of main RAM and shifted track_t after step[]).
- seq.c: live recording with REC Q under 100 % writes 64ths (rounded; REC Q 0 % where you played, 50 % half way);
  playback in 64ths (a late step's queue, the early end of the step before). Flags written whole keep the 64ths
  (rec_hold, load_pat16, GEN, the dice, the editor's STEP_SET); gen.c's sixteenths x 4 (its pieces as before).
- SEQ > NOTE's KNOB 4 a 64th a detent (accelerated), the card "+5/64", the big step's chip, the piano roll.
- FUNC: the 64ths in a block after the others ('M' 'F': the tracks, 2 bits a step), only when a step has some; a
  project of before plays and saves exactly as with 0.9.0 (its sixteenths x 4); firmware before 0.9.1 loads a newer one
  and plays each step at the sixteenth at or below (up to 3/64 sooner).
- Tests: micro_test.c (every value; an old project sample for sample and byte for byte as 0.9.0; recording within
  1/64 of a step at 72 / 120 / 174 BPM on 1/8 1/16 1/32 16T and swung, worst 0.0088 of a step; playback within a
  sample of MICRO's place; REC Q 50 % / 100 %; save / load and the block missing); ratchet_test's TIMING in 64ths;
  editor_test (STEP_SET keeps MICRO); ui_render sweeps every MICRO. Manuals, README, protocol, cheat sheets.
- CPU / audio: goldens, cpu_vg and target budgets as before. Image 548444 B (+564), RAM unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 16:10:55 +00:00