Commit Graph
91 Commits
Author SHA1 Message Date
Claude 736a223334 Site: support section above the installer (Buy me a Coffee / Suporte o projeto)
A section with the owner's text and a Tip / Doar button to https://ko-fi.com/ruppert,
placed right above the installer. Portuguese and English texts.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-30 09:51:08 -03:00
Claude e1e1bfb7c5 FMini-1: the brass 50-59 are OCT 0; OCT-1 is on the basses 130-139
The owner's correction: OCT-1 belongs on the basses, not on the brass.
Removes OCT-1 from the original brass (50-59) and from the new brass
(150-159, already OCT 0); the new basses 130-139 keep OCT-1. The bank
header and the app test follow (the Program Change check now uses a bass).
The golden renders do not change: the regression does not apply a patch's
octave (the app does), so the 200 golden lines are the same.

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-30 09:49:38 -03:00
Claude 38311e3c96 FMini-1: presets 100-199 are factory patches (200 in all)
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
2026-10-30 09:41:32 -03:00
Claude 84998d9b9d Add Ko-fi donation links: site nav, post-install popup, editor footer, emulator
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-30 09:22:05 -03:00
Claude a6e0f39e5d FMini-1 1.14.0: the PRESETS knob moves one preset per detent
The knob counted the detents of a frame as one step: a fast turn of 25
detents in a few frames moved 3 or 4 presets. Now the preset moves by the
detents received (signed, round over the 200 slots), loaded once.

tests/fmini_app_test.c: 25 detents at once move 25 presets; a turn back
of 30 wraps; the wrap below 0 is checked.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-30 09:03:22 -03:00
Claude 8a59aed0e1 FMini-1 web editor: PRESETS tab becomes FACTORY RESET
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
2026-10-30 08:52:52 -03:00
Claude fb160c04a8 FMini-1 1.14.0: backup and restore of the presets (protocol 4)
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
2026-10-30 08:25:00 -03:00
Claude 3aa588acc3 FMini-1 1.14.0: undo the PRESETS knob acceleration
Revert of 86ce0f5: the PRESETS knob steps one preset per detent again,
whatever the speed of the turn. Test and emulator/installer regenerated.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-30 08:03:19 -03:00
Claude 54720dc57a FMini-1 1.14.0: SAVE dialog with bigger text and an OVERWRITE question
The SAVE dialog uses the large font for the slot, the name and the title
(its box is bigger; each letter's cell is as wide as the letter). SAVE
opens a YES / NO question, NO selected by default: ALGORITHM turns it to
YES, SAVE on YES writes the slot, SAVE on NO goes back to the name. Any
page button still cancels. The pop-up's text is drawn on the pop-up's
own background.

tests/fmini_app_test.c walks the question (SAVE, SAVE on NO, SAVE, YES,
SAVE) and renders the three screens.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-29 22:35:38 -03:00
Claude 86ce0f558e FMini-1 1.14.0: the PRESETS knob accelerates
A slow turn steps one preset per detent; a fast one jumps further. The step
comes from the time between the detents: 1 at 120 ms or more, 3 at 60 ms,
8 at 35 ms, 15 at 20 ms, 25 below that (several detents in one frame share
the interval). The SAVE dialog's slot still moves one at a time.

tests/fmini_app_test.c: slow turns step by one, a fast turn jumps and wraps.
Firmware rebuilt, emulator and installer regenerated.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-29 22:27:33 -03:00
Claude f660562679 FMini-1 1.14.0: the web editor's PRESETS tab shows the device's 200 slots
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
2026-10-29 22:21:45 -03:00
Claude 165830500a FMini-1 1.14.0: SLOT in a project (8 bits), emulator build, installer
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
2026-10-29 18:53:54 -03:00
Claude a226882813 FMini-1 1.13.0: regenerate the emulator and installer for the DET dial fix
Rebuilt from 99e1215 (the DET 2 / 3 dial centre at 5.0). No version change.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-29 10:10:54 -03:00
Claude 0006fd81ce FMini-1 v1.13.0: retire the SAMPLE, GRAIN and SLICE engines
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
2026-10-28 14:03:21 -03:00
Claude 399f6fbbce FMini-1 v1.12.0: SEQ opens on press; hold inside the grid opens the settings
- Outside the sequencer, a press of SEQ (not its release) opens the grid with
  the word SEQUENCER for 0.5 s; holding adds nothing.
- Inside the grid, a tap (decided on release) closes it, and a hold of 450 ms
  opens the settings pop-up (MODE, RATE, GATE, TEMPO).
- On the settings pop-up, a press of SEQ goes back to the grid.
- Test updated to the new flow; emulator and installer regenerated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-28 12:29:14 -03:00
Claude ce1e66d668 FMini-1 v1.12.0: regenerate the emulator and the installer page
docs/emu (felucca.wasm, index.html) from web/emu/build_wasi.sh, and docs/index.html
from web/make_fmini_installer.py with the v1.12.0 package.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-28 12:18:53 -03:00
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 bcf101a0f3 FMini-1 v1.9.2: official V15 / V16 restore accepted (no boot-area compare for the official loader)
- ota: the official update loader's packages are accepted whatever the head of the device: flash.bin of 0x93000 (V15) or
  0xA9000 (V16). The -5 head comparison is removed for the official loader only; the own loader keeps -15 for another board
- Live check with the official V16 package (not in the repo): the staged loader, the record and the commit pass; only the
  request count of the bigger official loader (44) was outside the own loader's bound, now 10..60
- Web: the stock restore warns that it erases projects and samples on the FM-1 (back up first); the claim "back at any time" is gone
- 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 15:23:19 -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 81fe4c8058 Site: Minimoog trademark notice in the footer, before the AI disclaimer
- pt and en: Minimoog is a registered trademark of Moog Music Inc. and inMusic MMI Acquisition; the authors have no affiliation with these companies, proud customers and grateful for the Minimoog's legacy
- docs/index.html regenerated

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-27 10:30:13 -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 94c0b867bd Site: drop the Japanese version; wording of the English abstract and the Portuguese subtitle
- The site has Portuguese and English only: the Japanese texts (about 160 strings), the 日本語 switch, the browser detection of
  Japanese, the Japanese font stack and the Japanese language name in the installer are removed.
- English abstract: "FMini-1 uses Analog Circuit Modelling, built from the actual Minimoog schematics".
- Portuguese subtitle: "Emulação do Minimoog para o FM-1 (mono/poly)".

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-27 09:24:51 -03:00
Claude f5c54c43b4 Site and emulator: "a Minimoog emulation", mono and polyphonic, Analog Circuit Modelling
- Site <title>: "FMini-1 — a Minimoog emulation for the M-Vave FM-1"; meta description of the site and of the emulator updated.
- Subtitle (tagline) in pt / en / ja: "A Minimoog emulation for the M-Vave FM-1 (mono/poly)" (pt and ja translated alike).
- Abstract (sub) in pt / en / ja: says mono and polyphonic, and that FMini-1 uses Analog Circuit Modelling, built from the actual
  Minimoog schematics to reproduce the real instrument's behaviour.
- The emulator's meta description: mono and polyphonic.
No firmware change; docs/emu and docs/index.html rebuilt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-27 09:17:49 -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 ab0f5c83d9 Site: FEATURES (pt) item 3 "Emulação perfeita", item 7 "Arpegiador"
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-20 22:32:47 -03:00
Claude d0a5e9f7f7 Site: PRESETS and MIDI merged into one FEATURES section
The two sections (the preset name list with its ten groups, and the MIDI cards with the button table) are replaced by FEATURES: nine
short cards in Portuguese, English and Japanese: 100 factory presets and 32 user slots, mono and 12 voices, the Minimoog model,
the effects (5 reverbs, 7 delays, 3 choruses, drive SOFT / TUBE), MIDI CC for controllers (50 controls, CC learn, USB and TRS), the
16-note sequencer, the arpeggiator, the web editor and the online emulator. The nav lists Features in place of Presets and MIDI.
No firmware change, no new version. docs/index.html rebuilt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-20 22:30:04 -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 4bcc94d6f8 FMini-1 v1.7.3: velocity no longer moves the filter cutoff
Bug report: with the oscillators off, EMPHASIS full and CONTOUR 0, a note struck at velocity 112 or more sang a different pitch
from one struck softer; the cutoff followed the amplitude envelope in every stage.

Cause: voice.c has Felucca's "accent" for its own engines: a note-on above 110 (a key, MIDI, the arp, a step accented at 127) added
the loudness contour to the cutoff (m.cutoff += envq15 * 24 >> 7, about 1.7 octaves at full level) before e->render. FMINI read
that value like any other cutoff modulation. A Minimoog-style ladder wants velocity as loudness only. The accent now skips
ENG_FMINI; Felucca's other engines keep it (their goldens do not move).

Measured (tests/fmini_filter_test.c, new section 3a: mixer silent, CUTOFF 64, EMPHASIS 127, CONTOUR 0, A.ENV attack 30, decay 60,
sustain 90, KBD 0 and 127): velocity 100 sang 1109.8 Hz and velocities 111 to 127 sang 2566.3 Hz (+1451 cents); with the fix the
change from velocity 20 to 127 is 0.0 cents. The test fails on the old code.

Goldens: tests/regress.c plays a note at velocity 120 in every preset, so the 100 FMINI lines of tests/golden.txt move (only
those: the 76 stale ones of the other engines are untouched, before and after). A patch played above velocity 110 is darker than
on 1.7.2 and older. Nothing stored changes meaning; the target budget is unchanged. Notes: web/EDITOR_PROTOCOL.md (1.7.3),
CLAUDE.md (rule), DEVELOPING.md (gotcha).
Site: docs/emu and docs/index.html rebuilt for v1.7.3; the splash pictures show the new version.

Host suite: the same seven sections fail as before (fm4, ui_render, three regress, union_test, web pages) with the same counts
(regress 76 / 117 / 76). 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 21:41:49 -03:00
Claude 9b31527da3 FMini-1 v1.7.2: the editor shows all 100 preset names and follows a drag without lag
Two problems of the web editor, found by the owner:

- Names stopped at preset 72. The firmware's reply buffer (ed_out) held 664 bytes and the NAMES reply of FMINI (100 names, 1326
  bytes) was cut there without an error. The buffer is 1408 bytes now. tests/editor_test.c (names_complete) checks every
  engine's NAMES reply whole, in the default, the one-core and the ASan builds. The editor tells when a firmware (up to 1.7.1)
  sent fewer names than it counts ("update available").
