devices.html is copied from the current tree whatever web/EMULATOR pins, so its MPC firmware is built from it too
(EMU_ONLY=hp); felucca.wasm stays the pinned one. devices.html now sits in emu/ beside what it loads (it landed at
the site's root without its worklet or wasm); the old address redirects there.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
ports/juce-plugin: the core in a JUCE instrument, its editor JIANT's own
screen and the FM-1's panel as the emulator draws it (knobs, buttons,
27 keys, lights; mouse, multi-touch, keyboard); MIDI in, Sync Host from
the host's transport, Volume and Sync parameters, the music in the
session, any sample rate, one device a session. VST3 / AU / AUv3 on
macOS, AUv3 and the app on iOS (AUM), VST3 on Windows, VST3 / LV2 on
Linux, standalone everywhere.
tests/plugin_check.cpp loads the built plugin as a host does (a chord at
44.1 / 48 / 96 kHz, blocks 32..1024, silence after the note-offs, the
state out and back, a second instance silent, the editor);
tests/editor_shot.cpp paints the editor to a PNG. On Linux both pass.
CI (ports.yml) builds and checks Linux, macOS (with auval), iOS (an
unsigned .ipa) and Windows.
ports/core: stubs for the host tests' fork on iOS and their POSIX calls on
Windows (ports/core/compat), a Windows clock for the real-time load.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
The FM-1's limits are for its chip; the ports run on far bigger CPUs.
With FELUCCA_HOST_POWER (core.h; ports/core sets it, the FM-1, the
browser emulator and the host tests are untouched: 157 golden renders
unchanged, the emulator's render bit for bit the same):
- every part its own NVOICE voices (48 in all), not 8 between all;
- EXPLORE no longer lightens its pieces for the FM-1's CPU.
And with JIANT_REAL_LOAD (felucca_web.c, ports/core only) the device
clock carries the computer's real time, so the firmware's governor and
overload guard act on that CPU's real load: the sound gives way only if
it truly runs short.
The core reports the load (jiant_cpu_percent, _peak_percent,
jiant_voices_shed, jiant_load_governed, jiant_voices_sounding); its
test plays the bench song with 12 voices at once and nothing given way.
The MPC Sample app shows CPU on its screen and in status, and
`jiant --bench` measures the bench song on the MPC's own CPU (CI runs
it on ARM64).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
ports/mpc-sample: an app on keremimo's sample-base runtime (fetched at a
pinned commit), independent of any other app: the core at the MPC's
44.1 kHz in 128-frame blocks, JIANT's 240 x 240 screen in the middle of
the MPC's, the pads, buttons and knobs as the FM-1's panel
(src/jiant/panel_map.h), MIDI in from DIN and USB, the device's flash on
the card (JIANT/flash.img: copied out a second after a write, written on
the service thread, and on the way out). Tools: --self-test (the SD
boot runs it), --preview, --persist-write / --persist-read. The release
script makes the signed autorun zip for the card.
ports/core: the flash image in and out (jiant_flash_restore, jiant_flash,
jiant_flash_writes) and jiant_autosave_now for a port about to close.
.github/workflows/ports.yml: the core's test, the plugin, and the MPC
Sample app built and tested on ARM64 Debian bookworm, its zip an
artifact.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq