Commit Graph
15 Commits
Author SHA1 Message Date
Claude a91b8dc8bd Copyright headers: name Juan Jiant on JIANT's own files that had only the SPDX line
Comment-only (the built image is byte-identical). 112 files written new for JIANT FM (GEN gen.c / gen_tables.c /
gen_track.c / song_dice.c, fugue.c, sing_ext.c, ui_euclid.c, ui_scene.c, the STEMS and probe Android apps, the video
tools, JIANT's tests and tools, web/emu/stems.js) carried "SPDX-License-Identifier: GPL-3.0-only" and no copyright
line: they now say "Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant)". Checked against Felucca's fork base
like the previous commit; tests/fm6_env_compare.c (msfa envelope as ported in fm6_core.c) and web/emu/gen_bench.mjs
(lines of the emulator's test) are left out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-11 18:08:16 +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 5386bf5ee5 add15-beta2: the USB name "FM-1" (the loader "FM-1 Update"), on string index 5 so Windows reads it afresh: the apps made for the FM-1 (FM1 Swap, Firmware Hub) find it, as Melodee's "Melodee FM-1"; usb_desc_test and install_test with the name; JIANT Stems opens on "FM-1" too
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-30 09:43:48 +00:00
Claude 7123b2e38e p1: USB: STEMS+IN without the rhythmic glitch, a mode switch on the first try, the name "JIANT" on index 4
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
2026-10-25 13:49:49 +00:00
Claude 414aac8cd4 0.9.8: clean USB stems (and JIANT Stems 1.1) + VOICE sings softer, merged with 0.9.7
- FELUCCA_VERSION v0.9.8; README: one v0.9.8 section (clean USB stems, JIANT Stems 1.1, VOICE singing) above
  v0.9.7, status line v0.9.8, memory: image 562700 B of 581564, .data + .bss 79556 B, pool spare 10816 B,
  RAM code 22460 B.
- The stems fix ships in 0.9.8 (0.9.7 still had the 720-byte endpoint): the app's old-firmware message, the
  manuals, android/README and the fix's comments say 0.9.8 / "0.9.7 or older".
- Navigation map and cheat sheets regenerated at v0.9.8.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-18 05:07:54 +00:00
Claude fc6a33f811 0.9.7: clean USB stems: the 8-channel endpoint fits its 46-frame packets (736 B, was 720: babble, stalls, ~100 blocks a second lost in every stem), a ms more in hand and made-up frames spread over a packet, the SLICER's parts once in the stems; JIANT Stems 1.1: whole frames only, the mic's drift without slips, the trim and the take's length
- usb.c: UAC_MAXP8 46 x 16 (uac_packet sends 45 + 1 while holding the ring's fill: the host dropped those
  packets as babble and halted, the ring filled and uac_tap8 dropped whole blocks; TOMA_03: ~87 breaks/s in all
  channels at once, 99.9 % on the 32-frame render grid); a static assert that every packet fits; STEMS / STEMS+IN
  band +48 frames (UA_PAD_STEMS); an underrun's repeat made up by uac_squeeze (n + 1 frames into n), not a skip.
- fx.c / slicer.c: a part through the SLICER is its own sound at the gain the SLICER gave (traced copy
  sl_seg_tr / slicer_bus_tr, only with the stems on), its repeats in the first such part's stem or, FX ON, in the
  FX return: the eight sum to the mix (it was in its stem dry and again sliced in FX). RAM code -12 B; goldens,
  target budget and cpu_vg unchanged; image 562,732 B.
- tests: stems_usb_test (8/10 ch, minutes, an app-like host: every frame once in its lane, no babble; 0.9.5's
  720 B shown losing 11 % in blocks; starvation corners only the holds'), stems_test (DICE songs: each stem bit
  for bit its solo render in FULL / LITE / ECO, CORES 1 / 2, ECO tail trimming; sum = mix; empty track zeros;
  SLICER GATE / STUT / FX ON), uac_test 736 B; run_tests runs the app's C and JVM tests while it lives here.
- JIANT Stems 1.1: usbstream.c keeps whole frames (a cut frame no longer shifts every channel) and follows the
  mic's drift by fractional reading; tells a 0.9.5 FM-1 in STEMS; a take being recorded is never recovered from
  the list, Wav.repair keeps all the file holds; trim edges by their grip, relative, snapped to the ends;
  Spanish INICIO AQUÍ / FINAL AQUÍ / SIN RECORTE; EXPORT says when trimmed; TakeLengthTest.
- manuals (EN / ES): what was wrong, what a stem is (DUCK, the shared voices, ECO), record again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-18 02:25:55 +00:00
Claude 03484d6bbd Stems app: AndroidX on (Robolectric's test libraries need it)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 03:04:21 +00:00
Claude 7f64e5da84 Stems app 1.0: record the FM-1's stems, line them up, export ZIP or a mix
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 02:52:26 +00:00
Claude 1fd8c0ece0 Probe 0.4: the mic through the FM-1 and back, with the latency
Test 7 (firmware 0.8.0, USB STEMS+IN): our own driver sends the phone's mic
out to the FM-1 (isochronous OUT, 44/45 frames a ms) while the 10 channels
come in; with the phone near the FM-1's speaker the lag between the stems
and the raw mic is the whole latency, and a second WAV has the mic moved by it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-16 05:04:37 +00:00
Claude f3a277fe74 Probe 0.3: the FM-1 read directly with the phone's mic at the same time
Test 6 records the built-in mic while test 5 reads the FM-1's stems, the
mic as one more track in the app. Test 5 says when the FM-1 is in STEREO or
IN+OUT (2 channels) rather than STEMS.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-16 04:44:03 +00:00
Claude 5b0ad7fcc1 Probe 0.2: count the channels with sound, try other opens, read the FM-1 directly
On an S23 Ultra Android opened the FM-1's 8-channel USB input but passed only
T1 and T2 (the rest zero), and test 2 still reported success. Test 2 now
counts the channels that carry sound; 2b tries sources x 8/6 channels; 5
reads the stream itself (usbfs isochronous reads in a small JNI library, on
the USB permission the user grants). One debug key for every build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-16 04:28:02 +00:00
Claude 1d131cdf82 Stems app phase 0: the Android probe (8 USB channels, two inputs, mic into the FM-1) built by Actions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-16 03:03:49 +00:00