From a91b8dc8bdb44ce46c8b1b902c1a2e311b9dd260 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 11 Nov 2026 18:08:16 +0000 Subject: [PATCH] Copyright headers: name Juan Jiant on JIANT's own files that had only the SPDX line Comment-only (the built image is byte-identical). 112 files written new for JIANT FM (GEN gen.c / gen_tables.c / gen_track.c / song_dice.c, fugue.c, sing_ext.c, ui_euclid.c, ui_scene.c, the STEMS and probe Android apps, the video tools, JIANT's tests and tools, web/emu/stems.js) carried "SPDX-License-Identifier: GPL-3.0-only" and no copyright line: they now say "Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant)". Checked against Felucca's fork base like the previous commit; tests/fm6_env_compare.c (msfa envelope as ported in fm6_core.c) and web/emu/gen_bench.mjs (lines of the emulator's test) are left out. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh --- android/probe/app/src/main/cpp/CMakeLists.txt | 1 + android/probe/app/src/main/cpp/usbiso.c | 1 + android/probe/app/src/main/java/fm/jiant/probe/MainActivity.java | 1 + android/stems/app/src/main/cpp/CMakeLists.txt | 1 + android/stems/app/src/main/cpp/usbstream.c | 1 + android/stems/app/src/main/kotlin/fm/jiant/stems/EditPage.kt | 1 + android/stems/app/src/main/kotlin/fm/jiant/stems/Engine.kt | 1 + android/stems/app/src/main/kotlin/fm/jiant/stems/ExportPage.kt | 1 + .../stems/app/src/main/kotlin/fm/jiant/stems/ExportProvider.kt | 1 + android/stems/app/src/main/kotlin/fm/jiant/stems/MainActivity.kt | 1 + android/stems/app/src/main/kotlin/fm/jiant/stems/Player.kt | 1 + android/stems/app/src/main/kotlin/fm/jiant/stems/RecordPage.kt | 1 + android/stems/app/src/main/kotlin/fm/jiant/stems/Ui.kt | 1 + android/stems/app/src/main/kotlin/fm/jiant/stems/Usb.kt | 1 + android/stems/app/src/main/kotlin/fm/jiant/stems/Views.kt | 1 + android/stems/app/src/test/cpp/usbstream_test.c | 1 + android/stems/app/src/test/kotlin/fm/jiant/stems/PagesTest.kt | 1 + android/stems/core/src/main/kotlin/fm/jiant/stems/core/Export.kt | 1 + .../stems/core/src/main/kotlin/fm/jiant/stems/core/Latency.kt | 1 + android/stems/core/src/main/kotlin/fm/jiant/stems/core/Layout.kt | 1 + android/stems/core/src/main/kotlin/fm/jiant/stems/core/Mixer.kt | 1 + android/stems/core/src/main/kotlin/fm/jiant/stems/core/Peaks.kt | 1 + .../stems/core/src/main/kotlin/fm/jiant/stems/core/Session.kt | 1 + .../stems/core/src/main/kotlin/fm/jiant/stems/core/Splitter.kt | 1 + .../stems/core/src/main/kotlin/fm/jiant/stems/core/Strings.kt | 1 + android/stems/core/src/main/kotlin/fm/jiant/stems/core/Trim.kt | 1 + android/stems/core/src/main/kotlin/fm/jiant/stems/core/Wav.kt | 1 + .../stems/core/src/test/kotlin/fm/jiant/stems/core/ExportTest.kt | 1 + .../core/src/test/kotlin/fm/jiant/stems/core/LatencyTest.kt | 1 + .../stems/core/src/test/kotlin/fm/jiant/stems/core/LayoutTest.kt | 1 + .../stems/core/src/test/kotlin/fm/jiant/stems/core/MixTest.kt | 1 + .../core/src/test/kotlin/fm/jiant/stems/core/SplitterTest.kt | 1 + .../core/src/test/kotlin/fm/jiant/stems/core/TakeLengthTest.kt | 1 + .../stems/core/src/test/kotlin/fm/jiant/stems/core/WavTest.kt | 1 + firmware/src/fugue.c | 1 + firmware/src/gen.c | 1 + firmware/src/gen_tables.c | 1 + firmware/src/gen_track.c | 1 + firmware/src/sing_ext.c | 1 + firmware/src/song_dice.c | 1 + firmware/src/ui_euclid.c | 1 + firmware/src/ui_scene.c | 1 + tests/acoustic_store_test.c | 1 + tests/chorus_sleep_test.c | 1 + tests/chorus_sleep_test.py | 1 + tests/cpu_probe.c | 1 + tests/cpu_vg.c | 1 + tests/cpu_vg.py | 1 + tests/drum_voice_extensions_test.c | 1 + tests/empty_fx_test.c | 1 + tests/empty_fx_test.py | 1 + tests/eq_save_cases.h | 1 + tests/fit_storage_cases.h | 1 + tests/fit_test.c | 1 + tests/fx_rest_test.c | 1 + tests/fx_rest_test.py | 1 + tests/gen_dump.c | 1 + tests/gen_test.c | 1 + tests/loop_song_test.c | 1 + tests/performance_probe.c | 1 + tests/probability_component_test.c | 1 + tests/rec_play_test.c | 1 + tests/rec_workflow_test.c | 1 + tests/seq_clipboard_test.c | 1 + tests/song_generator_test.c | 1 + tests/song_save_cases.h | 1 + tests/song_save_ui_cases.h | 1 + tests/split_storage_cases.h | 1 + tests/step_extensions_test.c | 1 + tests/stuck_test.c | 1 + tests/track_follow_test.c | 1 + tests/track_generator_test.c | 1 + tests/usb_hotpath_test.c | 1 + tests/voice_fairness_test.c | 1 + tests/voice_user_cases.h | 1 + tools/dice_render.c | 1 + tools/gen_logo.py | 1 + tools/gen_nav_map.py | 1 + tools/gen_readme_hero.py | 1 + tools/gen_signature.py | 1 + tools/gen_ui_shapes.py | 1 + tools/preset_mods_js.py | 1 + tools/render_cheatsheets.mjs | 1 + tools/video/beings.js | 1 + tools/video/capture.c | 1 + tools/video/capture_chord.c | 1 + tools/video/capture_dark.c | 1 + tools/video/capture_dice.c | 1 + tools/video/capture_promo.c | 1 + tools/video/capture_shots.c | 1 + tools/video/capture_story.c | 1 + tools/video/capture_tutorial.c | 1 + tools/video/capture_update.c | 1 + tools/video/compose.py | 1 + tools/video/film.html | 1 + tools/video/film.mjs | 1 + tools/video/film_prep.py | 1 + tools/video/news_script_en.py | 1 + tools/video/plate.html | 1 + tools/video/promo.html | 1 + tools/video/stories.html | 1 + tools/video/thumbnails.py | 1 + tools/video/tutorial.html | 1 + tools/video/tutorial_body.js | 1 + tools/video/tutorial_script.py | 1 + tools/video/tutorial_script_en.py | 1 + tools/video/tutorial_voice.py | 1 + tools/video/update.html | 1 + tools/video/visuals_film.mjs | 1 + web/emu/stems.js | 1 + web/emu/stems_test.mjs | 1 + web/fetch_prev.py | 1 + 112 files changed, 112 insertions(+) diff --git a/android/probe/app/src/main/cpp/CMakeLists.txt b/android/probe/app/src/main/cpp/CMakeLists.txt index d8bdd3d0..dffb806b 100644 --- a/android/probe/app/src/main/cpp/CMakeLists.txt +++ b/android/probe/app/src/main/cpp/CMakeLists.txt @@ -1,4 +1,5 @@ # SPDX-License-Identifier: GPL-3.0-only +# Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) cmake_minimum_required(VERSION 3.18) project(jiantusb C) add_library(jiantusb SHARED usbiso.c) diff --git a/android/probe/app/src/main/cpp/usbiso.c b/android/probe/app/src/main/cpp/usbiso.c index 6e739623..8f9f9ce2 100644 --- a/android/probe/app/src/main/cpp/usbiso.c +++ b/android/probe/app/src/main/cpp/usbiso.c @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Probe: isochronous IN reads through usbfs on the file descriptor UsbDeviceConnection hands us (no root: the // app owns the device once the user grants it). Android's audio framework passes an 8-channel USB input on as stereo // on some phones (the rest zero); reading the FM-1's stream ourselves gets every channel, as the commercial diff --git a/android/probe/app/src/main/java/fm/jiant/probe/MainActivity.java b/android/probe/app/src/main/java/fm/jiant/probe/MainActivity.java index 314fb399..d0360dbf 100644 --- a/android/probe/app/src/main/java/fm/jiant/probe/MainActivity.java +++ b/android/probe/app/src/main/java/fm/jiant/probe/MainActivity.java @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Probe: phase 0 of the stems app (android/probe/README.md). One screen that answers, on a given phone, the // questions the app depends on: does Android open the FM-1's eight USB channels (MENU > SYSTEM > USB > STEMS) at // 44.1 kHz; can it open a USB microphone at the same time as the FM-1; can it play into the FM-1 (USB > IN+OUT); does diff --git a/android/stems/app/src/main/cpp/CMakeLists.txt b/android/stems/app/src/main/cpp/CMakeLists.txt index e7d9107a..729955ca 100644 --- a/android/stems/app/src/main/cpp/CMakeLists.txt +++ b/android/stems/app/src/main/cpp/CMakeLists.txt @@ -1,4 +1,5 @@ # SPDX-License-Identifier: GPL-3.0-only +# Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) cmake_minimum_required(VERSION 3.18) project(jiantstems C) add_library(jiantstems SHARED usbstream.c) diff --git a/android/stems/app/src/main/cpp/usbstream.c b/android/stems/app/src/main/cpp/usbstream.c index 48dce532..73e2c362 100644 --- a/android/stems/app/src/main/cpp/usbstream.c +++ b/android/stems/app/src/main/cpp/usbstream.c @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Stems: the FM-1's USB audio read (and the phone's mic written) by the app itself, through usbfs on the file // descriptor UsbDeviceConnection hands over, as JIANT Probe 0.2-0.4 proved on the phone (android/probe/.../usbiso.c): // Android's audio framework passes only some of a USB device's channels on to apps (an S23 Ultra: two of eight), so diff --git a/android/stems/app/src/main/kotlin/fm/jiant/stems/EditPage.kt b/android/stems/app/src/main/kotlin/fm/jiant/stems/EditPage.kt index 3f1011a4..e377c2ad 100644 --- a/android/stems/app/src/main/kotlin/fm/jiant/stems/EditPage.kt +++ b/android/stems/app/src/main/kotlin/fm/jiant/stems/EditPage.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Stems: the session page. The lanes' waveforms on one timeline, PLAY / STOP of the mix, a lane's M and S, the // selected lane's GAIN, PAN and SHIFT on the FM-1's cards (drag, double-tap resets), the take's LATENCY (the voice // lanes' shift, by hand), the trim (the orange edges, or SET IN / SET OUT at the playhead), RENAME, EXPORT. Nothing diff --git a/android/stems/app/src/main/kotlin/fm/jiant/stems/Engine.kt b/android/stems/app/src/main/kotlin/fm/jiant/stems/Engine.kt index 1ff5b536..14093eb5 100644 --- a/android/stems/app/src/main/kotlin/fm/jiant/stems/Engine.kt +++ b/android/stems/app/src/main/kotlin/fm/jiant/stems/Engine.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Stems: the recorder. One thread pumps the FM-1's stream for as long as the record page is open: always into // a splitter that only meters, and during a take into one that also writes each armed lane's WAV (the headers // patched every two seconds, so a take cut short keeps what it had). The latency measure is a third kind of diff --git a/android/stems/app/src/main/kotlin/fm/jiant/stems/ExportPage.kt b/android/stems/app/src/main/kotlin/fm/jiant/stems/ExportPage.kt index 7f0e644d..86a6953d 100644 --- a/android/stems/app/src/main/kotlin/fm/jiant/stems/ExportPage.kt +++ b/android/stems/app/src/main/kotlin/fm/jiant/stems/ExportPage.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Stems: the export page. STEMS ZIP (a WAV a lane, as recorded or with the mix, MIX.wav beside them if asked) // or MERGE (the stereo mix, 16 or 24 bit, normalized to -1 dBFS if asked), both over the trim with the latency // applied. SAVE TO FILES opens Android's document picker (Downloads by default); SHARE writes the file to the app's diff --git a/android/stems/app/src/main/kotlin/fm/jiant/stems/ExportProvider.kt b/android/stems/app/src/main/kotlin/fm/jiant/stems/ExportProvider.kt index c564e36b..98048d13 100644 --- a/android/stems/app/src/main/kotlin/fm/jiant/stems/ExportProvider.kt +++ b/android/stems/app/src/main/kotlin/fm/jiant/stems/ExportProvider.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Stems: hands an export to the share sheet (Drive, WhatsApp, mail, Files): a read-only content:// address // for a file in the app's cache/exports, readable by the app picked through the temporary grant the share intent // carries. (What AndroidX's FileProvider does, without AndroidX.) diff --git a/android/stems/app/src/main/kotlin/fm/jiant/stems/MainActivity.kt b/android/stems/app/src/main/kotlin/fm/jiant/stems/MainActivity.kt index f7c58195..284e3846 100644 --- a/android/stems/app/src/main/kotlin/fm/jiant/stems/MainActivity.kt +++ b/android/stems/app/src/main/kotlin/fm/jiant/stems/MainActivity.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Stems 1.0 (android/README.md): record the FM-1's USB stems on the phone, each lane its own WAV, the phone's // mic through the FM-1's last track and back (STEMS+IN) moved earlier by the measured round trip, then trim, mix // and export a ZIP of the stems or a stereo mix. One activity, four pages on a stack: HOME (connect, the takes), diff --git a/android/stems/app/src/main/kotlin/fm/jiant/stems/Player.kt b/android/stems/app/src/main/kotlin/fm/jiant/stems/Player.kt index 5891234f..2cdd4ff1 100644 --- a/android/stems/app/src/main/kotlin/fm/jiant/stems/Player.kt +++ b/android/stems/app/src/main/kotlin/fm/jiant/stems/Player.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Stems: playback of a session's mix (the editor's PLAY), float stereo through an AudioTrack, rendered a block // at a time by the same Renderer the exports use, so mute, solo, gain, pan and the latency shift are heard as they // change. It plays to the phone (headphones, Bluetooth, the speaker), not to the FM-1: in STEMS+IN the FM-1 is a diff --git a/android/stems/app/src/main/kotlin/fm/jiant/stems/RecordPage.kt b/android/stems/app/src/main/kotlin/fm/jiant/stems/RecordPage.kt index 19376268..8fc67f19 100644 --- a/android/stems/app/src/main/kotlin/fm/jiant/stems/RecordPage.kt +++ b/android/stems/app/src/main/kotlin/fm/jiant/stems/RecordPage.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Stems: the record page. The meters of every channel the FM-1 sends (tap one to arm or disarm its lane), the // mic sent to the FM-1 (STEMS+IN: MIC on or off, its gain, the round trip's latency and MEASURE), REC and STOP. A // take stopped goes through the latency: measured in the take when the mic heard the speaker clearly, else the last diff --git a/android/stems/app/src/main/kotlin/fm/jiant/stems/Ui.kt b/android/stems/app/src/main/kotlin/fm/jiant/stems/Ui.kt index 97bcc96f..907f10db 100644 --- a/android/stems/app/src/main/kotlin/fm/jiant/stems/Ui.kt +++ b/android/stems/app/src/main/kotlin/fm/jiant/stems/Ui.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Stems: the FM-1's screen language on the phone (ui_draw.c, the "JIANT Stems App" design): black, cream text, // violet for what is selected, orange for the one active thing, the heat ramp for levels; Chakra Petch; the header // with its badge, the four cards with a label, a value and a hairline gauge, the footer breadcrumb. diff --git a/android/stems/app/src/main/kotlin/fm/jiant/stems/Usb.kt b/android/stems/app/src/main/kotlin/fm/jiant/stems/Usb.kt index 9c7ce5c5..7c3e35f0 100644 --- a/android/stems/app/src/main/kotlin/fm/jiant/stems/Usb.kt +++ b/android/stems/app/src/main/kotlin/fm/jiant/stems/Usb.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Stems: finding the FM-1 among the USB devices and opening its audio the way JIANT Probe's tests 5 and 7 did // on the phone: the audio-streaming interfaces with an isochronous endpoint (IN: the stems; OUT in STEMS+IN: the // mic), their format from the raw descriptors, claimed (the kernel's driver let go of), alternate setting 1 set, the diff --git a/android/stems/app/src/main/kotlin/fm/jiant/stems/Views.kt b/android/stems/app/src/main/kotlin/fm/jiant/stems/Views.kt index 905cf562..681cb164 100644 --- a/android/stems/app/src/main/kotlin/fm/jiant/stems/Views.kt +++ b/android/stems/app/src/main/kotlin/fm/jiant/stems/Views.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Stems: the record page's meters (the FM-1's segmented heat gauges, one a channel, the number badge orange // when its lane is armed) and the editor's lanes (each lane's waveform in heat, the trim's orange edges, the // playhead). diff --git a/android/stems/app/src/test/cpp/usbstream_test.c b/android/stems/app/src/test/cpp/usbstream_test.c index 3000ab19..832ee371 100644 --- a/android/stems/app/src/test/cpp/usbstream_test.c +++ b/android/stems/app/src/test/cpp/usbstream_test.c @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Stems: usbstream.c on the computer, against a pretend FM-1. ioctl() is replaced by a usbfs that completes // the URBs in order (the IN ones full of a counter, 44 or 45 frames a millisecond as the FM-1 sends 44.1 kHz; the // OUT ones recorded) and JNIEnv by the few calls the driver makes. Checks: every frame comes through once, in diff --git a/android/stems/app/src/test/kotlin/fm/jiant/stems/PagesTest.kt b/android/stems/app/src/test/kotlin/fm/jiant/stems/PagesTest.kt index f21190b3..22b6469d 100644 --- a/android/stems/app/src/test/kotlin/fm/jiant/stems/PagesTest.kt +++ b/android/stems/app/src/test/kotlin/fm/jiant/stems/PagesTest.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Stems: the pages on Robolectric (no phone, no FM-1): HOME lists a take written to disk, EDIT draws its lanes, // a drag trims it, M mutes a lane, a card's drag sets a gain, PLAY and STOP run, EXPORT shares a ZIP (through the // app's provider) and a mix, and the edits are saved; the Spanish strings and the record page's meters. diff --git a/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Export.kt b/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Export.kt index 39cb589a..f4b78010 100644 --- a/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Export.kt +++ b/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Export.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Stems: the two exports, both over the trimmed take with the latency compensation applied. // stemsZip: one WAV a lane in a ZIP. As recorded (each lane's own channels, 16 bit: the same samples the FM-1 sent, // only moved and cut), or with the mix (stereo, gain and pan applied, the muted lanes left out); MIX.wav diff --git a/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Latency.kt b/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Latency.kt index abc775b1..fa4dbd83 100644 --- a/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Latency.kt +++ b/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Latency.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Stems: the round trip's latency, measured as JIANT Probe 0.4 (test 7) does. In STEMS+IN the phone's mic // goes out to the FM-1 and comes back in channel 10 (DRY, the mic as it came); with the phone near the FM-1's // speaker the mic hears the stems, so DRY is the stems' sum delayed by the whole loop (the FM-1's output, the air, diff --git a/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Layout.kt b/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Layout.kt index 27beb1e8..0c6357bc 100644 --- a/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Layout.kt +++ b/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Layout.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Stems: what the FM-1 sends in each USB mode (docs/MANUAL.md, "Stems" and "Stems with a voice") and how the // channels group into the lanes the app records, one WAV a lane: // STEMS (0.7.1, 8 ch): T1..T6 (each track mono, before the master), FX L R (the effects' return) diff --git a/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Mixer.kt b/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Mixer.kt index ddf62db0..153618a0 100644 --- a/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Mixer.kt +++ b/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Mixer.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Stems: the session applied to its lanes, a block at a time, for playback and the exports. Each lane is read // at its offset (a voice lane moved earlier by the latency), scaled by its gain, and for the mix panned with a // balance law: centre is unity on both sides (the FM-1's stems are what each track adds to the mix with its pan diff --git a/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Peaks.kt b/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Peaks.kt index 21da83cf..1d4abcf0 100644 --- a/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Peaks.kt +++ b/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Peaks.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Stems: the editor's waveforms (each lane's peak a bucket of frames) and the FM-1's heat colours. package fm.jiant.stems.core diff --git a/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Session.kt b/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Session.kt index b55a9d44..c51b4ed8 100644 --- a/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Session.kt +++ b/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Session.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Stems: a take on disk. A folder with one WAV a lane, exactly as recorded, and session.properties: the name, // the length, the trim, the measured latency and each lane's gain, pan, mute, solo and offset. Editing never // touches the WAVs: playback and the exports apply the session to them. diff --git a/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Splitter.kt b/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Splitter.kt index c3de0105..3cbecac3 100644 --- a/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Splitter.kt +++ b/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Splitter.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Stems: the USB stream (16-bit little-endian frames of every channel, as the FM-1 sends them) split into one // stream a lane, plus the meters and the latency window. One splitter a take; the recorder's thread alone calls it. package fm.jiant.stems.core diff --git a/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Strings.kt b/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Strings.kt index 4cfa13cd..fbe9b4e0 100644 --- a/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Strings.kt +++ b/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Strings.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Stems: every string the app shows, in English and Spanish (rioplatense, as the FM-1's manual). One enum, // so a string cannot exist in one language and not the other; the tests check the format arguments match. package fm.jiant.stems.core diff --git a/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Trim.kt b/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Trim.kt index dfc093a0..1639f986 100644 --- a/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Trim.kt +++ b/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Trim.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Stems (1.1): the editor's trim edges as numbers, apart from the view (LanesView draws and touches them), so the // JVM tests can drag them. 1.0 took a touch anywhere within 22 dp of an edge, on any lane, as a grab, and moved the edge // to the finger at the first jitter: a tap near the end to move the playhead cut the take short, and an edge dragged to diff --git a/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Wav.kt b/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Wav.kt index a31d4e3c..addbbb74 100644 --- a/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Wav.kt +++ b/android/stems/core/src/main/kotlin/fm/jiant/stems/core/Wav.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // JIANT Stems: WAV files. PCM, 16 or 24 bit, any channel count, little-endian; a 44-byte header (RIFF, fmt, data). // Three ways in and out: WavFileWriter records a take (the sizes patched as it grows, so a crash leaves a file that // plays to the last patch, and repair() fixes it fully); WavStreamWriter writes an export of known length straight diff --git a/android/stems/core/src/test/kotlin/fm/jiant/stems/core/ExportTest.kt b/android/stems/core/src/test/kotlin/fm/jiant/stems/core/ExportTest.kt index 163ba199..18efff4a 100644 --- a/android/stems/core/src/test/kotlin/fm/jiant/stems/core/ExportTest.kt +++ b/android/stems/core/src/test/kotlin/fm/jiant/stems/core/ExportTest.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) package fm.jiant.stems.core import org.junit.Assert.assertEquals diff --git a/android/stems/core/src/test/kotlin/fm/jiant/stems/core/LatencyTest.kt b/android/stems/core/src/test/kotlin/fm/jiant/stems/core/LatencyTest.kt index 7e5879d5..957c48ac 100644 --- a/android/stems/core/src/test/kotlin/fm/jiant/stems/core/LatencyTest.kt +++ b/android/stems/core/src/test/kotlin/fm/jiant/stems/core/LatencyTest.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) package fm.jiant.stems.core import org.junit.Assert.assertEquals diff --git a/android/stems/core/src/test/kotlin/fm/jiant/stems/core/LayoutTest.kt b/android/stems/core/src/test/kotlin/fm/jiant/stems/core/LayoutTest.kt index e0678849..fd2db0b3 100644 --- a/android/stems/core/src/test/kotlin/fm/jiant/stems/core/LayoutTest.kt +++ b/android/stems/core/src/test/kotlin/fm/jiant/stems/core/LayoutTest.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) package fm.jiant.stems.core import org.junit.Assert.assertArrayEquals diff --git a/android/stems/core/src/test/kotlin/fm/jiant/stems/core/MixTest.kt b/android/stems/core/src/test/kotlin/fm/jiant/stems/core/MixTest.kt index 5f2ab283..16a3253e 100644 --- a/android/stems/core/src/test/kotlin/fm/jiant/stems/core/MixTest.kt +++ b/android/stems/core/src/test/kotlin/fm/jiant/stems/core/MixTest.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) package fm.jiant.stems.core import org.junit.Assert.assertEquals diff --git a/android/stems/core/src/test/kotlin/fm/jiant/stems/core/SplitterTest.kt b/android/stems/core/src/test/kotlin/fm/jiant/stems/core/SplitterTest.kt index 7d3c3092..699f18b5 100644 --- a/android/stems/core/src/test/kotlin/fm/jiant/stems/core/SplitterTest.kt +++ b/android/stems/core/src/test/kotlin/fm/jiant/stems/core/SplitterTest.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) package fm.jiant.stems.core import org.junit.Assert.assertArrayEquals diff --git a/android/stems/core/src/test/kotlin/fm/jiant/stems/core/TakeLengthTest.kt b/android/stems/core/src/test/kotlin/fm/jiant/stems/core/TakeLengthTest.kt index c926e97c..b99c5df4 100644 --- a/android/stems/core/src/test/kotlin/fm/jiant/stems/core/TakeLengthTest.kt +++ b/android/stems/core/src/test/kotlin/fm/jiant/stems/core/TakeLengthTest.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) // (1.1) A take's length from the recorder to the export: a ZIP exported with the trim at the ends holds the whole take // (a field take of 37.27 s came out 23.49 s); the trim's edges dragged to the ends are the ends exactly, a tap near one // is not a trim, a touch on a lane near one moves the playhead; a take being recorded is never "recovered" (its WAVs cut diff --git a/android/stems/core/src/test/kotlin/fm/jiant/stems/core/WavTest.kt b/android/stems/core/src/test/kotlin/fm/jiant/stems/core/WavTest.kt index 95535498..bbcb0015 100644 --- a/android/stems/core/src/test/kotlin/fm/jiant/stems/core/WavTest.kt +++ b/android/stems/core/src/test/kotlin/fm/jiant/stems/core/WavTest.kt @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-only +// Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) package fm.jiant.stems.core import org.junit.Assert.assertArrayEquals diff --git a/firmware/src/fugue.c b/firmware/src/fugue.c index 5198dab5..14743141 100644 --- a/firmware/src/fugue.c +++ b/firmware/src/fugue.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only */ +/* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */ /* (JIANT 0.6.52) FUGUE (SEQ > FUGUE), after the Fugue Machine: three more playheads on each track, reading the same * steps as the sequencer, each with its RATE (OFF, 1/4 .. x4 of the track's), its DIRECTION (FWD, REV, PING, RND) and * its INTERVAL (-14 .. +14 degrees of the scale; a kit keeps its lanes): canons, counterpoint, phasing out of one diff --git a/firmware/src/gen.c b/firmware/src/gen.c index ca0d0d2d..38af1bc8 100644 --- a/firmware/src/gen.c +++ b/firmware/src/gen.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * JIANT (0.6.91) the song generator, second version: HOME + SELECT opens GEN, a screen of three pages (GENRE SEED * ENERGY FORM; DRUMS BASS CHORDS ARP; LEAD COMPLEX SWING HUMAN), OCT+ makes the piece, HOME (or OCT-) is done. Included by * ui_input.c after song_dice.c (whose helpers it shares: the roles, dhold, euclid, dname_has, dlevel ..). diff --git a/firmware/src/gen_tables.c b/firmware/src/gen_tables.c index 850b2130..a7fc2c83 100644 --- a/firmware/src/gen_tables.c +++ b/firmware/src/gen_tables.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * JIANT (0.6.91) the song generator's knowledge, as constant tables (gen.c reads them; included by it). Everything a * genre knows is written here, nothing is computed: a genre is a row, its drums a map of priorities (after Mutable * Instruments' Grids: a level a step a lane, a hit where the level clears the density), its bass one of ~50 archetypes diff --git a/firmware/src/gen_track.c b/firmware/src/gen_track.c index fd765211..82b193b7 100644 --- a/firmware/src/gen_track.c +++ b/firmware/src/gen_track.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * Selected-track generation. Context and a temporary track live on the main * stack; no audio buffers, project-format changes or new DSP path. */ typedef struct { uint16_t seed; uint8_t genre,role,complex,energy; } tg_config_t; diff --git a/firmware/src/sing_ext.c b/firmware/src/sing_ext.c index b3eeeb29..b76ef11c 100644 --- a/firmware/src/sing_ext.c +++ b/firmware/src/sing_ext.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * Compact transliteration readers. These are deliberately phonetic singing * approximations using VOICE's existing phonemes, not speech dictionaries. * Mandarin takes pinyin (notes determine pitch, not lexical tones). */ diff --git a/firmware/src/song_dice.c b/firmware/src/song_dice.c index a4ff7865..aa28ec93 100644 --- a/firmware/src/song_dice.c +++ b/firmware/src/song_dice.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * JIANT (0.6.26 .. 0.6.83) the song-idea generator's helpers, GEN's now: the roles, the engines' and the scales' numbers, * a tie, a held note, an euclidean rhythm, a name's word, a high part's level, a track's loop and what sounds in it, * SAVE > TOOLS's CPU TEST song. Included by ui_input.c (main loop only), before gen.c. diff --git a/firmware/src/ui_euclid.c b/firmware/src/ui_euclid.c index 3e6e4376..7f90704f 100644 --- a/firmware/src/ui_euclid.c +++ b/firmware/src/ui_euclid.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * JIANT V10.6: SEQ > EUCLID and MODES, a pattern generator in MUTATE's place. Included by ui_graph.c. * EUCLID: KNOB 1 HITS, 2 STEPS, 3 ROTATE spread the hits as evenly as the steps allow (the euclidean rhythm); KNOB 4 a * DRUM track's LANE (each of its eight sounds its own HITS / STEPS / ROTATE, the pattern their least common length up to diff --git a/firmware/src/ui_scene.c b/firmware/src/ui_scene.c index cc132b2c..c9950ccb 100644 --- a/firmware/src/ui_scene.c +++ b/firmware/src/ui_scene.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * JIANT V10.25: SCL > SCENE, the multitimbral mode's page (seq.c scene_key plays it). Included by ui_graph.c. * KNOB 1 SCENE OFF / ON (on: the keys play every track with a role), KNOB 2 the TRACK, KNOB 3 its ROLE (KEEP CHORD ARP * BASS LEAD), KNOB 4 its CHORD (the chord CHORD and ARP play; OFF: a triad of the scale). A role sets its track up: diff --git a/tests/acoustic_store_test.c b/tests/acoustic_store_test.c index a89ad21b..cfc82eb6 100644 --- a/tests/acoustic_store_test.c +++ b/tests/acoustic_store_test.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only */ +/* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */ /* DRUM-X's ACOUST (ADD15, KIT 4 KNOB 1) was retired in V10.6o. A project saved with it set carries its 'D' 'A' block * (between the EQ's and SCENE's in the FUNC tail): it still loads, the value skipped and every block after it read as * stored; a project saved now never writes the block. KIT 4 keeps the KEY MAP (KNOB 2) and stays a DRUM page. diff --git a/tests/chorus_sleep_test.c b/tests/chorus_sleep_test.c index daf71993..e9fcb3cb 100644 --- a/tests/chorus_sleep_test.c +++ b/tests/chorus_sleep_test.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * Compare the zero-ring shortcut against forcing the original three taps. * Covers tails, restart after silence, parameter movement, and LOAD changes. */ diff --git a/tests/chorus_sleep_test.py b/tests/chorus_sleep_test.py index 1ef5763d..23bb6b4f 100644 --- a/tests/chorus_sleep_test.py +++ b/tests/chorus_sleep_test.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 # SPDX-License-Identifier: GPL-3.0-only +# Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) import re, subprocess, sys hashes=[] for mode in ('reference','sleep'): diff --git a/tests/cpu_probe.c b/tests/cpu_probe.c index ece123fb..ca237e38 100644 --- a/tests/cpu_probe.c +++ b/tests/cpu_probe.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * Repeatable host CPU/RAM probe of the actual 0.9.9 DSP. Host timings are * relative comparisons, never FM1 utilization or deadline measurements. */ diff --git a/tests/cpu_vg.c b/tests/cpu_vg.c index a62daf13..64d99e9b 100644 --- a/tests/cpu_vg.c +++ b/tests/cpu_vg.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only */ +/* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */ /* (JIANT 0.6.83) CPU cost on any host with valgrind: the instruction counts of the audio path, counted by callgrind * (the same on every run: exact, unlike the time), section by section, for tests/cpu_vg.py to compare with * tests/cpu_baseline_vg.txt. The proc_pid_rusage counts of regress / reverb_test / mod_test exist on the Mac only; diff --git a/tests/cpu_vg.py b/tests/cpu_vg.py index 642b833c..0c7ce3dc 100644 --- a/tests/cpu_vg.py +++ b/tests/cpu_vg.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 # SPDX-License-Identifier: GPL-3.0-only +# Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) """(JIANT 0.6.83) the audio path's CPU under valgrind (tests/cpu_vg.c): instructions per sample, section by section, against tests/cpu_baseline_vg.txt (peak/*: instructions in the worst single block of the section's rounds). callgrind's counts are exact (the same on every run of the same build), so the diff --git a/tests/drum_voice_extensions_test.c b/tests/drum_voice_extensions_test.c index 832cf8e9..625f9455 100644 --- a/tests/drum_voice_extensions_test.c +++ b/tests/drum_voice_extensions_test.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * Exercise real key ownership, scheduler, rendering, locks and project codec. */ #define DRUM_OCT_NO_MAIN 1 #include "drumx_oct_test.c" diff --git a/tests/empty_fx_test.c b/tests/empty_fx_test.c index 8513f2e8..4746ae0a 100644 --- a/tests/empty_fx_test.c +++ b/tests/empty_fx_test.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * Compare all zero-buffer shortcuts against forcing the original FX kernels. * Covers fresh silence, sends, tails, resets, stereo/grain delay, reverb models, * parameter movement and LOAD changes; hash complete audio, FX state and buffers. diff --git a/tests/empty_fx_test.py b/tests/empty_fx_test.py index a9785f92..eda879a6 100644 --- a/tests/empty_fx_test.py +++ b/tests/empty_fx_test.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 # SPDX-License-Identifier: GPL-3.0-only +# Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) import re, subprocess, sys hashes=[] for mode in ('reference','sleep'): diff --git a/tests/eq_save_cases.h b/tests/eq_save_cases.h index 70568368..9ca58ee6 100644 --- a/tests/eq_save_cases.h +++ b/tests/eq_save_cases.h @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only */ +/* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */ /* The master's EQ and TAPE (params.c eq_v tape_v) through the save flows (Discord: "saving a project resets the * master EQ; sometimes it won't remember it on loading"). */ static void eq_set(int a, int b, int c, int d) { eq_v[0] = (int16_t)a; eq_v[1] = (int16_t)b; eq_v[2] = (int16_t)c; eq_v[3] = (int16_t)d; } diff --git a/tests/fit_storage_cases.h b/tests/fit_storage_cases.h index 908ab414..dc80620b 100644 --- a/tests/fit_storage_cases.h +++ b/tests/fit_storage_cases.h @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only */ +/* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */ static int fit_storage_test(void) { int bad = 0; diff --git a/tests/fit_test.c b/tests/fit_test.c index 33f881f1..93fc7eda 100644 --- a/tests/fit_test.c +++ b/tests/fit_test.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only */ +/* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */ #define UI_TEST_NO_MAIN 1 #include "ui_test.c" diff --git a/tests/fx_rest_test.c b/tests/fx_rest_test.c index 1c6ebce9..afd06684 100644 --- a/tests/fx_rest_test.c +++ b/tests/fx_rest_test.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * (cpu5) the buses at rest (fx.c fx_rest): a chord into CLOUD, the delay (FEEDBK 60) and the chorus, then silence. * Against the same run built with FX_REST_OFF (the reference, fx_rest_test.py builds both): the output is the same * sample for sample until the gate has shut and the rest begins; through the rest both give exact zeros; the rest diff --git a/tests/fx_rest_test.py b/tests/fx_rest_test.py index 3bdc7e5b..5a76684d 100644 --- a/tests/fx_rest_test.py +++ b/tests/fx_rest_test.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 # SPDX-License-Identifier: GPL-3.0-only +# Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) # (cpu5) tests/fx_rest_test.c both ways: BIN_REST (fx.c as built) against BIN_REF (built with -DFX_REST_OFF): the same # output until the gate shut (the hash), exact zeros through the rest both ways (the C checks), the rest engaged. # python3 tests/fx_rest_test.py BIN_REST BIN_REF diff --git a/tests/gen_dump.c b/tests/gen_dump.c index ba9a8705..0098bde8 100644 --- a/tests/gen_dump.c +++ b/tests/gen_dump.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * The generator audited (firmware/src/gen.c): a piece as text, to read its harmony as a musician reads a lead sheet: * the key and the SCALE / CHORD pages as GEN wrote them, the chords bar by bar (a symbol and its roman numeral), every * part a line a bar (the notes by name, '=' held, '.' rest, a chord's notes joined by '/'), each section of a FORM diff --git a/tests/gen_test.c b/tests/gen_test.c index 90c7daea..7f1fec77 100644 --- a/tests/gen_test.c +++ b/tests/gen_test.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * JIANT (0.6.91) the song generator (firmware/src/gen.c) measured: every genre at several seeds and settings, on the * host build of the UI tests. What a piece must always have: the same piece from the same settings (deterministic); * one scale on every melodic track, every note in it (the bass's chromatic approaches excepted) and in its register; diff --git a/tests/loop_song_test.c b/tests/loop_song_test.c index f81e5d5f..2bd6d392 100644 --- a/tests/loop_song_test.c +++ b/tests/loop_song_test.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only */ +/* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */ /* GEN FORM FROM LOOP (gen_loop.c): the loop made a song. The loop's key heard (C major, A minor, a DRUM-X 808 line * alone, drums without a tone: the genre's own; an aggressive phrygian loop, a power riff without a third, a dark * techno loop: phrygian, minor, never major), its chords made again each seed (every chord of the drop holding the diff --git a/tests/performance_probe.c b/tests/performance_probe.c index 28d75156..1631abe3 100644 --- a/tests/performance_probe.c +++ b/tests/performance_probe.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * Repeatable host investigation; ns here are NOT FM1 utilization estimates. * Usage: performance_probe MODE ENGINE PRESET TRACKS NOTES FXMASK RTYPE OPS * MODE: track, mix, fx, idle, fmops, events_idle. FXMASK: chorus=1 delay=2 reverb=4. diff --git a/tests/probability_component_test.c b/tests/probability_component_test.c index 04ac1cf3..8d81d4c5 100644 --- a/tests/probability_component_test.c +++ b/tests/probability_component_test.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only */ +/* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */ /* Drive the real sequencer; the older probability test called seq_step directly and missed component replacement. */ #define UI_TEST_NO_MAIN 1 #include "ui_test.c" diff --git a/tests/rec_play_test.c b/tests/rec_play_test.c index ace64caf..fe938723 100644 --- a/tests/rec_play_test.c +++ b/tests/rec_play_test.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only */ +/* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */ /* REC, PLAY, keys, STOP, PLAY: the take plays back (a YouTube user on V10.7.6: "I pressed record then play and entered * a few notes, pressed stop and pressed play to listen and it played nothing; if I then press record it plays notes I * did not enter"). A GEN song leaves PLAY in SONG mode (gen.c: live.mode, kept in the song index over a power cycle): diff --git a/tests/rec_workflow_test.c b/tests/rec_workflow_test.c index a3cd461e..3747e50e 100644 --- a/tests/rec_workflow_test.c +++ b/tests/rec_workflow_test.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only */ +/* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */ #define UI_TEST_NO_MAIN 1 #include "ui_test.c" diff --git a/tests/seq_clipboard_test.c b/tests/seq_clipboard_test.c index 6ef718c8..5296911c 100644 --- a/tests/seq_clipboard_test.c +++ b/tests/seq_clipboard_test.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only */ +/* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */ #define UI_TEST_NO_MAIN 1 #include "ui_test.c" int main(void) diff --git a/tests/song_generator_test.c b/tests/song_generator_test.c index 2d67b0a0..556d86c6 100644 --- a/tests/song_generator_test.c +++ b/tests/song_generator_test.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only */ +/* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */ /* GEN SONG: distinct parts, complete arranger playback, visible progress and * whole-song SAVE entry. Host UI model; persistence/NOR is tested separately. */ #define UI_TEST_NO_MAIN 1 diff --git a/tests/song_save_cases.h b/tests/song_save_cases.h index 7bf3a214..fc258114 100644 --- a/tests/song_save_cases.h +++ b/tests/song_save_cases.h @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only */ +/* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */ /* Exercise the production song copy against persistence_test's NOR flash, including failed writes. */ static project_store_t source_before[4]; diff --git a/tests/song_save_ui_cases.h b/tests/song_save_ui_cases.h index e3cd55ec..1cc33a76 100644 --- a/tests/song_save_ui_cases.h +++ b/tests/song_save_ui_cases.h @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only */ +/* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */ static int test_song_save_ui(void) { int bad = 0, ok; diff --git a/tests/split_storage_cases.h b/tests/split_storage_cases.h index 4b23d6f9..2f8bcbb0 100644 --- a/tests/split_storage_cases.h +++ b/tests/split_storage_cases.h @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only */ +/* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */ static int split_storage_test(void) { int bad=0; uint32_t sig; diff --git a/tests/step_extensions_test.c b/tests/step_extensions_test.c index e586a2b0..e55e46a6 100644 --- a/tests/step_extensions_test.c +++ b/tests/step_extensions_test.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only */ +/* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */ #define STEP_EXTENSIONS_TEST 1 #include "comp_test.c" diff --git a/tests/stuck_test.c b/tests/stuck_test.c index 249f773d..039db601 100644 --- a/tests/stuck_test.c +++ b/tests/stuck_test.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only */ +/* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */ /* Stuck notes (hanging voices, missing MIDI OUT note-offs): a key or MIDI note held while the state that made its * notes changes (octave, chord, scale, ARP, LATCH, KEY SPLIT, the selected track, a preset or engine load, SCENE's * roles and octave), then let go: every voice it started ends and every note sent on gets its note-off. MIDI IN: diff --git a/tests/track_follow_test.c b/tests/track_follow_test.c index 7e9392f3..7d25b2f3 100644 --- a/tests/track_follow_test.c +++ b/tests/track_follow_test.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only */ +/* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */ #define main hostsim_main #include "hostsim.c" #undef main diff --git a/tests/track_generator_test.c b/tests/track_generator_test.c index 69402b21..266847b0 100644 --- a/tests/track_generator_test.c +++ b/tests/track_generator_test.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only */ +/* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */ #define UI_TEST_NO_MAIN 1 #include "ui_test.c" diff --git a/tests/usb_hotpath_test.c b/tests/usb_hotpath_test.c index 41836c3d..181e3987 100644 --- a/tests/usb_hotpath_test.c +++ b/tests/usb_hotpath_test.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * USB workload regression: use the real firmware stream, count mode reads as * well as checking delivered frames. This is an operation budget, not measured * hardware CPU usage. The old loops exceed 600 reads per packet. */ diff --git a/tests/voice_fairness_test.c b/tests/voice_fairness_test.c index a5226ff1..cc5cbad0 100644 --- a/tests/voice_fairness_test.c +++ b/tests/voice_fairness_test.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * Four single-note lines with overlapping releases. A new note should reuse * that track's released voice before fading another track's audible tail. */ #define main hostsim_main diff --git a/tests/voice_user_cases.h b/tests/voice_user_cases.h index f4b93265..4be97185 100644 --- a/tests/voice_user_cases.h +++ b/tests/voice_user_cases.h @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only */ +/* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */ static int voice_user_test(void) { int bad = 0, rc; diff --git a/tools/dice_render.c b/tools/dice_render.c index fa679ea2..05316218 100644 --- a/tools/dice_render.c +++ b/tools/dice_render.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * (JIANT 0.6.80) DICE ALL heard: pieces from the generator (firmware/src/song_dice.c) on the host build of the tests, * the real engines playing each at its tempo, written as WAV files, to compare the generator before and after a * change by ear. Each argument is STYLE:ENERGY:SEED (the genre's index in GENRE (gen_tables.c), the energy 0..2, any seed: the same diff --git a/tools/gen_logo.py b/tools/gen_logo.py index 23d14efb..976e1639 100644 --- a/tools/gen_logo.py +++ b/tools/gen_logo.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 # SPDX-License-Identifier: GPL-3.0-only +# Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) """V10.6l: the power-on logo, "jiant fm" (assets/ui-art/signature/jiant-fm-logo.jpg), as the owner writes it: his pen's path read off his screen recording (below), smoothed (Catmull-Rom) and resampled every ~STEP px at the splash's scale. Out: firmware/src/ui_signature.h, SIG_PTS x y bytes a point, a stroke starting where y has bit 7 set. diff --git a/tools/gen_nav_map.py b/tools/gen_nav_map.py index ebc0942f..8c8f2bdc 100644 --- a/tools/gen_nav_map.py +++ b/tools/gen_nav_map.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 # SPDX-License-Identifier: GPL-3.0-only +# Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) """(JIANT 0.9.2) The navigation map: every section (its button), its groups (the tabs) and its pages in chain order, with the six rules, the held layers and the combos, read from the firmware's own chain tables (firmware/src/ui_lens.c CE_* / CG_* / CHAINS / NAV_DEF), so the map cannot drift from the firmware. diff --git a/tools/gen_readme_hero.py b/tools/gen_readme_hero.py index 8f2dd4f7..d3f8f6e0 100644 --- a/tools/gen_readme_hero.py +++ b/tools/gen_readme_hero.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 # SPDX-License-Identifier: GPL-3.0-only +# Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) # (JIANT 0.5; 0.6.30: from the presentation video's footage) the README's images, docs/jiant-hero.png and # docs/jiant-screens.png. (0.9.2) From the firmware's own renders in the default skin on the JIANT palette (0.9.7: AIR, # tests/ui_render.c -> build/ui_new/AIR_JIANT/.png, with MENU > DISPLAY > SCOPE OFF as a new FM-1 has it: the diff --git a/tools/gen_signature.py b/tools/gen_signature.py index 307645b2..c254e1e7 100644 --- a/tools/gen_signature.py +++ b/tools/gen_signature.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 # SPDX-License-Identifier: GPL-3.0-only +# Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) """JIANT 0.5: the power-on signature (assets/ui-art/signature/jiant-fm1.jpg, white ink on black) as strokes. gen_signature.py IN.jpg OUT.h [--png PREVIEW.png] diff --git a/tools/gen_ui_shapes.py b/tools/gen_ui_shapes.py index 7cd94883..84d53f8b 100644 --- a/tools/gen_ui_shapes.py +++ b/tools/gen_ui_shapes.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 # SPDX-License-Identifier: GPL-3.0-only +# Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) """JIANT FM's line art: SVG paths -> ui_shapes.h (run by tools/build.py generate()). gen_ui_shapes.py OUT.h [SVG_DIR] (default: assets/ui-shapes) diff --git a/tools/preset_mods_js.py b/tools/preset_mods_js.py index 6d2b7d26..56c43174 100644 --- a/tools/preset_mods_js.py +++ b/tools/preset_mods_js.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 # SPDX-License-Identifier: GPL-3.0-only +# Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) """(V10.6i) A factory preset table's entries as web/editor.html writes them: P(name, e, env, mono, pat, xp, mod), mod the preset's MODS (core.h) expanded to [parameter, value] numbers. tools/preset_mods_js.py ENGINE_FILE ARRAY prints them, one a line; the editor's tables are kept equal to the firmware's (web/test_web.mjs compares the names)""" diff --git a/tools/render_cheatsheets.mjs b/tools/render_cheatsheets.mjs index 1141cf7a..33c66fa5 100644 --- a/tools/render_cheatsheets.mjs +++ b/tools/render_cheatsheets.mjs @@ -1,4 +1,5 @@ // 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"; diff --git a/tools/video/beings.js b/tools/video/beings.js index daf9e970..775af7ef 100644 --- a/tools/video/beings.js +++ b/tools/video/beings.js @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * (JIANT 0.8.0) the beings of the design studies (firmware/src/ui_being.c, ported to the canvas, with organelles): * the palette, the heat ramp, the genomes, organism(); for the films (tools/video/tutorial.html) */ /* ---------------------------------------------------------------- palette: JIANT + heat_col + the plates' inks --- */ diff --git a/tools/video/capture.c b/tools/video/capture.c index 05e3ef2d..ddb6a0ee 100644 --- a/tools/video/capture.c +++ b/tools/video/capture.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * (JIANT 0.6.11; 0.6.37 dark minimal techno) the presentation video's footage: the firmware's own UI and audio, from the * host build of the tests (tests/ui_test.c): a dark minimal techno track at 125 BPM in A minor (six tracks: low FM6 * chords held for two bars, an acid line on ANALOG, a cyber line on PHASE, LOFI blips, DRUM-X, NOISE wind) played by diff --git a/tools/video/capture_chord.c b/tools/video/capture_chord.c index e2677635..cb6b6569 100644 --- a/tools/video/capture_chord.c +++ b/tools/video/capture_chord.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * (JIANT 0.6.84) the story announcing that CHORD is back (1080 x 1920, tools/video/stories.html): a soft lo-fi song in * A minor at 96 BPM played by the real engines, a key at a time on the CHORD track, while the script shows what CHORD * does: one key one chord, always in key (TRIAD, 7TH, SUS4), VOICING LEAD, STRUM, recorded whole into the piano roll diff --git a/tools/video/capture_dark.c b/tools/video/capture_dark.c index cf875296..731ff24c 100644 --- a/tools/video/capture_dark.c +++ b/tools/video/capture_dark.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * (JIANT 0.6.66) the v5 films' footage: a darkwave song in E minor at 132 BPM (a cold post-punk drum machine, an * 8th-note bass, chorused plucks, frozen strings, a choir and a melancholic lead: six tracks on six engines) played by * the real engines, the screen captured at 30 fps while a script goes through one film: diff --git a/tools/video/capture_dice.c b/tools/video/capture_dice.c index 23ac67cf..2fd812dc 100644 --- a/tools/video/capture_dice.c +++ b/tools/video/capture_dice.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * (JIANT 0.6.34; 0.6.35 short, no names) the DICE ALL film's footage: the generator thrown live on the host build of the * tests (tests/ui_test.c), the real engines playing each piece at its own tempo, the FM-1's screen at 30 fps. About a * minute: a first piece under the splash, then a throw every four seconds or so, each one HOME + SELECT (the dialog), diff --git a/tools/video/capture_promo.c b/tools/video/capture_promo.c index bb6741e4..7fc04cf6 100644 --- a/tools/video/capture_promo.c +++ b/tools/video/capture_promo.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * (JIANT 0.6.68) the presentation film's footage: a dark hypnotic techno / IDM piece in F minor at 128 BPM played by * the real engines (a huge mono FM6 bass with a long release and a driven glide, a punk lead in octaves on a sync saw * through FOLD, DRUM-X techno, LOFI blips made of step components, a choir and wind for the mysteries, a CLOUD reverb diff --git a/tools/video/capture_shots.c b/tools/video/capture_shots.c index 22a93a2f..efbaaf41 100644 --- a/tools/video/capture_shots.c +++ b/tools/video/capture_shots.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * (JIANT 0.6.89) the README's newer screens: the presentation song (capture.c's) plays a few bars, then each page * below is shown with something on it (the lead off the grid on TIMING, HUMAN turned, the delay feeding back, ...) * and its screen, after a second of it alive, goes to shots.rgb (240 x 240 RGB24 each, in this order; names in diff --git a/tools/video/capture_story.c b/tools/video/capture_story.c index 10c9ef84..c1df310b 100644 --- a/tools/video/capture_story.c +++ b/tools/video/capture_story.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * (JIANT 0.6.69) the Instagram stories' footage (1080 x 1920, tools/video/stories.html): a dark, pompous synth-pop * song in D minor at 112 BPM, Depeche Mode's way (an octave bass in 8ths, FM brass stabs, a big choir, a melancholic * bell lead, stomping drums with metal and an anvil), played by the real engines, while one of two scripts runs: diff --git a/tools/video/capture_tutorial.c b/tools/video/capture_tutorial.c index 787c987a..ad043cc1 100644 --- a/tools/video/capture_tutorial.c +++ b/tools/video/capture_tutorial.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * (JIANT 0.8.0) the tutorial film's footage (tools/video/tutorial.html, in Spanish): a dark, evolving, spacious but * percussive piece in F minor at 116 BPM played by the real engines (TECHNO RAW drums, a REESE bass, a DARK PAD, a * PD LEAD with its filter envelope and a dotted delay, an FM PLUCK arpeggio, METAL hits in the reverb), arranged by the diff --git a/tools/video/capture_update.c b/tools/video/capture_update.c index 05e872fd..8b61d481 100644 --- a/tools/video/capture_update.c +++ b/tools/video/capture_update.c @@ -1,4 +1,5 @@ /* SPDX-License-Identifier: GPL-3.0-only + * Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) * (JIANT 0.7.2) the news film's footage (tools/video/update.html, in Spanish): the piece is the song generator's own * (POST PUNK, a seed, FORM CLUB: an arrangement with rows), played as a song by the real engines while the script goes * through what came in 0.6.99 .. 0.7.2: the generator, the presets, the DRUM-X kits, the punch-in sequencer, WALK / diff --git a/tools/video/compose.py b/tools/video/compose.py index 4321b6f6..690db1f6 100644 --- a/tools/video/compose.py +++ b/tools/video/compose.py @@ -1,4 +1,5 @@ # SPDX-License-Identifier: GPL-3.0-only +# Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) # (JIANT 0.6.11; 0.6.37 the landing's look) the presentation videos: tools/video/capture.c's (or capture_dice.c's) # footage, the FM-1's screen at 30 fps and its audio, composed at 1920 x 1080 as the README's hero page is drawn # (tools/gen_readme_hero.py): pure black, the signature in heat colours, JIANT FM in bone white, the heat rule (cyan, diff --git a/tools/video/film.html b/tools/video/film.html index 1daffd33..6253f671 100644 --- a/tools/video/film.html +++ b/tools/video/film.html @@ -1,5 +1,6 @@