Commit Graph
14 Commits
Author SHA1 Message Date
JUAN JIANTandClaude Opus 5.5 877df25a98 Studio: audio editor (RECORD space) (#290)
* Studio in six spaces (LISTEN, CREATE, RECORD, MANAGE, DEVICE, LEARN): a bar with their icons and names (at the bottom on a phone), each opening a sheet with its functions and what each does; the strip under it keeps that space's views; DEVICE's sheet holds the connection and what goes in and out (FM-1 or emulator, backup, export, import, audio); the heat palette on the bar and the sheets, and bytebeat scopes drawn live in the header and behind each sheet's title; a phone's selects never widen the page

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd

* Studio RECORD › Audio editor: takes and audio files as clips on tracks (cut at the position, trim by the edges, move with a 1/16 snap at the BPM, fades, gain, normalize, reverse, duplicate, delete, undo and redo, mute, solo and level per track), played with WebAudio and rendered offline: the mix as a WAV, each track in a ZIP; a take's Edit button sends it there

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-30 13:23:36 +00:00
Claude 11c6cb6a56 Studio: Project, the whole project (the approved mock-up's tabs): a .b1t3 / .jfm file (the device's objects as a full backup, the name, the generator's state) saved, opened, sent to the FM-1 (a full backup kept in the browser first, after a confirmation) or fetched; SOUND live (every parameter of each track by name: TRACK, TRACK_DUMP, DESC with the track selected a moment; set as it moves with TRACK_PARAM; changed ones marked, a filter for them); SONG, SEQ, MOD·MIX and GEN say what they wait for
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-28 02:21:13 +00:00
Claude f6d46d024d Studio: Visuals, JIANT BYTE's visual generator big (visgen.js: vis_recipe.c's recipe to the bit, VISGEN.md's 12 vectors in vis_test.mjs; the approved mock-up's drawing, fed by a live state) from BYTE over USB (WATCH's second byte, VIS_SONG 98, VIS_TICK 99), the emulator (jiantEmu.vis(), or JIANT FM's generator and stems) or any MIDI device (channel 10 the drums, low notes the bass, chords, the clock, CC 1 / 74); MIX DEFORM PALETTE REACT, another recipe, full screen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-27 14:41:06 +00:00
Claude 561cdb9a58 Studio, clearer: the views grouped (Play, Make, Learn, Device), a connection line under the bar (what Studio talks to and the next step: find my FM-1, use the emulator), the home page's three ways in (I have an FM-1, try it without one, learn), plainer names (Live screen, Other devices) and errors
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-26 15:06:21 +00:00
Claude 6b07c4ec92 Studio: Analysis, the exact state of the FM-1 or the emulator in one file (each track's engine, preset, level and every parameter by name and value, what differs from its default; the globals and effects; the steps; the song; the generator) and, from the emulator, how it sounds (8 s of stems: level, peak, crest, sustain, clipped samples, eight octave bands, per track and mixed); JSON to download, a summary to copy. Radio: a piece of its own first (RADIO on had nothing to play)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-26 11:44:22 +00:00
Claude dfb687ea14 Studio: Radio first in the top bar, in the accent colour
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-25 23:01:25 +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 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 ad5bca4aa6 Studio: How it works (in progress): the animations (learn.js) and the view; the content (learn-fm.json, learn-byte.json) to come
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-24 03:40:25 +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 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 fca7069868 JIANT Studio: Other devices, the ports with their emulators, manuals and downloads
A seventh view (web/studio): JIANT FM beyond the FM-1, a card each with its state, what it is and its links:
- M-VAVE SMK-37 Pro / Elite (in development): try it in the browser, the manual and how to build it (docs/SMK37.md);
- Akai MPC Sample (preview): try it, download (the releases), how to install (ports/mpc-sample/README.md);
- the MPC plugin (preview): download, how it works, the source;
- VST3 / AU / LV2 / the app (built by CI), with the plugin's editor (img/, from ports/juce-plugin): download, manual,
  the source.
"Try it in the browser" opens that device's panel of the JIANT FM site's emu/devices.html right there, in the look,
straight to its picker and panel. "How they work": ports/README.md. In Spanish and English; checked by studio_test.mjs
(the words, every emulator link a panel devices.html has). emulator.yml publishes img/ too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-23 17:28:33 +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