Commit Graph
389 Commits
Author SHA1 Message Date
Claude c51c6974dd FX and voice: state in locals, loop-invariant tests out of the loops
Same sound, checked bit for bit:
- fmini_render: the voice's amplitude ramp by a running sum (amp_at's
  x = (amp1 - amp0) * i, one add a sample) instead of a multiply a sample.
- mix_part: the part's level and pan in one loop, each send on its own loop
  (a send at 0 is no loop, and no test per sample).
- track_dist: the states in locals; the TUBE and the plain clipper as two loops.
- ins_drive / ins_swept: states in locals; CRUSH vs the rest, and CHORUS vs
  FLANGER, one loop each (the kind is one a block).
- cho_block: one loop per chorus TYPE, the state in locals.
- rev_room (FMini-1, stereo): the combs' and allpasses' indices and low-passes
  in locals for the block.

tests/target_budget.txt: updated on purpose. The static count sums each loop's
code, so the loop bodies that are now one per TYPE (cho_block +39, ins_swept
+72) count more, while only one of them runs in a block. Reduced: mix_part
-529, ins_drive -93, dly_block -19, track_dist -6, fmini_render -1.

Checked:
- FX harness, 105 configurations (delay x chorus x reverb types, sends and
  parameters moving): identical hashes.
- track_dist and the INSERT types (0..8, TUBE on and off, fades): 108
  configurations identical to the previous code.
- tests/regress: all 288 golden hashes identical to main.
- union_test output identical to main.
- The full suite: only the known failures (fm4, ui_render, the regressions,
  union_test) fail; nothing new.

Not done: the master chain (its block version showed no gain on the host and
moved the ISR's static count), the PLATE and HALL reverbs, the perform layer.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-12 20:30:57 -03:00
Claude 8cefbd9ab4 FX: delay and chorus state in locals, one loop per delay type, delay off at MIX 0
CPU work on the FX buses (sound unchanged, checked bit for bit):
- chorus (cho_block) and delay (dly_block) keep their state (write index,
  phases, low-passes) in locals for the block and write it back at the end,
  instead of loads and stores of fx.* on every sample.
- dly_block chooses its TYPE once a block: one loop per type, not a switch
  inside the per-sample loop. Taps and writes go through dly_at_w / dly_atq_w
  / dly_put_w on the locals.

Behaviour change (on purpose): the delay bus is off while its MIX (G_DMIX) is
at 0, the same way as a bus whose sends are all 0. Its state is cleared when it
starts again. The chorus DEPTH at 0 stays on (a pure delayed tone, as
fmini_fx_test documents).

Checked: a harness renders the 7 delay types x 3 chorus types x 5 reverb types
with sends and parameters moving mid-run; the output hash is identical before
and after (105 configurations). MIX 0 gives the same output as the delay send
at 0. Oscillators already skip their wave at level 0. tests/regress: the same
goldens changed before and after (the 157 already differ on main).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-12 19:38:29 -03:00
Ruppert 74375d3311 Update README.md 2026-11-12 17:10:09 -03:00
Claude 994f6ee605 PT / EN button on the editor and both emulators; the SMK-37's BT and K4 in the editor's question
- Editor, FM-1 emulator, SMK-37 emulator: the site's language button (PT / EN) at the top right. The
  emulators get Portuguese texts (bar, hints, power button, errors, footer, titles); the panel's printed
  labels stay as on the hardware. The editor changes language in place (the connection stays).
- One choice for the four pages: localStorage "fmini-lang" (the site keeps it too); else the browser's.
- Phones: the bar fits with the button (no wrap, tighter links).
- Editor: on a port named SMK-37 the panel question says ALGORITHM (K4) = YES, then BT (BT is the SMK-37's
  SAVE); the footer names BT too. Test: the FM-1 says SAVE, the SMK-37 BT.
- docs/emu (both) and docs/index.html rebuilt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-12 15:40:11 -03:00
Claude a08fba80ff Editor: the preset order is a pop-up in PRESETS (four columns, live drag, Shift runs); the USB button goes
- PRESETS: a section "Manage presets" before BACKUP, with "Change order". It opens a pop-up with the 200
  presets in four columns (000 at the top of the first). The ORDER tab is gone.
- Drag a preset with the mouse, a pen or a finger: the grid moves place by place while dragging. Click one,
  Shift+click another: the run between them moves as one. Near the edges the list scrolls. A preset away
  from its slot on the device is marked. Undo order, Close (asks before discarding a change), Escape.
- Save to device as before (the 200 records, the panel's question); the pop-up closes, and shows the order
  again if the writing fails.
- The USB button (the playback counters, a debugging aid) is removed with its pop-up and texts.
- Test: the pop-up, a drag checked before the button is let go, a Shift run, the save, Close.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-11 23:50:27 -03:00
Claude 991c297eee Editor: Connect tries the other FMini-1 ports when the first one does not answer
- With no port picked in the list, Connect tries the first matching port, then the others, and keeps
  the first one that answers; the list shows it. Before, it gave up after the first one, so an SMK-37
  listed after another matching port did not connect until it was picked by hand.
- A port picked in the list is still the only one tried.
- Test: two "FM-1 Midi" devices, the first silent: Connect reaches the second; a port picked by hand
  is the only one tried.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-11 23:30:33 -03:00
Claude 37ea834037 Editor: the emulators' top bar; installer: "Donate" after the install
- Editor: the site's bar, as in both emulators (brand, "FMini-1 website", "Support Us"); the connection
  (status, port, Connect, USB) moves to a bar under it.
- Installer: the button of the pop-up after an install says "Contribuir" / "Donate" (was "Apoiar no Ko-fi" /
  "Support on Ko-fi").
- docs/index.html rebuilt: it also gets the 2.5.13 splash screenshot (the v2.5.13 commit embedded the
  2.5.12 one, built before the screenshot).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-11 23:24:21 -03:00
Claude d594adcd14 v2.5.13: the SMK-37 shows up on USB as "SMK-37"
- Firmware: on the SMK-37 build (Pro, Elite, MKE-P37) the USB device name is "SMK-37" and the audio
  output's "SMK-37 Audio" (they were "FM-1 Midi" and "FM-1 Audio"). The FM-1 is unchanged. The loader keeps
  "FMini-1 Update".
- Editor: the port filter also takes "smk-37" (the whole name, not parts of it); the status line says
  "(SMK-37)" on that port. FW_LATEST 2.5.13.
- Test: a port named SMK-37 connects and the status line says so.
- Web: both emulators, the installer page (the four 2.5.13 packages) and the splash screenshot rebuilt.
- Host suite: all passed apart from the known sections.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-11 23:13:03 -03:00
Claude 0d3086db8c Editor: fix the connection (port filter back, same-name ports paired by order, the picked port kept)
- The port filter is /fm-1|fmini|felucca/ again: the wider one of 5a6c54d (smk, mke, p37, elite) made the
  editor open another port on the owner's computer, and the FM-1 stopped connecting. The SMK-37 on FMini-1
  shows the same port name, "FM-1 Midi", so it needs no pattern of its own. The status line no longer names
  the device (the port name cannot tell them apart).
- Two devices with one port name (an FM-1 and an SMK-37): the n-th input of a name goes with the n-th
  output of that name (before, every input went with the first output), and the list shows "NAME (2)".
- Connect keeps the port picked in the list (it went back to the first matching port).
- Test: two "FM-1 Midi" devices, the first silent; the second connects through its own output.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-11 21:26:13 -03:00
Claude f6a9ca5122 Editor: console diagnostics for the connection
- Logs the port the page connects to (input and output names).
- Logs each command that gets no reply in time, with the time it waited.
- Logs each SysEx that is not the answer waited for, with its first bytes.

Nothing changes for the user: the messages go to the browser console only.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-11 21:09:00 -03:00
Claude be48549213 Editor: an ORDER tab to reorder the 200 presets and save the order to the device
- New tab ORDEM / ORDER: the 200 presets in the device's order. Drag a row, or use its up and down arrows
  (touch too). Undo order goes back to the device's order.
- SAVE TO THE DEVICE reads the 200 records (FMINI_REC), puts them in the new order and writes them through
  the restore's own question on the panel (FMINI_RESTORE, FMINI_RPUT). The restore's writing loop is
  now shared (writeAll) with the backup restore.
- A preset's category stays with its old slot: it is a table in the firmware, indexed by slot.
- The test moves a row, saves, checks the device's order, moves it back and saves again.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
v2.5.12
2026-11-11 17:13:37 -03:00
Claude 5a6c54d1ea Editor: the SMK-37 as well as the FM-1 (port match, device in the status line, texts)
- The port filter matches the SMK-37 names (SMK, MKE, P37, Elite) as well as the FM-1.
- The status line names the device connected: "FM-1" or "SMK-37", from the port name.
- The texts (connected, not found, pick a port, not a FMini-1) say FM-1 or SMK-37.
- web/test_editor_fmini.py still passes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-11 16:12:59 -03:00
Claude c06cdbe7ed SMK-37 emulator: no "Screen only" and "Expand" buttons
Fullscreen stays. The rules that only those two buttons used go with them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-11 16:09:47 -03:00
Claude d0e4d7b6c0 Site screens: all redrawn for v2.5.12 (the splash shows it)
tools/readme_shots.c draws the screens the site shows that it did not
before (CTRL, F.ENV, A.ENV, GLO's MIDI CC list, the SAVE dialog); the site's
screens (assets/site/*.webp, 960 x 960) are rebuilt from the firmware's own
code at v2.5.12. The hardware pictures (fm1, smk37) are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-11 16:05:55 -03:00
Claude 11451769ee Site: the hero's SMK-37 in Pro Charcoal (was red)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-11 16:02:57 -03:00
Claude 3ce4be8807 FMini-1 v2.5.12: one version for the FM-1 and the SMK-37
- core.h: one FMINI_VERSION (2.5.12) for both boards; FMINI_SMK_VERSION goes.
  The FM-1 build differs from v2.5.5 only in its version; the SMK-37
  packages are byte for byte the v2.5.12 ones.
- build.py, build_wasi.sh, make_fmini_installer.py and the workflow read
  FMINI_VERSION for both; editor FW_LATEST 2.5.12; the site shows one version.
- CLAUDE.md: one version, one release with the four packages (tag vX.Y.Z).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-11 12:46:15 -03:00
Claude bc11a49467 FM-1 emulator: a light edge and a soft glow around the black body
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-11 12:17:02 -03:00
Claude fdc949887c SMK-37 emulator: Pro Charcoal by default; the page's version line again
The finish starts as Pro Charcoal; the one the visitor picks stays in the
browser (localStorage), as before. docs/emu/smk/index.html is rebuilt by
build_wasi.sh (the previous copy had lost the version substitution).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-11 12:13:54 -03:00
Claude 6d0fc2f498 FM-1 emulator: the site's dark look and the same bar as the SMK-37 one
Dark background and the site's colours and type; the top bar with the
FMini-1 mark, "SMK-37 emulator", "FMini-1 website" and "Support Us" (Ko-fi),
as on emu/smk/. The panel is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-11 12:13:16 -03:00
Claude 17f6cfd0ca SMK-37 emulator: a "Support Us" button (Ko-fi) at the right of the bar
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-11 12:04:14 -03:00
Claude 912f765de2 Site: remove the SMK-37 section
The "On the SMK-37 too" section, its nav link and its texts go; the hero,
the installer and the SMK-37 emulator stay.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-11 12:02:16 -03:00
Claude 5380984880 Site for the FM-1 and the SMK-37: both installers, two emulators
- Site text (pt, en) covers both keyboards; new SMK-37 section; the hero film
  shrinks the Minimoog into the FM-1's and the SMK-37's screens.
- Installer: embeds the FM-1 package and the SMK-37 Pro, Elite and MKE-P37
  ones, picks the package by the identity found and says which device it
  detected after step 1; when none is found by name it asks for the MIDI
  input and the device. Details lists every .fwsc.
- "Try in browser" opens a menu: FM-1 (emu/) or SMK-37 (emu/smk/).
- SMK-37 emulator: felucca_web.c with BOARD_SMK37 (web/emu/smk_web_input.h),
  its own worklet and page, the panel adapted from Felucca SMK's simulator
  (Chance Roth, GPL-3.0; credited). The FM-1 wasm is unchanged.
- Installer workflow builds the three SMK-37 packages and publishes them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-11 11:05:27 -03:00
Claude b689c314c0 Merge branch 'fmini-smk37': FMini-1 on the M-Vave SMK-37 (beta, SMK-37 v2.5.12)
The SMK-37 board layer and its FMini-1 mapping, all behind BOARD_SMK37 (SMK37.md). The
conflicts (CLAUDE.md, core.h, fmini_app.c) take the branch's side, which already holds
main's v2.5.1..v2.5.5. The FM-1 build is main's v2.5.5, byte for byte.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-11 09:42:29 -03:00
Claude 029ef08d65 SMK-37: no installer page on the site (smk.html, its generator and workflow steps removed)
The SMK-37 packages are built locally (SMK37.md) and given out as files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-11 09:33:16 -03:00
Claude f71a0a4b7f Remove the SMK-37 installer page (smk.html) from the site
The site publishes the FM-1 installer only again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-11 09:32:52 -03:00
Claude 84f902acd7 smk.html: SMK-37 v2.5.12 (branch fmini-smk37)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 22:10:15 -03:00
Claude b51ea70f7f SMK-37 v2.5.12: PRESET SETTINGS > VELOCITY SENS. (main's v2.5.5)
OFF (every factory preset): the sound plays every note at 127, the 37 keys included;
ON: as played. MIDI OUT always sends the velocity.

The branch's FM-1 build is main's v2.5.5, byte for byte.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 22:10:12 -03:00
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 62b1b7937c smk.html: SMK-37 v2.5.11 (branch fmini-smk37)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 21:46:21 -03:00
Claude 13b764c790 SMK-37 v2.5.11: GLOBAL > FACTORY RESET (main's v2.5.3 and v2.5.4)
FACTORY RESET above SUPPORT FMINI-1: every saved preset back to the factory's and GLOBAL's
settings as they come (on the SMK-37 also MIDI OUT ALL, MIDI OUT CH 1); the question with
the SMK's names (K4: YES / NO, BT: OK). GLO held opens ABOUT on its row.

The branch's FM-1 build is main's v2.5.4, byte for byte.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 21:46:18 -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 0f5139999a smk.html: SMK-37 v2.5.10 (branch fmini-smk37)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 21:06:45 -03:00
Claude 5932e44f71 SMK-37 v2.5.10: 000 MINI LEAD as on the FM-1 (v2.5.2); picker pads dim blue, the loaded preset bright white
- main's f969bd3 (FM-1 v2.5.2): 000 MINI LEAD MONO, PITCH BEND +/-2, F.ENV SUSTAIN 7.9.
- The preset picker pads: dim blue, the loaded one bright white (the owner's; they were
  all orange in 2.5.9).

The branch's FM-1 build is main's v2.5.2, byte for byte.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 21:06:42 -03:00
Claude f969bd31f5 FMini-1 v2.5.2: 000 MINI LEAD's filter contour SUSTAIN 7.9 (MONO, PITCH BEND +/-2)
- tools/fmini_bank.py: 000 MINI LEAD set MONO and its F.ENV SUSTAIN 100 (7.9 on the
  screen); PITCH BEND +/-2 is what a factory patch gets (no PRESET SETTINGS record).
  MODE was MONO already; the SUSTAIN was 70 (5.5).
- eng_fmini_presets.h regenerated; tests/golden.txt: the 00_MINI_LEAD line only.
- web: FW_LATEST 2.5.2, 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:05:07 -03:00
Claude 9b0f1f98c0 smk.html: SMK-37 v2.5.9 (branch fmini-smk37)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 20:15:48 -03:00
Claude 7f6f4139f1 SMK-37 v2.5.9: the preset picker pads all orange (dim; the loaded preset bright)
They were in their category's colour (fa_cat_rgb, now gone).

Everything is behind BOARD_SMK37: the FM-1 build is main's v2.5.1, byte for byte.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 20:15:45 -03:00
Claude 6bdd39fac5 smk.html: SMK-37 v2.5.8 (branch fmini-smk37)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 19:51:20 -03:00
Claude 7b8e89459e SMK-37 v2.5.8: a bend no longer stays after the pitch wheel is let go
main.c smk_wheels moved the wheel's centre one count every 200 calls while it was in the
dead band, and it runs thousands of times a second: the centre followed a slow push of
the wheel, and on release the wheel was off that centre, a bend that stayed (a slow
13-count push left the centre 12 counts off). Now the centre drifts one count every
0.5 s, and only after the wheel has rested in the dead band for 1 s.

Everything is behind BOARD_SMK37: the FM-1 build is main's v2.5.1, byte for byte.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 19:51:18 -03:00
Claude 3cd33eb73c smk.html: SMK-37 v2.5.7 (branch fmini-smk37)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 19:16:33 -03:00
Claude 2535136ada SMK-37 v2.5.7: MASTER (K1) turned very slowly steps one of 0..100
As before 24 of 1023 a detent (about 2.3 of the pop-up's 0..100), linear; a detent 150 ms
or more after the last one moves exactly one value instead, so every value 0..100 can be
reached.

Everything is behind BOARD_SMK37: the FM-1 build is main's v2.5.1, byte for byte.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 19:16:30 -03:00
Claude a6671b7b43 smk.html: SMK-37 v2.5.6 (branch fmini-smk37)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 19:03:11 -03:00
Claude 0c888fa4cc SMK-37 v2.5.6: the encoders count fast turns
The stock decoder wanted each quadrature state to hold two frames (3.2 ms) and three valid
states in a row: a quick spin (above ~75 states a second) lost whole detents, or all of
them. Now a plain state machine: every new state counts at once (bounce cancels), a missed
state counts two the way the knob was going, four counts make a detent, and back at the
rest state the remainder rounds so the count stays on the clicks.
tests/smk_encoder_test.c (registered): slow, fast, missed states, bounce, half a detent.

Everything is behind BOARD_SMK37: the FM-1 build is main's v2.5.1, byte for byte.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 19:03:08 -03:00
Claude 33c0ef960b smk.html: SMK-37 v2.5.5 (branch fmini-smk37)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 18:49:24 -03:00
Claude fc9ac04c6e SMK-37 v2.5.5: < / > load on release, SEQ pads by window colour, a larger MASTER VOLUME pop-up
- < / >: they choose and the preset pop-up shows the slot reached; it is loaded when the
  button is let go. Held 0.66 s (was 1 s) they run on, ten a second. In the SAVE dialog
  they move its slot at once, as before. The picker pads follow the slot reached.
- SEQ pads: a step with a note in its window's colour (1-16 blue, 17-32 red, 33-48
  yellow, 49-64 green), the step that plays white, rests and empty steps dark.
- MASTER VOLUME: the preset pop-up's size (AF_L, MASTER / VOLUME on two lines, the value),
  the bar about twice as tall and wider.

Everything is behind BOARD_SMK37: the FM-1 build is main's v2.5.1, byte for byte.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 18:49:21 -03:00
Claude 2964d722d6 smk.html: SMK-37 v2.5.4 (branch fmini-smk37)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 18:42:01 -03:00
Claude 00b9f78ad4 FMini-1 v2.5.1 on the SMK-37 branch (SMK-37 v2.5.4): SAVE keeps the name, OVERWRITE shows the lost preset large
The change of main's 65f123d (FM-1 v2.5.1), and on the SMK-37 a pad picked in the SAVE
dialog moves only the slot too. The branch's FM-1 build is main's v2.5.1, byte for byte.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 18:41:58 -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 9cab23b09c smk.html: SMK-37 v2.5.3 (branch fmini-smk37)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 18:14:37 -03:00
Claude 0723e354e8 SMK-37 v2.5.3: MIDI OUT sends the pads, the eight knobs and the four faders
- Pads: notes 36..43 (bottom row) and 44..51 (top row) on channel 10, with velocity and
  note-off (smk_input.h queues the UI-owned pads' hits and releases); they still pick
  presets.
- K1..K8: CC 102..109, faders: CC 110..113, on MIDI OUT CH, fixed whatever the control
  does in FMini-1. The encoders keep a value 0..127 each (from 64); K1 sends the MASTER.
- The main loop's messages reach midi_out_event through a queue drained by the audio
  ISR (its one producer). The keys already went out with the octave.
- tests/smk_midi_out_test.c: the knob CCs and the pad notes.

Everything is behind BOARD_SMK37: the FM-1 build is byte-identical.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 18:14:34 -03:00