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
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
- vel.c / vel_kb.h / hal fm1_input.h: a press's wait for its strike is bounded in scan ticks (VK_WAIT_T 22 = 2.2 ms,
vel_tick from a new FM1_INPUT_TICK hook after the sample is taken), whatever the ADC does (timeouts dropped readings
and the wait ran on, unbounded: 30 % timed out gave max 12.1 ms, the converter dead lost 381 of 400 presses).
vel_wait (per sample) gone. The velocity with no reading: the key's own recent mean (vs.km), else every key's.
- A key going to a DRUM track never waits (seq.c kb_drum_keys, as keyboard_block routes it: the selected track, KEY
SPLIT's halves, the DRUM grid; vel_poll each pass into vs.now). No setting.
- tests/vel_test.c: latency with 0/30/70/100 % conversions timing out (max 2.2 ms), DRUM 0 ms, soft/normal/hard apart
(4b); vel_seq_test 8: the no-wait keys match where keyboard_block sends each key's note.
- drumx_voice.c: every factory kit's SENDs 0 (909 CLUB .. LATIN PERC had reverb 4..34 / delay 10..40 on snare, clap,
toms, rim, bell); saved projects keep their own (project.c dx_snd), a kit/preset load or a new project is dry.
No golden render changed (the preset renders do not hash the buses).
- eng_drum.c DX_EXT_FX (owner's decision): DXF_DLY / DXF_REV gone, the twelve FX hits are timbre variants only
(drum_send: the kit's own SEND); before, OCT -2 keys F#, A#, B, E sent their hit at 63/63 into the delay (1/8,
FB 60 % by default) and F, G, A, C, D into the reverb, with the track's FX at 0.
- bt.c: BLUETOOTH reads MISSING (was NO SEG); turning it on, opening GEN, GO, DICE SEQ, song saves and USB HOST
without the segment say BLUETOOTH PART MISSING then REINSTALL: JIANT INSTALLER (ui.c seg_missing). ui_test checks
both fit the header and MISSING the card.
- MANUAL.md / .es.md: the capped wait and DRUM's none, the dry kits, FX KIT without delay/reverb, a MISSING / NO SEG
troubleshooting entry; README.
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.
A user's ask (Melodee has it): MENU > SYSTEM > USB gets HOST, the port as the
host of a class compliant USB-MIDI keyboard or controller, alone or behind a
hub; what it plays comes in as USB-MIDI does (source 1).
Melodee's usb_host.c (Kerem Kilic; the enumeration and input contributed by
recursivefieldinstruments), input only (no host OUT), JIANT's names: the
main loop's side (enumeration, hubs, uh_task) in the Bluetooth segment, the
app slot being full (1.4 KB free now); uh_poll stays in TIMER5. HOST is never
saved: every power-on is a device (installer, editor). The port is not
powered (VBUS not driven): a self-powered keyboard or a powered hub.
fm1_usb_host_attach / fm1_usb_line from Melodee's hal. Test: the descriptor
parser and the event filter (tests/usb_host_desc_test.c). Not yet on hardware.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
docs/BLE_FEASIBILITY.md route C2, stage 2 step 3 (section 7 added: as built).
- firmware/bt/: Optimist's BLE stack (Henri David; the hardware-tested copy in
charlesvestal/fm1-base bt/ble 4039a8b, GPL-3.0-only OR MPL-2.0, unchanged,
headers kept) and bt_seg.c, its glue, built as a unit of its own. Peripheral
only: advertises "JIANT FM-1" with the BLE-MIDI service UUID, connectable; no
scanner, no central, no SMP pairing, no LL encryption, BLE_DIAG 0, 27-octet
PDUs (as Melodee). MIDI is not routed yet (dropped / nothing sent).
- hal/fm1_ble.h, fm1_ble_rf.h: Melodee's (Kerem Kilic, GPL-3.0-only: the
iterative start-up replay, the crystal ramp's burst in .ram_text);
hal/fm1_rf_cal.h and ble_rf_tables_v15.h: felucca-bsp's (Apache-2.0).
hal/fm1_irq.h: FM1_IRQ_EXTERN for the second unit (the crash record and the
fault entry stay the app's).
- app.ld: BTSEG at XIP 0x020E6000 = flash 0xEA000 (72 KiB) for the segment's
header + code + constants (27,344 B, 7 sectors); its RAM in the pool (3,336 B)
but the 1,508 B baseband block (the radio's DMA) in .bss; .noinit.* after
.noinit (no record moves). The PC guard's window reaches _bt_end.
- tools/build.py: compiles bt_seg.c, writes build/bt.bin (header: magic, length,
CRC-32) and the same length / CRC-32 into the app's bt_want; refuses
initialised data in the segment and a ramp burst outside .ram_text; the
package carries bt.bin; the layout recorder ignores the segment.
- src/bt.c: MENU > SYSTEM > BLUETOOTH OFF (default) / ON, saved in TRIO's
retired favourites row ([6][24..31]: a mark, ON, the static random address
made once at the first start). ON only while stopped ("STOP FIRST"), at once
or at power-on when saved; the value reads ADV / CONN and the connections since
power-on, NO SEG (segment missing or of another build), FAILED. OFF stops
advertising and closes a link. Boot guard: bt_crumb (.noinit) set across the
start; a reset in it, or a crash / watchdog reset while it ran, turns it OFF
at the next power-on with a message.
- src/bt_hw.c: the plain XIP window set (fl_plain_window_init, JIANT never set
it), the segment's header and CRC-32 checked, then the start with the
interrupts off, the second core parked and the audio buffer silent: the
vectors (IRQ 45 / 29 at priority 2, below ALNK0 3 and TIMER5 4), the live
calibration (records 106-108 the SDK board's constants, 187 measured), the
stack, advertising.
- MENU > ABOUT's credits, LICENSING.md, LICENSES/MPL-2.0.txt: Optimist, Melodee,
felucca-bsp, JieLi.
- tests/ui_test.c: SYSTEM has 8 rows (31 in all); the BLUETOOTH row, STOP
FIRST, the saved bytes, NO SEG on the host, the boot guard.
- tools/audio_layout.txt: repinned (the UI code before the sound grew).
App 584,208 B of 584,336 (+1,096 B, 128 B free); RAM .data+.bss 95,280 B
(+1,524); pool spare 9,568 B (-3,360).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- hal/fm1_power.h: the supplies as stock V15 sets them (LDO13 -> DCDC13, the
analog bytes, VDDIO 3.2 V, VDC14 1.60 V, SYSVDD 1.38 V last), ported from
Melodee (Kerem Kilic, GPL-3.0-only). main.c runs it at boot before
fm1_rails_boot (which then finds the rails set). MENU > ABOUT shows "DC"
when it took. The radio's prerequisite (docs/BLE_FEASIBILITY.md stage 2).
- 0xEA000..0xFBFFF (72 KiB) reserved for the Bluetooth segment (FL_EXT_*):
outside FL_RANGE_OK already; the update loader's record sweep skips it.
- Emulator: stubs for the new supply setup.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
As main 7180629 / 2a60cc3 / b6b5bfd (cpu_safe.c, tools/crash_decode.py, tests/cpu_safe_test.c), on seq-v2:
- MENU > SYSTEM > CPU CORES 2 CORES / 1 CORE (editor id 23, as main's), beside CPU CLOCK, the same settings byte
(favorites.factory[15][17]); from the next start. A crash or a watchdog hang with both cores, or the second core
given up while playing, turns it to 1 CORE (said, with where to set it back); 1 CORE for two clean power-ons,
both again on the third; a crash again after that: for good, until set by hand.
- The last crash (or hang) kept in the settings as 32 characters ("IL01 2C <version> <PC> <RETS>"): MENU > ABOUT >
LAST CRASH, the editor's settings backup, the console's `crash`. Main keeps it in favorites row 13 (SLICE's),
which is ADD's in seq-v2 (snd5): here row 9, PHYS's, retired (its sounds load as ANALOG, nothing reads its
stars); a record is only read when it parses (old stars there never show).
- seq-v2's crash screen kept whole (SP USP SSP, C2 PC, the bus culprits), with main's short code on its last line
("IL-01"); fm1_fault notes the CR_* flags for the next boot (fm1_mc_bar bits 8..15, bit 1: core 1 started).
- Code out of fm1_fault, fm1_main and menu_document into helpers (their room is pinned), fm1_mc_bar_set always
inlined (fx.c mc_lost is pinned), cpu_safe.c's tables in .rodata.cpusafe. The MENU's switch tables grew with
the new row (compiler lookup tables in .rodata, before the sound's constants): FELUCCA_REPIN=1.
Tests: cpu_safe_test (in run_tests), ui_test (SYSTEM 8 rows, 28 rows), editor_test (25 settings, CPU CORES id 23).
Flash +1476 B.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
TAPE drives the mix x1..x4 into the soft clip with a bias (even and odd
harmonics, made up at a mix's usual level), loses the highs (to ~8 kHz) and
lifts the low end (a head bump about 30..110 Hz); WOW reads it from a short
line swinging 0..2 x (wow 0.55 Hz + drift, flutter 7 Hz: ~10 cents at 100)
with a faint hiss. Both 0: not run (the renders as before). Smoothed knobs:
no click. Kept in a project ('T' 'P' after the delay's DRIVE).
Not song globals: song_t's size, GP and the merged statics/constants are the
recorded sound's, so the values live in params.c tape_v (.bss.tape) and the
descriptors in .rodata.tape, shown through page_desc's views (page_desc_v,
noinline with the LFO's MODE/PHASE). tape_block lives past the tables and is
called through a register (FM1_OPAQUE, hal/fm1_cc.h) from the RAM mix_block.
proj_unpack_c and system_init noinline (out of the recorded UI runs).
tests/tape_test.c in the suite.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
hal/fm1_guard.h: the SDK's write limits are per bus master over one set of windows (C0 / C1 / PRP_WR_LIMIT_EN at
0x1EEE348 / 34C / 350, the COREX2 layout read from the SDK's sdk.elf DWARF). Window 3, _rt_start .. _sstack_top
(.ram_text, .c1_text, .hot_text, both guards and both stacks of core 0), is closed to core 1 (with the two guard
bands) and to every DMA. Neither writes there by design; a misread pointer of core 1 landing in core 0's stack
(crash audit, cause 4) is now a fault of core 1 at once (held, CORES 1 (FAULT), the window's number kept in
fm1_core1_fault.wr) and a DMA's a crash report with PRP_WR_LIMIT_ID naming it, instead of a corrupted word
found later. The resets that hand RAM to the boot loader drop the new enables with core 0's (fm1_sys.h).
hal/fm1_irq.h, 0.9.19's record (.noinit, the old fields in place; 0x3D0C of 0x3D50 B used): the core that
faulted, USP and SSP (which stack the main loop runs on: cause 6), the other core's PC (paused and read as the
SDK's handler does, only while it is live: fm1_other_live from fm1_multicore.h), the debug unit's eight culprit
registers (0x1EEE360..37C), the app's stage. main.c fm1_fault: the screen labelled (the firmware, CORE n OF m,
VEC PC EMU DBG RETS as always, SP USP SSP, C2 PC, WR / RD the bus masters, P the DMA's window, N the windows hit),
10 s instead of 4 for a photo; MENU > ABOUT shows CRASH n VEC / PC SP / C2 BUS until power-off. README's
dual-core section says so. App slot: 567860 B of 602112 (0x93000).
Image 566884 -> 567860 B; RAM .data+.bss 78996 -> 79012 B.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
On this line irq_save (hal/fm1_flash.h, around every erase and program with interrupts off) was a bare cli:
with USB audio at 48 kHz core 1 runs the resampler beside the main loop (usb.c uac_rs_job), and a save
from the main loop (preset_mark, prefs_update save at any time) could turn the flash off under a job of
its, or under an exception of its whose vectors are in the flash (crash audit, cause 5). fm1_mc_park
(hal/fm1_multicore.h) waits the job out (2 ms, then held as lost) and then for the cache to go idle, as
the AC79 SDK's other-core handler does before it acks a flash access; felucca.c hands it to fm1_flash.h as
FL_PARK (the loader and the host tests keep the empty default). No cost in the render.
Image 566952 -> 567064 B.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The 320 MHz switch of the main line (hal/fm1_clk320.h, curist's fm1-clk320-probe, MIT, unchanged; main.c
cpu_clock as 0.9.12's): at power-on, the screen up, on one core, before the scan, the second core, the
audio and USB; a reset during it is noted in fm1_mc_bar (CLK_ARMED / CLK_TRIP) so it counts as no failed
boot and is not tried again until power-off. The default stays 360 MHZ: with the core rails at V15's levels
that is M-VAVE's own configuration; 320 MHZ (M-VAVE's open firmware, Skiff) is there to compare on a unit
that still crashes (~11 % fewer cycles a block).
The setting: favorites.factory[15][17], bit 2 (0.9.12's cpu_cfg / CPU_320: a backup moves between the
lines; 0 in every older record = 360). A row of SYSTEM after LOAD ("CPU MHZ" on the card), editor id 24
(as 0.9.12's; 23 is its CPU CORES, not on this line). ABOUT's line now "CPU 360 MHZ RAILS 7/15 (3/11)".
RAMTEXT 1 KiB lower, from the pool (0x01C6FC00, as 0.9.12: the switch runs from RAM). README's dual-core
section documents the rails and the clock; LICENSING.md and LICENSES/MIT-fm1-clk320.txt carry the MIT note.
Tests: the menu's 27 rows (SYSTEM 7), MENU_DESC's 24 items, index 23 = CPU CLOCK.
Image 564748 -> 565608 B; pool spare 10816 -> 9792 B.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
Up to 0.9.9-cpu3 JIANT ran both cores at 360 MHz on the boot loader's supplies (VDC14 3 = 1.40 V,
SYSVDD 11 = 1.26 V), a configuration no M-VAVE firmware uses: V15 raises them to 7 / 15 at the same
360 MHz as it starts, and the open firmware runs 320 MHz at 1.26 V. fm1-base found units reading
flash and SRAM wrong under load at the boot loader's levels; the second core's misreads and the
random crashes (scratchpad crash audit, cause 2) look like that margin.
hal/fm1_sys.h: fm1_vdc14_raise / fm1_sysvdd_raise / fm1_rails_boot, ported from fm1-base
(felucca-bsp, MPL-2.0, fc79: bsp/chip/fm1_sys.h, device/main_fm1.c): up only, a level per 100 us,
VDC14 first, read back, three tries. main.c fm1_cstart calls it with interrupts off, after the RAM
copies and before the guards, the second core and the audio. MENU > ABOUT shows the steps reached
and the ones found at boot ("RAILS 7/15 (3/11)") under AUDIO LOAD.
Image 564296 -> 564748 B.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The 0.8.7 field test (FM-1, CORES 2, LOAD FULL, a heavy 160 BPM song, USB CONSOLE captured at 48 kHz): USB audio
on raised CPU 65.5 -> 77 %, late halves 15 -> 50 /s, ~230 underruns /s, captures 10-20 % short.
- Root cause (audio.c): the ALNK0 ISR acknowledged a half after rendering it, so a render that ran past its half
cleared the next half's pending flip and that half was never rendered (the DAC replayed 2.9 ms of old audio; USB got
128 frames fewer). Every "late" half lost the next: ~14 % of the audio with USB on, the ring always dry (adj_down
saturated, ~230 underruns /s). Now the half is acked first: a late render is followed at once by the next, which
catches up glitch-free (the DMA reads the half behind the render); a half is lost only past ~1.7 halves, counted in
the console's new audio_lost.
- usb.c, the packets: every packet still carries n +- 1 frames (an underrun repeats the last frame, never drops or
shortens it); the repeated frames are now owed and made up (one ring frame skipped a packet while the ring is
healthy, uac_repeats_made_up), so a capture keeps the music's length and timing. Bands 0.7 ms higher for renders that
now start up to ~1 ms late (44.1: 112..160, 48: 128..176).
- usb.c, the resampler: uac_rs_run, in RAM (.c1_text) calling nothing, its 160 phases in a RAM table (pool, 15 KiB)
built from the flash's, four taps a pass: bit for bit 0.8.8's. With CORES 2 each half goes to core 1 at the render's
end (uac_render_end) and enters the ring when the next half starts (uac_collect; mix_block's first job queues behind
it, so its wait covers it); one core: per block in the ISR as before. Core 0's share at 48 kHz: ~21 instructions an
input frame (the 16-bit store) against ~270 (resampling) before: ~11 CPU points -> ~1 (estimate, to confirm on the
device); CORES 1 ~20 % fewer instructions and no flash table reads.
- uac_fir.h (tools/gen_uac_fir.py): the 80 phases stored as each tap's third differences (int16), summed back exactly
(UAC_FIR_CHK): 7680 -> 3984 B.
- voice.c / console: voices_given_up counts each voice once (one already fading not again) and splits into
voices_trimmed (load-budget tails under -50 dB: inaudible, most of the field test's 670 /s), voices_stolen and
voices_shed.
- Tests: tests/uac_sched_test.c (new; one core and CORES 2): 3 min against a simulated 48 kHz host at +-500 ppm, renders
as the heavy song's (~17 late /s, up to 131 %): every IN token finds a packet, sizes 47..49, no underrun / overrun /
jump, frames sent = frames resampled exactly, no latency drift; starvation bursts (renders 150..190 %, halves lost):
underruns repeated and all made up; IRQs off 4 ms: ~3 empty frames each, recovered. LEGACY=1 shows the 0.8.8 order:
~245 underruns /s, 12.4 % of the music missing at ~43 late /s (the field test's figures). uac_test: the RAM table
exactly the generator's, bit for bit 0.8.8's resampler (10 s at +-2x full scale), THD / aliasing spurs < -98.9 dB
(1 k .. 22 kHz). audio_test: the ack before the render, audio_lost.
- Image 568320 -> 565384 B (-2936 B); RAM code +328 B (22440 of 24576), pool +16 KiB (36 KiB spare). Goldens, CPU
baselines unchanged; target budget: uac_tap48 -> uac_rs_run (static 558: the unrolled body).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The FM-1 is the host's USB audio output as well as its input (UAC1, stereo
16 bit 44.1 kHz on EP4 OUT, isochronous adaptive; re-enumerates with
bcdDevice + 0x80, no console). What the host plays comes into the last live
track: into the dry mix with its LEVEL and PAN (balance), its CHORUS /
DELAY / REVERB sends from the sum, DUCK, MUTE and the mute layer, on top of
the track's engine. TIMER5 takes each packet into a 2 KiB ring (pool); the
audio ISR reads it at the I2S clock with a linear interpolation whose step
follows the ring's fill (~3.6 ms behind, steady within 0.01 %); a host that
stops fades out and is primed again; only the reader moves the read index.
Tests: uac_test (duplex descriptors; fast and slow I2S clocks: no glitch,
1 kHz sine at 65 dB, steady step; a gap; a new stream drops the old ring),
audio_test (LEVEL, PAN, MUTE, LEVEL 0, REVERB send), ui_test (IN+OUT row).
tools/build.py: the RAM-code reach check measures the calls RAM code makes
(farthest callee master_out, ~400 KB to spare) instead of the image's end.
Manual EN / ES, README changelog, version.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
Since 0.6.96 LEDS DIM HI holds every idle key and button at the mid level,
lit as a lit LED on one frame in eight; all of them in the same frame drew a
current pulse at ~114 Hz on the supply, heard from the speaker whenever the
music stopped. The columns now take the mid level in turn, a frame apart
(fm1__mid_q): one or two columns lit in any frame, the current near even,
each LED as bright as before; the DRUM grid's beats and the scale's root (a
level above) the same way. input_test checks the turns. Manual EN / ES,
README changelog, cheat sheets, version.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- MUTATE (reported on r/MVaveFM1): GEN / the dice turn MUTATE off on every track and make the
new piece its anchor (gen_make; a reroll kept the lanes, the drum track's above all, and
ORBIT mutated around the previous piece's sounds); mutate_poll re-anchors when an enabled
track's engine differs from the anchor's (a sound loaded).
- LEDS DIM HI (reported): the idle glow was the 3.2 us pulse alone (~1/30 of lit); now the
pulse plus the mid level (a lit frame in eight, ~15 %), the grid's beats and the scale's
root on a new level above (fm1_led_hi: three frames in eight, ~40 %). DIM LO, OFF and INV
as they were. The emulator and the host stubs carry the new set.
- MIDI (asked on YouTube): CC16..23 set the engine's eight values E1..E8 whatever the engine,
CC102 / CC103 the post filter's cutoff / resonance, CC104 DRIVE, CC105 SUSTAIN; recorded as
automation like the rest of the map.
- STRETCH over REPEAT: the other knob's result is the base (shp_base.which), so REPEAT x2
then STRETCH x2 stretches the repeats; the same knob keeps working from its own base.
- ABOUT / CREDITS opens on the project's own information (JIANT FM for the MVAVE FM-1, by
Juan Jiant, Argentina: the site, the videos, Ko-fi, Cafecito), Felucca's credits below.
- The GEN screen clears its body once on entering, not on every knob or page (it flickered).
- Tests: gen_test (a new piece: MUTATE off, the anchor kept), ui_test (STRETCH over REPEAT;
the LED tests on DIM HI's levels), midi_control_test (the new CCs on
ANALOG and FM6; the unmapped-CC probe moved off CC20). Manual EN / ES, README changelog.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
mix_block, the FX layer (perf_begin / perf_pre / perf_block /
perf_master), slicer_bus and core 0's own copies of a part's mix and the
buses (mix_part_m0, fx_run0) are copied to RAM at boot (.hot_text, 18 KB):
no flash fetches through the cache the UI and core 1 share. Core 1 keeps
the flash copies (mix_part_m, fx_run; it misreads RAM on some units).
The pi32v2 call reaches +-4 MiB and this clang has no long calls, so the
RAM code moved from 0x01C00000 (out of reach of the whole image) to the
pool's top (RAMTEXT 0x01C6E000); three main-loop buffers (undo, project
scratch, section stage) moved down to LOWBUF. This clang inlines nothing
across a section attribute, so build.py optimises the IR first and only
then puts HOT_FNS in .hot_text: the code is the one it was (sizes and
target budgets unchanged, goldens unchanged). build.py checks the call
reach and the RAM code headroom. FELUCCA_HOTRAM=0 builds it as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- Each part's render timed (TIMER4, either core) and smoothed; mc_split goes by it,
the voices breaking ties (host: voices only).
- The DRUM parts as one unit, on either core (drum_mix takes the core's sends).
- ui_test: drums on core 1 seen, never split, sound bit for bit; drum IMAGE / SEND on.
- README.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- hal/fm1_multicore.h: core 1 started at boot (entry crt0.S, stacks app.ld, loop in
.c1_text), one job at a time with a check word; a bad read, a fault (fm1_irq.h,
fm1_vec.S resume) or no answer holds it for good and core 0 plays every track;
one core until power-off after that or a crash beside it. After Melodee
(keremimo) and fm1-x0x (Charles Vestal), GPL-3.0; credited in MENU > ABOUT.
- fx.c mix_block: the synth parts split between the cores by their voices and
engines (DRUM on core 0); core 1 into its own buffers, summed after: the same
sound bit for bit (ui_test checks it, and fails when a sum is broken).
- Per-core scratch: mod.c matrix, fm6_core.c buses, voice.c filter flags and
fx.c's first-block flags a byte a track.
- REC held at power-on: one core. MENU > ABOUT: CORES 2 / CORES 1 and why.
- README, manuals, cheat sheets.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- fm6_vbank.c from Felucca 1.5.1: 32 voices in flash at 0xE7000 (free in JIANT), staged in the
autosave's older copy, committed last: a power cut leaves the old bank or the new one. Its
record type is 64 here (Felucca's 32 is a song object in JIANT's store)
- eng_fm6.c / params.c: SLOT F1..F8, OWN, B1..B32 (9..40); the knob skips empty bank slots,
elsewhere a B slot without a voice is refused; never stored as a bank slot (param_fit: OWN,
the patch comes with the project / preset); the bank voice's name on the chart
- storage.c st_crc32_add, fm1_flash.h FL_VBANK, up_fm6.c's 7/8-bit packing shared (Felucca's)
- editor: cmds 74..77 (FM6B_BEGIN / WRITE / END / LIST) as Felucca's, INFO 56 01 32
- web editor: the bank sender (fm6Bank: a 32-voice .syx sent whole with its CRC, the device's
bank shown) in the 6-OP FM tab; the mock device's bank; EDITOR_PROTOCOL.md
- tests: Felucca's fm6bank_test (power cuts at every byte, CRC, SLOT, stored values; also
under ASan/UBSan), its web bank test, FM6 SLOT range, the INFO tag; README, cheat sheets
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- SAMPLE / GRAIN lose USR1..3 (stored 5..7 clamp to the PIANO alias);
SLICE SRC 1..3 become aliases of BREAK, DIV MAN is gone (a stored MAN
plays AUTO). Factory sets, BREAK and PIANO stay; the missing-sample sine
stays for builds without the CC0 samples.
- Gone: slice_store.c, ui_slice.c and the EDIT > SLICES page, the AUTO
scan of user slots, the editor's SMP_* commands (11..15 reserved),
backup ids 32..34, tools/fm1_sample_upload.py, the web Samples tab.
- Older backups with sample entries still restore (those entries skipped).
- Flash 0xA0000..0xDBFFF is free for the songs; app image -9 KB, RAM -6.5 KB.
- Tests rewritten for BREAK / PIANO only; README and plan updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
Parameter locks: hold a step on SEQ > STEP and turn a knob; SEQ > AUTO
LIST lists and edits the locks and automation; lock edits undo.
SEQ TOOLS (SEQ held on the SEQ pages): CLEAR, REVERSE, SHIFT, RANDOM,
COOK, BEAT and the DRUM lane tools.
REC layer (REC held): CLEAR, CLICK, COUNT-IN, CLICK LEVEL.
Metronome and count-in (MENU > AUDIO), never in USB audio.
MIDI CC map (5, 7, 10, 71..75, 91, 93, 94); DRUM lane levels (EDIT >
LANES, LANES 2; projects FUN9).
USB audio input at 44.1 or 48 kHz.
Step recording at the cursor (SEQ > STEP, REC while stopped); restore
the last session at power-on (MENU > SYSTEM > RESTORE LAST).
Eight more ARP modes; MENU > CONTROL > SCALE LEDS; MENU > DISPLAY >
SCREEN OFF.
The header in three parts with a metronome; the new splash; the
power-on LED sweep; DRUM grid beats on the key LEDs.
Fast knob turns keep every click; KNOB ACCEL up to x8, on the FX and
GLO layers too (#126).
MASTER read from the pot before the audio starts, keys silent under
the splash (#137).
The update loader checks the whole package before erasing anything;
robustness against damaged packages and stored data; sanitizer and
fuzz runs in tests/run_tests.sh.
Smaller icons in flash.
Sequencer: RATCH, a step's ratchet x1..x4 on SEQ > CHANCE (KNOB 3): a
NOTE step plays its notes and drum hits 2..4 times in equal parts of
the step, one chance roll for all of them, no slide or tie out; drawn
in its parts on the piano roll and the drum grid. Kept in projects
(FUN8 layout unchanged, bit 7 of the velocity and chance bytes), backups
and user preset patterns; editor protocol INFO 52 01 04, a ratchet byte
after the chance (#47, Discussion #77, PR #100 by zednaked, ported).
LEDs: what can be pressed breathes, dark to ~60 % of lit and back (DIM
LO ~30 %), instead of blinking; what is in effect stays lit (#119).
DRUM: KIT HAND, CYM and H+CYM retired; their values stay as aliases and
play 66, 10 and 77. MENU in tabs (DISPLAY CONTROL AUDIO SYSTEM):
ALGORITHM = tab, PRESETS = row, any KNOB or OCT- / OCT+ = value, HOME
closes; MENU_DESC ends with the item's tab (index, name).
Co-authored-by: Thiago Gonçalves <zednaked@gmail.com>
Updating from 0.9 with a DIGITAL ORGAN project saved no longer crashes
into UBOOT on every start: the DIGITAL -> FM6 conversion has no divide
that can be 0, and the divide-by-zero trap is off (#61, after #111 by
spinkham). In a quick layer, KNOB 1-4 move only the layer's control,
not the page under it too (#102).
MENU, now a scrolling list: STYLE (FLAT / LINE, #57), ANIM (#46), KNOB ACCEL
(#52), FX LATCH (#40), BPM LOCK (#58), USB LEVEL (MASTER / FIXED), LEDS
OFF / DIM LO / DIM HI / INV; SPEAKER is SPEAKER EQ (FLAT / LOWCUT /
BASS+, #42). Palettes: GREY (the former MONO), a black-and-white MONO
and NIGHT (#50, #57). Tracks numbered 1-4 on cushions (#50); the motion icon
on the cards MOTION drives (#63). Divisions listed by length (#48).
Fixed: knob turns as a layer is let go no longer edit the page under it
(#39); FX DEPTH turns the right way (#40); BASS+ no longer cancels the
mids (#42); live sync keeps pending pushes on WATCH and no longer echoes
the editor's own loads as RELOAD (#64, #65). SAMPLE's PERC kit is
retired: its sounds load as the DRUM engine's kit.
LEDs: idle buttons and keys glow dim (a short pulse riding on the 595
shift, no flicker, no extra CPU; #35); MENU > LEDS DIM / INV (INV: the
official firmware's look); PLAY's green LED lit while playing. Key LEDs
show the notes the selected track's sequencer and ARP play (#38). QNT SEQ:
the scale applies to the sequenced notes as they play, non-destructive,
off by default (#37). A song playing shows a disc in the header.
Build: --release accepts X.Y.Z (identity FM-1_9XY).
Big New Features. Engines: FM6 (6-operator FM, replaces DIGITAL; old sounds
convert), SLICE in the standard build with manual slices, DRUM, NOISE; PHYS
membranes and sympathetic strings. 13 engines in one display order.
Sequencer: piano roll, drum grid, songs (patterns A-D), motion recording,
per-step chance, divisions to 4 bars, ARP REPEAT and beat LED; chord keys.
Effects: FX hold layer with a harmonizer, spring reverb, modulation matrix.
Quick layers, undo, on-device naming, new UI (Inter Tight, Fukiai icons,
8 palettes). USB audio input; TRS MIDI in, clock, bend, sustain. Web: full
backup and restore, sample recording and trim, return to the official
firmware. Build: font, icon, keycap, palette and FM6 patch generators;
release folder with the licence texts. Licences: LICENSES/ (Inter Tight
OFL, Fukiai MIT, DaisySP MIT, Rings MIT, msfa Apache-2.0, JieLi SDK
Apache-2.0). Removed: the bitmap font and icon atlas, their generators.
Co-authored-by: ChanceTheMaker <471816+ChanceTheMaker@users.noreply.github.com>
Firmware, update loader, build tools, assets, web installer and editor,
host tests. Four tracks (three synth parts and a drum track), user presets
with live editor sync (protocol v2), editor protocol v3 (tracks), the
command-line installer tools/fm1_install.py.