Previously these components forced legacy 100%, even on a step configured at 0%. Keep the destination probability before overwriting the rendered copy, including aliased C.LEN input. Test the production sequencer on ANALOG and DRUM at 0/25/50/100 percent. Leave punch-in FX unchanged per the user's verified emulator report.
Add SEQ > LENGTH > RHYTHM (LEN, SPAN, FIT, DIV), a no-drift rational clock and fitted gates. Save the per-track settings in a backward-compatible optional project extension and stage them with arrangement sections. Keep parameter IDs and track size unchanged. Validate 18:16 synchronization, swing, microtimed audio, NOR persistence and SAVE SONG AS; build an isolated candidate without deploying installers.
Copy sections A-D, unsaved live edits, current globals, arrangement scenes, per-track sources and variations into a selected project. Confirm complete-song replacement, preserve the source, and keep the naming dialog on save failure. Validate NOR persistence and UI flows; build a candidate without deploying installers.
Keep EP4 OUT reception on its 2 kHz tick while ALNK0 renders. Full USB control/MIDI polling remains deferred. Test the production TIMER5 body against a one-packet RX model and actual resampler across render loads and USB phases.
Keep interpolation products inside int32 with Q15 phase. Cover all 65536 phases and both channels against an int64 reference; no additional audio buffers or 64-bit multiplies in the audio ISR.
The user: RPT 1/8 dimmed at 61 BPM. A REPEAT longer than the loop at
22 kHz (371 ms) now records four samples a frame (11 kHz, up to 742 ms)
and reads them linearly: 1/8 from 41 BPM (was 81), 1/16 from 21 (was
41). The shorter REPEATs and GLITCH as before, bit for bit (pb_rec's
mean of 2, pb_at's quarter-frame read). perform_test: 72 BPM plays and
loops the input of a 1/8 before (9.5 %), 36 BPM nothing, the new fits.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
Users' reports. Every read of a stored project or section (a slot
checked, a section listed: GLO's pages among them) set the EQ and TAPE
playing to the stored ones (flat when none): they now go into the
project read (project_t eq / tp) and are applied only when it is loaded
(project_restore_runtime), captured with it on a save. MENU drew its
panel at COLORS' place in BOTTOM and HUD, over their foot cards (a blank
band above it): the panel right under the tabs there. AIR's HOME: the
beings swim under its cards. Test: a read leaves the EQ and TAPE alone,
a load brings the project's (none: flat).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The user's OP-Z, and the many interfaces without 44,100: an interface
whose rates have 48,000 and no 44,100 is set to 48 kHz and read at the
I2S clock from a step of 48 / 44.1 (the reader's interpolation and drift
steering as before); packets of up to 50 frames taken (UI_MAXF_RX, the
device side's EP4 size unchanged). The refusal now says 44.1-48K.
Tests: the parser takes a 48 kHz-only capture (r48) and keeps 44.1 when
both are offered; uac_test reads a 48 kHz host stream settled, no
underrun, a 1 kHz sine clean (SNR 63 dB).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The user: recording from KOALA with IN+OUT on looped into a digital
feedback (the app sent the FM-1's own output back, mixed in again).
The input now sounds where an INPUT track takes it; STEMS+IN keeps the
last track's mix in its own stem as before. audio_test: IN+OUT alone
silent, the old checks under STEMS+IN.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
GEN chose FM6 presets 8..12, 14 and WHEEL 5, 6 by number for its roles;
V10.42 replaced those sounds, so its bells played a SUB BASS, its EPs and
plucks leads, its organs a pedal bass. The roles take today's nearest.
INPUT's meters keep FOLLOW's frame with the input silent (SCOPE OFF).
Tests: the DJ FILTER recorded from LIVE > MANO (MIXER KNOB 4 is BPM since
V10.37) and its centred render's hash; the roll's x2 step counted in runs
(13 px columns since seq2b); DRUM-X OCT's rec helpers renamed (they
clashed with ui_test's); INPUT and FOLLOW in the engine / source lists.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The user's ask: the audio input routed to tracks (IN 1, IN 2, 1+2, stereo),
the track in an audio mode, an envelope follower to modulate with.
Engine 15 INPUT (eng_input.c) plays the USB audio input (an interface on
HOST, or the computer's USB IN+OUT): SOURCE IN 1 / IN 2 / 1+2 / STEREO
(the image through the part's chain as IMAGE keeps it), GAIN, GATE, PLAY
THRU / KEYS (at a note's envelope), WIDTH, RING, BITS, RATE; nine presets.
While a track is INPUT the last track's IN+OUT mix steps aside. FOLLOW:
the input's envelope as a matrix source (mod.c). EDIT shows both inputs'
meters, GATE's level and FOLLOW (Bluetooth segment). Engine 15 appended
(NENGINES 16): stored SAMPLE tracks still load as ANALOG. audio_test
covers the routing, the image and FOLLOW.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The user's ask: an external audio input into the synth through a USB
audio interface on a powered hub. In HOST mode a device that is not
USB-MIDI is looked at as a USB audio 1.0 capture: the first streaming
alternate setting with an isochronous IN endpoint, PCM 16-bit, mono or
stereo, 44.1 kHz among its rates (usb_host_desc.h uh_parse_uac, tested
with a UM2-like descriptor and refusals). It is selected, set to 44.1 kHz
(SET_CUR, a new short OUT control transfer) and read each frame in
TIMER5 into USB IN+OUT's ring (uin_take, a mono one doubled), so it plays
through the last track as IN+OUT's host audio does (its drift-steered
reader, LEVEL, PAN, sends). The main-loop side in the Bluetooth segment;
the configuration buffer 512 bytes. Not yet tried on hardware.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The user: no visual feedback for IMAGE. The page now draws the stereo
field L .. R; each voice sounding a blob at its place, sized by its level
now, its note over it (IMAGE 0: the notes in a row), the silent ones a
tick, the span IMAGE opens as a bar. Redrawn as levels and notes change.
Tests: go_title takes the page of a title this track shows (two STEREO).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The user: V10.47's follow did nothing. The bar was chosen in the roll's
drawing, but the panel is redrawn only when graph_signature changes, and
a playhead outside the bar shown is masked out of it: no redraw, so no
follow. pr_follow_bar now runs in graph_signature. A test (64 steps, the
playhead at 40 then 52, touched / untouched) fails without the fix.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The user's report on V10.49: on VOICE the STEREO card showed LYRIC, since
P_DXIMG is VOICE's lyric slot. A synth's IMAGE is now P_SIMG (the lane-1
level's slot, unused by synths, stored inverted: every part's 127 reads
0 %), on its own STEREO page.
EDIT's chain: the sound's pages first (FILTER MORPH RETRIG ROTOR WORDS
STEREO), FOCUS, then VOICE and VOICE 2 in a group of their own; FM6:
FILTER STEREO, the operators, then VOICE. Tests follow the order.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
FX > DLY 3 KNOB 4 R TIME: the right echo its own time as a ratio of TIME
(=L as before, x1/2 x2/3 x3/4 x4/3 x3/2 x2; not with PING-PONG or the
grains), saved as project block DR (the last: older firmware stops there).
EDIT > STEREO on synth parts: IMAGE in POLY spreads the voices across the
stereo field the DRUM-X way (what each voice adds taken from one side,
voice.c voice_block; sides cleared in eng_drum.c drum_side_begin; through
the part's filter and fx.c drum_mix), narrowed by DIST, slewed. The page
shows the eight voices' places. No new function in the audio path (the
RAM code and the pinned layout as they were).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
A user's ask (Melodee has it): MENU > SYSTEM > USB gets HOST, the port as the
host of a class compliant USB-MIDI keyboard or controller, alone or behind a
hub; what it plays comes in as USB-MIDI does (source 1).
Melodee's usb_host.c (Kerem Kilic; the enumeration and input contributed by
recursivefieldinstruments), input only (no host OUT), JIANT's names: the
main loop's side (enumeration, hubs, uh_task) in the Bluetooth segment, the
app slot being full (1.4 KB free now); uh_poll stays in TIMER5. HOST is never
saved: every power-on is a device (installer, editor). The port is not
powered (VBUS not driven): a self-powered keyboard or a powered hub.
fm1_usb_host_attach / fm1_usb_line from Melodee's hal. Test: the descriptor
parser and the event filter (tests/usb_host_desc_test.c). Not yet on hardware.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The user's ask: in the three-oscillator WAVEs each oscillator its own
interval. NOISE's knob (P_E3) reads INT 3 there (analog_desc), osc 3's
interval in semitones; INT stays osc 2's. No noise in SAW3 / PLS3 (every
factory SAW3 had NOISE 0: the same sound); WAVE turned into or out of them
sets the knob to 0 (it changes meaning). Random choices keep it consonant
(V10.38's rule applies to it, an F_SEMI). Test: the label, the reset, heard.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
GEN and the sound dice chose ANALOG's INT (osc 2's interval) at random,
so most generated songs had a detuned, dissonant oscillator. An engine
parameter in semitones (ANALOG INT, VOICE SHIFT) chosen by chance is now
0, a fourth, a fifth or an octave, up or down; GEN snaps a preset's to the
nearest consonant one (GLASS KEYS' 19 kept); the random macros never
target an interval. Test: 300 dice, every INT consonant.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The tempo at hand on the mixer (the DJ FILTER stays on LIVE > MANO's KNOB 4);
the global lane's COMPS right after MIX, the settings (GLOBAL, SYSTEM) last.
Tests follow the new order (the panel race: SYSTEM a tap further, 111).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
A user's ask for ambient drones and pads: the LFO's sixth wave, DRIFT, a smooth
random wander (each cycle a new value within half the range of the last, reached
on a smoothstep). The presets' spare byte (xp, VOICE's alone until now) carries
BREATHE for the other engines: DRIFT on FILTER, some a little on PITCH, over 4 or
16 bars, given to ten factory pads. AUTO PAN keeps its five waves.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
MENU > SYSTEM > BLUETOOTH gets a third value, AIR: the radio scans
passively instead of advertising, and the RSSI of every good packet
heard around feeds PROX (its page, FAR / NEAR, the MS_PROX source).
Optimist's scanner (fm1-base 4039a8b, GPL-3.0 OR MPL-2.0) at the
minimal central level 3 in the Bluetooth segment (56 KB of 72); the
RSSI ring 8 deep and a 1-slot report ring keep the pool at 8256 B.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
A user's ask: a boom bap kit (a round kick with a knock, a fat cracking snare, a
tight clap, dusty band-passed hats, a low tom, a woody rim, a shaker in the BELL's
place; the snare, clap and rim a little reverb) as DRUM's tenth preset, suggesting
the new SEQ > PATTERNS 14 BOOM BAP (kick on 1, the and of 2, 3's second 16th; snare
on 2 and 4). The editor's tables follow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
Out (MIDI OUT CLOCK / ALL): each of the 24 pulses at its own sample in the render
(the accumulator in 24ths of a sample: no rounding in the pulse length) and sent at
its own TIMER4 tick: usb.c ep1_tx holds a packet until its due tick (midi_out_due),
bt_seg.c stamps it with it. A follower read 105.1 and wandering for 104: the pulses
left as one burst each 2.9 ms render.
In (CLK USB / TRS, Bluetooth): the tempo measured over up to 48 pulses, smoothed, a
whole BPM held within 0.6 (it was six pulses, raw, a new BPM each quarter beat), the
interpolation at the steady tempo. Tests: 104 with +-3 ms jitter and in 15 ms
bursts reads 104 and holds (the old code fails both), 104 -> 128 followed within
three beats, the out pulses within 25 us of their place.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
FELUCCA_BLE_BOND in the segment: LE legacy pairing, Just Works, with bonding and
the link encrypted when a central asks (Windows, some Macs and Androids got
Pairing Not Supported). BLE_LTK_DERIVE: the bond's LTK is made again from EDIV /
Rand (AES under a key of our identity address; EDIV's low nibble the key size),
so every bonded central finds its key after a power-off with nothing written.
Optimist's ble_aes.c from fm1-base 4039a8b (the same copy as the rest); host
test tests/ble_aes_test.c (FIPS-197, the spec's c1 / s1 samples, CCM round
trip and refusals). Segment 51 KB of 72; the app's image unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
EUCLID keeps the sequence it took whole (the last track taken: 1.5 KB in RAMTEXT's
room above the RAM code, app.ld .eu_keep) and puts it back when its settings are at
rest again (VARY and MODES 0, the sequence's own rhythm) or HITS / DENSITY go to 0;
when another track was taken since, the rhythm and notes come back from eu_src.
SCL > SCENE is stored with the project: FUNC 'S' 'C' (ON, the six roles), after 'D'
'A' (whose reader now steps past it); a project without it loads OFF, all KEEP.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
EUCLID's settings start at 0 (no HITS, DENSITY 0, MODES and VARY 0). A sequence
the track has (recorded, edited, a generator song; not an untouched factory
pattern) is taken and transformed: its rhythm and holds until HITS / STEPS /
ROTATE are turned, its notes always (a kit: its lanes). VARY 0..50 moves the one
cycle (each value its own, one hit at least), 51..100 the four turns A A' A'' B.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- The CHORD page drew every degree with chord_build, writing VOICING LEAD's last
chord: a key then played another inversion. The screen peeks now.
- MENU: KNOB k edits its own card's row (all four edited the selected row).
- TAPE WOW: a warped record's random, smoothed pitch drift (~+-45 cents at 100);
the old swing was ~4 cents. Its own random source (the hiss's was stuck at 0).
- LFO RATE 8BAR / 16BAR; PLAYHEADS RATE 1/8 / 1/16; STRUM past 64 up to ~1 s.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
Each role (CHORD ARP BASS LEAD) one track at most, so two tracks never play the
same thing nor two chords at once (the polyphony). OCT- sets all KEEP; ON with
no role set dices; a role picked by hand takes it from the track that had it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
EUCLID: lanes as concentric rings in heat colours, VARY's turns under the ring.
MUTATE: the anchor's pattern above, the one playing below (changed steps lit),
an arc to the next mutation. PRESETS: engines and presets in two columns,
OCT+ keeps the sound browsed to, OCT- brings back the one before. TOOLS: KNOB 1
the scope, KNOB 2 the action, OCT+ held a second does it. SCENE: one key plays
every track given a role (KEEP CHORD ARP BASS LEAD), REC records each.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh