mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-06 12:54:29 +01:00
- voice.c voice_cap: VOICES_2CORE 12 while the second core takes parts (fx.c mc_two: CORES 2, not REC at
power-on, not given up); one core 8, LOAD ECO 6; a track still NVOICE 8 (no RAM). After Skiff by illuminus5.
cpu_vg: mix/v12 (both cores 3924 instr/sample), mix/v12.c0 (core 0 1949), mix/v12.one (one core, 8 voices 3241);
regress.c chk_budget_2core; the dual-core equivalence test at one budget (mc_host_v12).
- Sound types (PT_BASS..PT_FX) on all factory presets in preset_t.mono bits 1..4 (no format change); PRESETS LIST
ALL / FAV / BASS LEAD PAD KEYS PLUCK BELL VOX DRUM FX across engines, saved in favorites.factory[15][18];
gen.c keeps PT_BASS sounds off the other roles (was a name match). After Skiff by illuminus5.
- MIDI LEARN ported from Felucca 1.5 (midi_learn.c): 10 CCs, 3 bytes each in DIGITAL's favourites row, reserved
CCs and the standard map refused, any channel, USB and TRS; MENU > MIDI tab (MIDI OUT, LEARN, LEARN CLEAR);
state in the pool.
- fm6_vbank.c: 0xE7000 holding foreign data (Skiff's pattern bank) reads as no bank and is never erased at
power-on; only a bank the user sends replaces it. fm6bank_test foreign_test.
- Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) in JIANT's files ("Portions" in mostly-Felucca ones),
README / LICENSING.md / MENU > ABOUT credits (Felucca, Skiff).
- Docs: MANUAL.md / MANUAL.es.md, README v0.9.12 draft, EDITOR_PROTOCOL.md (tabs), cheat sheets, nav map.
Flash 576192 -> 577712 B (+1520), .data+.bss unchanged, pool +8 B (spare 10528 B).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
JIANT Probe
Phase 0 of the stems app (the design: one Android screen that answers, on a given phone, what the app depends on):
- Devices: every audio input and output Android sees, with the channel counts and index masks each declares, and the MIDI devices (the FM-1's USB-MIDI).
- Record 10 s of the 8 channels with the FM-1 in MENU > SYSTEM > USB > STEMS: asks Android for 8 channels (then 6, 4, 2) by channel index mask at 44.1 kHz, reports what it got, the level of each channel, and saves the take as a multichannel WAV in Downloads/JIANT. 8 channels: the app can use the normal API (Oboe / AAudio); fewer: it needs a USB driver of its own.
- The FM-1 and a USB microphone at once (through a USB-C hub): whether Android opens two USB audio inputs together.
- The phone's microphone into the FM-1 with the FM-1 in USB > IN+OUT: 5 s of the mic played to the USB output.
- Our own driver (0.2): Android's framework hands the FM-1's eight channels on as two on some phones (an S23
Ultra: T1 T2, the rest zero). This reads the stream itself, as the multichannel recorder apps do: asks for the
USB permission, claims the streaming interface and does isochronous reads through usbfs (
app/src/main/cpp/usbiso.c), 10 s, with the per-channel levels, the frames a second and a WAV. Test 2b tries the other ways of opening the input (sources × 8/6 channels) and shows which channels carry sound. - The stems and the phone's microphone together (0.3): test 5 with the built-in mic recorded at the same time (a mono WAV beside the 8-channel one): the mic as one more track in the app.
- The mic through the FM-1 and back (0.4, firmware 0.8.0, MENU > SYSTEM > USB > STEMS+IN): the phone's mic goes
out to the FM-1 by our own driver (isochronous OUT,
usbiso.cduplex) into the last live track, its sends and FX; 10 channels come back (T1–T6, FX L R, the mic as mixed, the mic as it came). With the phone near the FM-1's speaker the mic hears the FM-1: the lag between the stems and the raw mic is the whole latency, and a second WAV has the mic channels moved earlier by it.
Every build signs with app/probe-debug.keystore (a debug key, public on purpose) so a new APK installs over the last.
Everything goes into a plain-text report (COPY / SHARE). Built by GitHub Actions (.github/workflows/emulator.yml for
the site, android.yml on the branches): gradle -p android/probe assembleDebug. No dependencies beyond the Android
SDK; Java 17, minSdk 29, targetSdk 34.