mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-05 20:34:27 +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
25 lines
1.5 KiB
JavaScript
25 lines
1.5 KiB
JavaScript
// SPDX-License-Identifier: GPL-3.0-only
|
|
// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant)
|
|
// (JIANT 0.6.7) docs/cheatsheet/*.html (tools/gen_cheatsheets.py) -> docs/cheatsheet-*.png (the README) and .pdf (to
|
|
// download), with the Chromium Playwright brings: node tools/render_cheatsheets.mjs
|
|
import { createRequire } from "module";
|
|
const require = createRequire(import.meta.url);
|
|
const { chromium } = require("playwright"); // (NODE_PATH=$(npm root -g) for a global install)
|
|
import { fileURLToPath } from "url";
|
|
import path from "path";
|
|
const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
|
|
const exe = process.env.CHROMIUM || "/opt/pw-browsers/chromium-1194/chrome-linux/chrome";
|
|
const browser = await chromium.launch({ executablePath: exe }).catch(() => chromium.launch());
|
|
for (const name of ["controls", "sound"]) {
|
|
const page = await browser.newPage({ viewport: { width: 1600, height: 1000 }, deviceScaleFactor: 1.5 });
|
|
await page.goto("file://" + path.join(root, "docs/cheatsheet", name + ".html"));
|
|
await page.evaluate(() => document.fonts.ready);
|
|
const h = await page.evaluate(() => document.documentElement.scrollHeight);
|
|
await page.setViewportSize({ width: 1600, height: h });
|
|
await page.screenshot({ path: path.join(root, `docs/cheatsheet-${name}.png`), fullPage: true });
|
|
await page.pdf({ path: path.join(root, `docs/cheatsheet-${name}.pdf`), width: "1600px", height: h + 2 + "px",
|
|
printBackground: true, pageRanges: "1" });
|
|
console.log(name, h, "px");
|
|
}
|
|
await browser.close();
|