From aa6ccce9c214cb35daf4e5f3ce7b8fbd1b69e92e Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 27 Nov 2026 16:13:47 +0000 Subject: [PATCH] ports CI and release for V10.8.48-mpc1: the core, the MPC Sample app (ARM64 bookworm), its SD zip - ports.yml: the core's tests (ports/core/build.sh test), then the MPC Sample app on ubuntu-24.04-arm in debian:bookworm: its tests, --bench on that CPU, the stripped binary into the SD card zip (make_release.py), uploaded with its SHA-256 and the preview. No plugin jobs (sold separately). - ports-release.yml (workflow_dispatch only): the same builds named ports/RELEASE_VERSION, then a GitHub pre-release tagged ports- with the MPC Sample zip alone and ports/RELEASE.md as its notes (a tag already out only takes the notes again). - ports/RELEASE_VERSION V10.8.48-mpc1; ports/RELEASE.md (EN + ES): JIANT FM V10.8.48 for the MPC Sample, what is new since the v0.9.18 preview (the V10.8 firmware; SAMPLE, GRAIN, DRUM-X's samples, the slots), the microSD install, the emulator link, not yet tried on an MPC Sample: testers welcome. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq --- .github/workflows/ports-release.yml | 51 +++++++++++++++++ .github/workflows/ports.yml | 67 ++++++++++++++++++++++ ports/RELEASE.md | 87 +++++++++++++++++++++++++++++ ports/RELEASE_VERSION | 1 + 4 files changed, 206 insertions(+) create mode 100644 .github/workflows/ports-release.yml create mode 100644 .github/workflows/ports.yml create mode 100644 ports/RELEASE.md create mode 100644 ports/RELEASE_VERSION diff --git a/.github/workflows/ports-release.yml b/.github/workflows/ports-release.yml new file mode 100644 index 00000000..c47d7bf6 --- /dev/null +++ b/.github/workflows/ports-release.yml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: GPL-3.0-only +# JIANT FM for the MPC Sample, published (by hand: Actions > ports release > Run workflow, on this branch): the MPC +# Sample's SD card zip (ports.yml, the same jobs) attached to a GitHub pre-release tagged ports-, +# its notes ports/RELEASE.md. Nothing else is attached (the plugins are sold separately; the SMK-37 packages are the +# firmware's own releases). A tag already released keeps its files and only takes ports/RELEASE.md's text again. +name: ports release +on: + workflow_dispatch: +permissions: + contents: write +jobs: + version: + runs-on: ubuntu-24.04 + outputs: + v: ${{ steps.v.outputs.v }} + steps: + - uses: actions/checkout@v4 + - id: v + run: echo "v=$(tr -d ' \n' < ports/RELEASE_VERSION)" >> "$GITHUB_OUTPUT" + build: + needs: version + uses: ./.github/workflows/ports.yml + with: + release_version: ${{ needs.version.outputs.v }} + release: + needs: [version, build] + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 + with: + name: JIANT-FM-MPC-Sample + path: dist + - name: the pre-release + env: + GH_TOKEN: ${{ github.token }} + V: ${{ needs.version.outputs.v }} + run: | + TAG="ports-$V" + if gh release view "$TAG" >/dev/null 2>&1; then + gh release edit "$TAG" --notes-file ports/RELEASE.md + echo "$TAG already released: its notes taken again" + exit 0 + fi + mkdir -p up + find dist -name "JIANT-FM-MPC-Sample-$V.zip" -exec cp {} up/ \; # (the zip alone) + find dist -name "*.sha256" -exec cat {} \; + ls -l up + [ -f "up/JIANT-FM-MPC-Sample-$V.zip" ] || { echo "no MPC Sample zip for $V"; exit 1; } + gh release create "$TAG" up/* --target "$GITHUB_SHA" --prerelease \ + --title "JIANT FM $V for the MPC Sample (preview)" --notes-file ports/RELEASE.md diff --git a/.github/workflows/ports.yml b/.github/workflows/ports.yml new file mode 100644 index 00000000..3bf7a76c --- /dev/null +++ b/.github/workflows/ports.yml @@ -0,0 +1,67 @@ +# SPDX-License-Identifier: GPL-3.0-only +# JIANT beyond the FM-1 (ports/), on the V10.8.48 line: the core's tests (ports/core: the firmware as a library with +# FELUCCA_HOST_POWER, the sample engines, the FM-1 loading a big CPU's project, 8 copies in one process) and the MPC +# Sample app (ARM64 in Debian bookworm, as the MPC runs it: its tests, the bench on that CPU and the SD card zip). +# The zip is this run's artifact. (The plugins are not built here: sold separately.) +name: ports +on: + workflow_dispatch: + workflow_call: # (ports-release.yml: the same builds, named for a release) + inputs: + release_version: + type: string + default: "" + push: + paths: ["ports/**", ".github/workflows/ports.yml"] +permissions: + contents: read +jobs: + core: + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.13" + - run: pip install Pillow==12.3.0 numpy==2.3.5 fonttools==4.61.1 + - name: generated headers + run: python3 -c "import sys; sys.path.insert(0, 'tools'); import build; build.generate()" + - uses: actions/upload-artifact@v4 + with: + name: gen + path: build/gen + - name: the core and the sample engines + run: ports/core/build.sh test + mpc-sample: + needs: core + runs-on: ubuntu-24.04-arm + container: debian:bookworm + steps: + - name: build tools (sample-base's image) + run: | + apt-get update + apt-get install -y --no-install-recommends g++ make git ca-certificates pkg-config python3 patch zip \ + libasound2-dev libsystemd-dev dbus libdrm-dev libfreetype6-dev libfontconfig1-dev fonts-liberation + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 + with: + name: gen + path: build/gen + - name: the app and its tests + run: | + git config --global --add safe.directory "$GITHUB_WORKSPACE" + ports/mpc-sample/build.sh test + ports/mpc-sample/build/jiant --bench + - name: the SD card zip + run: | + strip -o ports/mpc-sample/build/jiant.release ports/mpc-sample/build/jiant + V="${{ inputs.release_version }}"; [ -n "$V" ] || V="v0.0-ci${GITHUB_RUN_NUMBER}" + python3 ports/mpc-sample/tools/make_release.py "$V" \ + --binary ports/mpc-sample/build/jiant.release + - uses: actions/upload-artifact@v4 + with: + name: JIANT-FM-MPC-Sample + path: | + ports/mpc-sample/dist/*.zip + ports/mpc-sample/dist/*.sha256 + ports/mpc-sample/build/preview.png diff --git a/ports/RELEASE.md b/ports/RELEASE.md new file mode 100644 index 00000000..a5ebbc96 --- /dev/null +++ b/ports/RELEASE.md @@ -0,0 +1,87 @@ +**JIANT FM V10.8.48 for the Akai MPC Sample: preview.** The FM-1's latest public firmware, V10.8.48, as the MPC +Sample's whole instrument, with the sample engines only a bigger CPU can run. Free and GPL-3.0. +**Not yet tried on an MPC Sample: testers welcome.** + +| File | What it is | +| --- | --- | +| `JIANT-FM-MPC-Sample-V10.8.48-mpc1.zip` | JIANT FM for the **Akai MPC Sample**, started from the microSD card (README inside). | + +**New since the previous MPC preview (v0.9.18):** the whole V10.8 firmware. + +- **Engines**: STRING (Karplus-Strong), ADD (additive), WEST (west-coast folding), MATH (bytebeat), EXT (the audio + input on a track, and SWARM), beside DRUM-X, ANALOG, PHASE, FM6, VOICE and ANIMAL; presets that move by themselves. +- **Songs**: TIMELINE, CLIPS, ARRANGE, scenes; a whole song or a loop saved in SAVE > PROJECT > PROJECTS; GEN's songs + are drafts until saved. +- **GENE**, the song generator, with many more genres (cumbia, EBM, baile funk, phonk, hip hop, jazz, techno rock ...). +- **Sequencer**: EUCLID and MODES, RAMP locks, DRONE CLAY, recording that keeps how you play. +- **Screen**: seven palettes, larger type and values, the ECOSYSTEM and BEING pages. +- **DRUM-X**: a better kit, the EXTENDED key map with every sound chromatic. + +**Only on the MPC Sample's bigger CPU** (not on the FM-1): + +- **Every track its own 8 voices** (48 in all), no CPU cutbacks; the load measured on the MPC's CPU, CPU on the screen. +- **SAMPLE**: one shot with experimental modes (GATE, LOOP, PING, REV, SLICE, SCRUB, TAPE), triggers (CHOKE, RATCHET, + RANDOM, ROUND, VEL, LEGATO, CHANCE), a feedback comb, DESTROY and resampling. +- **GRAIN**: granular, with travel modes (FWD, REV, PING, RANDOM, STRETCH, FREEZE, KEY), time-stretch, feedback with + shimmer, LIVE on the input or the master, and resampling. +- **DRUM-X's sample layer**: SMORPH from synth to sample on every sound, five blends, slots, slices or a keyed kit. +- **16 sample slots** (60 s each), recording, and the **SAMPLE BROWSER** on the SAMPLE button; WAVs from + `JIANT/Samples` on the card. + +A project made on the MPC opens on an FM-1: SAMPLE and GRAIN tracks play as ANALOG there, DRUM-X as its synth kit. + +**Install (microSD card):** + +1. MPC Sample on firmware 1.3.0.12 (on another firmware JIANT does not start and the stock app keeps running). +2. Back up the card. Move away any `autorun` folder at its top. +3. Unzip and copy the `autorun` folder to the top of the card; do not change anything inside it. +4. Put WAVs in `JIANT/Samples` if you like. Switch the MPC on: the stock app starts, then JIANT takes over the screen. +5. Push the wheel to go back to the stock app; delete `autorun` to uninstall (`JIANT/flash.img` keeps your music). + +**Try it in the browser first:** https://juanjiant-bit.github.io/JIANT/emu/devices.html#mpc + +Problems and test reports: [Issues](https://github.com/juanjiant-bit/JIANT/issues). Sources: [`ports/`](https://github.com/juanjiant-bit/JIANT/tree/main/ports). + +--- + +**JIANT FM V10.8.48 para la Akai MPC Sample: preview.** El último firmware público de la FM-1, V10.8.48, como el +instrumento entero de la MPC Sample, con los motores de samples que solo un CPU más grande puede correr. Gratis, GPL-3.0. +**Todavía no se probó en una MPC Sample: buscamos testers.** + +**Nuevo desde la preview anterior para la MPC (v0.9.18):** todo el firmware V10.8. + +- **Motores**: STRING (Karplus-Strong), ADD (aditivo), WEST (plegado west coast), MATH (bytebeat), EXT (la entrada de + audio en una pista, y SWARM), junto a DRUM-X, ANALOG, PHASE, FM6, VOICE y ANIMAL; presets que se mueven solos. +- **Temas**: TIMELINE, CLIPS, ARRANGE, escenas; un tema entero o un loop se guarda en SAVE > PROJECT > PROJECTS; los + temas de GEN son borradores hasta que los guardás. +- **GENE**, el generador de temas, con muchos más géneros (cumbia, EBM, baile funk, phonk, hip hop, jazz, techno rock …). +- **Secuenciador**: EUCLID y MODES, locks con RAMP, DRONE CLAY, la grabación respeta cómo tocás. +- **Pantalla**: siete paletas, letras y valores más grandes, las páginas ECOSYSTEM y BEING. +- **DRUM-X**: un kit mejor, el mapa de teclas EXTENDED con cada sonido cromático. + +**Solo en el CPU más grande de la MPC Sample** (no en la FM-1): + +- **Cada pista con sus 8 voces** (48 en total), sin recortes por CPU; la carga medida en el CPU de la MPC, CPU en pantalla. +- **SAMPLE**: one shot con modos experimentales (GATE, LOOP, PING, REV, SLICE, SCRUB, TAPE), disparos (CHOKE, RATCHET, + RANDOM, ROUND, VEL, LEGATO, CHANCE), un comb con feedback, DESTROY y resampleo. +- **GRAIN**: granular, con recorridos (FWD, REV, PING, RANDOM, STRETCH, FREEZE, KEY), time-stretch, feedback con + shimmer, LIVE sobre la entrada o el master, y resampleo. +- **La capa de samples de DRUM-X**: SMORPH de la síntesis al sample en cada sonido, cinco mezclas, slots, slices o un + kit por teclas. +- **16 slots de samples** (60 s cada uno), grabación y el **SAMPLE BROWSER** en el botón SAMPLE; WAVs desde + `JIANT/Samples` en la tarjeta. + +Un proyecto hecho en la MPC abre en una FM-1: las pistas SAMPLE y GRAIN suenan ahí como ANALOG, DRUM-X como su kit +sintetizado. + +**Instalación (tarjeta microSD):** + +1. MPC Sample con el firmware 1.3.0.12 (con otro firmware JIANT no arranca y sigue la app de fábrica). +2. Hacé un backup de la tarjeta. Si arriba de todo hay una carpeta `autorun`, movela a otro lado. +3. Descomprimí y copiá la carpeta `autorun` arriba de todo en la tarjeta; no cambies nada adentro. +4. Si querés, poné WAVs en `JIANT/Samples`. Prendé la MPC: arranca la app de fábrica y después JIANT toma la pantalla. +5. Apretá la rueda para volver a la app de fábrica; borrá `autorun` para desinstalar (`JIANT/flash.img` guarda tu música). + +**Probalo antes en el navegador:** https://juanjiant-bit.github.io/JIANT/emu/devices.html#mpc + +Problemas e informes de prueba: [Issues](https://github.com/juanjiant-bit/JIANT/issues). diff --git a/ports/RELEASE_VERSION b/ports/RELEASE_VERSION new file mode 100644 index 00000000..a306748d --- /dev/null +++ b/ports/RELEASE_VERSION @@ -0,0 +1 @@ +V10.8.48-mpc1