Commit Graph
109 Commits
Author SHA1 Message Date
Claude 5dd982ca63 FMini-1: mod wheel is a vibrato (unbuilt, for review)
- eng_fmini: CC1 (t->mw) adds the track LFO to the pitch, +-1 semitone at
  full wheel, whatever MOD OSC is. It no longer deepens the MOD depth:
  that is the patch's E6 only (the matrix's MODW source still drives it).
  With the wheel at 0 the render is unchanged, so the FMini goldens hold.
- tests/fmini_filter_test: the wheel at 0 leaves the pitch still; at 127
  it sways about a semitone with MOD OSC off.
- web/site_fmini: the mod wheel is named as vibrato (pt, en).

Not built for the firmware yet: the JieLi toolchain and the AC79 SDK could
not be fetched in this session, so build.sh, the full suite, the target
budget and the version bump are still to do before this goes to main.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-02 21:37:18 -03:00
Claude bdaf268570 FMini-1 1.23.0: GLO held opens ABOUT
- UI: holding GLO for 0.5 s opens ABOUT (the splash with the version) from
  anywhere: the other pop-ups close (SEQ, its REC too), the list's cursor
  goes to ABOUT, so GLO or an encoder goes back to the list on that line.
  A GLO tap is unchanged (the list, one level back, closed).
- Tests: fmini_app_test, tap vs hold (0.4 s still the list, 0.5 s ABOUT,
  the release keeps it), ABOUT back to the list, the hold over the SEQ
  pop-up with REC armed, an encoder back.
- Web: editor FW_LATEST 1.23.0, emulator and installer rebuilt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-02 19:32:58 -03:00
Claude 1719657108 FMini-1 1.22.0: SEQ recording takes rests (SELECT)
- SEQ: while REC records, SELECT right leaves a rest (the slot stays empty,
  the take goes on; trailing rests count in the length, a pause before the
  loop comes round) and SELECT left goes back one slot and empties it (a
  note or a rest taken back). A rest also starts a fresh take (the old one
  goes, as a first note does); back before anything is played keeps the old
  take. An empty step plays as a rest (seq.c: released, nothing sounds).
- Grid: the take's rests in a dark red (not the empty slots' grey); while
  REC is armed the hint reads SELECT: REST / BACK. The SEQ comment says 64
  slots (it said 16).
- Site (pt, en): the sequencer's line mentions the rests.
- Tests: fmini_app_test, rests, back over notes and rests, past the start,
  a fresh take (back keeps it, a rest starts it), SELECT with REC off.
