Commit Graph
11 Commits
Author SHA1 Message Date
Claude 90dda48b6d Own pieces: rewrite the helpers copied from Felucca, headers to Juan Jiant where nothing copied remains
Firmware image byte-identical to bcb1d20f (felucca.bin, ota.bin, felucca.fwsc, bt.bin: same SHA-256).

- drumx_voice.c: dv_exp2 / dv_kb written anew as dx_pow2 / dx_fall (same integer results for every input,
  same machine code); fx.c and tools/audio_layout.txt follow the names. Header: Juan Jiant.
- tools/gen_lyrics.py: the Huffman code lengths by a two-queue construction and canonical codes from the
  per-length counts (felucca_lyrics.h identical). Header: Juan Jiant.
- tests/jiant_test_util.h (new): the verdict line, RMS / peak, FFT, Hann power spectrum, peak frequency,
  xorshift noise. animal, string_add, voice, delay, drumx, drumx_oct, filter, stems_usb, swarm, uac_sched
  and fm6bank tests use it instead of helpers copied from Felucca's tests; their output and demo files are
  the same byte for byte. Headers: Juan Jiant.
- song_main.c: the quick chain's bars (quick_bars) and the song's row check (song_unsaved) rewritten; header
  Juan Jiant, SLOOP's design credited. song_play.c keeps Felucca's notice and gains Andre Rezemini's (the
  SONG REC take follows SLOOP's seq.c; ISR code pinned in flash, left as it is).
- Charles Vestal's notice where his code remains: web/emu/felucca_web.c, worklet.js, index.html (X0X) and
  hal/fm1_adc.h (Velo's row drive). LICENSING.md says which files carry which notice.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-11 20:08:52 +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
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 fd726bb5aa V10.8: testers' fixes (GEN OFF parts, GEN genre kept, step VEL, dotted delay, less pitch wobble, SONG PLAYS message)
- GEN: BASS / CHORDS set OFF stay off (the "never fewer than two voices" rule
  now only fills in parts left on AUTO).
- GEN keeps the GENRE picked between visits (was EXPLORE each time it opened).
- SEQ > STEP KNOB 4 is VEL: 1..127 (a turn stops at 127), then ACC, SLD, A+S.
- Delay TIME: 1/4D, 1/8D, 1/16D, appended (stored values unchanged), placed by
  length in the knob's order.
- Generators: the random macros never route to PITCH; EXPLORE's pitched delay
  1 in 10 and octaves only, less glide / vibrato / detune; the FX dice's
  pitched delay 1 in 10, octaves.
- "STOP TO EDIT" now reads "SONG PLAYS: STOP IT TO EDIT" (the cause: a song or
  quick chain playing).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-31 16:03:14 +00:00
Claude da051a32f2 JIANT 0.9.9-snd2: the chorus lighter, its LFO a segment (64 samples; 16 / 8 / 4 at the fastest RATEs)
The ensemble's three read points were three sines a sample. Now the LFO is
read at a segment's ends (fx.c cho_lfo, out of the RAM code) and the read
points glide between in Q14: 64 samples below RATE 64, 16 below 96, 8 below
120, 4 above (a fast, deep sweep bends most between two points). The three
taps and their mix as they were. Against the old (tests/delay_test.c
test_chorus, a saw through it): -63 dB at the default (RATE 40 DEPTH 60),
-58 at RATE 80 / 100 DEPTH 127, -51 at 127 / 127: inaudible, so it is the
chorus (not an option). reverb_test's reference buses follow it (ROOM still
bit for bit). CPU: -35 instructions / sample at the default (cpu_vg
cho/pad 1319 -> 1284; mix/full 2593 -> 2558), -16 at RATE 127.
Goldens: 88 renders with a CHORUS send rewritten (presets with CHOR: ANALOG
20, VOICE 13, FM6 12, PHASE 12, LOFI 8, NOISE 5, WHEEL 5, ANIMAL 1; modes
ANALOG 4, VOICE 4; sends/ANALOG 2; song/4track_mix; slicer/song_gate_stut).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-24 03:13:07 +00:00
Claude d206a4fe05 JIANT 0.9.9-snd2: THROW's delay band-limited, tape-echo style (the punch-in delay's noise rings out)
While THROW (the FX layer's KNOB 3, the punch-in delay) sends the mix into the
delay, and for 12 s after it is let go (its tail; out over the last 0.4 s, or
at once when the buses go to rest), each repeat goes through a band in the
loop (fx.c dly_band, both loops, before DRIVE): a one-pole low cut at 180 Hz
and two poles of low-pass at 4.8 kHz, closing to 3 kHz with FEEDBK at 100 %
and by up to 1.2 kHz more over the tail, mixed in by a share that glides
(no click). DRUM-X's hats and snare lose their noise each pass much faster
than a note: repeats 1 -> 6 at FEEDBK 85, noise -34.8 dB against a 440 Hz
note's -22.1 (without THROW both -17.3, as before). The main delay keeps its
sound: it shares the code, but the band there would change every project's
repeats and fight FEEDBK past 100's growth (TONE already darkens it).
CPU: +42 instructions / sample while it is in (cpu_vg dly/full.throw), +3
otherwise; db_block out of the RAM code (once a block). dly_lo's static budget
2351 (the compiler's new layout). No golden render changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-24 02:41:02 +00:00
Claude 9c34a480fc JIANT 0.9.9-snd2: the delay's DRIVE, a soft saturation inside its loop (DLY 3 KNOB 3)
DLY 3's free knob (its third; the page had two): DRIVE 0..100, the repeat x1..x4
into a soft clip (u - 4/27 u^3, flat from 1.5) and back / the gain, in both
loops (the full rate's and dly_lo's), after TONE: a quiet repeat as it went, a
loud one rounded and pressed down. 0 skips it: bit for bit as before
(tests/delay_test.c: seven scenes against snd1's hashes, ANALOG DIGITAL PING
WIDE+MOD 120 % half quarter). Saved in FUNC's 'D' 'D' block after GLUE's.
CPU: +21 instructions / sample at the full rate, +10 at half (cpu_vg
dly/*.drive); DRIVE 0 +3. dly_lo's static budget 2949 -> 3570 (the branch's
code, not run at 0). The version v0.9.9-snd2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-24 02:33:59 +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