The site's emulator is the ADDITIVE shell (web/EMULATOR_EDITION), which never had what JIANT Studio uses: window.jiantEmu
(the editor talking to the emulator, the MIDI input picker, its output as a stream for Record, the stems and MIDI OUT
tap), and the install safety on jiant-midi (it lets go of MIDI while an installer writes). Now the same block as
index.html, and the sysex / tap-chunk messages handled. Tested with the published V10.8.25 felucca.wasm in this shell:
JIANT Studio's browser test passes whole (the editor edits the emulator, its output recorded, 8 stems and 3 notes of
MIDI OUT).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
- web/emu: the emulator gives its stems live as MENU > USB STEMS sends them (fx.c stem_buf: T1..T6 mono, the FX
return L R, before the master), each sample at its place beside the stereo (felucca_web.c web_stems,
web_stem_out), and what MIDI OUT sends (web_midi_tap, web_midi_take: usb.c queues it without a USB host).
worklet.js posts them about every 93 ms (tap-chunk: the first sample's number, the planes, the MIDI packets each
at its sample); index.html jiantEmu.tap(f) for JIANT Studio.
- firmware: two hooks for the browser build only, nothing in the device's: audio.c calls WEB_STEM_TAP when it is
defined; usb.c's midi_out_event queues with USB_MIDI_TAP (0 unless defined).
- Studio, Record: Input lists "JIANT emulator · stems (8 channels)" and "· master (stereo)"; MIDI input lists
"JIANT emulator · MIDI OUT". The stems come in as STEMS' lanes (named by the tracks' engines), the take exports a
WAV per track, FX, the ZIP and the mix; the MIDI lines up with the audio by sample. An emulator without the tap
(the published one until it is rebuilt) says so.
Tests: the browser test records the emulator's stems and three notes of its MIDI OUT; emu_test, devices, the host
tests as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
- Emulator view: the panel fitted to its frame (all of it in sight), a Full screen button (the browser's own, else
the frame over the page on iPhone), refitted in portrait and landscape.
- devices.html: the MPC Sample back to the unit's proportions (its screen at its size in the top band) and the
SMK-37's 1.54" screen to scale; each screen larger beside the panel (bigScreen). Studio's frame for them grows
to the page, no scrolling inside.
- tools/gen_manual_html.py: the manuals in JIANT's look (Michroma, the heat, the HUD cards, a manuals bar, the
contents following the reading), and a page for each port's doc: SMK-37, MPC Sample, the MPC plugin and ports,
the VST3/AU/LV2 plugin, each with its shot.
- Other devices: each port's shots (the SMK-37 and MPC panels running, the plugin's three editor pages), a tap
opens them large; the Manual links go to the HTML manuals.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
One design for every page, JIANT FM's or JIANT BYTE's (html[data-skin]; Studio sets it in its frames), with Studio's
tokens and type; a self-contained block in each page (#jiant-skin), nothing of the pages' markup or code changed:
- editor.html: each parameter a card as the FM-1's screen draws one (its name small, its value big in the accent, a
bar filled to it: a small script keeps --p at the value), the sections as panels with the firmware's tab titles,
the tabs as the firmware's, each track its colour (the buttons, the mixer's strips), lists and buttons alike.
BYTE: pixel values (VT323), the four knob colours, stars; FM: the heat gradient, cream and violet.
- index_pkg.html: the notices as cards, Install the one big button, the progress in the heat gradient, the report in
its panel.
- emu/index.html: the page around the drawn FM-1 dark, its panels as cards.
JIANT BYTE's editor and installer say JIANT BYTE (they said JIANT FM). web tests, the editor and Studio in Chromium pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
web/studio/ (published at /JIANT/studio/; .github/workflows/emulator.yml):
- One page in each firmware's look (JIANT FM: cream, violet and the heat gradient, Michroma, the horizon grid;
JIANT BYTE: stars, synthwave stripes, pixel type), chosen by the firmware the FM-1 runs (INFO's engines: MATH is
BYTE's) or by hand. Home in steps (connect, install, use it) after Melodee's installer, with the help that matters.
- A target for everything: the FM-1 over USB, or the emulator.
- Install / Editor / Emulator: the sites' own pages in frames (JIANT FM's from /JIANT/, BYTE's from /JIANT-BYTE/: one
origin), dressed in the look, without their own headers. The editor connects by itself to the FM-1 Studio found.
- Screen: the FM-1's (78 SCREEN / 79 SCREEN_DATA) or the emulator's, straight to full screen; square, the width in
portrait and the height in landscape, the controls beside; sharp or smooth pixels; the phone kept awake.
- Record: the FM-1's USB audio (stereo, or USB > STEMS's 8 channels: T1..T6, FX, the mix, as a ZIP) or the emulator's
output, as WAV; what comes in over MIDI as a .mid; a song's offline stems through the emulator's panel.
- Install safety: on the jiant-midi channel like every MIDI page: lets the FM-1 go while an installer writes.
- dev_server.py: the published layout on this computer (local tools, the live site for the rest).
The emulator answers the whole editor (web/emu/editor-api.h: the firmware's editor.c, as the ports' core runs it; built
into felucca.wasm by web/emu/build.sh), so with target Emulator the editor edits the FM-1 in the browser; the emulator
lets Studio record its output and choose which MIDI input plays it.
editor.html: ?emu=1 inside Studio edits the emulator; the Screen button goes full screen at once.
Tests: web/studio/studio_test.mjs (screen frames as the editor's and the firmware's, WAV / ZIP / MIDI, the words),
web/studio/browser_test.mjs (Chromium: detection, the screen and full screen both ways, install safety, the editor on
the emulator, recording), in tests/run_tests.sh.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
The installer already told editor tabs to disconnect while it writes (BroadcastChannel
"jiant-midi"); the emulator was not part of it and listened to every MIDI input, the FM-1's
update loader included, and nothing waited for the other tabs before the first byte.
- index_pkg.html: letGo() before installing or returning to official firmware: asks who is
there (editors, emulators, the studio of JIANT FM and JIANT BYTE: one origin), says busy,
and waits up to 1.5 s until each tab answered "released"; the log says how many did.
- editor.html: answers "released" once its ports are closed (the screen mirror closes too).
- emu/index.html: joins the channel: while an install runs it closes every MIDI input and
answers "released", and listens again when it ends (or after 60 s without a word).
Checked in Chromium with the FM and BYTE editors connected, the mirror open and both
emulators in other tabs: all four let go, no editor reconnects until the install ends.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
MPC Sample: the screen takes nearly the whole top band (930 of 990 units), drawn at a whole number of
CSS pixels per pixel when it can (x2 at 1440 wide, x1 at 390), pixelated; VOLUME, the pad bank, the
power light, the meter and the speaker move to a strip under it, the soft keys over it. The separate x2
copy is gone (its caption is on the panel: the scale, what is where). The MPC's column is 744 px.
FM-1: its panel drawn in the page in JIANT's look (index.html's wide and tall layouts), wired as
index.html: buttons, encoders, MASTER, 27 keys, the screen, lit / dim / breathing / mid lights, the
power-on sweep, Shift-click hold, the number row and [ ], Web MIDI in, FM-1 <-> emulator
(transfer-ui.js), the flash under the edition's key (the ADDITIVE shell's when felucca.wasm is it).
index.html and index-additive.html unchanged.
browser_mpc_test.mjs: taps scroll the control into view (the MPC is taller); the FM-1 part checks the
native panel (a key plays, the screen draws, HOME lights, the transfer panel, the links).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
The pinned emulator (web/EMULATOR, V10.7.23) has one page more before PRESETS than the line the test was written
for, so 6 steps stopped on USER and KNOB 2 picked DRUM-X (10), not ADD (13): the site's deployment failed there since
20 Nov. SELECT stops at the last page, so 12 steps reach PRESETS on both.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
- firmware (editor.c): INFO tags 'D' 1 board (SMK-37 Pro / Elite, a computer, the MPC Sample, the MPC plugin) and,
FELUCCA_HOST_POWER only, 'H' 2 caps slots, both before 'Y'; on the big CPUs DESC / SET / TRACK_PARAM name the
values beyond EDIT by the track's engine (hp_xdesc) and send enum names by value (DRUM-X's SLOT 112..). The FM-1
binary is byte for byte as before (cmp build/felucca.bin, .fwsc), regress 0 golden changes.
- ports/core: the editor's SysEx (jiant_sysex, jiant_sysex_out, jiant_editor_poll, jiant_editor_host) through the
firmware's own handler; felucca_hp.wasm leaves it out. JUCE standalone: SysEx in, replies out of its MIDI output
(producesMidi only for the standalone; the plugins' buses unchanged); tests/sysex_check.cpp.
- web/editor.html: the device shown (tag, else port name), SMK-37 / MPC Sample port names, the structured layout for
P_COUNT 123 (it showed a plain list) with a FILTER section, SAMPLE's TRIG REC, GRAIN's TRAVEL SOURCE PITCH and
DRUM-X's SAMPLES pages on a device with 'H', SAMPLE sounds kept on such a device; the mock as a big CPU (?hp=1)
or an SMK-37 (?board=1), its tables generated from and compared with descdump built with FELUCCA_HOST_POWER=1.
- tests: editor_test with FELUCCA_HOST_POWER, core_test, test_web devices section, web/editor_browser_test.mjs.
- docs: EDITOR_PROTOCOL.md "Device and big CPUs"; MPC Sample README: why its app does not answer the editor yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
The panels keep their layout and wiring, drawn as JIANT draws: a near-black body with the dot field, the heat line
and orange HUD corners, encoders as rings (MASTER and the MPC's pots their value as heat, endless encoders a lit point
in the JIANT skin's knob colours), pads with HUD corners lit in the heat, charcoal keys with a light bar that turns
orange, faders and wheels as thin tracks filled with heat, Plex Mono for what is printed, DotGothic16 for JIANT's
functions, breathing creatures on the MPC's palm rest and wheel. The grey/red finish switch is gone (the page keeps
the site's light/dark).
Links: each picker card and each panel lists the device's install/download, emulator, editor and manual; a plugins
block links the releases and ports/README.md. README's banner, ports/RELEASE.md and ports/ANNOUNCEMENT.md (ES, EN)
list the same per device.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
Landscape body with the top screws; PITCH and MOD with KNOB BANK / FADER BANK, < >,
OCTAVE - + two by two under them; the square screen (JIANT's 240 x 240); K1-K8 in one row;
the 2 x 8 pads in their tray; F1-F4 with scales over two rows of six buttons; the 37 keys
across the width with their names. JIANT's function in orange under every control (the
faders' follow FADER BANK). A finish switch on the top edge, kept in this browser. Wiring
unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
MPC Sample drawn portrait as the unit: VOLUME, the bank letter, the screen with its three
soft keys, the meter and speaker in the dark band; MODE, SHIFT/PAD BANK, the fader, ERASE /
NOTE REPEAT left; K1-K3 over violet-lit 4x4 pads; PAD PLAY, SAMPLE SELECT / TAP TEMPO, the
wheel, -/+, the transport right; the palm rest. Every control keeps its name and wiring
(panel_map.h); JIANT's function printed under each. Plain name, no maker artwork. A larger
copy of the screen beside the panel. SMK-37 restyled (wheels, encoders, rubber keys, white-lit
pads), same wiring. The page takes the landing's type, colours, HUD corners, header and
footer, dark first with a light theme.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
SAMPLE opens the browser over the screen as the app draws it: pads pick the slot, the wheel the file, the soft keys
CLOSE / PLAY (audition) / LOAD, ERASE clears, SAMPLE SELECT the source (RESAMPLE; LINE and MIC through getUserMedia,
asked on the click), SAMPLE REC records. The files are the samples the user adds (a picker or dropped on the page,
decoded at 44.1 kHz), kept in IndexedDB; the slots' map in localStorage reloads them at power on; a slot JIANT changed
comes back as slotNN.wav; every slot downloads as a WAV. worklet.js: the slots' messages between render quanta (no
allocation inside one), the input before the render, a level meter; felucca.wasm and the FM-1 pages run as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
web/emu/felucca_hp.c is ports/core built to WebAssembly with the slots' API exported for the page (make + put,
clear, info, PCM, input, record, service). The browser's device clock stays its audio's (JIANT_NO_REAL_LOAD, a
guard in jiant_core.c; ports/core unchanged otherwise). web/emu/build.sh builds it beside felucca.wasm (byte-identical
to before), EMU_ONLY=hp builds it alone; the stale copy of the withdrawn sample-bank.js dropped (build.sh failed on it).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
As Melodee names and maps them, tried on an SMK-37 Elite: K5 MASTER, K6
SELECT, K7 ALGORITHM, K8 PRESETS, < > one step of SELECT, the pads the
FM-1's step grid with the lowest notes on the bottom row.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
JIANT FM on the FM-1, the SMK-37 Pro / Elite and the MPC Sample, picked
at the top: the same firmware (felucca.wasm and worklet.js as they are),
each device's own panel, the same music saved for all (the flash index.html
keeps in the browser).
- FM-1: the emulator itself (index.html).
- SMK-37: wheels, screen, K1-K4 / SELECT PAGE PRESET MASTER, the 18
buttons, 16 pads, 4 faders, 37 keys; the mapping the SMK-37 build
will have (F3-G5 the FM-1's keys, MIX = GLO, ENV/LFO = ENV, SHIFT +
it LFO, HOME/SRC = LFO, PAGE = ALGORITHM, faders CC7 levels or track
1's CUT RES REV DLY, wheels pitch bend / CC1).
- MPC Sample: its screen as the app draws it (320 x 240, JIANT's in the
middle), the buttons, K1-K3, VOL, wheel, fader, pads as
ports/mpc-sample/src/jiant/panel_map.h maps them.
Tried in Chromium: each device switched on, a pad lighting its key, the
screen answering the encoders, no errors. build.sh copies the page;
index.html links to it.
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