- The device answered late when a control was moved. The editor queued a request per change (every ~30 ms) behind the device,
  which takes one request per pass of its main loop, so a drag piled up requests and the device followed old positions for
  seconds after the mouse stopped. Now one round is in flight at a time and carries the latest value of every control changed
  meanwhile (queue / flush in editor_fmini.html). web/test_editor_fmini.py drags for 2 s against a device that answers in 70 ms:
  the last value arrived 547 ms after the release before, about one round trip (75 to 110 ms) now.

No change to the sound, the stored data or the commands. Reply buffer: pool 348840 B of 368640 (was 348096).
Docs: EDITOR_PROTOCOL.md (NAMES row, 1.7.2 note), DEVELOPING.md (two gotchas), CLAUDE.md (suite heading).
Site: docs/emu and docs/index.html rebuilt for v1.7.2; the splash pictures show the new version.

Host suite: the same seven sections fail 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 20:26:36 -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
Claude 4ac7794ec4 FMini-1 v1.7.0: the Minimoog ladder filter (4 tanh stages + the feedback lag pole, zero-delay feedback), the dials, 100 presets converted
- filter: eng_fmug.c renders a trapezoidal ZDF ladder with a saturating stage each and the lag pole of the circuit; it self-oscillates as a
  sine when EMPHASIS passes 8 (singing pitch = 1.578 x the corner, exact), tracks the keyboard 1 V/oct at KBD 127 (0 V at F), and its
  passband loss and resonance peak follow the hardware. Fixed point (Q8 states so quiet ladders start singing), no 64-bit in the sample loop.
  Laws and tables come from tools/fmug_filter.py (eng_fmug_filter.h, generated); constants from the CA-72 circuit notes (CREDITS.md)
- knobs: CUTOFF reads the dial -5.0 .. +5.0 (fmt MCUT), EMPHASIS 0.0 .. 10.0 (MEMP); FILT page draws the filter's real response and where it sings
- presets: all 100 matched to the old filter by their log-magnitude responses (tools/fmug_retune.py; bank cutoff= is the -3 dB corner at middle C,
  emph= the dial); levels re-trimmed (tools/fmug_levels.json); goldens of the 100 FMUG renders registered
- tests: fmug_filter_test (singing pitch / THD / 1 V/oct over the keys / KBD 0 / dial positions / passband loss and peak / no runaway),
  fmug_app_test and editor_test fixed (stale cutoffs, a 1-byte overflow), target budget fmug_render 170 -> 227
