mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-05 12:24:42 +01:00
- 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