Commit Graph
16 Commits
Author SHA1 Message Date
Claude 53d7a03471 Studio Radio: after 👍 / 👎 an optional row (what did / didn't you like: drums, bass, chords, lead, arp, sound/mix, a bitmask in parts), Next or 4 s untouched; one insert; a 400 (no parts column yet) sent again without it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-25 22:16:50 +00:00
Claude a770efd2c3 Studio: Radio, the generator's pieces voted by ears (GEN on RADIO in the public emulator; 👍 / 👎 a vote and the next, ⏭ the next; genre and MOOD to pick); a vote the piece's data only (device, version, genre, seed, mood, energy, form, seconds heard, ±1, a random id of this browser) into the project's Supabase (insert only, 409 = voted already, offline kept and retried); the emulator's generator as jiantEmu.gen (worklet: web_gen_info / web_gen_genre / web_gen_cmd, web-only exports the firmware sessions add); a pretend generator under ?mock=1 and a browser check
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-25 22:09:16 +00:00
Claude 9b012cb658 Studio Wavetables: the browser check compares the table's data read back (the simulated device), not its pixels
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-25 14:45:02 +00:00
Claude 093499800d Studio: Wavetables (JIANT BYTE's WAVE USER bank): any sound, a file or the microphone, into 8 frames x 128 (the period of each eighth by autocorrelation, a cycle from a rising zero crossing resampled, DC out, the seam closed, normalized, each frame rotated to follow the one before); the frames and the sweep drawn, heard as a sweep, saved as a WAV; sent to a USER slot over USB (protocol 1.5: WT_INFO 90, WT_WRITE 91 in 32-sample chunks with an ack, WT_COMMIT 92 with its name; WT_READ 93 back); the tab only on BYTE (the tour skips it on FM); the simulated BYTE answers 90..93; wavetable_test.mjs, a browser check
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-25 14:32:30 +00:00
Claude a37d238c26 Studio: a quick tour the first time it opens (and from ?): each part lit in turn, what it is, what it does, how to use it (ES/EN)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-24 14:18:00 +00:00
Claude 4e48cba90a Studio, live guide: JIANT FM's parameter glossary (165 labels, 49 by engine), published with BYTE's; the browser test follows the simulated FM-1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-24 12:20:24 +00:00
Claude bb4774c301 Studio: How it works with JIANT FM's content (70 elements) and BYTE's (61), the index, a page per element; tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-24 03:52:31 +00:00
Claude 1456989f63 Studio: Rescue, FM-1 Rescue with a tutorial (an RP2040 unbricks the FM-1)
A Rescue tab for an FM-1 in hard brick, step by step: what you need; the board (RP2040-Zero, XIAO RP2040, Pico) and
its three wires drawn to the FM-1's USB-C (D+ green, D- white, GND black, 5 V not connected); the firmware it gets
(the published JIANT FM or JIANT BYTE package, downloaded and checked by itself, or a .fwsc such as the official V15);
fm1-rescue.uf2 made in the browser with rescue/builder.js (byte for byte the command line's make_uf2.mjs); flashing
the board; connecting and rescuing, with what each LED colour means (drawn, blinking as it does); afterwards. The
Android app (android/rescue) as the way without a computer. Marked experimental: not tried on a real FM-1 yet.
The site publishes rescue/builder.js and rescue/base/*.uf2 beside Studio and rescue/fm1-rescue.html at rescue/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-24 03:32:25 +00:00
Claude 4032801caf Studio: the emulator as a recording input: its stems (8 channels) and its MIDI OUT
- 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
2026-11-24 03:03:09 +00:00
Claude ae95cac828 Studio: Projects, by hand: the slots A-D and complete backups kept in the browser
A Projects view, for the FM-1 or the emulator (its editor handler answers the same):
- Projects A-D: read the four slots (9 PROJECT, query), Load one into the current music, Save the current music into
  one (each asked first).
- Back up now: a complete backup (fm1backup.js, the installer's and the editor's: 65-67) kept in this browser
  (IndexedDB) and, by default, downloaded; a row each with its name (editable), when, the firmware, what it holds
  (the current music, the songs and their sections, its size), Download, Restore (asked first) and Delete. Import a
  backup file into the list. While it backs up, restores or writes a slot, the other tools let go of the FM-1
  (jiant-midi, as the installer does) and the screen stops.
fm1backup.js is published beside Studio (the workflow; dev_server.py serves it). The simulated FM-1 has slots and an
archive; the browser test reads the slots, saves one, backs up and restores.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-24 00:56:56 +00:00
Claude 64eee7690c Studio: Manuals, for JIANT FM and JIANT BYTE
A Manuals view, its firmware's (the FM/BYTE switch): the interactive manual (opened here in a frame, or a tab), the full
manual in HTML (ES/EN), the controls and sound cheat sheets (the picture opens large; PDF and image), and for JIANT FM
what's new, the navigation map and the other devices' manuals. Each comes from its firmware's own site; what a site does
not have yet says "on its way" (JIANT BYTE's interactive manual, its own cheat sheets and its HTML manual, asked of the
JIANT BYTE session: /JIANT-BYTE/manual/, docs/cheatsheet-byte-*.png|pdf, docs/guide/manual.es.html).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-24 00:47:51 +00:00
Claude 754a66bf49 Studio: the emulator whole and full screen; the SMK-37 and MPC in their own proportions; the manuals in HTML, with shots
- 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
2026-11-24 00:36:22 +00:00
Claude e82fb15365 Studio: the firmware told by its name, the mirror tried when unsure, the waiting line gone
Found on Juan's FM-1 with V10.8.24 (the first try on hardware):
- It was named JIANT BYTE: Studio told BYTE by MATH among INFO's engines, and JIANT FM has MATH too since V10.8.21.
  Now by the version's name: JIANT BYTE's says BYTE ("JIANT BYTE v0.16"), JIANT FM's does not ("JIANT V10.8.24").
- It said "no screen mirror" though it has one: SCREEN op 0 got no reply in 500 ms right after INFO. Now twice, 1.2 s
  each; without a reply Studio does not block Show (it tries, and says why if the firmware has none), only a firmware
  that answered gets Full screen at once.
- "Waiting for the picture" stayed over the mirrored screen: it goes with the first frame.
browser_test.mjs follows (the simulated FM-1 is V10.8.24 with MATH; BYTE v0.16 without the mirror: Show tries, says
why, no black full screen).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-24 00:08:21 +00:00
Claude 78f739dce9 Studio: Record as a DAW, by JIANT's USB audio profiles (master, STEMS, STEMS+IN)
- The FM-1's USB mode chosen or detected by the channels that come in, each said with what to set on the FM-1
  (MENU > SYSTEM > USB, then plug it in again) and what it sends: AUDIO / STEREO / IN+OUT the master (2), STEMS
  T1-T6 and FX L R (8), STEMS+IN those and VOX and DRY (10).
- Test the input: a lane for each channel that comes in, named by its track and the engine it plays (27 TRACK and
  INFO's engines: "T1 · DRUM"), in its colour, with its level, before recording.
- Record draws each lane's wave as it comes; the take is shown whole, played back with each lane's mute and solo
  and a playhead; its files: each stem's WAV, the ZIP, the mix (tracks + FX + the voice).
- When fewer channels come in than the mode sends, it says so and why (Chrome on Android hands at most 2 over, and
  a web page cannot read USB audio another way: browsers protect audio interfaces) and where the stems can be had
  (a computer's Chrome or Edge, the JIANT Probe app, a song's stems from a backup).
- ?mock=1 offers a simulated STEMS+IN input (10 channels); browser_test.mjs records it. daw.js is new (published by
  emulator.yml).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-23 21:49:33 +00:00
Claude 43a71bf8b7 Studio: says when the FM-1's firmware has no screen mirror, and names it once
The screen asks the firmware at connect (78 SCREEN, op 0: firmware before the mirror sends no reply). Without it the
Screen view says so ("your FM-1 runs JIANT BYTE v0.16, which has no screen mirror yet: it comes with the next
firmware release; meanwhile pick Emulator"), Show and Full screen stay off, and Home says it beside the version: no
more a black full screen. The device's name once ("JIANT BYTE v0.16", was "JIANT BYTE BYTE v0.16"). The simulated
FM-1 takes ?nomirror; browser_test.mjs checks it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-23 21:23:32 +00:00
Claude 62cde03949 JIANT Studio: install, edit, the screen, the emulator and recording in one page, for JIANT FM and JIANT BYTE
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
2026-11-23 17:21:49 +00:00