Commit Graph
62 Commits
Author SHA1 Message Date
Claude ef9b4fe6b6 Sound sample 004: a fast blues-rock solo without pitch bend
- tools/fmini_samples.py: sine_solo is a fast blues-rock solo in A at 140 bpm:
  sixteenth and triplet runs through the minor pentatonic with the blue Eb, a
  fast descent and a final run; no pitch bend events
- docs/sounds regenerated (004-sine-solo.mp3 and samples.json)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-18 19:49:35 -03:00
Claude 53a6425d46 Sound sample 004: a blues-rock solo without pitch bend
- tools/fmini_samples.py: sine_solo is a blues-rock solo in A at 110 bpm,
  shuffle eighths: the minor pentatonic with the blue Eb, call and response
  over A7 and D7, a turn, and a held A5; no pitch bend events
- docs/sounds regenerated (004-sine-solo.mp3 and samples.json)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-18 19:39:25 -03:00
Claude 1db597f522 FMini-1 2.6.5: preset 004 SINE SOLO is a sine with the cutoff fully open
- tools/fmini_bank.py: OSC 1 wave sine (was the triangle), CUTOFF at its maximum
  (+5.0 on the dial, byte 127; was -1.9, closed)
- tools/gen_fmini_presets.py: the oscillator wave table takes 6 = SIN (the
  firmware's sine, eng_fmini.c); it was missing from the table
- firmware/src/eng_fmini_presets.h regenerated (only the 04 line)
- version 2.6.5 in core.h and web/editor_fmini.html (FW_LATEST)
- tests/golden.txt: preset/FMINI/04_SINE_SOLO only
- samples: 000 MINI LEAD a hard rock solo at 150 bpm (bends, runs, a held D6);
  004 SINE SOLO a soul ballad at 84 bpm in Bb (scoops, melisma, vibrato)
- docs/emu, docs/index.html, docs/sounds regenerated for 2.6.5

Tests: fmini_app_test and fmini_filter_test pass; the full suite fails only in
the sections already listed as known.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-18 14:49:55 -03:00
Claude 2a0bb47e38 Sound samples: 000 a fast Wakeman-style lead solo, 004 a jazzy solo
- 000 MINI LEAD: a fast synth solo at 160 bpm in E minor, in the manner of a
  Wakeman lead: sixteenth runs up and down, an arpeggio, a chromatic climb, a
  trill, a sweep down, a high D6 scooped up into, and a last E5 bent down; bends
  on the held notes
- 004 SINE SOLO: a jazzy solo at 130 bpm over Dm7 - G7 - Cmaj7 - Am7 - D7 - G,
  with swung eighths, chromatic approach notes, the blue Bb (flat third and
  flat seventh) and a slight bend at the end
- docs/sounds regenerated

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-18 14:25:11 -03:00
Claude 54ca7d9f5e Sound samples: pitch bend on 000, 001 an octave down, 008 two sustained notes
- 000 MINI LEAD: the melody uses the pitch bend (the factory's +-2): a scoop
  up into the E5, a fall off the C5 before the D5, and the last note bends
  up a semitone and back
- 001 MOOG BASS: the same riff, one octave lower
- 008 AURA ATMOS: two notes an octave apart (C3 and C4), sustained the whole
  sample, in the middle-lower register
- docs/sounds regenerated

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-18 14:11:14 -03:00
Claude bd03e82074 Sound samples: new arrangements of the first ten presets, in the register they sound
- tools/fmini_samples.py: each sample is written as a keyboardist's line, with
  rhythm and harmony rather than a scale: a syncopated lead in A minor (000),
  a sixteenth-note bass riff with octave jumps (001), chord loops with
  re-strikes (002), a pad progression with voices moving (003), an ornamented
  sung melody (004), a C pedal with a bell line (005), a syncopated horn riff
  over Bb-Gm-Eb-F7 (006), a violin line over strings (007), a cluster that
  turns into another (008), a legato theremin line (009)
- The octave is set per patch by a measured offset (HEARD_OFFSET): the patch's
  own footages (16') sound an octave or two below the key, so 000, 003, 005,
  006, 008 and 001 are sent higher than the note written; checked on the
  emulator with single notes at 48, 60 and 72
- docs/sounds regenerated (ten MP3 and samples.json)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-18 12:26:39 -03:00
Claude 986b4d2b46 FMini-1 2.6.4: patch 000 MINI LEAD, OSC 2 detune +0.08 (was +0.11)
- tools/fmini_bank.py: coarse byte stays 65 (nearest 11-cent step), the
  cents bytes carry the 8 (det_cents), as for patches 010 and 040
- firmware/src/eng_fmini_presets.h regenerated (only the 00 line)
- version 2.6.4 in core.h and web/editor_fmini.html (FW_LATEST)
- tests/golden.txt: preset/FMINI/00_MINI_LEAD only
- docs/emu, docs/index.html, docs/sounds regenerated for 2.6.4

Tests: fmini_app_test and fmini_filter_test pass; the full suite fails
only in the sections already listed as known (fm4, union, regress,
second core, ui, web pages).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-18 12:10:27 -03:00
Claude d3cadaeb45 Site: sound samples of the first ten presets (Sound section)
- tools/fmini_samples.py renders presets 000-009 through the firmware
  (docs/emu/felucca.wasm, tools/preset_lab.mjs) with a short line for each
  timbre, peak-normalised to -1 dBFS, and writes docs/sounds/NN-name.mp3 (10 s,
  112 kbps) and docs/sounds/samples.json (120 waveform bars per sample).
- Sound section: ten cards with a white player each: a play button that turns
  into stop, the waveform (the played part orange), one sample at a time.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-18 11:36:35 -03:00
Claude 02f5c53b09 Merge new-filter into main: CA-72 ladder and contour, 2.6.0
Brings the new-filter branch (ladder calibration against the CA-72) onto
the CPU-optimised main, and resolves the two branches' overlap by hand.

- firmware: the ladder's input is halved (12 dB headroom, FMINI_LADDER_IN)
  and the differential pairs take a bias (FMINI_PAIR_BIAS); the filter
  contour follows the CA-72's AMOUNT taper over 6.3 octaves (FMINI_CNTR).
  The oscillator first-write and voice-ramp running sums from main are kept.
- factory bank and generated headers regenerated from their generators.
- tests: the 100 FMINI goldens moved on purpose (the sound changed); the
  other engines' stale goldens are untouched. The budget is regenerated.
- web: EDITOR_PROTOCOL notes the CNTR change (stored values keep their raw
  amount, so older patches sweep further; no migration), FW_LATEST 2.6.0.
- emulators and installer regenerated for 2.6.0 (FM-1 and the three SMK-37).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-15 18:17:19 -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 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 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 f37c5506c0 SMK-37: its own version, v2.5.1 (the FM-1 stays v2.5.0)
core.h: FMINI_SMK_VERSION under BOARD_SMK37; tools/build.py names the SMK packages by
it (fmini-1-smk37[-elite|-mke]-2.5.1.fwsc) and the installer workflow builds smk.html
from it. 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 17:39:09 -03:00
Claude 1b0b5c6b1c SMK-37 port: the board layer (genkigenki/Felucca smk37, b67312c) on FMini-1
The SMK-37 target from github.com/genkigenki/Felucca branch smk37 (commit
b67312c on Felucca 1.6.1, = hugelton/Felucca#237; the fm1-to-smk37 kit's
Felucca layer), applied to FMini-1, whose firmware/hal and firmware/loader are
Felucca 1.6.1's:

- BOARD=smk37 / MODEL=pro|elite|mke (tools/build.py, build.sh), the SMK flash
  map with its protected ranges (fm1_flash_map.h), the update path and its
  size checks (ota.c, ldr_core.c), the SMK input HAL, LCD and pad LEDs, the
  owner tag of the store, installers and tests.
- Conflicts resolved for FMini-1: packages fmini-1-fm1-<version>.fwsc and
  fmini-1-smk37[-elite|-mke]-<version>.fwsc; FL_JEDEC_OK keeps the UC25HQ80
  (0xB36014) on the FM-1 and accepts it on the SMK too; the official V16
  length stays FM-1 only; the sample slots stay gone (FMini-1 has no SAMPLE
  engine: the layer's eng_sample.c and editor sample hunks are not taken);
  main.c keeps FMini-1's UI_* hooks with the SMK calls around them.
- The FM-1 build is byte-identical to 2.5.0 (app, package and loader
  hashes). The SMK build does not link yet: FMini-1's preset objects need
  places in the SMK store, and fmini_app.c's LED code is FM-1 sized.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 12:46:23 -03:00
Claude b679174a40 Fix 004 PAD SWELL's harsh top: raw contour overrides in octaves; linear mixer
PAD SWELL (004), ACID LEAD (016) and MEGA LEAD (023) set the contour's
AMOUNT as a raw dial (knob(7.0), knob(3.8), cntr=85), not in octaves, so
the CA-72 taper of b09e761 left their bytes as they were and made their
contour sweep further: PAD SWELL went from 3.5 to 4.65 octaves and its
chords opened into a harsh, crackly top (energy above 12 kHz, 99th
percentile of 10 ms frames: -55 dB on main, -37 dB on b09e761). cknob()
reads such a dial as it read before (linear, 10 = 5 octaves) and returns
the byte that sweeps as far now; every factory preset now sweeps within
0.05 octave of main. PAD SWELL is back to -54 dB.

The mixer also clipped hard at full scale before the 12 dB shift into the
ladder, so loud patches clipped in the mixer (MOOG BASS: 15000 samples in
2 s of a chord). The clamp now sits after the shift: the mixer is linear,
as the CA-72's, up to 12 dB over full scale. No factory preset clips at the
output (preset lab, all 200, full chain); the loudest peak is -9.0 dBFS.

Goldens: 35 FMINI renders updated; the 158 pre-existing mismatches left.
filter test 10/10, app test ok, budget ok (fmini_render 254).
Not tested on a real FM-1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 11:08:32 -03:00
Claude b09e76158f FMINI contour AMOUNT: the CA-72's taper over 6.3 octaves
CNTR was linear, 127 = 5 octaves of cutoff at a full contour. It now follows
the CA-72's AMOUNT taper (voice::contour_amount_track, R12) through the new
FMINI_CNTR[128] (Q15), interpolated on the smoothed knob, over
FMINI_CNTR_FULL16 = 1210 (6.3 octaves, MIDI x 16), both generated by
tools/fmini_filter.py.

The full swing comes from the CA-72 model: with the filter contour's SUSTAIN
at 0.3 and the keyboard off, amount 1 moves the singing pitch 1.84 .. 1.97
octaves (cutoff 0.2 and 0.5); 6.3 is that over 0.3. Measured on FMINI the
same way (SUSTAIN 38, CUTOFF 38 and 64):

  amount 0.25 / 0.5 / 0.75 / 1.0:  +0.39 / +0.96 / +1.48 / +1.87 octaves
  CA-72                            +0.36..0.40 / +0.89..0.99 / +1.42..1.54 / +1.84..1.97

The factory bank is written in octaves: co() now inverts the taper, the
presets were regenerated and sweep as before (2 octaves: byte 51 -> 44).
A stored patch keeps its raw CNTR and sweeps further (noted in
web/EDITOR_PROTOCOL.md; no migration).

Goldens: 88 FMINI renders updated, the 158 pre-existing mismatches left.
filter test 10/10, app test ok, target budget ok (fmini_render 254).
Not tested on a real FM-1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-09 10:45:39 -03:00
Claude 09947fee6b FMini-1 FILT: LP / HP switch under CUTOFF (FT_HP, bit 4 of SW2)
A high-pass output: (1 - LP)^4 of the ladder's own four stages, 24 dB/oct,
on the same loop (the EMPHASIS feedback is still the low-pass one). The
switch is a field of the FILT page (CC 72, free), drawn left of the
response; the response graph and its caption follow the choice
(FMINI_GRAPH_HP, generated by tools/fmini_filter.py; the LP table is
unchanged). fmini_sanitize keeps SW2 up to 7 (it kept 3). Settings layout
0x51 (the controls grew by one). Patches saved before have the bit clear:
LP, as before. Test: a C2 is cut 18.6 dB and a C7 passes +14 dB (a saw's
harmonics pass the high-pass; the bar is 14 dB). The full suite: only the
known failures. Protocol note in web/EDITOR_PROTOCOL.md. Emulator
regenerated (docs/emu2).

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-11-04 14:41:39 -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 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 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 9af6eca33a FMini-1 1.14.17: preset 002 DUB STEP at the bank's usual level
Its level was 127, far above the others; now 104. The app applies the level
(P_LEVEL), so the render gold of the patch itself does not change.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-31 02:28:34 -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 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 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 03b3778ca6 Name the build outputs fmini-1-fm1-<version>
The package and app are now build/fmini-1-fm1-<version>.fwsc and .bin
(version from FMINI_VERSION; a release build uses its X.Y). The FM-1
binary, package and loader are byte-identical to before: the same
SHA-256 for the app, the package and the loader.

Consumers follow the new names: run_tests.sh, install_test.py,
test_web.mjs, the installer workflow, the installer page's usage line,
BUILDING.md and CLAUDE.md.

install_test.py: the sample upload checks are removed with the SAMPLE
engine (tools/fm1_sample_upload.py was deleted in 1.13.0).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-29 10:30:59 -03:00
Claude 0006fd81ce FMini-1 v1.13.0: retire the SAMPLE, GRAIN and SLICE engines
The three engines and their 126 KB of factory IMA samples are gone, with the
sample slots (80 KiB x 3 in flash), the SLICES page, the sample waveform, the
web editor's sample protocol and the slice store. Their engine numbers stay
(4, 8, 13): a track, a project or a user preset that names one is silent and
is never offered, through a stub like DIGITAL's (ENG_RETIRED, engines.c).

Image 536.6 KB -> 394.9 KB; RAM .data+.bss 65.9 KB -> 60.1 KB. The sample
flash region 0xA0000..0xDBFFF is free for user presets.

Protocol: SMP_BEGIN/WRITE/END/ERASE (11..14) get no reply; SMP_INFO answers 0
slots so the editor hides its Samples tab; backup ids 32..34 are gone. The
PERC conversion (SAMPLE PERC -> DRUM) stays. See web/EDITOR_PROTOCOL.md.

Tests: sample_test, slice_test, fuzz_smp removed; the others follow. Golden
renders of the retired engines removed; target budgets for their functions
removed and the ISR / mix_part costs updated on purpose.

Known, unchanged failures: fm4, union_test, the regress hashes of Felucca's
engines (66 changed at 1.12 too), web mock tables.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-28 14:03:21 -03:00
Claude 232264d571 FMini-1 v1.7.1: fmug is now fmini everywhere (files, identifiers, engine name, editor, docs)
The project's first name, FMUG, is gone. Nothing about the sound or the stored data changes.

- Files: eng_fmini.c, fmini_app.c, ui_fmini.c, editor_fmini.c, eng_fmini_filter.h, eng_fmini_presets.h, the tests, the
  tools (fmini_bank.py, fmini_filter.py, fmini_retune.py, fmini_levels.json, gen_fmini_presets.py) and
  web/make_fmini_installer.py.
- Identifiers: fmug_ / FMUG_ / FELUCCA_FMUG_ONLY became fmini_ / FMINI_ / FELUCCA_FMINI_ONLY; the editor commands are
  FMINI_GET / FMINI_PUT / FMINI_PRESET (numbers 82-84 unchanged). The engine reports the name "FMINI" (was "FMUG") on the
  device and in the editor's engine list; the editor still accepts "FMUG" from firmware up to 1.7.0.
- Short forms fmg_ / GR_FMG0..6 and FG_* are left as they are.
- Tables: tests/golden.txt and tests/target_budget.txt only had their keys renamed.
- Docs: CLAUDE.md and DEVELOPING.md say there is one branch (main) and record the rename; the test-suite notes now describe
  the second regress section (FELUCCA_CPU2=0: 41 FMINI patches differ from the golden, as on 1.7.0).
- Site: docs/emu and docs/index.html rebuilt for v1.7.1; the splash pictures show the new version.

Checked: the firmware's instructions are identical to 1.7.0 (only the addresses of string literals move); the 100 FMINI golden
hashes are unchanged; every screen of the README shots is pixel-identical except the splash; the preset lab's metrics for the
100 patches are identical; the host suite fails in the same seven sections as before (fm4, ui_render, three regress, union_test,
web pages) and nowhere else. Not tested on a real FM-1.

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

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

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

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

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

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

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

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-19 11:55:46 -03:00
Claude 1b4c79edf6 Back to v1.4.25: decay/release time = time to -24 dB (the v1.4.26 -12 dB change is undone); keeps tools/render_envelope.mjs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-18 22:04:17 -03:00
Claude 963daf8bd2 Decay/release time = time to -12 dB (what is still heard on these quiet patches): 12 s at the top, proved by rendering the emulator build (v1.4.26)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-18 21:53:54 -03:00
Claude 080ca3369b Decay/release time = time to -24 dB, measured on the real sound (12 s heard at the top) (v1.4.25)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-18 21:40:25 -03:00
Claude 9f2c74c028 Decay and release times are the time to -60 dB (12 s heard at the top), not -40 dB (v1.4.24)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-18 21:34:23 -03:00