Commit Graph
8 Commits
Author SHA1 Message Date
Claude b8ac216736 FMini-1 v1.11.0: DET 2/3 fine law, SEQ full-height pop-up, MIDI CC scroll bar and learn, idle light show, dim keys
- DET 2 / 3: one encoder detent is one step of a fine law (0.1 semitone,
  0.05 from 4 to 6, 0.1 from 6 to 7), no acceleration. The law is SW2 value 4
  (FT_DETFINE): a patch saved before 1.11 keeps its coarse law until a DET
  knob or CC is turned; the factory bank is unchanged. The sanitiser keeps
  the fine codes (up to 180) and SW2 up to 7. Display: +4.05 ST.
- SEQ: the pop-up is the width of the other pop-ups and the full height of
  the screen; 8x8 rounded squares with a wider gap; no title. Opening SEQ
  shows the word SEQUENCER for 0.5 s.
- MIDI CC: a scroll bar in place of the n/total counter. MIDI LEARN: the
  line listens for the next free CC (reserved ones are refused); a CC the
  other lines had is moved off them.
- Idle light show (MENU > ANIM IDLE, ui_input.c idle_leds) on at boot:
  after a minute with no input the key LEDs run the power-on show.
- Key LEDs: all 27 keys glow dimly, as the buttons do.
- Tests: fmini_app_test covers the DET law and encoder steps, MIDI LEARN,
  pitch bend and mod wheel from USB and TRS, and the take of 64.
- web/EDITOR_PROTOCOL.md: the fine law and its switch value. The web editor
  still shows DET as the coarse law: check SW2 value 4 before trusting it.

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
2026-10-28 08:45:10 -03:00
Claude 8dd0ab9662 FMini-1 v1.10.0: SEQ with 64 notes on an 8x8 grid; installer without the return to official firmware
- firmware: the SEQUENCER records up to 64 notes (NSTEP); the pop-up shows
  them as an 8x8 grid of squares: dark gray empty, red recorded, orange the
  step playing now, cream blinking on the next slot while REC is armed.
  The 4x4 note-name grid and fa_note_name are gone. The patch signature
  covers all 64 steps. Version v1.10.0.
- tests: the take of 16 becomes a take of 64 (ends by itself at 64, step 63
  is note 113); HOLD REC TO CLEAR checks all 64 steps.
- web: the installer no longer offers to return to the official firmware
  (the stock block, its texts and handlers are removed; the fm1*.js
  libraries and their tests stay). Site text says 64 notes. Splash, SEQ
  screenshots and the emulator/installer are regenerated.
- docs: CLAUDE.md suite heading now 1.10.0.

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
2026-10-27 17:03:29 -03:00
Claude 885dc3ee97 FMini-1 v1.9.1: MIDI CLOCK OFF / USB / TRS (replaces MIDI TEMPO SYNC)
- GLOBAL: the line is MIDI CLOCK, OFF (internal clock), USB or TRS, as the Felucca CLK. It sets the global clock directly,
  no longer tied to MIDI IN. With USB or TRS, the ARP and SEQ follow that input's clock; Start, Stop and Continue come from
  that input only (the engine's own path, now covered by the app test)
- Stored as 0xC0 | clock in the settings record (an erased byte reads OFF)
- Tests: app test covers the three values, the saved setting and Start / Stop / Continue per input
- Web: GLOBAL description (pt, en), emulator, installer, splash; CLAUDE.md / DEVELOPING.md suite version

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-27 13:26:03 -03:00
Claude 625d4b5587 FMini-1 v1.9.0: MIDI TEMPO SYNC (ARP and SEQ follow the MIDI clock)
- GLOBAL: new line MIDI TEMPO SYNC after MIDI CC, default OFF. ON makes the ARP and the SEQ run on the MIDI clock:
  the global CLK becomes USB (MIDI IN USB or ALL) or TRS (MIDI IN MIDI)
- The setting is kept in the flash settings record (favorites.factory row 9, marked 0x5A so an erased byte reads off)
- Tests: fmini_app_test covers the default, the clock follow, the off switch and the saved setting
- Web: emulator, installer page, splash screenshot, GLOBAL description (pt, en), CLAUDE.md / DEVELOPING.md suite version

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-27 11:17:33 -03:00
Claude a41d1705d2 FMini-1 v1.8.2: ARP / REC / TAP TEMPO pop-up
- ARP button: with the arpeggiator on and the ARP pop-up closed, a tap only opens the pop-up (it no longer turns the arpeggiator off)
- ARP pop-up: no 4 s timeout; it stays open until closed
- REC: a tap arms / disarms as before; HOLD REC TO CLEAR (700 ms) empties the 16 SEQ steps (instruction on the SEQ pop-up)
- TAP TEMPO pop-up: opened by ALGORITHM on the ARP TEMPO row and on the SEQ pop-up; big BPM, "TAP TEMPO: button EDIT";
  EDIT taps (250..1500 ms between taps, 40..240 BPM) and its lamp blinks at the tempo; SELECT, a knob or any other button closes it
- Firmware, UI, tests: fmini_app_test covers the ARP tap, the timeout removal, TAP TEMPO and HOLD REC TO CLEAR
- Web: emulator, installer page and site screenshots (ARP, SEQ, splash) regenerated

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-27 10:20:10 -03:00
Claude 53946ae207 FMini-1 v1.8.1: fa_cc_poll stops at bit 31 (CC 31, 63, 95, 127)
The loop over the pending CC bits, for (b = 0; pend[w] >> b; b++), had no bound. With bit 31 set, the shift by 32 is undefined
in C; on a target that masks the shift count it never reaches zero, and fm_cc_rx was read past its 128 bytes. The loop now stops
at 32: for (b = 0; b < 32u && pend[w] >> b; b++).

Reproduced on the host (the real fa_cc_poll): CC 30 and 126 return, CC 31, 63, 95 and 127 segfault. The new test in
tests/fmini_app_test.c polls every CC from 0 to 127 alone and checks its pending bit is cleared; it segfaults on 1.8.0 and passes
on 1.8.1. The chip's own behaviour for a shift by 32 was not measured here.

Version FMINI_VERSION v1.8.1; docs/emu, docs/index.html and the splash pictures rebuilt. Host suite: the same seven sections fail
as before. 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
2026-10-24 21:15:48 -03:00
Claude da5711a678 FMini-1 v1.8.0: a battery icon replaces the page number
- The "n/7" at the bottom right of every page is gone. In its place: a horizontal battery of four bars (fa_batt / fa_battery in
  fmini_app.c). The level uses the ADC thresholds the firmware always had (531 / 561 / 591): 4, 3, 2 bars, and 1 bar below 531 drawn
  in red (FA_BATT_LOW, the stock "empty"). USB power (configured, not suspended) puts a bolt over the bars: there is no charger
  status line to read, so "charging" means powered from USB. Before the first ADC read (raw 0: the emulator) it shows full.
- tests/fmini_app_test.c checks the four states by pixel (bars lit, red, bolt), and fails when the expectations are wrong.
- Site and README pictures: the footer of the site screenshots and the splash/README art redrawn with the icon.
- Not calibrated on a device: the red threshold is the stock empty level, not a measured 15 %; DEVELOPING.md says how to move it.

Host suite: the same seven sections fail as before (the browser editor test failed once under load and passed twice alone).
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
2026-10-20 22:16:34 -03:00
Claude 232264d571 FMini-1 v1.7.1: fmug is now fmini everywhere (files, identifiers, engine name, editor, docs)
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
2026-10-20 19:35:44 -03:00