- web: editor shows the dials, protocol doc (fmt 14, 15; patches made before 1.7.0 keep their raw numbers), site texts, screenshots
- v1.7.0 emulator and installer rebuilt

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-20 10:10:51 -03:00
Claude d79b5e2bef FMini-1 v1.6.1: editor library (U01-U32), A/B compare, randomize, factory bank export; FMUG_GET of user presets, the octave, FMUG_PRESET (84)
- firmware: FMUG_GET target 3 (a user preset's patch), the octave on 82 / 83, cmd 84 (tempo, octave and FX globals a preset keeps), INFO tag 48 01 01
- web/editor_fmini.html: LIBRARY tab (save / load / export / erase per slot, export and import the whole library as a file, export the factory bank), Randomize with an amount, A/B compare, OCTAVE control; sound files keep every parameter, the octave and the FX settings
- tests: editor_test (user preset patch, octave, FMUG_PRESET), test_editor_fmini.py (library, files, A/B, randomize, factory bank against the real C handler)
- protocol doc, v1.6.1 emulator and installer rebuilt

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-20 08:08:42 -03:00
Claude 663a1ffea8 FMini-1 v1.6.0: web patch editor (editor/ on the site) and the FMUG patch commands (82, 83)
- firmware: editor_fmug.c, FMUG_GET / FMUG_PUT (the 32-byte patch of a track or a factory patch), INFO tag 47 01 32
- web/editor_fmini.html: one self-contained page (Web MIDI + SysEx): CTRL OSC MIX FILT F.ENV A.ENV FX ARP, patch list, save / open sound files, polling of changes made on the FM-1
- tests: editor_test (fmug_patches), tests/editor_bridge.c + web/test_editor_fmini.py (the page in Chromium against the real C handler)
- site: Editor link in the nav; Installer workflow publishes editor/; protocol doc; v1.6.0 emulator and installer rebuilt

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-19 22:44:08 -03:00
Claude 1371fa6144 FMini-1 v1.5.5: power-on with the autosaved patch 00 brings its OCT+ (the octave is not autosaved)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-19 22:17:02 -03:00
Claude 6396791319 Installer: when no FM-1 is found by name (another custom firmware names its USB device differently), a popup lists the MIDI devices and the player picks the FM-1
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-19 22:06:15 -03:00
Claude 54f1b8d378 Installer: a warning while installing (do not close the page, switch tab or window, unplug); the screen stays awake
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-19 21:46:08 -03:00
Claude 9bd903378a FMini-1 v1.5.4: site and emulator links, version under Install and in the Install button, "based on Felucca" out of the installer notice
- emulator page: a prominent "FMini-1 official website" button on top
- site: the current version (small) under the hero's Install button; the installer's button reads "Instalar (v1.5.4)"
- installer notice: "baseada no Felucca" removed (pt, en, ja); the credits stay

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-19 21:42:48 -03:00
Claude d3fe9c3a0f FMini-1 v1.5.3: the USB MIDI / audio device is named "FM-1 Midi"
The editor's port filter also takes "fm-1".

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-19 21:28:22 -03:00
Claude b41840a488 FMini-1 v1.5.2: PRESETS goes on from the patch you edited (13 -> 14, not 01); "Try in browser" stays in the phone's header
- a CTRL / OSC / MIX knob or switch makes SLOT OWN; PRESETS then counted from 0 (13 -> 01). It now steps from the factory
  patch last loaded (fa_base), the SAVE dialog proposes that patch's name; test_fmug_app edits five controls on 13 and steps both ways
- site: on a phone the header keeps "Try in browser" next to Install (short label "Try" / "Testar" / "試す" under 430 px)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-19 21:22:53 -03:00
Claude 7ae41f74b9 FMini-1 v1.5.1 (the v1.5 release renamed; the installer page shows "v1.5.1", it had "vv1.x")
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-19 18:40:54 -03:00
Claude d2ce9910ea Installer: find the update-mode FM-1 by its new name (FMini-1 Update); the port filter knew only fm-1 / felucca / ota
Since v1.4.29 the update loader is named "FMini-1 Update" (v1.4.28: the running device "FMini-1"); neither matches
/fm-1|felucca|ota|.../, so the page never probed the loader's port: stuck at 6 % in "update mode", then "noloader".
fm1ota.js and tools/fm1_install.py also look for "fmini"; test_web.mjs now installs and resumes through the names the
firmware has had (Felucca / FMini-1, with their Update loaders). The firmware package is unchanged (v1.5).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-19 18:26:05 -03:00
Claude d50af5d991 FMini-1 v1.5: the version on the power-on splash, GLOBAL lists MIDI CC above PITCH BEND, bank touch-ups
- the power-on splash draws the version bottom right, as ABOUT does (one function, fa_splash)
- GLOBAL: MIDI IN, MIDI CHANNEL, MIDI CC, PITCH BEND, ABOUT (the site's GLOBAL picture redrawn)
- 00 MINI LEAD: MOD OSC off, CUTOFF 5.9 -> 6.5 (+10 %), GLIDE 4.3 -> 3.9 (-10 %), OCT+
- 02 LUSH STRINGS and 10 EMERSON: MOD OSC off
- 03 ROTARY ORG: CUTOFF 8.4 -> 8.2, REVERB 5.0, type HALL
- 30..39 (the basses): OCT-1
- LEVELs of 00, 02, 03 and 10 calibrated again; tests for all of it

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-19 16:12:26 -03:00
Claude 397c503ba4 New factory bank: 100 patches rebuilt from scratch; SHIMMER removed; a new preset goes HOME (v1.4.32)
Presets (tools/fmug_bank.py -> firmware/src/eng_fmug_presets.h, written in ms / Hz / cents):
00-09 a showcase (MINI LEAD, I FEEL ARP, LUSH STRINGS, ROTARY ORG, CRYSTAL BELL, DUB STAB, CS-80 BRASS, SPACE DRONE,
TANGERINE, E.PIANO), 10-19 hard leads, 20-29 soft leads, 30-39 basses, 40-49 pads and strings, 50-59 synth brass (all with
OCT-1), 60-69 plucks, 70-79 keys, 80-89 atmospheres and drones, 90-99 sound effects. Famous Minimoog sounds (Emerson, Hammer,
Numan, Banks, Chameleon, Wonder bass, clavinet, I Feel Love, Tangerine Dream) next to the usual keyboardist's tools.
Every patch now carries its own ARPEGGIATOR (26 of 100 come with it on, each with a mode, rate, octaves, gate and swing
chosen for its sound), LFO and modulation (pitch / tremolo / pitch envelope), the 12 FX settings (reverb, delay, chorus
and drive types, times and tones), LEVEL (calibrated, tools/preset_lab.py --calibrate) and keyboard octave. The knob,
a Program Change and the power-on patch load all of it (fa_factory_extras); the tempo stays the player's. Pads, keys,
chord brass and plucks are polyphonic.

Reverb: SHIMMER removed (ROOM HALL PLATE SPRING CLOUD).
A new preset (PRESETS knob, Program Change, a saved one) always goes HOME and closes the pop-ups.

tools/preset_lab.{py,mjs,sh}: plays the patches through the real firmware (the browser build) in node and measures them
(loudness, peak, attack, release, stereo width, the likeness of each patch to the others, spectrograms).
Tests: fmug_app_test (every patch's ARP / LFO / FX / LEVEL / octave, 22..28 with the ARP on, brass at OCT-1, HOME from every
page), fmug_fx_test (five reverbs). Site: the ten groups, no SHIMMER.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-19 13:32:59 -03:00
Claude 55233b4918 FX phases 2-4: stereo reverbs (ROOM, HALL, PLATE, SPRING, SHIMMER, CLOUD), seven delays, three choruses, TUBE drive + OUTPUT (v1.4.31)
Reverb: every type is stereo (ROOM Freeverb with the +23 spread, SPRING two springs, HALL as before, a half-rate Dattorro PLATE,
SHIMMER = HALL with its tail's octave up fed back, CLOUD = a longer, darker, denser HALL). 23 KB of shared pool for the new types.
Delay: ANALOG, DIGITAL, TAPE, P-PONG (stereo), MULTI (stereo), SLAP, REVERSE; TIME glides. Chorus: STEREO (CE-2 inspired),
JUNO (BBD, opposite phases), MULTI (four voices), all stereo, DEPTH and RATE. Drive: SOFT (as before) and TUBE (two biased stages),
OUTPUT level. tests/fmug_fx_test.c covers all of it; the FX screenshots of the site and README are redrawn (+ two pop-up pictures).
The target budget is rewritten for the new loops.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-19 11:55:46 -03:00
Claude 1b364bff34 FX screen: EDIT pop-ups per effect (reverb/delay/chorus/drive), tap tempo, bypass at 0, DEPTH (v1.4.30)
Phase 1 of the FX redesign: the second fader row is now an EDIT button per
effect; FX pressed again cycles the four pop-ups; the 4 knobs are MIX/MIX/MIX/GAIN
and a knob at 0 turns that effect off. New pop-up parameters are stored in presets.
Type selectors beyond the existing models are not audible yet.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-19 11:01:53 -03:00
Claude 894553b8e4 USB: manufacturer Guilherme Ruppert, update mode FMini-1 Update (v1.4.29)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-18 23:22:08 -03:00
Claude 217e933174 USB: the MIDI / audio device is named FMini-1 (was Felucca) (v1.4.28)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-18 23:18:36 -03:00
Claude 3cb5c37aa0 Filter knobs (CUTOFF, EMPH, CNTR): 200 ms smoothing time constant (v1.4.27)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-18 22:25:51 -03:00