- Web: editor FW_LATEST 1.22.0, emulator and installer rebuilt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-02 19:01:33 -03:00
Claude 24f992affd FMini-1 1.21.0: HOME opens FILT
- UI: the HOME button opens FILT (the filter page, as EDIT) and closes the
  pop-ups; power-on starts on FILT too. LFO still opens CTRL. The HOME LED
  lights with FILT (with EDIT's). A preset change keeps the page (1.18.0).
- fmini_app.c: FA_HOME_PAGE; the header comment's button list corrected
  (EDIT is FILT, SCL OSC then MIX, GLO the global pop-up).
- Site (pt, en): FILT is the home page (HOME or EDIT); CTRL is the LFO
  button's.
- Tests: fmini_app_test, HOME -> FILT, and HOME closes GLO on the way.
- Web: editor FW_LATEST 1.21.0, emulator and installer rebuilt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-02 17:51:40 -03:00
Claude 37636965f6 FMini-1 1.20.2: TUNE moves 0.1 a detent
- UI: the TUNE knob (CTRL) moves exactly 0.1 a detent on its 0.0 .. 10.0
  dial, with no acceleration (a byte step was 0.079 shown, and the first
  detent of a turn was 2 steps, so the number skipped or repeated tenths).
  Each tenth has its own byte, round trips exact, 5.0 = 64 (A 440), 0.0 = 0,
  10.0 = 127; the dial shows the tenth itself. The stored byte, the sound and
  MIDI CC / the editor are unchanged.
- Tests: fmini_app_test, TUNE through all 101 tenths, both ways and the ends
  (fails on 1.20.1: 5.0 was ratio 503).
- Web: editor FW_LATEST 1.20.2, emulator and installer rebuilt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-02 17:01:01 -03:00
Claude 95f6739fac FMini-1 1.20.1: 099 CALM SEA (was SONAR), 084 NORTHERN SKY (was OCEAN TIDE)
- Bank: 099 is CALM SEA (effects, 90-99): soft sea waves that come and go.
  White noise, no EMPHASIS; the LFO (SIN, about 9 s a wave) opens and closes
  the filter, so a wave grows louder and brighter together (about 14 dB
  crest to trough), a low rumble between; wide chorus, a long dark HALL.
- Bank: 084 OCEAN TIDE (sea noise, now CALM SEA's job) becomes NORTHERN SKY
  (atmospheres and drones, 80-89): a wide drone in fifths (two saws at 8' a
  fifth apart, a triangle at 4'), the filter contour swelling it in over 4 s,
  a slow LFO on the filter, poly; JUNO chorus, TAPE delay, bright CLOUD.
- Both RELEASE 3.5 s: 4.5 s left voices busy 12 s after the note-offs
  (regress health). LEVELs from preset_lab --calibrate (loudness -22.1 and
  -21.6, as their groups); neither is close to another patch.
- Tests: tests/golden.txt FMINI/84 and FMINI/99 are the new renders; the
  rest as before (66 known changed renders, 0 health failures).
- Web: editor FACTORY RESET names, FW_LATEST 1.20.1, emulator, installer.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-02 16:26:04 -03:00
Claude b5bcc21c7e FMini-1 1.20.0: preset 099 is SONAR, an effect
- Bank: 099 (NEW 099, a placeholder saw lead) becomes SONAR in the effects
  group (90-99, category FX): a triangle at 4' with a quieter one at 8' into a
  ringing filter (EMPHASIS 7.6, a short contour), poly, a 1.4 s decay, into a
  P-PONG delay (560 ms, feedback 78) and a big HALL. LEVEL 116 from
  preset_lab --calibrate (loudness -22.7, peak -11.7 dBFS, as its neighbours).
- Generated: eng_fmini_presets.h and the editor's FACTORY RESET names.
- Tests: tests/golden.txt FMINI/99 is the new render (99_SONAR; the old
  99_NEW_099 line replaced). The rest as before (66 known changed renders).
- Web: editor FW_LATEST 1.20.0, emulator and installer rebuilt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-02 15:10:21 -03:00
Claude ac34c70e5e Web editor: FACTORY RESET's preset names are the current bank's
- web/editor_fmini.html FACTORY_NAMES had gone stale by hand: 15 of the 200
  names were older ones (001 I FEEL ARP for MOOG BASS, 004 CRYSTAL BELL for
  SINE SOLO, 099 UFO for NEW 099, ...). It is now the firmware's list.
- tools/gen_fmini_presets.py writes the list along with the header, and
  --check-editor compares it with eng_fmini_presets.h; tests/run_tests.sh
  runs that check. The header is unchanged (regenerated identically).
- No firmware change: the site's editor is updated by the Installer workflow.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-01 21:45:46 -03:00
Claude 175d898370 FMini-1 1.19.1: steady tempo on an external MIDI clock
- MIDI clock: the tempo was taken from one quarter beat (6 clocks) in whole
  ms, so 1 ms of USB jitter showed 119/120/121 at 120 BPM and 227..234 at 230
  (exact at slow tempos). It is now a least-squares fit through up to four
  beats of quarter marks, and the shown BPM moves only 0.6 BPM or more away
  (hysteresis). A quarter more than 1/16 off is held back: two the same way
  are a new tempo (followed within a beat), a late clock and its early
  neighbour are dropped. A gap (> 400 ms) starts a new window. The accepted
  quarter is 55..400 ms (was 62..375, which dropped valid quarters at 240
  and 40 BPM and biased the mean).
- Tests: midi_control_test tempo_jitter_test (40..240 BPM with 1 ms jitter
  shown still; a late clock; 120 -> 140 within a beat). It fails on 1.19.0
  (120 shown 118..122, 230 shown 221..238).
- Web: editor FW_LATEST 1.19.1, emulator and installer rebuilt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-01 21:11:14 -03:00
Claude 10f392af91 FMini-1 1.19.0: MIDI bank select reaches presets 100-199
- MIDI: CC0 (MSB) and CC32 (LSB) select a bank per channel, kept until changed;
  a Program Change 0..99 loads preset bank x 100 + program (bank 0: 0-99,
  bank 1: 100-199). Programs 100..127 are not presets and are ignored (they
  used to load presets 100-127 directly). No bank sent = bank 0, as before.
- ui.mpc is 16 bits per track: 0x80 | program | bank << 8.
- Tests: midi_control_test bank_pc_test (bank 0/1, PC 100 ignored, per-channel
  bank); the every-engine PC loop runs 0..99.
- Web: editor FW_LATEST 1.19.0, emulator and installer rebuilt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-01 20:31:03 -03:00
Claude afcf340f83 FMini-1 1.18.1: the idle light show no longer restarts after every key
- 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
2026-11-01 19:37:53 -03:00
Claude b91b579b41 FMini-1 1.18.0: a preset change keeps the screen (no return to HOME)
- 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
2026-11-01 19:14:38 -03:00
Claude 10b6b18337 FMini-1 1.17.0: factory preset 004 SINE SOLO: triangle lead with glide, reverb hall and chorus
- 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
2026-11-01 18:15:47 -03:00
Claude 70955818ef FMini-1 1.16.1: the CPU overload line is 93 %
- 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
2026-11-01 14:00:13 -03:00
Claude 8f8a0167a9 FMini-1 1.16.0: "Warning: CPU High" pop-up when the synth overloads and cuts voices
- 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
2026-11-01 12:21:47 -03:00
Claude 0307db91d3 FMini-1 1.15.0: the reverb's output low-pass (HALL, CLOUD, SPRING, PLATE): less hiss in the tails
- 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
2026-11-01 10:44:10 -03:00
Claude d16c5d9842 FMini-1 1.14.25: the tempo is the patch's (bytes 22..23); 015 ACID LEAD: CUTOFF -2.5, EMPHASIS 8, contour 3.8, ARP 1/8 OCT 1, reverb mix 0, 162 BPM
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
2026-10-31 17:22:59 -03:00
Claude a0bf931f18 FMini-1 1.14.24: 099 UFO copied over 009; a new NEW 099 at 099
- 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
2026-10-31 13:22:58 -03:00
Claude 7ad438cd07 FMini-1 1.14.23: presets 008/183, 009/174 trade places; 010 and 040 detune
- 008 and 183 trade places (names and sounds together).
- 009 and 174 trade places (names and sounds together).
- 010 EMERSON and 040 SOLINA: DETUNE 2 -0.10 (-10 cents, in the cents bytes).
- 010 EMERSON: EMPHASIS 3.2.

Goldens: the changed FMINI slots 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
2026-10-31 13:20:35 -03:00
Claude 3ef037d588 FMini-1 1.14.22: presets 000, 002, 004, 007, 008, 168 and 183
- 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
2026-10-31 12:47:13 -03:00
Claude f1ac5e9683 FMini-1 1.14.19: DET knobs: the centre reads "0"; fast turns jump (acceleration)
- 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
2026-10-31 10:17:41 -03:00
Claude e85dbe660d FMini-1 1.14.16: 007 and 022 trade places; MOD OSC off on every factory patch
- 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
2026-10-31 02:20:53 -03:00
Claude 4bb1baca6c FMini-1 1.14.15: MEGA LEAD at 007 (replaces CRYSTAL BELL); 001 drive
- 007 MEGA LEAD: a Minimoog-style gliding lead after the MusicRadar tutorial
  (OSC 1 pulse 8', OSC 2 saw 2' +3 cents, OSC 3 square 4' -3 cents; CUTOFF -2.0,
  CONTOUR 85, EMPHASIS 7.0, filter envelope attack 600 ms / decay 2 s / sustain 6;
  loudness attack minimum / decay 5.0 / sustain 6.0; keyboard tracking; GLIDE
  200 ms; tube drive GAIN 8.0, OUTPUT 9.0). The 1.14.x CRYSTAL BELL is gone.
- 001 MOOG BASS: drive GAIN 2.5, OUTPUT 7.5.

Goldens: 01 replaced, 07 renamed to MEGA LEAD (new hash); 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
2026-10-31 02:01:39 -03:00
Claude 0f198bc67e FMini-1 1.14.14: preset 001 MOOG BASS: OSC 3 level 10.0, reverb mix 3.6
Golden 01 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
2026-10-31 01:51:53 -03:00
Claude 0503abc789 FMini-1 1.14.12: DET 2 / 3 in 1-cent steps (-700 .. +700), the MIDI law unchanged
- 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
2026-10-31 01:23:33 -03:00
Claude d16e68e04a FMini-1 1.14.10: DET 2 / 3 back to the coarse law (the fine law is removed)
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
2026-10-31 00:52:58 -03:00
Claude 762cbfe5ef FMini-1 1.14.8: 004 LUSH STRINGS: cutoff, chorus, loudness contour
- CUTOFF +0.2 on the dial (byte 66).
- CHORUS mix 10.0 (byte 127).
- The loudness contour's DECAY 7.2 and SUSTAIN 10.0 (bytes 91 and 127).

Goldens: 04 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
2026-10-31 00:22:53 -03:00
Claude 38198890ac FMini-1 1.14.7: presets 001 MOOG BASS and 002 DUB STEP
- 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
2026-10-31 00:18:57 -03:00
Claude 14c374ea03 FMini-1 1.14.6: names and MOD OSC on the factory presets
- 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
2026-10-31 00:11:45 -03:00
Claude b7178bbb89 FMini-1 1.14.5: preset changes (001 MINI BASS, 003 PAD SWELL, 004/142 sounds)
- 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
2026-10-31 00:06:10 -03:00
Claude c2ff2a385a FMini-1 1.14.4: factory preset rearrangement
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
2026-10-30 23:37:11 -03:00
Claude 52c3abceb6 FMini-1 1.14.2: the device reports its version; the editor warns when it is old
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
2026-10-30 11:07:31 -03:00
Claude 9074eff61a FMini-1: the factory resets are confirmed on the device (one preset and all of them)
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
2026-10-30 10:37:35 -03:00
Claude 69fa330924 Editor: label "Restaurar Presets individuais:" above the FACTORY RESET combo-box
Also a host check that FACTORY RESET of slot 150 reads back its factory record.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-30 10:31:00 -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 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 9ca3bb947a FMini-1 1.14.0: host tests see the RAM presets; PC covers 0..127
The host tests (hostsim.c) fill FMini's RAM presets before main, as the
device does at power-on (fmini_init, fb_boot); hostsim's empty
__attribute__ define had dropped the constructor, so it is restored for
that one line. midi_control_test sends Program Change 0..127 only: the
slots 128..199 are reached from PRESETS (a Program Change is 7 bits).

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-29 19:12:26 -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 cc4389534d FMini-1 1.14.0: one preset table for slots 0..199, no U bank
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
2026-10-29 18:36:35 -03:00
Claude 7902fb73ff FMini-1 1.14.0: bank of 200 slots (0..199), 13 storage objects
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
2026-10-29 17:21:17 -03:00
Claude 253ff329db FMini: a turned SLOT loads after 50 ms still
fmini_poll no longer loads a slot at each step of the knob: the slot
the knob points to loads once it has been still for FMINI_LOAD_MS (50).
Each turn restarts the count. OWN changes stay immediate. A note played
in that window sounds the previous patch (accepted). fmini_bank_test
checks the count (not at once; 30 ms still no; 50 ms still loads).

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-29 17:09:51 -03:00
Claude aef71b7365 FMini: SLOT 0..255 with OWN at 256 (step 1 of the 256-slot bank)
The factory table stays at 100; the slots 100..255 are the INIT
records. A slot's patch comes from its record (fmini_slot_patch, over
fb_read), so the engine loads any of the 256. OWN is 256. fmini_slot
is 16 bits (it was 8). fmini_adopt keeps an INIT slot whose patch it
still holds; the match against the factory tables is unchanged.

Protocol 3: the track's SLOT in FMINI_GET is two 7-bit bytes (low
first), before the octave, which is now the last byte (the web editor
reads it there). The web test expects OWN as 256 and the octave at
its new place. The fmini_rec and fmini_bank modules have include
guards (the host tests include them more than once).

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-29 17:08:10 -03:00
Claude 780ee2c7e1 FMini: the 256-slot preset bank's factory records and INIT
fmini_bank.c: slots 0..99 are the factory presets, 100..255 INIT (one
sawtooth on oscillator 1; no arpeggiator, LFO, effects, modulation or
filter envelope). fb_factory_rec builds a slot's block record; the RAM
name list is filled from it. Flash reads and writes (16 objects, the
stamp, the save) come next. Included after upreset.c in felucca.c.
tests/fmini_bank_test.c: every slot well formed and in its size; slot 0
and INIT as specified; the name list.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-29 14:35:59 -03:00
Claude bf83c81182 FMini: preset records as tagged blocks (tag, len, data)
fmini_rec.c: a preset is a run of blocks (NAME, PATCH, EXTRA, PARAM),
each tag + length + data. A reader skips the tags it does not know, so
a later parameter is one new tag. No sequencer notes are stored. A
typical preset is 96 bytes; 256 of them with the A/B copies fit the
0xA0000..0xBFFFF region. tests/fmini_rec_test.c (host): round trip,
unknown tag, torn record, size.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-29 14:25:47 -03:00