Commit Graph
57 Commits
Author SHA1 Message Date
Claude c00b8f6b82 FMini-1 v2.5.5: PRESET SETTINGS > VELOCITY SENS. (ON / OFF, OFF on every factory preset)
- The last line of PRESET SETTINGS. OFF: the sound plays every note at velocity 127
  (voice.c trk_note_on); ON: as played. MIDI OUT always sends the keys' velocity.
- Kept in the preset (FR_PSET's fifth byte; a factory or older record reads OFF) and, as
  PITCH BEND, for the sound playing at power-on (the settings byte 23 + FA_NCC); FACTORY
  RESET and loading a factory preset turn it OFF.
- tests/fmini_app_test.c: the row, OFF plays 127, ON plays the velocity, kept in a saved
  preset, a factory one is OFF. ui_test.c / midi_control_test.c define fm_vel_sens.
- web: FW_LATEST 2.5.5, docs/emu and docs/index.html rebuilt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 22:08:36 -03:00
Claude c0bea0dd1b FMini-1 v2.5.4: GLO held opens ABOUT on its row (6 since FACTORY RESET)
v2.5.3 moved ABOUT to GLOBAL's row 6 but GLO held still put the cursor on row 5 (SUPPORT),
where ALGORITHM from ABOUT came back. tests/fmini_app_test.c checks row 6. (The host suite
ran green on v2.5.3; this changes one constant: fmini_app_test rerun.)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 21:44:50 -03:00
Claude a4fb9f5c67 FMini-1 v2.5.3: GLOBAL > FACTORY RESET
- A line above SUPPORT FMINI-1 opens a question as SAVE's OVERWRITE one (NO first,
  ALGORITHM YES / NO, SAVE: OK; any other key goes back to GLOBAL). YES forgets every
  saved preset (fmini_bank.c fb_reset_all: the bank's objects emptied at once), puts
  GLOBAL's settings back as they come (fa_cfg_defaults) and reloads the sound playing as
  its slot's factory preset; RESET DONE shows.
- GLOBAL: FACTORY RESET row 4, SUPPORT 5, ABOUT 6.
- tests/fmini_app_test.c: the rows, the question, NO and YES.
- web: FW_LATEST 2.5.3, docs/emu and docs/index.html rebuilt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 21:43:25 -03:00
Claude 65f123de95 FMini-1 v2.5.1: SAVE keeps the name when another slot is picked; OVERWRITE shows the lost preset large
- SAVE: PRESETS (and the SMK-37's pads) move only the slot; the name being saved
  stays (it was replaced by the picked slot's name).
- The OVERWRITE question shows the preset that would be lost (its number and name as
  the slot holds it now) in the large font of OVERWRITE; a name too wide drops the
  number, then takes the next size.
- tests/fmini_app_test.c: another slot keeps the name.
- web: FW_LATEST 2.5.1, docs/emu and docs/index.html rebuilt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 18:40:20 -03:00
Claude 7619d903fa Add NOTE PRIORITY to GLOBAL: LOW (default), HIGH, LAST (2.2.19)
- GLOBAL gets NOTE PRIORITY below TRANSPOSE; SUPPORT and ABOUT move down one row.
- The mono part plays the note the stack picks: LOW (the lowest held, as before),
  HIGH (the highest), LAST (the last key played). It is global and saved with the GLOBAL settings.
  An erased setting reads LOW.
- Tests: the GLOBAL rows, and the note each priority plays.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-06 11:01:08 -03:00
Claude dabca1b1c2 Add SIN to the OSC waves; PRESET VOLUME shown 0..10 (2.2.18)
- The wave bytes (FG_W1..FG_W3) were clamped to 5 by the patch
  sanitizer, so SIN (6) was never stored on the OSC page. Their limit is 6 now.
- The OSC page draws SIN in its wave box.
- PRESET SETTINGS: VOLUME shows 0..10; turning it steps the level in
  tenths of 0..127 (stored value unchanged until it is turned). Presets keep their sound.
- Tests: SIN is set and drawn; VOLUME range 0..10 is checked.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-06 10:57:30 -03:00
Claude c95a51648c FMini-1 2.2.17: SIN, a sine oscillator waveform (the last OSC wave)
- Wave 6 SIN in eng_fmini.c reads the sine table (osc_sine, dsp.c):
  no harmonics, so no polyBLEP. Waves 0..5 are unchanged; the goldens
  are the same set as before.
- The OSC wave selectors stop at 6 (the range selectors stay at 5).
- Editor: SIN in the wave list. Test: the name, the selector's range
  and a sine peak.
- Version 2.2.17 (core.h, FW_LATEST); emulator and installer regenerated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-06 09:33:51 -03:00
Claude 348b0db6cb FMini-1 2.2.13: separate RELEASE from DECAY (amp and filter)
- The loudness RELEASE (P_REL) is its own knob, A.ENV's LEVEL slot
  (was the DECAY time: voice.c's "no REL knob" is gone in FMINI builds).
- The filter contour's RELEASE is F.ENV's AMOUNT slot (was a copy of
  CONTOUR). It is t->frel: bit 7 = explicit, 0 = as the DECAY.
- Both RELEASEs have the DECAY's range (the same ENV_EXP table).
- Presets: the FR_PSET block carries four bytes now (bend, wheel,
  filter release, loudness release). Older records (2 bytes or none)
  get the DECAY for both, so their sound does not change. Factory
  presets store their DECAY for both: the same sound as before.
- Goldens: the 66 changed renders are the same set as at HEAD (no
  FMini render changed). Tests updated for the new release behaviour.
- Version 2.2.13 (core.h, FW_LATEST); emulator and installer regenerated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-05 22:50:57 -03:00
Claude 670c8b3b74 FMini-1 2.2.12: PRESET SETTINGS is a list pop-up, not a page
- No PRESET tab: the page cycle is back to seven tabs. EDIT on FILT
  opens PRESET SETTINGS as a GLOBAL-style list: VOLUME, MODE,
  PITCH BEND, MOD WHEEL (SELECT moves, ALGORITHM changes, EDIT closes).
- A.ENV's LEVEL knob has no function; its CC 7 sets VOLUME.
- Version 2.2.12 (core.h, FW_LATEST in web/editor_fmini.html);
  emulator and installer regenerated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-05 22:33:25 -03:00
Claude 5329aeab75 FMini-1 2.2.11: PRESET SETTINGS page and pop-up
- New page after FX (SELECT goes on to it) and a pop-up when EDIT is
  pressed again on FILT: VOLUME (the LEVEL that was A.ENV's, same
  per-preset values), MODE (MONO/POLY, as CTRL's VOICES), PITCH BEND
  (moved out of GLOBAL, per preset) and MOD WHEEL position (0..127, the
  preset's stored position, moved by CC1 or the knob, saved with the
  preset).
- A.ENV's LEVEL knob has no function; its CC 7 now sets VOLUME.
- PITCH BEND range and MOD WHEEL are stored in a new FR_PSET block of
  each preset record (factory presets: 0 and 0); the old layout is
  unchanged.
- fm_bend_mode is a global declared in core.h (the UI reads it).
- FX pop-ups move to FMG pages 8..11; help hint and tests updated.
- Version 2.2.11 (core.h, FW_LATEST in web/editor_fmini.html);
  emulator and installer regenerated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-05 18:07:59 -03:00
Claude d9f1addd09 FMini-1: v2.2.10 (FX page: SELECT stops at the four knobs, no EDIT positions)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-05 17:08:51 -03:00
Claude c681479c54 FMini-1: v2.2.8 (MIDI monitor keeps receiving past 25 and redraws; SELECT scroll redraws)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-05 14:08:57 -03:00
Claude 8ee633ebf7 FMini-1: v2.2.7 (SUPPORT FMINI-1 above ABOUT; the QR screen's text fits the width)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-05 13:55:38 -03:00
Claude 7d46e43324 FMini-1: v2.2.6 (GLOBAL: SUPPORT FMINI-1!! with the Ko-fi QR code)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-05 13:23:49 -03:00
Claude 186df1c9b0 FMini-1: v2.2.5 (MIDI monitor: 25 messages, scroll bar, SELECT scrolls, cleared on close)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-05 13:02:50 -03:00
Claude 3bb860589f FMini-1: test the MIDI monitor through the USB EP1 path
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-05 12:51:49 -03:00
Claude c9a76f3747 FMini-1: MIDI MONITOR no MIDI SETTINGS
Popup listing the last 8 MIDI messages in (USB and TRS, before any
filter), newest first. Any key or ALGORITHM goes back to MIDI SETTINGS.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-05 12:29:17 -03:00
Claude 9b6fba7f36 FMini-1: PITCH BEND sai do MIDI SETTINGS para o GLOBAL
GLOBAL: MIDI SETTINGS, TUNING, TRANSPOSE, PITCH BEND, ABOUT.
MIDI SETTINGS: MIDI IN, MIDI CHANNEL, MIDI CC, MIDI CLOCK.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-05 12:21:28 -03:00
Claude 7b94b73228 FMini-1: agrupa opcoes MIDI em MIDI SETTINGS no GLOBAL
Novo submenu MIDI SETTINGS (GLOBAL > MIDI SETTINGS) com MIDI IN, MIDI
CHANNEL, MIDI CC, MIDI CLOCK e PITCH BEND. GLO volta um nivel.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-05 12:18:04 -03:00
Claude b81608c025 Note divisions: 1/2T and 1/4T in ARP RATE, SEQ DIV and A-SYNC; 8T and 16T renamed 1/8T and 1/16T
N_DIV gains 1/2T (code 10, 4/3 of a quarter) and 1/4T (code 11, 2/3 of a
quarter), appended, so stored values keep their meaning. The shown order
(DIV_ORDER) places them by length. The DELAY's TIME list (N_DTIME) gets the
new names too; its own dotted codes 10..12 are unchanged. Renamed labels
only: the values stay. LFO SYNC, the SLICER and the SEQ's slide keep their
own lists. The editor's note tables follow (divLength reads the triplets).

Tests: the length check reads the dotted codes only for N_DTIME; the TIME
check skips A-SYNC's type code (7); the step expectations follow the order.
Emulator regenerated (docs/emu2).

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-03 22:35:51 -03:00
Claude e21b376ea0 FMini-1 DELAY popup: TYPE and TIME knobs follow the shown order
The gauge of a knob now sits at the value's place in the order it is
shown (fmg_ratio over enum_rank): A-SYNC is second, not last. Changing
the TYPE to or from A-SYNC keeps the delay's length (dly_time_convert):
the stored TIME is a note value (0..9) there and ms (0..127) elsewhere,
so the TIME used to jump. Test: the type knob and the conversion both ways.
Emulator regenerated (docs/emu2).

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-03 21:53:34 -03:00
Claude f81aed9de2 FMini-1 DELAY: A-SYNC's TIME shows only the note values that fit the line
The knob skips the ARP RATE values longer than the delay line (1.48 s) at
the tempo now, so they are not shown; a value that fits nowhere (a very
slow tempo) stays. dly_div_fits() is the test, the delay stays silent for
a stored value that does not fit. Tests: 60 BPM skips 1/2 and longer.
Emulator regenerated (docs/emu2).

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-03 21:42:53 -03:00
Claude f73060a7ba FMini-1 DELAY: A-SYNC type, its TIME in note values synced to the tempo
- TYPE gets A-SYNC (7, appended so stored values keep their meaning),
  shown right after ANALOG (DLYTYPE_ORDER, the display order).
- A-SYNC is ANALOG's algorithm (fx.c dly_kind); its TIME (G_DRREV, 0..9)
  is the ARP RATE's note values (N_DIV, with their order), and
  delay_samples takes the tempo's length of the value (div_samples: the
  internal clock, ARP / SEQ, or MIDI clock).
- Limit: the delay line holds 1.48 s, so note values longer than that
  (1/2 below 81 BPM, 1/1, 2BAR, 4BAR) are cut to 1.48 s.
- tests: the type order, the sync length, the type list (eight).
  docs/emu2 rebuilt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-03 21:35:19 -03:00
Claude 4246bb6d26 FMini-1 GLO: TUNING and TRANSPOSE redraw as they change
fa_signature did not include them, so the list kept the old value until
the highlight moved. Both now enter the signature, with a test for each.
docs/emu2 rebuilt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-03 21:19:53 -03:00
Claude 089d1d3cd3 FMini-1 GLOBAL: TUNING (410..470 Hz) and TRANSPOSE (-12..+12)
- GLO list: TUNING and TRANSPOSE below PITCH BEND, ABOUT last (8 rows,
  17 px apart). ALGORITHM changes them; TUNING is 1 Hz a click.
- Global, not in the preset: every note (keys, MIDI, SEQ, ARP) goes
  through trk_note_on / trk_note_off (voice.c), TRANSPOSE applies there
  and a note outside 0..127 is dropped (on and off alike); TUNING adds
  its cents from A 440 to the pitch (eng_fmini.c). A change of TRANSPOSE
  is a panic, so no note hangs.
- Settings: two new bytes after the record's last one (no shift of the
  older bytes; the magic is unchanged); erased bytes read as 440 Hz and 0.
- tests: the GLO list, the limits, the transposed out-of-range note.
  docs/emu2 rebuilt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-03 21:13:57 -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 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 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 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 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 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 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 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 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 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 99e12156b8 FMini-1: DET 2 / 3 dial centre drawn at 5.0
In the fine detune law the zero is code 90 of 0..180, but the dial
position was byte * 1000 / 127, so code 90 was drawn at 7.0 and the
old coarse centre (byte 64, drawn at 5.0) jumped there on the first
turn. The fine code now scales over DET_MAX, so zero sits at 5.0.

fmini_app_test checks the dial position of the fine centre (500).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-28 16:01:40 -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 0b5a06a15a FMini-1 v1.12.0: smoother TAP TEMPO, SEQ settings pop-up (MODE, RATE, GATE, TEMPO)
- TAP TEMPO (ARP and SEQ): the tempo is the mean beat of the last five taps
  (the first two taps set it); bounces under 250 ms are ignored, a pause over
  1500 ms starts a new measurement.
- SEQ held (450 ms, as ARP's HOLD): the settings pop-up. MODE is the order the
  steps play (FWD as before, BWD, PING): new parameter P_SMODE before P_E0
  (P_COUNT 112). RATE is the DIV, GATE the GATE, TEMPO opens TAP TEMPO.
- SEQ tap still opens and closes the grid; the tap is decided on release.
- Tests: TAP TEMPO smoothing, SEQ hold and settings, MODE order, BWD playback.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-28 09:35:06 -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