JIANT 0.6.44: punch-in FX latched by default, the FX layer lock

- FX LATCH ON once for everyone (prefs_rev, a spare settings byte: who turns
  it OFF after keeps it so)
- FX held open and let go with nothing used: the layer locked open
  ([FX] LOCKED), as the macros latch: keys toggle effects (seq.c fx_lock_on),
  knobs are FX's macros, OCT- all off; FX again unlocks
- Tests (the old FX ones kept, the lock); manual EN/ES, cheat sheets, README

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
This commit is contained in:
Claude committed 2026-10-12 11:47:29 +00:00
1 parent b70f0532cf
commit 8e93e5ecea
19 files changed
+107 -26

No files matched your search

+7 -1
View File
@@ -15,7 +15,7 @@ and takes its song system from [SLOOP](https://github.com/isod89/sloop-fm1).
the FM-1, with sound, and is played with your computer keyboard or the mouse. The emulator, the installer and the
editor update themselves with every change merged into `main`.
> **Status: in development (v0.6.43).** It builds and passes every test (Felucca's and its own), Back up the flash before installing it.
> **Status: in development (v0.6.44).** It builds and passes every test (Felucca's and its own), Back up the flash before installing it.
> 🫶 If you resonate with my work, consider supporting me on **[Ko-fi](https://ko-fi.com/juanjiant)** (in Argentina:
> **[Cafecito](https://cafecito.app/juanjiant)**). Thanks for all the good energy, hope you enjoy this little beast ✨🎹
@@ -38,6 +38,12 @@ Two printable sheets with everything on the device. Click an image to open it fu
Every update is listed here, newest first.
### v0.6.44
- **Punch-in FX latched by default** (asked by many): **FX LATCH** is now ON (turned on once for everyone; turn it OFF
in MENU > CONTROL if you prefer holding). **Lock**: hold FX until its map opens and let go without touching
anything: the FX layer stays open (**[FX] LOCKED**), as the macros latch with LFO; keys toggle effects, knobs are
FX's macros, OCT− all off. Press FX again to unlock.
### v0.6.43
- **MUTATE** (SEQ > MUTATE, a suggestion from the community): each track's **SOUND** and **PATTERN** change by
themselves every 1 to 32 bars, on the bar, in time with the clock; **AMOUNT** how much; **ORBIT** varies around an
+7 -4
View File
@@ -807,9 +807,12 @@ Efectos que actúan mientras mantenés su tecla y vuelven exactamente atrás cua
los mutes no se graban). Mantené **FX + G5** mientras suena para borrar por donde pasa el cabezal; parado, FX + G5
borra todo el carril. **REC mantenido + FX** también lo borra (junto con la automatización de FX de la pista).
**FX LATCH** (MENU > CONTROL > FX LATCH ON): una tecla apretada con FX activa y desactiva su efecto, las macros de
perilla conservan sus valores, **FX + OCT−** apaga todo (FX ALL OFF). Los efectos enganchados no se graban en el
carril.
**FX LATCH** (MENU > CONTROL > FX LATCH, **ON por defecto** desde 0.6.44): una tecla apretada con FX activa y desactiva
su efecto, las macros de las perillas conservan sus valores, **FX + OCT−** apaga todo (FX ALL OFF). Los efectos
trabados no se graban en el carril. **Traba**: mantené FX hasta que se abra su mapa y soltalo sin tocar nada: la capa
FX queda abierta (**[FX] LOCKED**), como las macros con LFO; las teclas prenden y apagan efectos, las perillas son las
macros del FX y OCT− es ALL OFF, con las dos manos libres. Apretá **FX** otra vez para destrabar (los efectos que
dejaste prendidos siguen). Si lo mantenés tocando teclas o perillas, FX funciona como siempre y se cierra al soltar.
### Mutes y solos
@@ -1026,7 +1029,7 @@ valor. HOME lo cierra (en ese momento se guarda la configuración).
| DISPLAY | SCREEN OFF | **NEVER** (por defecto), 5 MIN, 15 MIN, 30 MIN, 60 MIN |
| CONTROL | HOLD | 0.3 s, **0.4 s** (por defecto), 0.5 s, 0.6 s — cuánto tarda un botón mantenido en abrir su capa |
| CONTROL | KNOB ACCEL | **ON** (por defecto), OFF |
| CONTROL | FX LATCH | OFF, ON |
| CONTROL | FX LATCH | **ON** (por defecto desde 0.6.44), OFF |
| CONTROL | BPM LOCK | OFF, ON — SELECT fija el tempo solo con GLO mantenido; DICE ALL conserva el tempo |
| CONTROL | SCALE LEDS | OFF, ON — las teclas de la escala se iluminan, la tónica más brillante |
| AUDIO | SPEAKER EQ | FLAT, LOWCUT, BASS+ (un EQ en el master para el parlante chico; también llega a las salidas y al USB) |
+7 -3
View File
@@ -766,8 +766,12 @@ during a song), the **note effects (D4–F5)** you hold are recorded into it, on
are not recorded). Hold **FX + G5** while playing to erase where the play head passes; stopped, FX + G5 erases the whole
lane. **REC held + FX** also clears it (along with the track's FX automation).
**FX LATCH** (MENU > CONTROL > FX LATCH ON): a key pressed with FX toggles its effect on and off, the knob macros keep
their values, **FX + OCT−** turns everything off (FX ALL OFF). Latched effects are not recorded into the lane.
**FX LATCH** (MENU > CONTROL > FX LATCH, **ON by default** since 0.6.44): a key pressed with FX toggles its effect on and
off, the knob macros keep their values, **FX + OCT−** turns everything off (FX ALL OFF). Latched effects are not
recorded into the lane. **Lock**: hold FX until its map opens and let go without touching anything: the FX layer stays
open (**[FX] LOCKED**), as the macros do with LFO; the keys toggle effects, the knobs are FX's macros and OCT− is ALL
OFF, with both hands free. Press **FX** again to unlock (the effects you left on stay on). Held with keys or knobs, FX
works as before and closes when let go.
### Mutes and solos
@@ -972,7 +976,7 @@ closes it (settings are saved then).
| DISPLAY | SCREEN OFF | **NEVER** (default), 5 MIN, 15 MIN, 30 MIN, 60 MIN |
| CONTROL | HOLD | 0.3 s, **0.4 s** (default), 0.5 s, 0.6 s — how long until a held button opens its layer |
| CONTROL | KNOB ACCEL | **ON** (default), OFF |
| CONTROL | FX LATCH | OFF, ON |
| CONTROL | FX LATCH | **ON** (default since 0.6.44), OFF |
| CONTROL | BPM LOCK | OFF, ON — SELECT sets the tempo only with GLO held; DICE ALL keeps the tempo |
| CONTROL | SCALE LEDS | OFF, ON — the keys of the scale glow, the root brighter |
| AUDIO | SPEAKER EQ | FLAT, LOWCUT, BASS+ (an EQ on the master for the small speaker; also reaches the outputs and USB) |
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 968 KiB

After

Width:  |  Height:  |  Size: 983 KiB

Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 997 KiB

After

Width:  |  Height:  |  Size: 997 KiB

+3 -3
View File
@@ -51,9 +51,9 @@ ul { padding-left: 18px; } li { margin: 2px 0; }
</style></head><body>
<header><img src="signature.png" alt="JIANT FM signature"><div>
<h1>JIANT FM · CONTROLS</h1><h2>every button, knob, layer, combo and page</h2>
<div class="ver">firmware v0.6.43 · M-VAVE FM-1 · juanjiant-bit.github.io/JIANT</div></div></header>
<div class="ver">firmware v0.6.44 · M-VAVE FM-1 · juanjiant-bit.github.io/JIANT</div></div></header>
<div class="rule"></div>
<div class="sec">THE PANEL<span></span></div><div class="grid g2"><div class="card" style="--c:#22d3ee" ><h3>KNOBS AND TRANSPORT</h3><table><tr><td class="n">MASTER</td><td>Master volume.</td></tr><tr><td class="n">SELECT</td><td>HOME: <b>DICE EVERYTHING?</b> (OCT+ yes): a new piece in one scale. EDIT: <b>the sound's dice</b>. GLO's pages or GLO held: the tempo. Macros open (LFO held or latched): new random routes.</td></tr><tr><td class="n">PRESETS</td><td>Browses the sounds (factory and user). On step, list and song pages: the cursor / the row. <b>Hold a page button + PRESETS: jump through its pages.</b></td></tr><tr><td class="n">ALGORITHM</td><td>Selects the track, T1–T6, from any page.</td></tr><tr><td class="n">KNOB 1–4</td><td>The four columns on screen. Fast sweeps the whole range, slow fine-tunes. With a layer held: the layer's.</td></tr><tr><td class="n">OCT− · OCT+</td><td>The keyboard's octave (both together: back to 0). On action pages and dialogs: back / confirm.</td></tr><tr><td class="n">PLAY</td><td>Start / stop. GLO + PLAY: restart from the top.</td></tr><tr><td class="n">REC</td><td>Arms live recording on the selected track (notes and knob moves, overdub).</td></tr><tr><td class="n">HOME</td><td>Tap: the ecosystem. <b>Hold: the MENU.</b></td></tr><tr><td class="n">KEYS</td><td>27 keys play the selected track in its scale; with a layer held they become that layer's.</td></tr></table></div><div class="card" style="--c:#8b5cf6" ><h3>PAGE BUTTONS</h3><table class="pages"><tr><th>BUTTON</th><th>TAP: ITS PAGES, ONE PER TAP</th><th>HOLD</th></tr><tr><td class="n">ENV</td><td>ENV · ENV DEST</td><td class="dim">—</td></tr><tr><td class="n">LFO</td><td>LFO · LFO DEST · MOD · MSEQ · MSEQ 2</td><td class="dim">MACROS M1–M4 (stay latched)</td></tr><tr><td class="n">FX</td><td>TRACK · SLICER · DELAY · REVERB · CHORUS · MASTER (two quick taps: next section)</td><td class="dim">PUNCH-IN FX</td></tr><tr><td class="n">SCL</td><td>SCL · SCL 2</td><td class="dim">ROOT by key</td></tr><tr><td class="n">EDIT</td><td>EDIT 1 · EDIT 2 · FILTER · VOICE (FM6: OPERATOR · OP ENV · OPERATOR 2; DRUM: LANES · LANES 2 · SOUND 1–3 · X-MOD)</td><td class="dim">INIT · RECALL · sound mutes</td></tr><tr><td class="n">GLO</td><td>MIXER · GLOBAL · SYSTEM</td><td class="dim">MUTE · SOLO · LEVEL · TAP</td></tr><tr><td class="n">SAVE</td><td>PRESETS · USER · PROJECT · ARRANGE · TOOLS</td><td class="dim">SONG layer</td></tr><tr><td class="n">ARP</td><td>ARP · ARP 2</td><td class="dim">—</td></tr><tr><td class="n">SEQ</td><td>STEP · COMP · PATTERN · AUTOMATION · AUTO LIST · MUTATE · SHIFT</td><td class="dim">SEQ TOOLS</td></tr><tr><td class="n">REC</td><td>(transport)</td><td class="dim">CLEAR · CLICK</td></tr></table><p style="margin-top:10px"><span class="k v">BUTTON</span> + <span class="k v">PRESETS</span> jumps straight to a page (no wrap); let go and you stay there.</p></div></div><div class="sec">LAYERS · HOLD A BUTTON<span></span></div><div class="grid g2"><div class="card" style="--c:#ff7a00" ><h3>FX · PUNCH-IN EFFECTS</h3><div class="kb"><div class="w on" style="left:0.0px;width:40.2px"><b>F3</b>REP 1/8</div><div class="w on" style="left:43.2px;width:40.2px"><b>G3</b>REP 1/16</div><div class="w on" style="left:86.5px;width:40.2px"><b>A3</b>REP 1/32</div><div class="w on" style="left:129.8px;width:40.2px"><b>B3</b>LPF</div><div class="w on" style="left:173.0px;width:40.2px"><b>C4</b>HPF</div><div class="w on" style="left:216.2px;width:40.2px"><b>D4</b>OCT−</div><div class="w on" style="left:259.5px;width:40.2px"><b>E4</b>OCT+</div><div class="w on" style="left:302.8px;width:40.2px"><b>F4</b>½ TEMPO</div><div class="w on" style="left:346.0px;width:40.2px"><b>G4</b>DEC−</div><div class="w on" style="left:389.2px;width:40.2px"><b>A4</b>DEC+</div><div class="w on" style="left:432.5px;width:40.2px"><b>B4</b>STUT 1/8</div><div class="w on" style="left:475.8px;width:40.2px"><b>C5</b>STUT 1/16</div><div class="w on" style="left:519.0px;width:40.2px"><b>D5</b>ATK+</div><div class="w on" style="left:562.2px;width:40.2px"><b>E5</b>ARP</div><div class="w on" style="left:605.5px;width:40.2px"><b>F5</b>RAND</div><div class="w on" style="left:648.8px;width:40.2px"><b>G5</b>ERASE</div><div class="b on" style="left:27.7px;width:31.1px"><b>F#</b>M1</div><div class="b on" style="left:70.9px;width:31.1px"><b>G#</b>M2</div><div class="b on" style="left:114.2px;width:31.1px"><b>A#</b>M3</div><div class="b on" style="left:200.7px;width:31.1px"><b>C#</b>M4</div><div class="b on" style="left:243.9px;width:31.1px"><b>D#</b>M5</div><div class="b on" style="left:330.4px;width:31.1px"><b>F#</b>M6</div><div class="b" style="left:373.7px;width:31.1px"><b>G#</b></div><div class="b on" style="left:416.9px;width:31.1px"><b>A#</b>TGT</div><div class="b" style="left:503.4px;width:31.1px"><b>C#</b></div><div class="b" style="left:546.7px;width:31.1px"><b>D#</b></div><div class="b" style="left:633.2pLine truncated
<div class="sec">THE PANEL<span></span></div><div class="grid g2"><div class="card" style="--c:#22d3ee" ><h3>KNOBS AND TRANSPORT</h3><table><tr><td class="n">MASTER</td><td>Master volume.</td></tr><tr><td class="n">SELECT</td><td>HOME: <b>DICE EVERYTHING?</b> (OCT+ yes): a new piece in one scale. EDIT: <b>the sound's dice</b>. GLO's pages or GLO held: the tempo. Macros open (LFO held or latched): new random routes.</td></tr><tr><td class="n">PRESETS</td><td>Browses the sounds (factory and user). On step, list and song pages: the cursor / the row. <b>Hold a page button + PRESETS: jump through its pages.</b></td></tr><tr><td class="n">ALGORITHM</td><td>Selects the track, T1–T6, from any page.</td></tr><tr><td class="n">KNOB 1–4</td><td>The four columns on screen. Fast sweeps the whole range, slow fine-tunes. With a layer held: the layer's.</td></tr><tr><td class="n">OCT− · OCT+</td><td>The keyboard's octave (both together: back to 0). On action pages and dialogs: back / confirm.</td></tr><tr><td class="n">PLAY</td><td>Start / stop. GLO + PLAY: restart from the top.</td></tr><tr><td class="n">REC</td><td>Arms live recording on the selected track (notes and knob moves, overdub).</td></tr><tr><td class="n">HOME</td><td>Tap: the ecosystem. <b>Hold: the MENU.</b></td></tr><tr><td class="n">KEYS</td><td>27 keys play the selected track in its scale; with a layer held they become that layer's.</td></tr></table></div><div class="card" style="--c:#8b5cf6" ><h3>PAGE BUTTONS</h3><table class="pages"><tr><th>BUTTON</th><th>TAP: ITS PAGES, ONE PER TAP</th><th>HOLD</th></tr><tr><td class="n">ENV</td><td>ENV · ENV DEST</td><td class="dim">—</td></tr><tr><td class="n">LFO</td><td>LFO · LFO DEST · MOD · MSEQ · MSEQ 2</td><td class="dim">MACROS M1–M4 (stay latched)</td></tr><tr><td class="n">FX</td><td>TRACK · SLICER · DELAY · REVERB · CHORUS · MASTER (two quick taps: next section)</td><td class="dim">PUNCH-IN FX</td></tr><tr><td class="n">SCL</td><td>SCL · SCL 2</td><td class="dim">ROOT by key</td></tr><tr><td class="n">EDIT</td><td>EDIT 1 · EDIT 2 · FILTER · VOICE (FM6: OPERATOR · OP ENV · OPERATOR 2; DRUM: LANES · LANES 2 · SOUND 1–3 · X-MOD)</td><td class="dim">INIT · RECALL · sound mutes</td></tr><tr><td class="n">GLO</td><td>MIXER · GLOBAL · SYSTEM</td><td class="dim">MUTE · SOLO · LEVEL · TAP</td></tr><tr><td class="n">SAVE</td><td>PRESETS · USER · PROJECT · ARRANGE · TOOLS</td><td class="dim">SONG layer</td></tr><tr><td class="n">ARP</td><td>ARP · ARP 2</td><td class="dim">—</td></tr><tr><td class="n">SEQ</td><td>STEP · COMP · PATTERN · AUTOMATION · AUTO LIST · MUTATE · SHIFT</td><td class="dim">SEQ TOOLS</td></tr><tr><td class="n">REC</td><td>(transport)</td><td class="dim">CLEAR · CLICK</td></tr></table><p style="margin-top:10px"><span class="k v">BUTTON</span> + <span class="k v">PRESETS</span> jumps straight to a page (no wrap); let go and you stay there.</p></div></div><div class="sec">LAYERS · HOLD A BUTTON<span></span></div><div class="grid g2"><div class="card" style="--c:#ff7a00" ><h3>FX · PUNCH-IN EFFECTS</h3><div class="kb"><div class="w on" style="left:0.0px;width:40.2px"><b>F3</b>REP 1/8</div><div class="w on" style="left:43.2px;width:40.2px"><b>G3</b>REP 1/16</div><div class="w on" style="left:86.5px;width:40.2px"><b>A3</b>REP 1/32</div><div class="w on" style="left:129.8px;width:40.2px"><b>B3</b>LPF</div><div class="w on" style="left:173.0px;width:40.2px"><b>C4</b>HPF</div><div class="w on" style="left:216.2px;width:40.2px"><b>D4</b>OCT−</div><div class="w on" style="left:259.5px;width:40.2px"><b>E4</b>OCT+</div><div class="w on" style="left:302.8px;width:40.2px"><b>F4</b>½ TEMPO</div><div class="w on" style="left:346.0px;width:40.2px"><b>G4</b>DEC−</div><div class="w on" style="left:389.2px;width:40.2px"><b>A4</b>DEC+</div><div class="w on" style="left:432.5px;width:40.2px"><b>B4</b>STUT 1/8</div><div class="w on" style="left:475.8px;width:40.2px"><b>C5</b>STUT 1/16</div><div class="w on" style="left:519.0px;width:40.2px"><b>D5</b>ATK+</div><div class="w on" style="left:562.2px;width:40.2px"><b>E5</b>ARP</div><div class="w on" style="left:605.5px;width:40.2px"><b>F5</b>RAND</div><div class="w on" style="left:648.8px;width:40.2px"><b>G5</b>ERASE</div><div class="b on" style="left:27.7px;width:31.1px"><b>F#</b>M1</div><div class="b on" style="left:70.9px;width:31.1px"><b>G#</b>M2</div><div class="b on" style="left:114.2px;width:31.1px"><b>A#</b>M3</div><div class="b on" style="left:200.7px;width:31.1px"><b>C#</b>M4</div><div class="b on" style="left:243.9px;width:31.1px"><b>D#</b>M5</div><div class="b on" style="left:330.4px;width:31.1px"><b>F#</b>M6</div><div class="b" style="left:373.7px;width:31.1px"><b>G#</b></div><div class="b on" style="left:416.9px;width:31.1px"><b>A#</b>TGT</div><div class="b" style="left:503.4px;width:31.1px"><b>C#</b></div><div class="b" style="left:546.7px;width:31.1px"><b>D#</b></div><div class="b" style="left:633.2pLine truncated
<footer><span>GPL-3.0 · fork of Felucca (Hügelton Instruments) · song mode from SLOOP</span>
<span>JIANT FM v0.6.43</span></footer>
<span>JIANT FM v0.6.44</span></footer>
</body></html>
+2 -2
View File
@@ -51,9 +51,9 @@ ul { padding-left: 18px; } li { margin: 2px 0; }
</style></head><body>
<header><img src="signature.png" alt="JIANT FM signature"><div>
<h1>JIANT FM · SOUND · FX · MOD</h1><h2>engines, effects, modulation, sequencer and songs</h2>
<div class="ver">firmware v0.6.43 · M-VAVE FM-1 · juanjiant-bit.github.io/JIANT</div></div></header>
<div class="ver">firmware v0.6.44 · M-VAVE FM-1 · juanjiant-bit.github.io/JIANT</div></div></header>
<div class="rule"></div>
<div class="sec">ENGINES · EDIT 1 / EDIT 2<span></span></div><div class="card" style="--c:#f4f1ea" ><h3>EIGHT ENGINES, ALL SYNTHESIS</h3><table><tr><th>ENGINE</th><th>EDIT 1</th><th>EDIT 2</th><th>WHAT TO KNOW</th></tr><tr><td class="n" style="--c:#3b82f6">ANALOG</td><td style="width:22%"><div class="knobs"><span class="">WAVE</span><span class="">DETUNE</span><span class="">MIX</span><span class="">NOISE</span></div></td><td style="width:22%"><div class="knobs"><span class="">CUT</span><span class="">RES</span><span class="">DRIVE</span><span class="">INT</span></div></td><td>SAW SQR TRI SIN PWM <b>SYNC RING SAW3</b>; INT: osc 2 ±24 st. Its filter is per voice.</td></tr><tr><td class="n" style="--c:#d946ef">FM6</td><td style="width:22%"><div class="knobs"><span class="">ALG</span><span class="">FB</span><span class="">MOD</span><span class="">RATIO</span></div></td><td style="width:22%"><div class="knobs"><span class="">MEG</span><span class="">VMOD</span><span class="">DETUNE</span><span class="">SLOT</span></div></td><td>Dexed's 6 operators, 32 algorithms drawn, .syx patches (SLOT), MOD / RATIO move the modulators. <b>OPERATOR · OP ENV · OPERATOR 2</b>: each operator on the device (ratio / fixed, fine, level, its envelope, mode, detune, velocity). <b>SLOT B1–B32</b>: a 32-voice .syx sent from the web editor.</td></tr><tr><td class="n" style="--c:#8b5cf6">PHASE</td><td style="width:22%"><div class="knobs"><span class="">WAVE</span><span class="">WAVE2</span><span class="">DCW</span><span class="">ENV</span></div></td><td style="width:22%"><div class="knobs"><span class="">DETUNE</span><span class="">LINE</span><span class="">SUB</span><span class="">FB</span></div></td><td>Phase distortion (CZ); <b>FB</b> feeds the output back into the phase: hard edge to growl.</td></tr><tr><td class="n" style="--c:#22d3ee">LOFI</td><td style="width:22%"><div class="knobs"><span class="">CHIP</span><span class="">WAVE</span><span class="">DUTY</span><span class="">CRUSH</span></div></td><td style="width:22%"><div class="knobs"><span class="e">-</span><span class="">VIB</span><span class="">BEND</span><span class="">MASK</span></div></td><td>Chip: PLS TRI SAW NOIS WRAM. <b>BYTE</b>: ALGO VAR · MOTN GRIT BEND LOOP. <b>FLOAT</b> (floatbeat): ALGO VAR · MOTN FBK BEND LOOP; CHIP sets FULL / 4BIT / 1BIT.</td></tr><tr><td class="n" style="--c:#facc15">VOICE</td><td style="width:22%"><div class="knobs"><span class="">VOWEL</span><span class="">VOWEL2</span><span class="">TALK</span><span class="">SHIFT</span></div></td><td style="width:22%"><div class="knobs"><span class="">BUZZ</span><span class="">BREATH</span><span class="">Q</span><span class="">RAND</span></div></td><td>Formant voice (after klattsch): vowels, talk, breath.</td></tr><tr><td class="n" style="--c:#ff7a00">WHEEL</td><td style="width:22%"><div class="knobs"><span class="">REG</span><span class="">SUB</span><span class="">BODY</span><span class="">TOP</span></div></td><td style="width:22%"><div class="knobs"><span class="">PERC</span><span class="">CLICK</span><span class="">DRIVE</span><span class="">ROTOR</span></div></td><td>Drawbar organ: registrations, percussion, rotary.</td></tr><tr><td class="n" style="--c:#ef4444">NOISE</td><td style="width:22%"><div class="knobs"><span class="">MODE</span><span class="">COLOR</span><span class="">FREQ</span><span class="">PEAK</span></div></td><td style="width:22%"><div class="knobs"><span class="">TRK</span><span class="">DENSE</span><span class="">DRIFT</span><span class="">CRUSH</span></div></td><td>Coloured and metallic noise, tracked or free.</td></tr><tr><td class="n" style="--c:#ff7a00">DRUM-X</td><td style="width:22%"><div class="knobs"><span class="">MORPH</span><span class="">TUNE</span><span class="">TONE</span><span class="">DECAY</span></div></td><td style="width:22%"><div class="knobs"><span class="">NOISE</span><span class="">FM</span><span class="">ENV</span><span class="">FOLD</span><span class="">DRIVE</span></div></td><td>8 sounds BD SD CP CH OH TM RS CB, sides A / B: <b>MORPH</b> morphs the kit. SOUND · SOUND 2 · SOUND 3: LANE SIDE PITCH PMOD · DECAY NOISE COLOR MODE · LANE PMOD DRIVE WAVE. <b>X-MOD</b>: RATE DEPTH SHAPE RAND. <b>TONE</b>: BP (hats, rim, cowbell) FEEDBK.</td></tr></table></div><div class="grid g3" style="margin-top:22px"><div class="card" style="--c:#d946ef" ><h3>FILTER · EVERY ENGINE</h3><div class="knobs"><span class="">TYPE</span><span class="">CUT</span><span class="">RES</span><span class="">DRV</span></div><p style="margin-top:8px"><b>LP · HP · BP · COMB</b>. COMB rings tuned to the note: CUT moves it ±32 st, RES how much it rings. ANALOG and LOFI: per voice; the others: on the track, following LFO / ENV DEST FLT (DRV = the track's DIST).</p></div><div class="card" style="--c:#8b5cf6" ><h3>VOICE · PLAYING</h3><div class="knobs"><span class="">VCE</span><span class="">GLD</span><span class="">GLMOD</span><span class="">PRIO</span></div><p style="margin-top:8pxLine truncated
<footer><span>GPL-3.0 · fork of Felucca (Hügelton Instruments) · song mode from SLOOP</span>
<span>JIANT FM v0.6.43</span></footer>
<span>JIANT FM v0.6.44</span></footer>
</body></html>
+1 -1
View File
@@ -32,7 +32,7 @@
#define FELUCCA_ID "FM-1_900" /* package identity (build.py: the .fwsc marker string) */
#endif
#ifndef FELUCCA_VERSION
#define FELUCCA_VERSION "v0.6.43" /* JIANT's (based on Felucca 1.1.5.1): the splash, the menu, the console, the editor */
#define FELUCCA_VERSION "v0.6.44" /* JIANT's (based on Felucca 1.1.5.1): the splash, the menu, the console, the editor */
#endif
#if FELUCCA_OTA && !FELUCCA_FLASH
#error "FELUCCA_OTA needs FELUCCA_FLASH"
+6
View File
@@ -152,6 +152,12 @@ static void fm1_main(void)
ota_boot_cleanup(); /* staging area left by an update */
#endif
settings_init();
if (prefs_rev < 1u) { /* (JIANT 0.6.44) FX LATCH ON by default, once: who turns it
* OFF after keeps it so */
ui_prefs |= PREF_LATCH;
prefs_rev = 1u;
settings_save();
}
usb_serial_apply(); /* (#67: the saved USB SERIAL before usb_start) */
lcd_init();
spl_anim = 1; /* (JIANT 0.5) the signature written: splash_write */
+4 -2
View File
@@ -282,6 +282,8 @@ static __attribute__((noinline)) uint32_t arp_pick(track_t *t, uint32_t *list, u
/* n: samples the arp advances by (the external clock's while it runs, 0 stopped); gate_n: samples its
* gate counts down by (real time when the external transport stops: a tapped or latched note still ends) */
static volatile uint8_t fx_lock_on; /* (0.6.44) ui_layer.c: the FX layer locked open, no other layer armed:
* the keys are its effects without FX held */
static volatile uint32_t beat_pos, beat_n; /* samples into the beat, the beat of the bar (0..3) */
static volatile uint32_t bar_n; /* (0.6.43) the bars since PLAY (MUTATE: project.c mutate_poll) */
@@ -673,8 +675,8 @@ static void keyboard_block(void)
kb_prev = cur;
return;
}
lay = (fm1_in.buttons & kb_mask) != 0u;
fx = (fm1_in.buttons & perf_mask) != 0u;
lay = (fm1_in.buttons & kb_mask) != 0u || fx_lock_on;
fx = (fm1_in.buttons & perf_mask) != 0u || fx_lock_on; /* (0.6.44: the FX layer locked open) */
for (k = 0; k < 27u; k++) {
if (!((ch >> k) & 1u))
continue;
+3 -1
View File
@@ -50,7 +50,9 @@ static uint32_t up_gen; /* bumped on every user bank change
* saved with the settings; 0 in older ones = every setting's default (append-only: a new setting takes a new bit,
* its default is 0) */
#define ui_prefs (favorites.factory[15][30])
#define PREF_LATCH 1u /* MENU > FX LATCH ON (#40) */
#define PREF_LATCH 1u /* MENU > FX LATCH ON (#40); JIANT 0.6.44: ON once for everyone (prefs_rev) */
#define prefs_rev (favorites.factory[15][25]) /* (JIANT 0.6.44) the settings' revision (a byte no engine uses: engine 15):
* 0 before; 1: FX LATCH turned ON once (main.c prefs_update) */
#define PREF_ANIM_OFF 2u /* MENU > ANIM OFF (#46): values snap (no rolling digits, no glide) */
#define PREF_ACCEL_OFF 4u /* MENU > KNOB ACCEL OFF (#52; JIANT: ON by default, the bit now means OFF):
* fast turns of wide values x2..x16 */
+5
View File
@@ -1492,6 +1492,11 @@ static void ui_input_frame(void)
panel_enc(EN_ALGO); /* (another track: OCT- puts back the layer's track only) */
if (glo && (sel = panel_enc(EN_SELECT)) != 0) /* GLO + SELECT: the tempo, a combo (OCT- puts it back) */
combo = 1;
} else if (fx_lock_on) { /* (0.6.44) the FX layer locked open: KNOB 1..4 its macros */
for (k = 0; k < 4u; k++)
ks[k] = panel_enc(EN_K1 + k);
panel_enc(EN_PRESET);
kq = 1;
} else if ((kq = (uint32_t)layer_knobs_quiet()) != 0) { /* a layer letting go: KNOB 1..4 are nobody's (#39) */
for (k = 0; k < 4u; k++)
if (panel_enc(EN_K1 + k) != 0)
+35 -4
View File
@@ -89,9 +89,13 @@ static struct {
uint8_t ntap;
uint8_t quiet; /* #39: a layer closed after it opened: KNOB 1..4 do nothing until quiet_t + */
uint32_t quiet_t; /* LY_QUIET_MS (fm1_ms) */
uint8_t used; /* (0.6.44) a key, a knob or OCT used in the layer since it was armed */
} lys;
#define LY_QUIET_MS 250u
/* (0.6.44) FX LATCH: FX held open and let go locks its layer open, as the macros latch: its keys, knobs and map stay
* until FX is pressed again (or another layer is held over it, for as long as it is) */
static uint8_t fx_lock;
static int layer_allowed(void) { return !ui.menu && !ui.confirm && !ui.uboot && !name_on(); }
static uint32_t ly_bit(uint32_t l) { return 1u << panel.btn[LAYERS[l].btn]; }
/* SEQ's layer is there on the SEQ pages that show the pattern only (elsewhere SEQ held opens SONG: ui_input) */
@@ -115,13 +119,19 @@ static uint32_t layer_btn(void) { return LAYERS[ui.layer % LAYER_N].btn; }
static uint32_t layer_open(void);
static const char *layer_head(void) /* FX: LATCH, and the MIDI effects' tracks (A#4) */
{
static const char *const H[2][3] = {{"[FX] HOLD", "[FX] HOLD SYN", "[FX] HOLD DRM"},
{"[FX] LATCH", "[FX] LATCH SYN", "[FX] LATCH DRM"}};
static const char *const H[3][3] = {{"[FX] HOLD", "[FX] HOLD SYN", "[FX] HOLD DRM"},
{"[FX] LATCH", "[FX] LATCH SYN", "[FX] LATCH DRM"},
{"[FX] LOCKED", "[FX] LOCK SYN", "[FX] LOCK DRM"}};
if (ui.layer == LAYER_MACRO && !layer_open()) /* (JIANT 0.4) the MACRO layer latched */
return "[LFO] LATCH";
return ui.layer == LAYER_FX ? H[perf_latch_on ? 1 : 0][pfx_tgt % 3u] : LAYERS[ui.layer % LAYER_N].head;
return ui.layer == LAYER_FX ? H[fx_lock && !ui.ly ? 2 : perf_latch_on ? 1 : 0][pfx_tgt % 3u] : LAYERS[ui.layer % LAYER_N].head;
}
static uint32_t layer_open(void)
{
if (ui.ly && (ui.ly_t0 & LY_OPEN) && ly_down(ui.ly) && layer_allowed())
return ui.ly;
return fx_lock && !ui.ly && layer_allowed() ? LAYER_FX : 0u;
}
static uint32_t layer_open(void) { return ui.ly && (ui.ly_t0 & LY_OPEN) && ly_down(ui.ly) && layer_allowed() ? ui.ly : 0u; }
static int layer_set_open(void) /* (FX LATCH: FX is one too, OCT- turns all off) */
{
return layer_open() && (LAYERS[layer_open()].kind == LK_SET || (layer_open() == LAYER_FX && perf_latch_on));
@@ -138,6 +148,7 @@ static void layer_masks(void)
: ui.ly ? ly_bit(ui.ly) : layer_bits() & ~fm1_in.buttons;
kb_mask = m;
perf_mask = m & ly_bit(LAYER_FX);
fx_lock_on = (uint8_t)(fx_lock && !ui.ly && layer_allowed());
}
/* a layer button pressed (its edge) while none is armed: it is now, a dead one where no layer opens */
@@ -146,6 +157,14 @@ static void layer_arm(uint32_t pressed, uint32_t now)
uint32_t l;
if (ui.ly)
return;
if (fx_lock && (pressed & ly_bit(LAYER_FX))) { /* (0.6.44) FX pressed again: the lock off, nothing else */
fx_lock = 0;
ui.force = 1;
ui.ly = LAYER_FX;
ui.ly_t0 = (now & ~15u) | 1u | LY_DEAD;
ui_message("FX UNLOCKED");
return;
}
if (mac_latch && (pressed & ly_bit(LAYER_MACRO))) { /* (JIANT 0.4) LFO pressed again: the latch off, nothing else */
mac_latch = 0;
ui.force = 1;
@@ -155,6 +174,7 @@ static void layer_arm(uint32_t pressed, uint32_t now)
}
for (l = LAYER_FX; l < LAYER_N; l++)
if ((pressed & ly_bit(l)) && ly_avail(l)) {
lys.used = 0;
ui.ly = (uint8_t)l;
ui.ly_t0 = (now & ~15u) | 1u | (layer_allowed() ? 0u : LY_DEAD);
return;
@@ -173,6 +193,13 @@ static void layer_let_go(uint32_t quiet)
lys.song = 0;
if (ui.ly == LAYER_FX && !perf_latch_on)
perf_k[0] = perf_k[1] = perf_k[2] = perf_k[3] = 0;
if (ui.ly == LAYER_FX && perf_latch_on && (ui.ly_t0 & LY_OPEN) && !(ui.ly_t0 & (LY_DEAD | LY_COMBO)) &&
!lys.used && !kb_layer && layer_allowed()) {
fx_lock = 1; /* (0.6.44) FX LATCH: held open, nothing used, let go: locked */
ui_message("FX LOCKED: [FX] TO UNLOCK");
quiet = 0;
ui.force = 1;
}
if (ui.ly == LAYER_MACRO && (ui.ly_t0 & LY_OPEN) && !(ui.ly_t0 & LY_DEAD)) { /* (JIANT 0.4) MACRO opened, let go: */
mac_latch = 1; /* latched (its knobs at once: no quiet time) */
quiet = 0;
@@ -554,6 +581,7 @@ static void layer_key(uint32_t l, uint32_t k)
static void layer_keys(uint32_t keys)
{
uint32_t k, l = layer_open() ? layer_open() : ui.layer, s = 0;
if (keys) lys.used = 1;
for (k = 0; keys && k < 27u; k++)
if ((keys >> k) & 1u)
layer_key(l, k);
@@ -568,6 +596,7 @@ static void layer_keys(uint32_t keys)
static void layer_knob(uint32_t k, int32_t s)
{
uint32_t l = layer_open();
lys.used = 1;
if (l == LAYER_FX) { /* perform.c perf_k, not recorded */
if (k == 3u)
s = -s; /* DEPTH (100 - perf_k[3]) rises to the right (#40: it fell) */
@@ -630,6 +659,8 @@ static uint32_t layer_oct(uint32_t pressed, uint32_t oct)
uint32_t dn = panel.btn[B_OCTDN], up = panel.btn[B_OCTUP], mine;
if (layer_set_open())
lys.oct |= (uint8_t)(((pressed >> dn) & 1u) | ((pressed >> up) & 1u) << 1);
if (ui.ly && (pressed & (1u << dn | 1u << up)))
lys.used = 1; /* (0.6.44: an OCT with it: no FX lock) */
mine = oct & lys.oct;
if ((mine & 1u) && lys.l == LAYER_FX) { /* OCT- (FX LATCH): every effect and macro off */
perf_latched = 0;
+21
View File
@@ -145,6 +145,7 @@ static void ui_power_on(void)
ui_prefs = PREF_ACCEL_OFF; /* (the tests turn a detent a frame: one step each; KNOB ACCEL, ON on the
* device by default, has its own test) */
mac_latch = 0;
fx_lock = 0; /* (0.6.44) */
memset(pat_last, 0, sizeof pat_last);
memset(proj_slot, 0, sizeof proj_slot);
memset(up_bank, 0, sizeof up_bank);
@@ -6673,6 +6674,26 @@ static int test_fx_latch(void)
press(B_HOME);
bad += check(" the menu turns the latched effects off; MENU > FX LATCH: OCT+ / KNOB 1 right ON, OCT- / left OFF",
ok && !ui.menu);
{ /* (0.6.44) FX held past HOLD and let go with nothing used: locked open, as the macros; the keys toggle the
* effects and the knobs are FX's without FX held; OCT- all off; FX again: unlocked, the effects stay */
fx_latch = PREF_LATCH | PREF_ACCEL_OFF;
go_home(); frames(400);
btn_down(B_FX); frames(800); btn_up(B_FX); frames(64);
ok = fx_lock && ui.layer == LAYER_FX;
key_down(lpf); frame(); key_up(lpf); frame();
turn(EN_K2, 10);
ok &= perf_latched == PF_BIT(PF_LPF) && perf_k[1] == 10 && ui.layer == LAYER_FX;
press(B_OCTDN);
ok &= !perf_latched && !perf_k[1] && song.octave == 0;
key_down(lpf); frame(); key_up(lpf); frame();
press(B_FX); frames(64);
ok &= !fx_lock && !ui.layer && perf_latched == PF_BIT(PF_LPF) && ui.home;
key_down(lpf); frame(); key_up(lpf); frame(); /* (unlocked: the key plays its note) */
ok &= perf_latched == PF_BIT(PF_LPF);
perf_latched = 0;
bad += check(" FX LATCH: FX held and let go unused locks the FX layer open (keys, knobs, OCT- ALL OFF); FX again "
"unlocks, the effects stay", ok);
}
{ /* kept with the settings, in the favorites record (an older one: OFF) */
persist_t p;
fx_latch = PREF_LATCH | PREF_ACCEL_OFF;
+4 -3
View File
@@ -7,7 +7,7 @@ import html, os
R = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
OUT = os.path.join(R, 'docs', 'cheatsheet')
VERSION = 'v0.6.43'
VERSION = 'v0.6.44'
HEAT = ['#22d3ee', '#3b82f6', '#8b5cf6', '#d946ef', '#ef4444', '#ff7a00', '#facc15', '#f4f1ea']
@@ -175,12 +175,13 @@ def controls():
ed_b = {'F#3': 'BD', 'G#3': 'SD', 'A#3': 'CP', 'C#4': 'CH', 'D#4': 'OH', 'F#4': 'TM', 'G#4': 'RS', 'A#4': 'CB'}
b.append('<div class="grid g2">')
b.append(card('FX · PUNCH-IN EFFECTS', HEAT[5], keyboard(fx_w, fx_b) +
'<p>Act while held, in on the next 1/16. Black 1–6 mute T1–T6, A#4 picks which tracks the MIDI ones '
'<p>LATCH (default): a key toggles its effect; hold FX and let go untouched: <b>LOCKED</b> open, FX '
'again unlocks; OCT- all off. In on the next 1/16. Black 1–6 mute T1–T6, A#4 picks which tracks the MIDI ones '
'touch (all · synths · drums). With REC armed and playing they record into the section\'s lane; G5 '
'erases it.</p><h4>KNOBS</h4>' + knobs('FILTER', 'CRUSH', 'THROW', 'DEPTH')))
b.append(card('GLO · MIX', HEAT[1], keyboard(glo_w, glo_b) +
'<p>Black 1–6 mute T1–T6 (latched), 7–10 the DRUM-X groups. White: solo while held, E4 unmutes all, '
'F4 tap tempo, G4 <b>UNDO</b> the last big change (again: redo). SELECT: the tempo. PLAY: restart.</p><h4>KNOBS</h4>' +
'F4 tap tempo, G4 <b>UNDO</b> the last big change (again: redo), A4 <b>FREEZE</b> MUTATE. SELECT: the tempo. PLAY: restart.</p><h4>KNOBS</h4>' +
knobs('LEVEL T1', 'LEVEL T2', 'LEVEL T3', 'LEVEL T4') +
'<p class="dim" style="margin-top:4px">T5 or T6 selected: the knobs are T3–T6.</p>'))
b.append(card('SAVE · SONG', HEAT[6], keyboard(sv_w, {}) +
+1 -1
View File
@@ -9,7 +9,7 @@
* build/video/capture build/video -> audio.wav (44.1 kHz stereo), screen.rgb (240 x 240 RGB24 a frame)
* tools/video/compose.py makes the 1080p video from them. */
#define UI_TEST_NO_MAIN 1
#define FELUCCA_VERSION "v0.6.43"
#define FELUCCA_VERSION "v0.6.44"
#include "ui_test.c"
#define FPS 30u
+1 -1
View File
@@ -9,7 +9,7 @@
* build/video_dice/capture build/video_dice -> audio.wav, screen.rgb, scenes.txt, beats.txt, seps.txt, intro.txt
* python3 tools/video/compose.py build/video_dice -> build/video_dice/jiant-fm.mp4 */
#define UI_TEST_NO_MAIN 1
#define FELUCCA_VERSION "v0.6.43"
#define FELUCCA_VERSION "v0.6.44"
#include "ui_test.c"
#define FPS 30u