- The last line of PRESET SETTINGS. OFF: the sound plays every note at velocity 127
(voice.c trk_note_on); ON: as played. MIDI OUT always sends the keys' velocity.
- Kept in the preset (FR_PSET's fifth byte; a factory or older record reads OFF) and, as
PITCH BEND, for the sound playing at power-on (the settings byte 23 + FA_NCC); FACTORY
RESET and loading a factory preset turn it OFF.
- tests/fmini_app_test.c: the row, OFF plays 127, ON plays the velocity, kept in a saved
preset, a factory one is OFF. ui_test.c / midi_control_test.c define fm_vel_sens.
- web: FW_LATEST 2.5.5, docs/emu and docs/index.html rebuilt.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
- Firmware: persist_boot accepts the UC25HQ80 (JEDEC 0xB36014) beside the
Puya P25Q80 (0x856014), through FL_JEDEC_OK (firmware/hal/fm1_flash.h).
On those units the firmware took the flash for unknown: saves stayed in
RAM ("flash error") and the M-UPGRADE update was ignored (main.c runs
ota_session only with flash_ok), so the installer could not update them.
The update loader reads no JEDEC id and is unchanged.
- Version 2.5.0 (core.h, the editor's FW_LATEST).
- Emulator: felucca_web.c defines FL_JEDEC_OK beside its fl_jedec_ram stub
(it does not include fm1_flash.h; the emulator did not build without it).
docs/emu and the installer page (docs/index.html) rebuilt.
- Tests: ui_test's FMINI panel check expected WAVE 2 to stop at 5; it runs to
6 since SIN (2.2.18). The whole suite fails only in its known sections.
Not tested on a real FM-1.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
- New page after FX (SELECT goes on to it) and a pop-up when EDIT is
pressed again on FILT: VOLUME (the LEVEL that was A.ENV's, same
per-preset values), MODE (MONO/POLY, as CTRL's VOICES), PITCH BEND
(moved out of GLOBAL, per preset) and MOD WHEEL position (0..127, the
preset's stored position, moved by CC1 or the knob, saved with the
preset).
- A.ENV's LEVEL knob has no function; its CC 7 now sets VOLUME.
- PITCH BEND range and MOD WHEEL are stored in a new FR_PSET block of
each preset record (factory presets: 0 and 0); the old layout is
unchanged.
- fm_bend_mode is a global declared in core.h (the UI reads it).
- FX pop-ups move to FMG pages 8..11; help hint and tests updated.
- Version 2.2.11 (core.h, FW_LATEST in web/editor_fmini.html);
emulator and installer regenerated.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
N_DIV gains 1/2T (code 10, 4/3 of a quarter) and 1/4T (code 11, 2/3 of a
quarter), appended, so stored values keep their meaning. The shown order
(DIV_ORDER) places them by length. The DELAY's TIME list (N_DTIME) gets the
new names too; its own dotted codes 10..12 are unchanged. Renamed labels
only: the values stay. LFO SYNC, the SLICER and the SEQ's slide keep their
own lists. The editor's note tables follow (divLength reads the triplets).
Tests: the length check reads the dotted codes only for N_DTIME; the TIME
check skips A-SYNC's type code (7); the step expectations follow the order.
Emulator regenerated (docs/emu2).
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
- firmware: audio.c counts the overloads (cpu_crit, bumped where shed_check sheds); the FMINI screen shows the pop-up for 0.3 s
when an overload starts, and not again until 0.3 s without one (one per episode, not a flicker while it lasts).
- tests: ui_test.c provides cpu_crit to the screen tests, as it does felucca_dbg.
- web: FW_LATEST 1.16.0; the emulator and the installer page regenerated.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
The second hundred of the factory bank, in the same ten groups as the first
(110-119 hard leads, 120-129 soft leads, 130-139 basses with OCT-1, 140-149
pads, 150-159 brass, 160-169 plucks, 170-179 keys, 180-189 atmospheres,
190-199 effects; 100-109 showcase). About a quarter with the arpeggiator on
(55 of 200). Nothing is INIT now: the saved slots are unchanged.
- eng_fmini: FMINI_NFACTORY 200; generated header 200 patches (the first 100
byte-identical).
- editor: a factory GET takes the index in two 7-bit bytes past 127 (3 bytes:
reply target, lo, hi, rc, patch). Web editor: FACTORY RESET covers 200.
- regress: job table 1024; hostsim sets P_E7 for FMINI (the preset's SLOT is
int8 in the engine, so 128+ wrapped to silence). 100 golden lines added.
Not tested on a real FM-1. Presets 100-199 use the default LEVEL (not calibrated).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
The 200 slots are the presets, all handled the same way: a RAM table of
200 preset_t (fmini_pre) built at power-on from the records (names and
knob bytes), pointed to by the FMINI engine with npresets 200 (fits the
uint8_t count). PRESETS walks 0..199 and loads the slot's patch from
flash; the extras (arpeggiator, LFO, FX, octave) come from the slot's
record (fb_extra). SAVE writes the playing sound into the slot being
played (fa_save_slot -> fb_write) and updates the RAM entry. The U bank
is no longer used by FMini.
apply_preset_to sets SLOT from the preset index for FMINI, so the
generic browse path and the PRESETS knob load the same way. Categories:
INIT slots (100..199) are OTHER.
Editor protocol 3: NAMES count as two 7-bit bytes (200 does not fit in
one), reply buffer 2816 bytes. Web: 200 names, 3-digit labels, the
factory export stops at slot 99.
Tests: fmini_app_test, editor_test, ui_test, editor_bridge and the web
test follow the 200-slot behaviour. Host builds keep saved records in
RAM (no flash).
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
The three engines and their 126 KB of factory IMA samples are gone, with the
sample slots (80 KiB x 3 in flash), the SLICES page, the sample waveform, the
web editor's sample protocol and the slice store. Their engine numbers stay
(4, 8, 13): a track, a project or a user preset that names one is silent and
is never offered, through a stub like DIGITAL's (ENG_RETIRED, engines.c).
Image 536.6 KB -> 394.9 KB; RAM .data+.bss 65.9 KB -> 60.1 KB. The sample
flash region 0xA0000..0xDBFFF is free for user presets.
Protocol: SMP_BEGIN/WRITE/END/ERASE (11..14) get no reply; SMP_INFO answers 0
slots so the editor hides its Samples tab; backup ids 32..34 are gone. The
PERC conversion (SAMPLE PERC -> DRUM) stays. See web/EDITOR_PROTOCOL.md.
Tests: sample_test, slice_test, fuzz_smp removed; the others follow. Golden
renders of the retired engines removed; target budgets for their functions
removed and the ISR / mix_part costs updated on purpose.
Known, unchanged failures: fm4, union_test, the regress hashes of Felucca's
engines (66 changed at 1.12 too), web mock tables.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
The project's first name, FMUG, is gone. Nothing about the sound or the stored data changes.
- Files: eng_fmini.c, fmini_app.c, ui_fmini.c, editor_fmini.c, eng_fmini_filter.h, eng_fmini_presets.h, the tests, the
tools (fmini_bank.py, fmini_filter.py, fmini_retune.py, fmini_levels.json, gen_fmini_presets.py) and
web/make_fmini_installer.py.
- Identifiers: fmug_ / FMUG_ / FELUCCA_FMUG_ONLY became fmini_ / FMINI_ / FELUCCA_FMINI_ONLY; the editor commands are
FMINI_GET / FMINI_PUT / FMINI_PRESET (numbers 82-84 unchanged). The engine reports the name "FMINI" (was "FMUG") on the
device and in the editor's engine list; the editor still accepts "FMUG" from firmware up to 1.7.0.
- Short forms fmg_ / GR_FMG0..6 and FG_* are left as they are.
- Tables: tests/golden.txt and tests/target_budget.txt only had their keys renamed.
- Docs: CLAUDE.md and DEVELOPING.md say there is one branch (main) and record the rename; the test-suite notes now describe
the second regress section (FELUCCA_CPU2=0: 41 FMINI patches differ from the golden, as on 1.7.0).
- Site: docs/emu and docs/index.html rebuilt for v1.7.1; the splash pictures show the new version.
Checked: the firmware's instructions are identical to 1.7.0 (only the addresses of string literals move); the 100 FMINI golden
hashes are unchanged; every screen of the README shots is pixel-identical except the splash; the preset lab's metrics for the
100 patches are identical; the host suite fails in the same seven sections as before (fm4, ui_render, three regress, union_test,
web pages) and nowhere else. Not tested on a real FM-1.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
New engine FMUG: 3 oscillators, noise, 4-pole ladder filter, filter and loudness
contours, glide, modulation. Panel pages CTRL OSC MIX FILT F.ENV A.ENV FX with
SELECT (cursor) and ALGORITHM (change) on top of K1-K4. Host tests added or
updated; not built with the JieLi toolchain nor run on hardware.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
MENU > LARGE keeps one size per knob (#251): each knob shows all its
values in the size its longest value fits, so a value no longer jumps
between sizes while it is turned. No new fonts.
Updates check the package's size on the device: the update entry and the
update loader take only a package whose firmware area is exactly the
FM-1's. Another device's package is refused before anything is erased
(the update screen shows FAILED -15; the loader answers -14).
Second core (beta, PR #247): MENU > SYSTEM > 2ND CORE, OFF by default.
ON (BETA) applies from the next power-on: the second core renders some
of the four parts of each block, bit for bit the one-core sound. A unit
whose second core misreads goes on with one core and sets it back to
OFF. FELUCCA_CPU2=0 builds none of it. Start, mailbox and guards from
X0X (with Melodee's dual-core findings), the split and hardening after
Jangada.
Felucca-Engines: ANALOG, LOFI, TRIO, WHEEL and NOISE, the engine
interface, the shared DSP helpers and their table generator move to
https://github.com/hugelton/Felucca-Engines under the MIT licence,
included as the git submodule firmware/engines. The firmware stays
GPL-3.0-only; clone with --recurse-submodules. The sound is unchanged
(the same golden renders); the engines' own tests run with Felucca's.
Co-authored-by: Кирилл Сапфиров <gospodindilly@gmail.com>