The owner, after the device: every reroll the same (major) chords, the aggression gone, GENRE only the presets.
Why: gls_hear knew four modes (MAJ MIN DOR MIX) and kept the first on a tie, MAJ first, so a phrygian riff (E F)
came out F major and a power riff without a third major; its chords were the one detected progression for every seed;
and B C D were the loop's own material, so the genre gave only the added parts' sounds and the rows.
- the key: six modes (PHRY MIN HARM DOR MIX MAJ); where the loop leaves two alike, the genre's own, then minor, the
darker where a loop track is distorted (DIST) or the genre heavy (gls.dark);
- gls_reharm: a chord a segment that holds the loop's notes there (its tones sounding, the bass one of them, no note a
semitone off them louder than half its tones but the tonic's b2/b6), a quarter of the seeds the heard one, else drawn
by fit, the genre's chord there and a dark loop's minor chords likelier (EXPLORE wider); power chords where the
genre plays them;
- the verse (B) the genre's drums (its map on the loop's kit), bass, chords, arp, lead on the loop's sounds over the
genre's own progression (gls.v, gen_pick's, checked in the loop's mode with its colours); the build (C) the genre's
parts on the drop's chords, its drums the verse's or the loop's; the break (D) on the genre's or the drop's chords;
- the rows a seed's: the club's or the arc's plan, the verse in the groove and in a seed's intros and outros, a seed's
lengths and section energies; EXPLORE a genre a seed near the loop's tempo;
- the drop untouched (the loop as it is); normal GEN byte-identical (every genre, EXPLORE, RANDOM x 4 seeds x LOOP
PARTS SONG fingerprinted against a663669d).
Room (lossless): PROX's texts packed (BP_S's rows padded to 28 B: -246 B in the Bluetooth segment), gsplit, gls_role,
gls_any, gls_begin into the segment. App 1084 -> 368 B free, the segment 88 -> 84 B free.
tests/loop_song_test.c: the modes of dark loops, every drop chord holding the loop's notes, progressions and songs over
16 seeds, mostly not major, the verse's drums the genre's, EXPLORE's genres. Manual EN / ES.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
KNOB 1's last ACTION on COMP / COMP 2 and GLO > COMPS. The ACTION nibble is full
(0..15), so TRIG is stored as MUTE with VALUE 2 (CV_MUTE_TRIG): comp_run / gl_eval
invert the condition's result for it (a MUTE of the opposite passes, LENGTH the same,
no CUT; PRE still reads the condition). CA_TRIG (16) is only KNOB 1's place and the
card's name. No new code in the save format; firmware before this loads a TRIG as a
MUTE CUT with its condition as it is. Tests (comp_test trig), MANUAL en / es,
cheatsheet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- SCENE: each held key keeps the notes it started per track (8 slots, pool); the key-up
ends those instead of recomputing from the current octave / roles / chord / scale.
A key that QUANT WHITE silences on a track plays nothing there (it was note 255,
stored as 0, its key-up lost).
- MIDI OUT of the keys / SCENE / LATCH: a per-track bitset of the notes sent; a note-off
goes iff its note-on went, whatever MIDI OUT or the ARP are by the key-up.
- LATCH: a key latches only if HOLD was on at its press; notes past the 16-note list are
let go at the key-up (both hung for good).
- Engine load under held notes: the arp's note is ended before the carry-over, and MIDI
ownership is kept for the carried notes (their note-offs never reached them).
- CC120 / CC123: latched notes and the arp's note get their MIDI OUT note-offs.
- PANIC: PLAY held 0.7 s stops the transport, kills every voice, forgets keys, SCENE keys,
latches, arps, punch-in repeats and MIDI owners, sends every pending note-off and CC123
on channels 1-6. Documented in MANUAL.md / MANUAL.es.md.
- The cold MIDI overflow / panic handling moved out of RAM code (mo_block), the key-up
through a pointer as SCENE's: RAM code 32748 -> 32564 B.
- tests/stuck_test.c: held key / MIDI note across every state change, MIDI IN cases,
sequencer, PANIC, and a random-play fuzz.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
GENE 1's FORM has a fourth value, MY LOOP (gen_loop.c). OCT+ keeps the loop's tracks as they are
(steps, sounds, mix) as section A, the drop, and:
- hears its key (MAJ MIN DOR MIX, each pitch class by length, velocity and downbeat, the bass as the
tonic's hint; DRUM-X's tonal lanes and an EXTENDED kit's chromatic run too) and a chord a bar (half a
bar in a one-bar loop: the mode's triad heard most, the bass the root's hint, a 7th where it sounds),
GEN's plan then those chords (no tone: the genre's own key and progression);
- adds, only on empty tracks and by GENE 2's BASS CHORDS ARP (AUTO: the genre's), a bass, chords on
the heard progression and a counter-melody made of the loop's melody (displaced, its first half
answered, inverted round its first note or kept to the beats, an octave away, in key); the genre's
sounds and mix for them; none empty: NO EMPTY TRACK: ARRANGED;
- arranges with SONG's rows (club plan or arc; RANDOM / EXPLORE by tempo and kicks): thinned intro
and outro drums, layers by the genre's priorities, the build's roll on the loop's own snare, clap or
rim with the high-pass and the chords' filter, the break, ARRANGE's FILL, every drop row the loop
whole, the player's muted tracks kept muted.
OCT+ again: another seed from the same loop (its added parts made again); UNDO (GLO + G4): the loop as
it was in LOOP mode. Normal GEN unchanged (fingerprints of every genre x 4 seeds x 3 forms identical).
tests/loop_song_test.c (in run_tests.sh); manual EN / ES.
gls_hear and gls_counter live in the Bluetooth segment (BTAPP: GEN runs only once bt_hw_seg() said
it is this build's; else BLUETOOTH MISSING, as before). App 3452 -> 1708 B free, the BT segment
1620 -> 92 B free; tools/audio_layout.txt recorded anew (FELUCCA_REPIN=keep).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- FUN7 .. FUNB projects (Felucca 1.0 / 1.1, JIANT up to 0.5) are no longer read: proj_unpack_bt (in
the Bluetooth segment) gone; such a slot at power-on: OLD PROJECT: NOT READ, the slot empty (its
flash kept until saved over); a backup's such project refused as FUN6's. Open them in V10.7.13 or
earlier and save again there to convert (the web editor cannot).
- up_migrate: SAMPLE PERC -> DRUM, TRIO -> ANALOG, LOFI's chips -> ANALOG, 0.3 / 0.4 value
conversions gone (records load as stored; a retired engine's plays as ANALOG, eng_live); the VEL
100 % mark of V10.7.6 kept.
- proj_phys_gone: a retired engine's track gets ANALOG's first preset (its EDIT values and envelope),
no nearest-sound conversion (TRIO, LOFI chips), its motion as it was.
- ADD's creature (MEDUSA) gone: ADD draws the being, as engines without their own picture do.
Tests updated for what is lost (project, motion, ratchet, backup, user presets, DRUM-X octaves, UI); manual EN / ES
"Before you update". App 1032 -> 3452 B free, the BT segment 8 -> 1620 B free.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- vel.c / vel_kb.h / hal fm1_input.h: a press's wait for its strike is bounded in scan ticks (VK_WAIT_T 22 = 2.2 ms,
vel_tick from a new FM1_INPUT_TICK hook after the sample is taken), whatever the ADC does (timeouts dropped readings
and the wait ran on, unbounded: 30 % timed out gave max 12.1 ms, the converter dead lost 381 of 400 presses).
vel_wait (per sample) gone. The velocity with no reading: the key's own recent mean (vs.km), else every key's.
- A key going to a DRUM track never waits (seq.c kb_drum_keys, as keyboard_block routes it: the selected track, KEY
SPLIT's halves, the DRUM grid; vel_poll each pass into vs.now). No setting.
- tests/vel_test.c: latency with 0/30/70/100 % conversions timing out (max 2.2 ms), DRUM 0 ms, soft/normal/hard apart
(4b); vel_seq_test 8: the no-wait keys match where keyboard_block sends each key's note.
- drumx_voice.c: every factory kit's SENDs 0 (909 CLUB .. LATIN PERC had reverb 4..34 / delay 10..40 on snare, clap,
toms, rim, bell); saved projects keep their own (project.c dx_snd), a kit/preset load or a new project is dry.
No golden render changed (the preset renders do not hash the buses).
- eng_drum.c DX_EXT_FX (owner's decision): DXF_DLY / DXF_REV gone, the twelve FX hits are timbre variants only
(drum_send: the kit's own SEND); before, OCT -2 keys F#, A#, B, E sent their hit at 63/63 into the delay (1/8,
FB 60 % by default) and F, G, A, C, D into the reverb, with the track's FX at 0.
- bt.c: BLUETOOTH reads MISSING (was NO SEG); turning it on, opening GEN, GO, DICE SEQ, song saves and USB HOST
without the segment say BLUETOOTH PART MISSING then REINSTALL: JIANT INSTALLER (ui.c seg_missing). ui_test checks
both fit the header and MISSING the card.
- MANUAL.md / .es.md: the capped wait and DRUM's none, the dry kits, FX KIT without delay/reverb, a MISSING / NO SEG
troubleshooting entry; README.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- DRUM-X: noise filter GR (mode filter 3, rejected by older firmware's kit check, so old kits are bit-identical):
a band-pass whose hit is a stroke of ridge ticks at 24..64 Hz (PITCH), held for SCRAPE (PMOD's slot, 0..173 ms)
times the hit's velocity^4 (accent = long "rrrrip", soft = "chk"); on any lane. SOUND 3 MODE 24 -> 32 values,
SOUND's PMOD card reads SCRAPE. The hit's velocity in dx_voice_t's padding (sv).
- Factory kit LATIN PERC (11th DRUM preset): bombo, timbal, llamador, GUIRO (closed hat), maracas, conga, clave, cowbell.
- CUMBIA: kits take LATIN PERC's llamador, guiro (SCRAPE per throw), maracas, conga, clave; sonidera guiro long on the
"e", short on the "and" and on 2's/4's "a"; villera rebuilt as RKT after the owner's reference (kick + clap on every
quarter, guiro X..x with the "a" pulled ~28 ms early via MICRO, conga on the "and"s, bass/keys low).
- REGGAETON: GSP_HEAVY (kit, 808, master driven; romantico clean), 808 gate 70, pad 25 and under, arp 70 (BROKEN,
CYCLE3), hook 30, drier, drums up in GMIX, LATIN PERC conga/clave, a perc pickup on 13.
- BAILE FUNK: claps/hats replaced by tom shots on 3 6 12 (low tom lane, high = llamador on the clap lane) and
cowbells; no chords; 808 archetypes short with rests and an octave glide (BA_TAMBOR, BA_MANDEL, new BA_FUNK3),
gate 55, bass up in GMIX, chops 30, drier.
- Other genres' dumps (12 seeds) and audio identical to V10.7.7; EXPLORE differs only where it draws the BAILE map.
- Flash: image 583440 B (896 B free; was 583992 / 344): net -552 B, from noinline on single-call helpers inlined into
big functions (layer_cards, graph_morph, graph_system, eu_*, gidm_edit, gx_sound, pr_follow, ...).
- Tests: gen_test V10.7.8 checks (guiro long/short, sonidera syncopation, RKT, reggaeton heavy/arps, baile tom shots,
cowbells, no snare/clap/hats/chords, short gliding 808), OCT+ test seeded from a fixed state; drumx_test GR;
ui_test 11 kits, MODE to GR; web editor LATIN PERC. Docs: MANUAL (en/es), TONIC-DRUMX, EDITOR_PROTOCOL.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
GR_SPLIT / GR_SPLIT2 fall to draw_graph's default and draw graph_scope, but
graph_signature did not mix anim_fr for them: the scope was drawn once on
entering the page and then held. SPLIT_PAGE(pg) now joins GR_NONE's clause
(redrawn every other frame, as every other scope page).
ui_test: test_split_scope (run last, H2 untouched): while a sequence plays the
panel changes on 40 of 80 frames (59129 px) and equals a whole redraw; silent,
still. Before: 0 of 80 frames, 1539 px off a whole redraw.
tools/audio_layout.txt recorded by the build (FELUCCA_REPIN=keep); image +16 B.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
V10.7.4 traded the cursor step with the next one: a held note (NOTE TIE..) moved
one step lost its length, and the TIE left behind lengthened the note before it
(N64 N60 T -> left -> N60 N64 T). Now the cursor's note (its NOTE and TIEs) trades
places with the neighbouring note or rest whole; locks and automation follow
(tl_order); UNDO puts it back. At step 1 / LEN it stays (a wrap cannot carry
TIEs). New ui_test check. 144 B.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- bass: the archetype varied every throw (gba_vary, by COMPLEX), the rows' first archetype no more favoured, rows with
one twice given another (TECH HOUSE REGGAETON DEMBOW ELECTRO FUGA BAILE FUNK HIP HOP and its drill / boom bap, TECHNO
ROCK's rock; JAZZ a third walk, BA_WALK3); the PHONK / BAILE FUNK riffs varied the same way
- sounds: the sound loop starts at a throw's own track (FM6's two to whichever roles come first: IDM GLITCH's RING BELL
98 % -> ~60 %); 35 % of the time another preset of the engine of the same type (EBM's bass kept); no recipe option
twice (SUB BASS, 808, upright, cowbell, chant); INIT presets never thrown; drive / chorus / detune a little wider
- tempo: a third of the genre's range either way around ENERGY's point (3 at least; JAZZ's +-3: its energy is ballad
.. bebop)
- drums: a genre's groove DNA (gen_tables.c GDNA): its extra kicks in two idiomatic places, the pools every genre takes
but its identity's lanes (cumbia's guiro, the dembow riddim, tribal's toms, electro's and phonk's cowbell, baile
funk's atabaque, jazz's ride; V10.6m's own hats kept), euclids in the percussion pools, ghosts from a throw's own
place in the ranking, the first bar varied at half strength, IDM's breaks one of three more half the time
(DM_FUNKY, DM_THINK, IDM_ALT)
- harmony: a progression grammar a harmony family (gx_prog(fam): two or four chords from the tonic, the family's root
moves and quality), the genre's own 35 % of the time (a one-chord genre's 50 %), checked by gprog_ok
- sections: their bass, chords and arp streams salted by the section, the lead's same motif by another operator and
phrase, one-chord pieces' sections denser or thinner (ENERGY) and higher or lower (the arp's and lead's windows)
- OCT+: never a seed whose core (progression, bass, map, drums' DNA) is one of the genre's last eight throws' (up to
eight more seeds; a seed is still its song)
- flash: the gen code ~1.2 KB shorter (gs's fields reordered, the unread snare mask gone, two helpers) pays for it:
616 B free (608 before), the BT segment 76 B free (80), RAM +4 B; gprog_ok in the app (the segment full)
- tests: gen_test's new checks (OCT+ anti-repeat, a seed its song, IDM maps, basses, progressions, kick anchors),
thresholds measured (leaps 66 %, C's colours 4 %, drums' share 97 %, FUGA's bass out of the roots' count, the
soft kit's open hat 84), the GENE message; stems_test's first EXPLORE seed 43
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ANe9VnsP3SadWTYQD8zCJ6