Merge branch 'codex/clean-authorship' into codex/swarm

This commit is contained in:
Claude committed 2026-11-11 18:54:10 +00:00
commit bcb1d20f70
291 files changed
+401 -147

No files matched your search

+6 -1
View File
@@ -5,7 +5,12 @@ Felucca is free software, licensed under the GNU General Public License, version
bundled or ported parts keep their own licences; they are listed below, and their licence
texts are in `LICENSES/`.
Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments (Felucca)
Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) (JIANT FM: modifications and new files)
Each source file names its own authors in its header: a file that holds Felucca's code keeps
Leo Kuroshita's notice (with "Portions Copyright ... Juan Jiant" where JIANT changed it); a file
written new for JIANT FM names Juan Jiant only.
## What is GPL-3.0-only
+2 -1
View File
@@ -463,7 +463,8 @@ Free software: [GPL-3.0-only](LICENSE), like Felucca. The fonts and the ported D
FM-1 are trademarks of their owners; JIANT is not affiliated with or endorsed by them.
Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments — Felucca.
JIANT's modifications are distributed under the same license.
Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) — JIANT FM's modifications and new files, distributed under the
same license.
## Changelog
@@ -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)
+1
View File
@@ -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
@@ -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
@@ -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)
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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.)
@@ -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),
@@ -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
@@ -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
@@ -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.
@@ -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
@@ -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).
@@ -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
@@ -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.
@@ -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
@@ -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,
@@ -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)
@@ -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
@@ -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
@@ -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.
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* FELUCCA memory map.
* Code + constants execute in place from XIP (app.bin offset 0 = 0x02000120).
* RAMTEXT (JIANT 0.6.78: at the top of the pool, was 0x01C00000): .ram_text (code that must run while the flash is
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* FM-1 standalone app entry. The SPL maps app.bin
* at XIP 0x02000120 and jumps to its first byte with r0 = boot-parameter block
* (0x01C7FE08, inside the vector table we are about to own). The SPL expects
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* FM-1 SARADC: PB6 = MASTER pot (ch4),
* PB1 = battery divider (ch3). Polled, 10 bit, from the main loop.
* (V10.6z5) Also two of the key matrix's rows, PA7 (ch0) and PA8 (ch1), for the velocity diagnostic
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* FM1_INLINE: register helpers that must inline into their caller, so the
* SFR access sequence (and its timing, in ISRs and IRQ-off sections) is the
* one written at the call site; -Os would otherwise out-line a helper with
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* FM-1 SPI NOR at runtime: erase / program / read. Used only when
* FELUCCA_FLASH is 1.
*
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* FM-1 hardware guards (after the SDK's
* cpu/wl82/debug.c). Every violation raises the CPU exception (vector 1) and
* ends in the fault report of fm1_irq.h, so install that first.
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* FM-1 input HAL: key/button/encoder matrix and LEDs.
*
* One 11-column x 6-row diode matrix behind a 2x74HC595 chain (PA4 SER, PA3
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* FM-1 system HAL: P33 access, watchdog, reset reason, reboot / UBOOT entry
* No vendor code; call with interrupts off
* (no IRQs are enabled yet, so nothing else touches P33).
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* FM-1 USB0 full-speed device controller, register level only
* The protocol (descriptors, EP0 requests,
* MIDI / CDC / SysEx) is the driver src/usb.c, shared with the update loader
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* 128 fatal-vector stubs, 6 bytes each: VEC[n] = fm1_fatal_stubs + 6*n.
* The call leaves rets = stub + 6, so common code recovers n. */
.section .text.fm1vec,"ax",@progbits
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* Felucca update loader, the portable part (step 2 of the M-UPGRADE update
* protocol).
*
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* I2S output (ALNK0 -> external codec) and the
* audio ISR: per half buffer, blocks of CTL samples: mix_block (fx.c: events ->
* each synth part -> dist -> level / pan -> sends -> buses -> master) -> USB audio (uac_tap) -> the metronome's
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* Serial console on the CDC-ACM function (FELUCCA_CDC=1): read-only
* diagnostics. Runs in the main loop (cdc_task); usb_poll moves the bytes.
* The baud rate is ignored. Nothing here writes memory or flash; `uboot`
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* FELUCCA core types: tracks, voices, engines, parameters.
* Four tracks, each a synth part: its own engine, preset, parameters, voices and 64-step
* pattern. The parts share a measured-load budget of sounding voices (voice.c). Drums are the DRUM
+1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant)
* JIANT (FELUCCA TONIC): DRUM-X, after the idea of Sonic Charge's Microtonic (a tuned oscillator with a pitch
* envelope and FM, a filtered noise generator, their envelopes, two patches and a MORPH between them), built anew
* small and in fixed point for the FM-1. */
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* Shared DSP building blocks for the Felucca engines (all fixed point).
* Voice output convention: add sample * amp to out[], where a full-scale
* oscillator at amp = 1.0 (Q15 32767) contributes VOICE_FS. */
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* Editor protocol: SysEx for the web editor (web/EDITOR_PROTOCOL.md; v2 = user presets + live sync,
* v3 = four tracks: the v1 / v2 commands act on the selected track, cmds 27-30 reach any track;
* v4 = TRACK_PARAM (31) and the TRACK_CHANGED push (32), enabled by WATCH bit 1).
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* Complete musical archive: no raw addresses are accepted. Small objects are staged
* in main-loop RAM and fully validated before the existing A/B commit path writes.
* Ids 32..34 (Felucca's user sample slots) are gone with the slots (JIANT has none).
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* Editor protocol: the FM6 patches (EDITOR_PROTOCOL.md "FM6 patches", cmds 68..71). A patch travels as the
* 128-byte packed record (every byte 7-bit: no pack7). Targets: 0 a track's own patch (index 0..3), 1 the patch bank
* (retired in 1.0.3: GET / PUT / ERASE answer rc 3, "no bank"; LIST counts 0 bank slots), 2 a factory patch
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* MENU's settings for the editor (EDITOR_PROTOCOL.md "MENU settings"): MENU_DESC describes one, MENU_SET sets one;
* INFO 4E 01 count. The editor builds its settings from these; the values, names and the apply path are the menu's
* own (menu_items.c), so the two cannot differ. CALIBRATION and ABOUT are not offered (no value). 1.0.5: each reply
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* ANALOG: two band-limited oscillators (saw / square / tri / sine / PWM),
* noise, drive and a trapezoidal low-pass. (JIANT 0.4, TRIO folded in: TRIO's sounds play here, project.c) three more
* WAVEs in a loop of their own (analog_ext): SYNC (osc 2's saw restarted by osc 1, DTN its ratio 1 .. 8.9: the sync
+1 -1
View File
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* ANIMAL (JIANT 0.8.3): animal calls from four cheap physical primitives (reports/Síntesis bioacústica de animales.md):
* a source that oscillates or strikes, one or two resonators it excites, and a slow layer of pressure, tension and
* rhythm. MODE picks the source; each mode reads the eight knobs its own way (animal_desc):
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* DIGITAL: four-operator FM. Retired (replaced by FM6): built with FELUCCA_FM4=1 only (engines.c); its tables,
* presets and the conversion of its sounds to FM6 are in fm4_convert.c. */
/* Four sine operators, eight classic 4-operator algorithms (ALG = P_E0, EDIT 1 KNOB 1),
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* DRUM: JIANT's drum engine, DRUM-X (drumx_voice.c, after Sonic Charge's Microtonic): a kit of 8 lanes, KICK, SNARE,
* CLAP, HAT CL, HAT OP, TOM, RIM, BELL, each a synthesized sound with two patches A and B and a MORPH between them.
* The kit is the section's (drumx_voice.c dx_kit), edited on EDIT > SOUND. Felucca's DRUM kits (STD and the model
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* FM6: classic 6-operator FM. The synthesis is msfa (Dexed's core), ported to integer C in fm6_core.c
* (Apache-2.0); this file is the Felucca engine around it.
*
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* VOICE: formant oscillator, sung vowels from the keyboard. 4 voices.
* After D. H. Klatt, "Software for a cascade/parallel formant synthesizer",
* JASA 67 (1980): a glottal source (derivative of a Rosenberg (1971) pulse,
+1 -1
View File
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* (V10.54) INPUT: a track that plays the audio input instead of a synth (engine 15).
* The input is the USB audio one: an interface on the USB host port (usb_host.c, V10.53) or the computer's USB IN+OUT
* (usb.c uac_in_fill), a block of stereo Q15 in uin_l / uin_r (uin_on: this block holds it).
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* (V10.6d) MATH (was LOFI): the formulas alone, BYTE (bytebeat) and FLOAT (floatbeat). The chip waves (PLS TRI SAW
* NOIS WRAM, the STEP envelope) were redundant beside ANALOG (the user's call): a sound of theirs that arrives -- a
* project, a user preset -- plays as ANALOG's nearest (core.h analog_from_chip). The engine's number (3) and its stored
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* NOISE: from analog-style noise to shift-register noise, through a resonant filter.
*
* MODE picks the source:
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* Phase distortion. The waveforms are a C port of the oscillator of
* CrispyZebra (Leo Kuroshita, GPL-3.0, github.com/hugelton/CrispyZebra), the
* author's own phase-distortion core: a -cos table read through a bent phase whose
+1 -2
View File
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* STRING (JIANT 0.9.9-snd5): a plucked, struck or bowed string, Karplus-Strong. A delay line a period long, filled
* with the EXCITE at the note (noise, a plucked noise, a pick's triangle, a hammer's or a mallet's bump, at POS along
* the string), read back through a two-point average, a one-pole low-pass (BRIGHT: the loss of the highs each pass)
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* WHEEL: a tonewheel-style additive organ. Felucca's own design.
*
* Partials: nine sines per voice at the classic drawbar footages, 16' 5 1/3' 8' 4' 2 2/3' 2'
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* Engine table (order = PRESETS browsing order and the engine numbers of the editor protocol), the
* factory patterns (SEQ > PATTERNS) and the parts' sounds at power-on. */
#include "dsp.c"
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
#define FELUCCA_FAVORITES 1
/* Stable engine/preset references; fixed capacity independent of optional engines. */
typedef struct {
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* FELUCCA: one compilation unit (the HAL is header-only). Each file uses what the files above it
* define, so the order matters. */
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* DIGITAL (engine 1, four-operator FM): retired, and its sounds converted to FM6.
*
* "The DIGITAL engine has been replaced by FM6 (Dexed-based)" (1.0). Its DSP stays in the tree (eng_digital.c)
+1
View File
@@ -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
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* Effects: per-track DIST insert, then sends into three
* shared buses (chorus, tempo delay, reverb). Mono buses, stereo dry mix. */
/* (0.8.4) the delay's line: DLY_LEN samples of int16 (params.c, the one constant of its size; a power of two). It runs
+1
View File
@@ -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 ..).
+1
View File
@@ -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
+1
View File
@@ -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;
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* Small-canvas renderer (no full framebuffer). Draw text/lines into
* an off-screen strip, then blit it in one DMA transfer. Pixels are stored
* byte-swapped (the panel takes RGB565 big-endian).
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* Icons: 4-bit alpha cells of the Fukiai icon font (MIT), Huffman-coded (cv_alpha_hc), 12 px (parameters, lists) and 16 px
* (header, dialogs, menu): web/fukiai.ttf -> build/gen/ui_icons.h
* (tools/gen_aa_icons.py; names from assets/icons.json). Which icon a parameter gets is decided
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* ST7789-class 240x240 panel on SPI1:
* PC9 CLK, PC10 DO, PC7 CS, PC8 D/C, backlight PA2 active low. Polled DMA
* transfers; every source buffer must be in RAM.
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* The few libc routines the compiler may call implicitly (struct copies,
* zeroing). Freestanding: no other libc. */
void *memset(void *d, int c, unsigned n)
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* FELUCCA boot and main loop. Boot order: WDT first, boot-loop guard, fatal vectors,
* guards; then LCD, input (TIMER5 IRQ, 10 kHz), audio (ALNK0 IRQ). */
extern uint32_t _data_start[], _data_end[], _data_load[], _bss_start[], _bss_end[];
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* MENU's rows and their settings: what ui_menu.c draws and steps, and what the editor reads and sets (editor_menu.c
* MENU_DESC / MENU_SET). One apply path for both: menu_put. Grouped: the screen (COLOR, SKIN (0.8.9), STYLE, LARGE, ANIM, LEDS; 1.1.5:
* SCREEN OFF), the
+2 -1
View File
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Adapted from MIDI clock contributions by ChanceTheMaker and keremimo (2026).
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* Audio ISR state. Input timestamps keep USB/TRS jitter outside the render loop. */
static struct {
uint32_t pos, rendered, last_ms, start_ms, rem, interval_ms;
+2 -1
View File
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Adapted from MIDI control contribution by ChanceTheMaker (2026).
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* Shared USB/TRS channel controls. Included by seq.c after its input helpers.
* USB and TRS intentionally share channel state, matching the existing routing.
* A synth part has one live bend/wheel state; channels assigned to the same part
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* Modulation matrix: per track four slots, each SRC -> DST by AMT (-64..63), added to the fixed
* routings (ENV DEST, LFO DEST). Runs in the audio ISR (fx.c mix_part, voice.c track_render).
*
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* Sparse, bounded step automation. Main-loop writes publish under the same
* interrupt guard as parameter batches. The ISR only scans 64 fixed records.
* p[] is the sounding value; motion_base_value() is the patch's saved value.
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* M-UPGRADE entry: "step 1 lite".
*
* The updater talks SysEx (F0 pack7(00 59 cmd len24 body chk) F7):
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* Physical panel: which matrix button / encoder carries which printed label.
* The matrix ids are known, the printed labels are not, so
* the mapping is a table with a best guess, overridable by HARDWARE CALIBRATION
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* Parameter descriptors, formatting and the page table. */
static const char *const N_LWAVE[] = {"SIN", "TRI", "SAW", "SQR", "S&H"};
static const char *const N_LWAVE6[] = {"SIN", "TRI", "SAW", "SQR", "S&H", "DRIFT"}; /* (V10.36) the LFO's own: AUTO PAN keeps five */
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* PERFORM: the effects of the FX hold layer, on the master. A key pressed while FX is held belongs to the
* layer (seq.c keyboard_block): it plays no note, sends no MIDI, records nothing, and holds its effect until
* it is let go (ui_input.c opens the layer and shows the map). The 5 white keys from the left (F3 .. C4):
+1 -1
View File
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* PFX (JIANT, FELUCCA-TONIC-SPEC.md fase 7): the punch-in MIDI effects of the FX layer. They act on the notes and
* the sound of the tracks while their key is held (or latched: FX LATCH), never on what is stored: let go, all is
* as it was. White keys after the audio ones (perform.c PF_*):
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* Projects: four slots. The slots live in .noinit RAM: they
* survive resets and UBOOT entry. With FELUCCA_FLASH (default) every save
* also goes to flash through storage.c, and an
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* Optional keyboard split. Kept in the pool so DSP globals retain their addresses.
* on, physical cut (0=13), low/high track, low/high signed octaves, MIDI channel, MIDI cut (0=60). */
static uint8_t split_cfg[8] __attribute__((section(".pool")));
-1
View File
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* LIVE (main 0.9.11, ported to seq-v2 in p2): the sequencer's live modifiers, GLO > LIVE (the approved mock-up
* secuencias.html: MANO, its V3, and RIELES, its V1; the pages are ui_live.c). Per track, never destructive: they change
+1 -1
View File
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* VOICE words (JIANT 0.8.5): the VOICE engine sings syllables, words and lyrics (included by eng_formant.c).
*
* LANG (EDIT > WORDS, P_VLANG: OFF ES EN JA; OFF is VOICE as before, its vowels) turns a VOICE track into a singer: each
+1
View File
@@ -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). */
+2 -1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
/* SLICER (JIANT 0.6.3: one, on a bus): a tempo-synced 16-step gate / stutter on the tracks routed to it (SL BUS: T1..T6
* ON / OFF) and, with FX ON, on the delay, reverb and chorus returns too: everything ON, the whole mix's stutter after the
* effects, a sampler's cut. The routed tracks reach it after their DIST, filter, LEVEL and PAN (fx.c mix_part: into
+1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
* Portions Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant)
* JIANT (FELUCCA TONIC): the song as SLOOP 2.4.1 plays it (isod89/sloop-fm1, GPL-3.0: arranger.h, arranger_scene.c,
* its live sections, quick chain and SONG REC), rebuilt on Felucca's sequencer. */
/* The song (docs/TONIC-SONG-PLAN.md). Four sections A..D, the four saved projects: a section is the whole project, the
+1
View File
@@ -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.
Loaded 100 of 291 files, more files were not shown because too many files have changed in this diff. Show more