- firmware: the FMini-1 screen has its own input (fa_input), which never refreshed the screen's idle timer (ui.c scrn.idle):
once 60 s had passed, every key release started the idle animation again. fa_input now refreshes it on any key, button or
knob (panel_took_moved clears the knob flag the screen never cleared before).
- tests: fmini_app_test: the idle light show starts after 60 s, stops with a key and stays off for 60 s after it (the check
fails without the fix: the show came back 2 s after the key up).
- web: FW_LATEST 1.18.1; 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
- firmware: changing the preset (the knob, a Program Change, a saved one) no longer goes to CTRL; the page and the open
pop-up stay as they are.
- tests: fmini_app_test: the preset change keeps the page (PRESETS from every page, a Program Change on page 4, the
edit cases on their own page).
- web: FW_LATEST 1.18.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
- bank (tools/fmini_bank.py, regenerated eng_fmini_presets.h): OSC 1 on at 8', triangle, volume 10.0; OSC 2 and 3 off; glide on
at 5.2; cutoff -1.9; loudness attack 3.6, decay 5.9; reverb hall, mix 2.5, decay 5.4, tone 7.0; delay mix 2.5; chorus mix 4.0.
The name and the level stay as they were.
- tests: the golden of preset/FMINI/04 is the new render (the only changed line).
- web: FW_LATEST 1.17.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
- firmware: the overload (two halves in a row over the line: the warning pop-up, and the voices cut) moves from 85 % to 93 %
of a half, the render plus TIMER5 nested in it.
- tests: audio_test: the TIMER5 case at 96 % (the render 66 %, TIMER5 30 %); a new check that two halves at 90 % do not shed.
- web: FW_LATEST 1.16.1; 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
- 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
- firmware: rlp_run, two cascaded one-poles at ~5 kHz (k 16680) on the wet and the side outputs of HALL and CLOUD (rev_hall),
SPRING and PLATE; ROOM and the Felucca build are unchanged; the states are reset by rev_clear. The steps are clamped, so the
32-bit products cannot overflow.
- tests: target_budget: rev_spring 15 -> 55, rev_hall 2006 -> 2095, rev_plate 566 -> 655 (the filter in the render loops);
the fm1 IRQ costs move by under 0.3 %. No golden changed (the regress renders use Felucca's reverb).
- bank: loudness changes by at most 0.4 dB, brightness by -37 Hz on average; the treble of the reverb tails ends sooner.
- web: FW_LATEST 1.15.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
- firmware: FMINI_VERSION 1.14.26. On FMINI the last pitch-bend from any
channel is the part's wheel (every channel plays the one part), so a
note-on no longer resets the bend from its own channel's zero.
- web: the editor's latest firmware 1.14.26; the installer page and the
browser emulator rebuilt for 1.14.26.
- tests: full host suite run; only the sections in the known list fail.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
The per-packet 10 ms wait was a page timer, which browsers clamp to a second or more in a
background tab; the waits now come from a worker's timer. While an install runs the page
holds a Web Lock, a silent audio context and the screen wake lock (asked again when the tab
returns). The busy message no longer tells the owner to stay on the tab.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
The installer no longer carries the Transporter note. A small "Instalar outro firmware
(.fwsc)" button under Install picks a .fwsc from disk; it is checked the same way as the
built-in package (FM-1 identity and the loader marker) and then installs like it.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
The TEMPO is now part of the FMINI patch (two 7-bit bytes, 40..240 BPM, 0 = none: a
loaded patch keeps the song's tempo). Loading a patch with a tempo sets the song's BPM
for the selected track; changing the tempo in ARP, SEQ or TAP TEMPO writes it back into
the patch. The ARP, the SEQ and the delay share it. Factory patches carry 120; 015 carries
162. The patch is 24 bytes now (FG_NUM 24); the editor protocol notes the new bytes.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
- 009 is a copy of 099 UFO (its name too); the 009 PIPE ORG... is gone.
- 099 is a new patch, NEW 099 (a placeholder saw lead).
Goldens: 09 and 99 replaced or renamed; 66 pre-existing non-FMINI hashes unchanged.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
- 004 and 007 trade places (names and sounds together).
- 000 MINI LEAD: OSC 2 one octave down (16').
- 002 and 008 trade sounds, names stay in their slots; 002 is PLUCK ARP, and
the PLUCK ARP at 168 is PLUCK ARP 2.
- 008 is a copy of 183 OCEAN (its name too); the sound it had is gone.
- 183 is a new atmospheric patch, AURA ATMOS (a placeholder name).
Goldens: the changed FMINI slots replaced or renamed; 66 pre-existing
non-FMINI hashes unchanged.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
- At 0 cents the label is "0" (not "0.00").
- The acceleration for DET is the square of the usual multiplier over 4: a slow
detent is 0.01, a fast turn about 0.75-0.80 semitone a detent (at most 1.00
per encoder event).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
The device saves into any of its 200 slots (fmini_app.c: SAVE writes the
slot being played), so the site no longer describes 32 user slots (U01-U32).
The save step and the presets card now say so, in both languages.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
- 007 SINE SOLO and 022 MEGA LEAD swap places (names and sounds together).
- MOD OSC (the oscillators' switch, bit 32) is off on all 200 factory patches.
34 patches had it on; their goldens are replaced, the rest are unchanged.
66 pre-existing non-FMINI hashes unchanged.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
- The knob sets the detune in cents, -700 .. +700, one cent a step with the
usual acceleration; 0.00 at the middle. The screen shows +4.05 style.
- The cents are stored in patch bytes 18..21 (DET 2 at 18..19, DET 3 at 20..21),
as sign and magnitude in two 7-bit bytes (the patch travels as 7-bit sysex).
No SW2 bit: a zero byte is 0 cents.
- A CC still sets the coarse byte (64 = 0, 11 cents a step), and the cents to
(value - 64) * 11, so MIDI gets the coarse law: -704 .. +693.
- The coarse byte follows the knob's cents to the nearest step, for the editor.
- The factory bank writes the cents of its coarse bytes, so every factory
patch sounds as before (goldens unchanged). The bank's stamp changes, so the
saved slots are cleared at the first boot, as 1.14.9 does.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
The knob's number was the 0.0 .. 10.0 ratio of its byte. DET 2 / 3 now show the
signed semitones of the coarse law: -7.0 at the bottom, 0.0 at the middle (byte
64 = 0 cents), +7.0 at the top; the pointer is centred on 0.0.
Goldens: unchanged (display only).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
The fine law of 1.10 and 1.11 (SW2 value 4, a code 0..180, the encoder's
steps of 0.1 and 0.05 semitone) is removed. DET 2 / 3 are the coarse law again
(64 = 0, 11 cents a step, +-7 semitones), with the encoder's acceleration as
before 1.11, and a CC is written as it is. The sanitiser keeps SW2 up to 3 and
clears the old bit; patches saved with it sound with the coarse law.
The other 1.11.0 changes (SEQ pop-up, MIDI CC scroll bar and learn, idle light
show, key LEDs) stay.
Goldens: unchanged (no factory patch uses the fine law).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
The bank's stamp was a fixed constant ("FBV1"), so a firmware with another
factory bank kept the slots saved by an older one (the comment says a new
bank clears them). The stamp is now a hash of the 200 factory patches and
their names: a changed bank clears the saved slots at the next boot, and a
slot that was never saved reads its factory record, as before.
Note: a saved slot is lost on the first boot of a firmware whose bank
differs from the one that saved it.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
- 001 MOOG BASS: the 1.14.4 sound (its name is the one the 1.14.4 MINI BASS
had, as in 1.14.6); the arpeggiator off, OCT-1 on.
- 002 DUB STEP (was DUB STAB): the arpeggiator on with 2 octaves; the reverb
HALL (mix 4.0, decay 4.5, tone 5.0); the delay P-PONG (mix 3.0, time 374 ms,
feedback 2.0).
Goldens: 01 and 02 replaced; 66 pre-existing non-FMINI hashes unchanged.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
- 001 MINI BASS renamed MOOG BASS (its sound is the same).
- 030 MOOG BASS renamed MINI BASS (the name the 001 had; the sound is the same).
- 006 CS-80 BRASS: MOD OSC off.
- 005 SPACE DRONE: unchanged from 1.14.3 (byte-identical); it is the slot the
1.14.4 rearrangement gave it.
Goldens: 01, 30 renamed (same hashes), 06 replaced; 66 pre-existing non-FMINI
hashes unchanged.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
- 001 MINI BASS: OCT-1 on; the arpeggiator on with 2 octaves; reverb HALL
(mix 4.0, decay 4.5, tone 5.0); delay P-PONG (mix 3.0, time 374 ms,
feedback 2.0). The knobs are read on the 0.0-10.0 screen scale.
- 003 renamed PAD SWELL (was DEEP WELL): CUTOFF -2.1, EMPHASIS 2.6, the
filter contour's AMOUNT 7.0.
- 004 LUSH STRINGS and 142 MIST STR trade sounds; the names stay in their
slots (the level and the category move with the sound).
Goldens: 01, 03, 04 and 142 replaced; 66 pre-existing non-FMINI hashes
unchanged.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
Moves in the factory bank:
- 001 I FEEL ARP <-> 103 MINI BASS
- 002 LUSH STRINGS <-> 005 DUB STAB
- 003 ROTARY ORGAN replaced by a copy of 180 (now DEEP WELL)
- 004 CRYSTAL BELL <-> 005 LUSH STRINGS (after the above)
- 005 SPACE DRONE <-> 007 CRYSTAL BELL
- 180 gets a new DEEP SWELL 2 patch (default level, not calibrated)
Goldens for the eight affected FMINI patches are replaced; the 66
pre-existing non-FMINI hashes are unchanged.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
The reset wrote the factory record to flash only; the FMINI track that shows
that preset kept the old values in RAM until another preset was selected.
After YES on the device, the track is loaded again when it is on the reset
preset (or on any preset after RESET ALL). Version 1.14.3.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
INFO carries the firmware version (tag 0x49, three bytes, 5 bytes before the
FMINI patch-size block). The version now lives in firmware/src/core.h
(FMINI_VER_MAJ/MIN/PATCH and FMINI_VERSION); build.py, build_wasi.sh and the
installer workflow read it from there.
The web editor reads the version on connect. When the device runs an older
firmware (or one without the tag), it opens a pop-up that links to the
installer on the site. FW_LATEST in editor_fmini.html must match core.h.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
The editor asks the device, as the backup restore does: RESTORE 0 with a slot
(0, lo, hi) for one preset, RESTORE 3 for every factory preset. The panel shows
"RESET / PRESET nnn?" or "RESET ALL / 200 FACTORY?" (ALGO: YES / NO, SAVE: OK);
at YES the device does the reset itself (fb_rs_apply), so the editor only waits
for the answer and then ends the question (RESTORE 2). No browser confirm any more.
Protocol 4 unchanged in its commands; RESTORE takes the new argument forms.
Host checks in editor_test; the bridge's test answer does the reset as the panel does.
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
- The block title is "Backup" (was "Presets do aparelho (000–199)").
- The FACTORY RESET combo-box shows the 200 factory names (FACTORY_NAMES, from
tools/fmini_bank.py), not the device's current names; its text is black on white.
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 PRESETS tab keeps the backup and restore buttons. The 200-card list
and the factory-bank export go; a FACTORY RESET section takes their place:
"Restore all factory presets" (slots 000..099, with a browser confirm) and
a list of the 200 presets with a "Restore" button (one preset, with a
confirm).
Firmware: cmd 88 FMINI_RESET forgets a slot's saved preset, so it reads its
factory preset again (INIT for 100..199). The page sends it once per
slot; no device question (the page asks first).
tests/editor_test.c checks the reset; web/test_editor_fmini.py resets slot 7
and then all the factory presets after a restore of a changed file.
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
Backup: the web editor reads all 200 presets (cmd 85, the whole record)
and saves them in one .bkp file (JSON, records in hex).
Restore: cmd 87 asks the device first. The device shows OVERWRITE ALL 200
PRESETS? with NO selected: ALGORITHM turns it to YES, SAVE accepts; SAVE
on NO or any page button refuses; no answer for 60 s refuses. Only then
does cmd 86 write each record (rc 2 before the YES and after the end).
The restore question sits above the other pop-ups; the preset and tempo
pop-ups stay hidden under it. Protocol 4: the web editor needs it.
tests/editor_test.c walks the handshake and the record round trip;
tests/fmini_app_test.c drives the question on the panel and renders it;
web/test_editor_fmini.py backs up, restores a changed file and puts the
original back (the bridge answers the question: FM_RESTORE_ANSWER).
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
The LIBRARY tab (U01-U32, UP_* commands) is gone from the FMini editor:
FMini-1 has no U bank. The tab lists the 200 slots (NAMES) and loads them
(PRESET); SAVE is on the device. The factory bank export stays.
PRESET takes the preset number as two 7-bit bytes (low first) when it is
128 or more, so the page reaches slots 128..199; the one-byte form still
works. MIDI Program Change reaches 0..127 only (documented).
The web test drives the new tab (200 cards, load 007 and 150, no save or
erase); tests/editor_test.c passes; firmware 1.14.0 builds; installer
regenerated.
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
A project stores each parameter in a signed byte, and FMini's SLOT now
runs to 200 (OWN): the low 7 bits go in the parameter byte and the high
bit in the track's patch spare byte, marked 0x40. A 1.13 project has 0
there and its SLOT 100 was OWN, so it loads as OWN (200).
The emulator (web/emu) compiled the bank before storage.c: the bank is
now included after it in felucca_web.c (hostsim keeps it for the host
tests). The browser emulator and the installer page are rebuilt for
1.14.0.
Co-Authored-By: Claude Haiku 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 preset bank has 200 slots instead of 256: 0..99 factory, 100..199
INIT, and OWN is 200. 200 keeps the count in uint8_t and frees two
flash objects' worth of space (13 objects, 104 KB, instead of 16).
Editor protocol 3 documents SLOT 0..199 and OWN = 200.
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94