Merge origin/main (v0.9.17) into steps-v2

Conflicts: seq.c, ui_draw.c, ui_input.c and ratchet_test.c keep 0.9.18's RATCH / ARP (spill, step_rat, ARP at its
RATE over the steps, no C.LEN lane) over 0.9.17's ARP lap / RATE code they replace; ui_graph.c takes seq-ui's one
roll for every SEQ page (graph_bigstep gone with it); web/manual generated files kept, regenerated next.

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-20 02:01:41 +00:00
commit 615490a380
76 files changed
+1742 -851

No files matched your search

+73 -13
View File
@@ -16,6 +16,10 @@ the FM-1, with sound, and is played with your computer keyboard or the mouse. Th
editor update themselves with every change merged into `main`.
> **Status: in development (v0.9.12, a beta: the emulator and the preview installer; the official installer stays on 0.9.9 until it is tested on the device).** It builds and passes every test (Felucca's and its own). Back up the flash before installing it.
**Every SEQ page is the piano roll** (0.9.17): the same bars' strip and roll (a kit: the grid) on all twelve pages,
the values on top, each page marking what it does on the notes: PATTERN their GATE and SWING, TRACK the notes moved
by PITCH, PLAYHEADS the extra heads as they play, COMP the steps with a component, AUTOMATION and AUTO LIST every
record, MUTATE when the next mutation comes. The BOTTOM skin is retired (a saved BOTTOM opens as AIR).
**DRUM-X, VOICE and ANIMAL first** (0.9.9): the FM-1 powers on with T1 DRUM-X, T2 VOICE singing words, T3 ANIMAL's
bird, T4 LOFI's bytebeat, T5 ANALOG's bass and T6 FM6's electric piano, and PRESETS lists the engines in that order.
**A new skin, AIR** (0.9.7, the default of new settings): HUD's light look on every page with the knob row on top,
@@ -52,7 +56,7 @@ editor update themselves with every change merged into `main`.
> breadcrumb **SECTION · GROUP · page n/N** at the foot; SCL and ARP two sections; GEN three HOME pages. Clearing a
> step is **SEQ + G5**, renaming **SAVE + C5**: EDIT is always EDIT.
> - **Three skins, MENU > DISPLAY > SKIN** (0.8.9; HUD faster in 0.9.0; 0.9.7: a fourth, **AIR**, the default of new
> settings): **COLORS** (rounded cards, each
> settings; 0.9.17: BOTTOM retired): **COLORS** (rounded cards, each
> card its colour, on JIANT its value's heat as in 0.6), **BOTTOM** (the picture edge to edge, a slim knob row) and **HUD**
> (HOME's beings under everything). The **LENTE** look (0.8.5): tabs, cards and a breadcrumb in a crisp 5 × 7 pixel
> face, values in Inter Tight. **Held layers** show the keyboard itself: MAP, KNOBS and STATE (ALGORITHM while held).
@@ -191,8 +195,9 @@ VOICE singing its lyric, in the COLORS skin, exactly as the firmware draws them
amount's heat (0.9.5, as 0.6), the other palettes give each knob its own colour.
- **Skins** (MENU > DISPLAY > SKIN, 0.8.9): **AIR** (0.9.7, the default of new settings: HUD's floating words on
every page, the knob row on top under the tabs, the middle free), **COLORS** (near-black rounded cards on top, a rounded
panel), **BOTTOM** (no cards: the picture the screen's width, a slim knob row at the foot) and **HUD** (HOME's
beings swim under everything, the words float over them). Every skin wears the **LENTE** layout (0.8.5): the
panel) and **HUD** (HOME's beings swim under everything, the words float over them, the knob row at the foot; on the
SEQ pages on top, as AIR's). (0.9.17: BOTTOM, the knob row at the foot on every page, is retired; a saved BOTTOM
opens as AIR.) Every skin wears the **LENTE** layout (0.8.5): the
section's groups as tabs on top (a dot a page), the breadcrumb **SECTION · GROUP · page n/N** at the foot. Values
in [Inter Tight](https://github.com/rsms/inter-tight) SemiBold, names, tabs and the breadcrumb in a crisp 5 × 7
pixel face, small captions in [Chakra Petch](https://github.com/m4rc1e/Chakra-Petch).
@@ -314,6 +319,11 @@ With FX held the keys become effects that act while held; on release everything
recording with overdub, metronome and count-in.
- **SEQ's chain** (0.9.2): PATTERN (PATTERN, STRETCH, PLAYHEADS), TRACK (TRACK, MUTATE), BAR (BAR, STEP, NOTE), STEP
(COMP, COMP 2), AUTO (AUTOMATION, AUTO LIST); KNOB 1 the bar on BAR, all 64 steps on STEP; PRESETS loads a pattern.
- **One picture for the whole SEQ** (0.9.17): every page shows the pattern's bars in a strip and the cursor's bar as
the piano roll (a kit: the grid), the values on top; each page marks what it does on it: PATTERN draws the notes as
long as GATE plays them and the odd steps late by SWING, TRACK outlines where PITCH moves the notes, PLAYHEADS draws
the extra heads as lines while they play, COMP / COMP 2 a bar over each step with that component, AUTOMATION and
AUTO LIST a mark under each record's step (the row picked framed), MUTATE a chip with the bars to the next mutation.
- **Off the grid in 64ths** (0.9.1): live recording with REC Q under 100 % keeps where you played, to a 64th of a
step; **SEQ › NOTE**'s MICRO edits it (−32/64 … +31/64), and playback honours it to the sample.
- **ROTATE** (STRETCH, KNOB 4) and **PITCH** (TRACK, KNOB 1) shift the sequence in steps and in pitch, automatable.
@@ -366,7 +376,7 @@ Turning fast sweeps the whole range; turning slowly is fine adjustment. Turn it
<details>
<summary><b>What changed from Felucca 1.1.5.1</b></summary>
- **New interface**: thermal palette, four skins (AIR, COLORS, BOTTOM, HUD), the LENTE layout (tabs, cards, breadcrumb),
- **New interface**: thermal palette, three skins (AIR, COLORS, HUD), the LENTE layout (tabs, cards, breadcrumb),
beings, HOME ecosystem, live technical graphs and a power-on signature; navigation by six rules (0.9.2).
- **DRUM** is DRUM-X; Felucca's kits were retired. **CHORD** was retired (its parameters are SHIFT). **PHYS** and
**TRIO** were retired (TRIO lives inside ANALOG; a PHYS sound plays as ANALOG's first preset).
@@ -438,8 +448,8 @@ each layer; the complete manual is in **[docs/MANUAL.md](docs/MANUAL.md)** (en e
orange what's active; on JIANT each card is coloured by its value (cold low, hot high; 0.9.5, as 0.6), the other
palettes give each knob its own colour.
- **Skin** (MENU > DISPLAY > SKIN, 0.8.9): **AIR** (0.9.7, the default of new settings) HUD's look on every page with
the knob row on top, **COLORS** the cards on top in the 0.6 colours, **BOTTOM** the knobs a slim
row at the foot and the middle free, **HUD** HOME's beings over the whole screen under floating words.
the knob row on top, **COLORS** the cards on top in the 0.6 colours, **HUD** HOME's beings over the whole screen under
floating words (the knobs at the foot, on top on the SEQ pages). BOTTOM is retired (0.9.17): a saved BOTTOM opens as AIR.
- **Load meter** (top right, next to the battery): five small bars showing how much of the audio time the sound is
using right now. The firmware's RAM is reserved entirely at boot and doesn't change, so this is what's worth
watching: with all five lit (red, yellow) you're close to the limit and should cut voices, the CLOUD reverb or heavy
@@ -675,17 +685,59 @@ JIANT's modifications are distributed under the same license.
Every update is listed here, newest first. (Since 0.6.80 at the end of the page: what the synth does comes first.)
### v0.9.17
Slower rolls, arpeggios a lap at a time, and VOICE's THEME.
The glitcher, one piano roll across the SEQ pages, a livelier generator and dice, slower rolls, ARP SEQ a lap at a
time, VOICE's THEME, and two fixes.
- **The glitcher (FX layer).** While **GLITCH, TAPE STOP, FREEZE or SHUFFLE** is down (held, or pressed with FX LATCH)
the four knobs are its own; let it go and they are the macros again. The cards and the footer name it.
- **GLITCH** (B3): **DENS** how many sixteenths are cut, **PITCH** each repeat that many semitones above or below the
one before (a riser, or a fall), **SIZE** the repeated slice from a 1/16 down to a 1/256, **VARI** another pattern.
New slices: **SKIP** (tiny fragments of the last 1/16, like a CD skipping) and **CRUSH**.
- **TAPE STOP** (C4): **TIME** (1/64 to a beat) and **CURVE** (− drops at once, + holds then drops). Once stopped,
**KNOB 1 SCRATCH** is your hand on the record: the end of the music, back and forth, its pitch with the speed.
- **SHUFFLE** (C#5, new): the last bar's 1/16s (1/8s, 1/4s) played back in another order, **AMOUNT** of them, some at
half or double speed (**SPEED**); the bar is kept compressed (ADPCM) in the same buffer.
- **FREEZE** (G#4, new): the eighth after the press held as grains, **DENS PITCH SPRAY SIZE**.
- **The FILTER sweep is gone**: KNOB 4's FILTER macro is the layer's one filter, and C#5 is SHUFFLE (a punch-in lane
that recorded the FILTER sweep now plays SHUFFLE there). The glitcher costs nothing at rest.
- **Every SEQ page is the piano roll.** The owner, on the emulator: "Why does it say PLAYHEADS on the sequencer
pages? ... all the sequencer pages should have the same piano roll, each page doing something different on top of
it." All twelve SEQ pages now draw the same picture, the pattern's bars in a strip and the cursor's bar as the roll
(a kit: the grid), the page's marks over it: PATTERN the notes as long as GATE plays them and the odd steps late by
SWING; TRACK the notes moved by PITCH outlined; PLAYHEADS the extra heads as lines while they play (the head edited
3 px; the separate lanes are gone); COMP / COMP 2 a bar over each step with that component; AUTOMATION and AUTO LIST
a mark under each record's step (AUTO LIST's row framed); MUTATE a chip with the bars to the next mutation (FROZEN,
MUTATE OFF). STRETCH, BAR, STEP and NOTE the roll as it was. The "PLAYHEADS" caption over PATTERN's roll is gone
(playheads live on the PLAYHEADS page only), as are PATTERN's big bars, the step drawn large on COMP, and MUTATE's
and AUTO LIST's own panels (the cards say the same). PHRASES and SONG keep their lists.
- **The values on top on every SEQ page, in every skin.** The BOTTOM skin (its knob row at the foot put the values
under the pictures) is retired: MENU › DISPLAY › SKIN steps AIR, COLORS, HUD (the editor's list too); a BOTTOM saved
in the settings, or set by the editor or a restore, opens as AIR, the same word tabs with the row on top. HUD keeps
its row at the foot except on the SEQ pages, where it is on top as AIR's.
- **SEQ + SELECT dices with GEN's own generator.** The track's new sequence is the part GEN would write for it: on the
song's harmony when GEN made the piece (its plan, genre and the track's role), so it fits the other parts; otherwise
a piece's choices made up for it (the last genre, or any, in the track's key). DRUM tracks get drums; other tracks
get the role their steps sound like (low notes a bass, chords a pad, else a lead or an arp). Its sound, mix and
automation stay. song_dice.c's own generator is gone (7.2 KB of flash back).
- **The dice never repeat themselves.** Each press mixes its moment into the random numbers. A throw never brings back
the part, seed or preset of the throw before (an engine's last four presets are skipped). GEN's SEED starts each
session somewhere new: the first OCT+ after power-on made the same piece every time. Bass lines vary their archetype
from throw to throw.
- **GEN's sounds.** Leads and arps get their own envelope shapes, with releases that fit the tempo. Filters start
darker and open with an envelope, with more resonance. Leads get soft LFOs on the filter or a faster vibrato, and
percussion gets its sends. Every word of the recipe now shapes the sound.
- **GEN's melodies.** The lead runs over four bars as a call and an answer, built from syncopated motif cells with a
late variation. The arp leaves space shaped like a figure of the bar, with ghost notes and held notes, and has three
new orders.
- **DRUM-X's octaves above the kit, half as fast again.** Holding a key above OCT 0 on a DRUM track now plays **OCT +1
REPEAT 1/2** (the hit every other step), **+2 REPEAT** (once a step) and **+3 RATCHET x2** (0.9.16: once, x2, x4 a
step). The same goes for MIDI notes 82–93, 94–105 and 106–127. Recording writes what you hear: +1 a hit on every other
step held, +2 one on each, +3 the step's sound at x2. Steps recorded before keep the modes they stored.
- **ARP NOTES / SEQ / SCALE walk one note a lap.** A step with an ARP component (SEQ > COMP) no longer plays its
arpeggio inside the step. Each time the pattern comes round to it, it plays the **next** note of its arpeggio, in its
ORDER and over its range, held over the TIEs after it like any note. SEQ walks the pattern's melody this way. PLAY
from a stop starts again from the first note, as the loops of TRIG, EVERY, WALK and CLIMB do. On a drum kit the
step's sounds take their turns the same way. COMP's KNOB 4 was RATE: it is now **LAP**, the note this pass plays
(RND: a new one each lap). Projects keep the RATE they stored, now unused.
- **ARP SEQ walks the melody one note a lap.** A step with the ARP SEQ component (SEQ > COMP) no longer plays the
pattern's melody inside the step. Each time the pattern comes round to it, it plays the **next** note of the melody,
in its ORDER and over its range, held over the TIEs after it like any note. PLAY from a stop starts again from the
first note, as the loops of TRIG, EVERY, WALK and CLIMB do. On a drum kit the pattern's sounds take their turns the
same way. SEQ's KNOB 4 was RATE: it is now **LAP**, the note this pass plays (RND: a new one each lap). Projects keep
the RATE they stored, now unused. ARP NOTES and SCALE play as before.
- **VOICE's THEME: one detent a theme, and no crackle.** THEME (WORDS) took 16 detents a name. Now every value with
names steps one name a detent, onto the name's middle: THEME and LOOP; LOFI's WAV#, DECAY and ALGO; NOISE's LEN.
The stored 0..127 values, projects, presets, automation and the editor are unchanged. Swept over a held note THEME
@@ -695,6 +747,14 @@ Slower rolls, arpeggios a lap at a time, and VOICE's THEME.
- **THEME between its detents: a blend.** Automation, a mod or an older project can set THEME between two detents.
The lower half of a theme's 16 values (the detent included) sings that theme exactly as before. The upper half mixes
in words from the next theme, from 1 in 8 up to 7 in 8.
- **Fix: a drum hit recorded into a RATCH or ECHO step rolled.** Finger-drumming live into a step that already had a
RATCH or ECHO made the new hit repeat with the step ("random rolls"). A hit recorded so now plays once (the lane's
ONCE mode); the step's other sounds keep their ratchet. Projects store it.
- **Fix: CLOUD silent at SIZE 100 %.** SIZE at its top freezes the grain buffer; after the buffer had been cleared
(a new project, the reverb switched) it froze an empty line and went silent. It now fills before it freezes, and
the grains' overlap limit no longer drops the level 12 dB.
- Flash: the image 565072 B, 19264 B free in the slot (0.9.16: 12992 B free; the SEQ pages' old pictures and
song_dice.c's generator gave back more than the glitcher and the rest took).
### v0.9.16
The idle floor.
- **At rest the audio does almost nothing.** An owner's PROFILE on 0.9.14, stopped and silent: 21 % of the audio's time
+84 -53
View File
@@ -143,11 +143,12 @@ atajos de esa capa; en la grilla DRUM son pasos y carriles; en la pantalla NAME
## 2. La pantalla
### Pieles: AIR, COLORS, BOTTOM, HUD (0.8.9, AIR 0.9.7)
### Pieles: AIR, COLORS, HUD (0.8.9, AIR 0.9.7)
**MENU > DISPLAY > SKIN** elige cómo se visten las lentes (la maqueta aprobada "skin aireado", opciones 1, 3 y 4; 0.9.7:
AIR, la opción aprobada); en todas las páginas, todas las paletas, FLAT y LINE. El menú las recorre AIR, COLORS, BOTTOM,
HUD:
AIR, la opción aprobada); en todas las páginas, todas las paletas, FLAT y LINE. El menú las recorre AIR, COLORS, HUD
(0.9.17: BOTTOM, la fila de perillas al pie en todas las páginas, se retiró; un BOTTOM guardado en los ajustes, o puesto
por el editor o una restauración, abre como AIR):
- **AIR** (0.9.7; la de fábrica de los ajustes nuevos: un FM-1 nuevo o con sus ajustes borrados; los ajustes guardados
antes conservan la piel que tenían): el aspecto de HUD en **todas** las páginas, con la **fila de perillas arriba**,
@@ -164,10 +165,10 @@ HUD:
la perilla que girás enmarcada en su color; la pestaña del grupo rellena de violeta; el número de la pista en una
cajita naranja, un ▶ violeta y el BPM grande en violeta en el encabezado; un panel casi negro redondeado; los seres con
el calor de la 0.6 (púas violetas, anillos rojo y naranja, núcleos crema).
- **BOTTOM**: las pestañas son las palabras de los grupos (la del grupo en el que estás con una pastillita debajo, un punto por página), sin cartas ni caja de panel: el
medio de la pantalla es el dibujo, de borde a borde (los seres de HOME tienen todo el lugar), y las cuatro perillas
son una fila fina sobre la miga de pan (marca y nombre, el valor en su color, una barra finita).
- **HUD**: como BOTTOM, pero en HOME los seres nadan **debajo de todo, por la pantalla entera**: el encabezado, las
- **HUD**: las pestañas son las palabras de los grupos (un punto por página debajo de cada una), sin cartas ni caja de
panel: el medio de la pantalla es el dibujo, de borde a borde, y las cuatro perillas son una fila fina sobre la miga de
pan (marca y nombre, el valor en su color, una barra finita); en las páginas SEQ la fila va arriba, debajo de las
pestañas, como en AIR (0.9.17: los valores sobre el roll). En HOME los seres nadan **debajo de todo, por la pantalla entera**: el encabezado, las
pestañas, las perillas y la miga flotan encima como texto claro con un borde oscuro de 2 px (0.9.0). Ahí la fila de
perillas se apaga a un quinto unos segundos después de la última vuelta de perilla y vuelve con la siguiente o al
cambiar de página; en las demás páginas queda encendida. La palabra del grupo va subrayada con una rayita.
@@ -206,7 +207,7 @@ Desde la 0.8.5 todas las páginas llevan la piel del diseño que aprobó el due
la sección (0.9.2; p. ej. **FX · DELAY · DLY 2 6/16**, **ENV · TRACKS · TRACKS DEST 2/5**).
- **Las pestañas** (0.9.2): debajo del encabezado, los **grupos** de la sección (FX: TRK · BUS · DLY · REV · CHO · SLC ·
MST · PCH; SEQ: PATT · TRACK · BAR · STEP · AUTO), encendido el del grupo en el que estás (COLORS: relleno violeta;
BOTTOM: una pastillita; HUD y AIR: una rayita), y **un punto por página** debajo de cada uno, encendido el de la página que
HUD y AIR: una rayita), y **un punto por página** debajo de cada uno, encendido el de la página que
se ve. Las tarjetas debajo, un panel más alto, y el pie es solo la miga de pan.
- **Las letras chicas** (desde la 0.8.5): los nombres de las tarjetas, las pestañas, la miga de pan, las
@@ -276,7 +277,7 @@ páginas, sus perillas, sus dibujos y todas las funciones son las mismas, solo c
no recorre páginas: regla 3.)
6. **La pantalla dice dónde estás.** Arriba, las pestañas son los **grupos** de la sección, el actual encendido y un
puntito por cada una de sus páginas. Abajo: **SECCIÓN · GRUPO · página** y **n/N**, el lugar de la página en la
cadena: **FX · DELAY · DLY 2 6/16**. Igual en AIR, COLORS, BOTTOM y HUD, con todas las paletas.
cadena: **FX · DELAY · DLY 2 6/16**. Igual en AIR, COLORS y HUD, con todas las paletas.
- Cada sección recuerda la página donde la dejaste (EDIT una para los sintes y una para FM6 y otra para DRUM); al
encender SEQ abre en STEP, ENV en ENV, LFO en LFO, las demás en su primera página.
@@ -512,7 +513,7 @@ SEQ las suyas). El encabezado nombra la capa en palabras, **[GLO] SET**. El pie
| Teclas | Efecto |
| --- | --- |
| F3 G3 A3 | REPEAT 1/8, 1/16, 1/32 |
| B3 / C4 | GLITCH / TAPE STOP (0.9.15) |
| B3 / C4 | GLITCH / TAPE STOP (0.9.15; 0.9.17 mientras los mantenés las perillas son suyas, TAPE STOP scratchea) |
| D4 / E4 | OCT− / OCT+ |
| F4 | 1/2 TEMPO |
| G4 / A4 | DEC− / DEC+ |
@@ -523,8 +524,10 @@ SEQ las suyas). El encabezado nombra la capa en palabras, **[GLO] SET**. El pie
| G5 | borra el carril de punch-in |
| Teclas negras 1–6 (F#3 G#3 A#3 C#4 D#4 F#4) | mutean T1–T6 mientras las mantenés |
| A#4 | a qué pistas afectan los efectos de nota: ALL / SYN / DRM |
| C#5 / D#5 / F#5 | los barridos FILTER / CRUSH / THROW (0.9.15): de seco a mojado en 2 compases mientras los mantenés, vuelven en un tiempo |
| **Perillas** | las macros de interpretación STEPS, TRANSPOSE, MUTATE, FILTER (0.9.15): suben a la derecha; girar cualquiera para atrás apaga las cuatro |
| G#4 | FREEZE (0.9.17): la corchea después de apretar, sostenida en granos |
| C#5 | SHUFFLE (0.9.17): las 1/16 del último compás en otro orden (la tecla del barrido FILTER hasta 0.9.16) |
| D#5 / F#5 | los barridos CRUSH / THROW (0.9.15): de seco a mojado en 2 compases mientras los mantenés, vuelven en un tiempo |
| **Perillas** | las macros de interpretación STEPS, TRANSPOSE, MUTATE, FILTER (0.9.15): suben a la derecha; girar cualquiera para atrás apaga las cuatro. Mientras GLITCH, TAPE STOP, FREEZE o SHUFFLE está abajo: sus cuatro (0.9.17) |
**GLO — mezcla**
@@ -1017,14 +1020,23 @@ naranja, un compás más allá de LEN oscuro.
| Grupo | Páginas | Qué muestra la pantalla |
| --- | --- | --- |
| **PATTERN** | PATTERN · STRETCH · PLAYHEADS | Los compases del patrón uno al lado del otro en miniaturas grandes, cada una sus dieciséis pasos como rayitas (una pista DRUM: sus carriles); debajo, **PLAYHEADS**: el patrón entero como un solo roll chiquito (las filas de la escala teñidas, las líneas de los tiempos más claras, un paso con componente marcado arriba, los pasos más allá de LEN oscuros) con el cabezal y los cabezales extra de PLAYHEADS (una marquita cada uno al pie). |
| **TRACK** | TRACK · MUTATE | El mismo dibujo, con los ajustes de la pista en las tarjetas. |
| **BAR** | **BAR** · STEP · NOTE | **BAR** (nueva): los compases como en PATTERN, **KNOB 1 el compás** que editás (el cursor conserva su lugar dentro del compás), KNOB 2 LEN. **STEP** / **NOTE**: arriba una tira con los compases del patrón en chiquito (el que editás teñido), y debajo el **piano roll** del compás a todo el ancho: 30 semitonos, las filas de la escala teñidas, el cursor un marco violeta alrededor de su columna, el cabezal una línea naranja, un paso con componente una marquita arriba, un lock una marca al pie, una tecla apretada en la pista una marca a la izquierda de su fila (una pista DRUM: la **grilla**, con sus teclas). El KNOB 1 de STEP recorre **los 64 pasos** y entra solo en el compás siguiente. |
| **STEP** | COMP · COMP 2 | El paso del cursor dibujado grande: arriba **STEP n** y a la derecha NOTE / TIE / REST (una nota de más de un paso: **LEN n**, que se fija con el KNOB 3 de STEP); a la izquierda sus notas como barras donde las pone su altura, cada una con su nombre (la nota en foco en naranja, MICRO las corre, RATCH las parte; un TIE muestra las notas que sostiene), y a la derecha sus fichas: **ACC, SLD, MICRO n, COMP1 x, COMP2 x, CHANCE n%** (con un valor puesto: una ficha teñida de violeta; sin nada: apagada). |
| **AUTO** | AUTOMATION · AUTO LIST | La automatización de la pista: los registros contados, después como lista. |
| **PATTERN** | PATTERN · STRETCH · PLAYHEADS | (0.9.17) El roll, como toda página SEQ. **PATTERN** dibuja las notas tan largas como las toca **GATE** y los pasos impares atrasados según **SWING**; los pasos más allá de **LEN** oscuros (en la tira, los compases más allá). **PLAYHEADS** dibuja sus cabezales extra sobre el roll como líneas mientras suenan, cada uno tan caliente como su número (el que editás de 3 px). |
| **TRACK** | TRACK · MUTATE | **TRACK** contornea adónde lleva **PITCH** las notas (en gris, sobre las notas como están escritas). **MUTATE** muestra una ficha al pie del roll: los compases hasta la próxima mutación (**NEXT n BARS**), **FROZEN** o **MUTATE OFF**. |
| **BAR** | **BAR** · STEP · NOTE | **KNOB 1 el compás** en BAR (el cursor conserva su lugar dentro del compás), KNOB 2 LEN. El KNOB 1 de STEP recorre **los 64 pasos** y entra solo en el compás siguiente; en NOTE la nota en foco en naranja. |
| **STEP** | COMP · COMP 2 | Una barra arriba de cada paso con ese componente (COMP: el primero, COMP 2: el segundo; un arpegio naranja, otro violeta); el paso del cursor enmarcado. |
| **AUTO** | AUTOMATION · AUTO LIST | Una marca debajo de cada paso con un registro (un lock naranja, automatización blanca); en AUTO LIST el registro elegido tiene su paso enmarcado en violeta, y las tarjetas dicen su fila, paso, parámetro y valor. |
Desde la 0.8.5 el roll ya no tiene la tira de teclado ni los nombres de las filas de C (como la maqueta): el dibujo del
paso nombra las notas y la tarjeta PITCH dice la nota en foco.
**Un solo dibujo para todo SEQ** (0.9.17, el pedido del dueño: "todas las páginas del secuenciador con el mismo piano
roll, y cada página hace algo distinto encima"): toda página muestra arriba una tira con los compases del patrón en
chiquito (el que editás teñido) y debajo el **piano roll** del compás a todo el ancho: 30 semitonos, las filas de la
escala teñidas, el cursor un marco alrededor de su columna, el cabezal una línea naranja, un paso con componente una
marquita arriba, un lock una marca al pie, una tecla apretada en la pista una marca a la izquierda de su fila (una
pista DRUM: la **grilla**, con sus teclas). Las marcas propias de la página van encima (la tabla). Hasta la 0.9.16 el
grupo PATTERN dibujaba los compases en miniaturas grandes con un roll "PLAYHEADS" debajo, COMP el paso grande con sus
fichas, PLAYHEADS tres carriles, MUTATE y AUTO LIST paneles propios.
Desde la 0.8.5 el roll ya no tiene la tira de teclado ni los nombres de las filas de C (como la maqueta): la tarjeta
PITCH dice la nota en foco.
- **SEQ desde otra página** vuelve a la página que dejaste; al encender, STEP, el piano roll.
- **PRESETS** en una página SEQ carga un **patrón**: abre el cargador PHRASES con el patrón siguiente elegido (KNOB 1
@@ -1080,14 +1092,18 @@ seleccionada se graban como **automatización**. MENU > AUDIO tiene el **CLICK**
- **CHANCE** (0–100 %) y **RATCH** (x1–x4): la probabilidad y el ratchet propios del paso (solo en COMP). El KNOB 4
de RATCH es su **DIV**: STEP reparte los golpes en el paso (como antes); 1/2, 1/3, 1/4, 1/6, 1/8 los separa esa
fracción de paso desde el inicio, los que entren (RATCH x3 a 1/8: tres golpes rápidos y después silencio).
- **ARP NOTES / SEQ / SCALE** (0.9.17): el paso recorre su arpegio **una nota por vuelta**: cada vez que el patrón
vuelve a él, toca la nota siguiente, sostenida sobre los ties que vienen después como cualquier nota. NOTES: las
notas del paso, de grave a agudo; SEQ: la melodía del patrón, en el orden en que la toca el patrón; los dos sobre
1–4 octavas. SCALE: la escala hacia arriba desde la nota más grave del paso, 3, 5, 8 o 15 grados. KNOB 3 **ORDER**
y rango en una sola lista (UP, DOWN, UP-DN, RND sobre 1 OCT, después sobre 2 OCT …; en SCALE 3, 5, 8, 15 DEG).
KNOB 4 **LAP** muestra la nota que toca esta vuelta (RND: una nueva cada vuelta). PLAY desde stop arranca otra vez
de la primera nota, como las vueltas de los otros componentes. (Hasta 0.9.16 el paso tocaba sus notas dentro del
paso, KNOB 4 su RATE x1 … x8; los proyectos guardan el RATE que tenían, ahora sin uso.)
- **ARP NOTES / SEQ / SCALE**: el paso toca un arpegio y sigue sobre los ties que vienen después (su duración, el
paso y sus ties). NOTES: las notas del paso, de grave a agudo; SEQ: la melodía del patrón, en el orden en que la
toca el patrón (0.6.82; antes se ordenaba como NOTES); los dos sobre 1–4 octavas. SCALE: la escala hacia arriba
desde la nota más grave del paso, 3, 5, 8 o 15 grados. KNOB 3 **ORDER** y rango en una sola lista (UP, DOWN, UP-DN,
RND sobre 1 OCT, después sobre 2 OCT …; en SCALE 3, 5, 8, 15 DEG). KNOB 4 **RATE** (0.6.92), la velocidad del
arpegio en tiempo musical: **x1** una nota por paso (el DIV de la pista, 1/16), **1/32** dos por paso, **1/32T**
tres, **1/64** cuatro, **1/64T** seis, **1/128** ocho (la tarjeta dice la figura según el DIV de la pista; un DIV
raro: xn). Los x2 … x8 de antes son los mismos valores. **SEQ recorre una nota por vuelta** (0.9.17): cada vez
que el patrón vuelve al paso toca la nota siguiente de la melodía, en su ORDER y rango, sostenida sobre los ties
que vienen después como cualquier nota; su KNOB 4 es **LAP**, la nota de esta vuelta (RND: una nueva cada vuelta),
y PLAY desde stop arranca otra vez de la primera nota, como las vueltas de los otros componentes. (Hasta 0.9.16 SEQ
tocaba la melodía dentro del paso a su RATE; los proyectos guardan ese RATE, ahora sin uso.)
- **TRIG**: el paso suena solo en algunas vueltas del patrón: 1:2, 2:2, 1:3, 2:3, 3:3, 1:4 … 4:4, 1:8, FIRST, !1ST
(todas menos la primera).
- **RAND**: la nota sube o baja por la escala al azar, hasta RANGE grados (1–7).
@@ -1131,8 +1147,8 @@ seleccionada se graban como **automatización**. MENU > AUDIO tiene el **CLICK**
página ya no existe), con su A / B leídos como uno solo.
Los proyectos los guardan. **En un kit de batería** (0.6.83) también funcionan: OCT, RAND y TONAL afinan los golpes
(RAND y TONAL en la escala de la pista), BEND dobla cada golpe durante el paso; ARP NOTES toca los sonidos del paso
uno tras otro, SEQ los sonidos del patrón en el orden en que suenan, SCALE los golpes del paso un grado más arriba
(0.9.17: uno por vuelta).
uno tras otro, SEQ los sonidos del patrón en el orden en que suenan, SCALE re-dispara los golpes del paso, cada parte
un grado más arriba (0.9.17: SEQ uno por vuelta).
- **Un slide de acordes largo** (0.6.83): el glide hacia un acorde dura lo que dura ese acorde, con sus TIEs; GLIDE
fija cuánto de ese tramo (127: todo). Un acorde sostenido con TIEs en pasos lentos (p. ej. DIV 1/4 a 120 BPM: diez
pasos, 5 s) se desliza así de lento y suave; las notas nuevas aparecen a medida que se deslizan.
@@ -1605,9 +1621,11 @@ La misma idea para las otras partes de la pista seleccionada, cada una se escuch
DICED …?** (SELECT otra vez: otra tirada, **OCT+ OK** la deja, **OCT− CANCEL** devuelve lo que había, el resto sigue
sonando):
- **SEQ + SELECT**: una secuencia nueva como escribe una parte DICE ALL, en la escala de la pista: un beat en una pista
DRUM; si no, el rol al que suenan sus pasos (notas graves: un bajo, acordes: un pad, si no una lead o un arpegio). Su
sonido, su mezcla y su automatización quedan.
- **SEQ + SELECT** (0.9.17): una secuencia nueva, la parte que escribiría el generador de GEN para la pista: sobre la
armonía de la canción si GEN hizo la pieza (su plan, su género y el rol de la pista), así encaja con las otras; si
no, en la tonalidad de la pista, con un género inventado para ella. Batería en una pista DRUM; si no, el rol al que
suenan sus pasos (notas graves: un bajo, acordes: un pad, si no una lead o un arpegio). Nunca la misma parte dos
veces seguidas. Su sonido, su mezcla y su automatización quedan.
- **LFO + SELECT**: el LFO de la pista: un rate en el medio del rango, cualquier onda y fase, a veces un fade, apuntado
sobre todo al filtro, un poco a la forma, rara vez al pitch o al volumen.
- **FX + SELECT**: el drive de la pista (la mitad de las veces nada), sus envíos de chorus, delay y reverb, un AUTO PAN
@@ -1885,30 +1903,44 @@ las pistas sobre las que actúa (ALL, SYN, DRM). Para grabar: REC armado y tocan
la tecla del efecto; los pasos que pasa lo reciben; **G5** sostenido borra por donde pasa el cabezal. Se guarda con
la sección.
- **Sobre el audio**: REPEAT 1/8, 1/16, 1/32 (F3 G3 A3), **GLITCH** (B3), **TAPE STOP** (C4). Arrancan en la siguiente
1/16 mientras suena. Por debajo de unos 81 BPM, REPEAT 1/8 es demasiado largo para su buffer y aparece atenuado.
- **GLITCH** (0.9.15) corta el master en las semicorcheas del transporte: cada una suena en vivo, o repite la última
1/16, 1/32 o 1/64, o la última semicorchea al revés, una octava arriba (al doble de velocidad, dos veces) o una
octava abajo (su primera mitad a media velocidad), o con gate a 1/32 o 1/64. Cuál le toca lo fija su lugar en un
ciclo de dos compases del transporte: el dibujo groovea y vuelve igual cada vez que lo apretás ahí; los tiempos
fuertes quedan casi siempre en vivo. Cada corte entra y sale en 3 ms (sin clics). Su primera semicorchea es en vivo
(todavía no grabó nada); por debajo de ~81 BPM solo suenan sus gates y los cortes en vivo (el buffer tiene 371 ms).
- **TAPE STOP** (0.9.15): toda la mezcla se frena hasta pararse en un tiempo (como mucho 0,68 s, el límite del buffer:
desde unos 88 BPM para abajo es menos de un tiempo), la altura cayendo con ella y apagándose en el último cuarto;
después silencio mientras lo mantenés. Al soltar, la música al instante, donde va. Un toque al final de una frase,
antes del drop.
REPEAT, GLITCH y TAPE STOP comparten un buffer (el del SLICER, prestado: mientras tanto el SLICER suena en vivo); de
los que mantenés suena el último apretado.
- **Sobre el audio**: REPEAT 1/8, 1/16, 1/32 (F3 G3 A3) y **el glitcher** (0.9.17): **GLITCH** (B3), **TAPE STOP**
(C4), **FREEZE** (G#4), **SHUFFLE** (C#5). Arrancan en la siguiente 1/16 mientras suena (al instante parado). Por
debajo de unos 81 BPM, REPEAT 1/8 es demasiado largo para su buffer y aparece atenuado. **Mientras una tecla del
glitcher está abajo** (mantenida, o apretada con FX LATCH) **las cuatro perillas son suyas** (lo dicen las tarjetas
y el pie); al soltarla vuelven a ser las macros. Sus ajustes no se guardan.
- **GLITCH** (0.9.15; perillas 0.9.17: **DENS PITCH SIZE VARI**) corta el master en las semicorcheas del
transporte: cada una suena en vivo, o repite el último corte (SIZE: de 1/16 a 1/256), cada repetición PITCH
semitonos más arriba o más abajo que la anterior (una subida o una caída), o la última semicorchea al revés, una
octava arriba o abajo, con gate, **SKIP** (fragmentos mínimos de cualquier lugar de la última 1/16, como un CD que
salta) o **CRUSH**. DENS fija cuántas semicorcheas se cortan (los tiempos, menos); VARI elige otro dibujo. Qué hace
cada corte lo fija su lugar en un ciclo de dos compases del transporte: groovea y vuelve igual cada vez. Cada corte
entra y sale suave (sin clics). Por debajo de ~82 BPM solo suenan sus gates, crushes y cortes en vivo (el buffer
tiene 371 ms).
- **TAPE STOP** (0.9.15; perillas 0.9.17: **SCRATCH TIME CURVE**): toda la mezcla se frena hasta pararse en TIME
(de 1/64 a un tiempo, como mucho lo que entra en el buffer), la altura cayendo con ella; CURVE − cae enseguida, +
aguanta y después cae. Ya parada, el final de la música queda guardado y **la KNOB 1 es tu mano sobre el disco**:
girala para scratchear para atrás y para adelante (la altura con la velocidad, mudo en reposo). Al soltar C4, la
música al instante, donde va.
- **FREEZE** (0.9.17, G#4; **DENS PITCH SPRAY SIZE**): la corchea después de apretar queda guardada (mientras tanto
se oye en vivo) y suena en granos: SIZE de 1/128 a 1/8, de 1 a 4 superpuestos (DENS), PITCH semitonos, recorriendo
la corchea despacio ida y vuelta (un estiramiento); SPRAY dispersa dónde leen y mueve algunos una octava, una
quinta o una cuarta.
- **SHUFFLE** (0.9.17, C#5; **AMOUNT SIZE SPEED VARI**): las 1/16 del último compás (1/8, 1/4: SIZE) en otro orden:
AMOUNT de ellas se reemplazan por otro pedazo del último compás (los tiempos, y el primero del compás, solo con
más cantidad); SPEED toca las movidas a media velocidad, al doble o su primera mitad dos veces; VARI elige otro
orden. El compás se guarda comprimido en el mismo buffer (un compás entero hasta unos 87 BPM).
REPEAT y el glitcher comparten un buffer (el del SLICER, prestado: mientras tanto el SLICER suena en vivo); de los
que mantenés suena el último apretado, y al soltarlo vuelve el que mantenías antes.
- **Sobre las notas**: OCT− / OCT+ (D4 E4), 1/2 TEMPO (F4), DEC− (corto, punteado) / DEC+ (largo) (G4 A4), STUTTER
1/8 / 1/16 (B4 C5), ATK+ (ataques lentos, baterías incluidas) (D5), ARP (E5; en una pista DRUM, un fill nuevo en cada
pulsación), RANDOM (F5). Entran en la siguiente 1/16. **A#4** elige a qué pistas afectan: ALL, SYN (sintes) o DRM
(baterías); el encabezado lo muestra.
- **Los barridos** (0.9.15, teclas negras **C#5 D#5 F#5**; hasta 0.9.14 las perillas FILTER CRUSH THROW y las teclas
- **Los barridos** (0.9.15, teclas negras **D#5 F#5**; hasta 0.9.14 las perillas FILTER CRUSH THROW y las teclas
LPF HPF): mantenidos, el efecto va de seco a mojado en **2 compases al tempo**, con una curva en S (sale despacio de
seco, acelera en el medio, se asienta en mojado); al soltar vuelve a seco en **un tiempo** con la misma curva, así un
soltar a tiempo suena intencional. Actúan al instante (no esperan la 1/16) y se suman a todo.
- **FILTER** (C#5): el pasa-altos del DJ FILTER del master abriéndose, de ~32 Hz a ~6 kHz (el clásico de la subida:
el bajo se va primero). Mientras barre le toma el DJ FILTER a la KNOB 4 de GLO › MIXER, que vuelve cuando está seco.
- (El barrido FILTER en C#5 se fue en 0.9.17: la macro FILTER de la KNOB 4 es el único filtro de la capa, y C#5 es
SHUFFLE.)
- **CRUSH** (D#5): menos bits (de 4 a 11 menos) y menos frecuencia (una muestra repetida de 1 a 8 veces), y su mezcla
subiendo.
- **THROW** (F#5): la mezcla seca (y el bus del SLICER) a los envíos de delay y reverb, hasta toda: los ecos y la sala
@@ -1923,8 +1955,7 @@ la sección.
- **KNOB 3 MUTATE**: la música como está pasa a ser el ancla de MUTATE y cada patrón muta alrededor de ella según la
cantidad (notas por la escala, acentos, notas agregadas a contratiempo o quitadas, golpes de batería), en el tiempo
siguiente y otra vez cada compás.
- **KNOB 4 FILTER**: el pasa-bajos del DJ FILTER del master cerrándose (el pasa-altos del barrido gana cuando va más
lejos).
- **KNOB 4 FILTER**: el pasa-bajos del DJ FILTER del master cerrándose.
- **Girá cualquiera para atrás** (dos pasos en contra del reloj; uno se ignora, así un roce no hace nada) y **las
cuatro se apagan de golpe**: largo completo, sin transponer, cada patrón exactamente como antes de MUTATE, el filtro
abierto. La pantalla dice **MACROS OFF** y las tarjetas caen a OFF. Después cada una vuelve a subir desde cero al
@@ -1935,7 +1966,7 @@ la sección.
- **Teclas negras 1–6**: mutean T1–T6 mientras las mantenés (no se guarda).
**El carril de punch-in**: cada sección tiene un carril de 64 pasos de 1/16 (4 compases). Con **REC armado y sonando**
(no durante un tema), los **efectos de nota (D4–F5)**, **GLITCH**, **TAPE STOP** y **los barridos** que mantenés se
(no durante un tema), los **efectos de nota (D4–F5)**, **GLITCH**, **TAPE STOP**, **SHUFFLE** y **los barridos** que mantenés se
graban en él, uno por paso (el más bajo mantenido; REPEAT y los mutes no se graban). Al reproducirse, un barrido
mantenido a lo largo de varios pasos sube como si lo mantuvieras. 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
@@ -2191,7 +2222,7 @@ SKIN 2/28**. El encabezado dice MENU · DISPLAY.
| Pestaña | Fila | Valores |
| --- | --- | --- |
| DISPLAY | COLOR | GREY, GREEN, AMBER, ICE, VIOLET, ROSE, PAPER, HI-CON, NIGHT, MONO, **JIANT** (por defecto) |
| DISPLAY | SKIN | **AIR** (de fábrica en los ajustes nuevos), COLORS, BOTTOM, HUD — (0.8.9; AIR 0.9.7) ver [Pieles](#pieles-air-colors-bottom-hud-089-air-097) |
| DISPLAY | SKIN | **AIR** (de fábrica en los ajustes nuevos), COLORS, HUD — (0.8.9; AIR 0.9.7; BOTTOM retirado en 0.9.17: abre como AIR) ver [Pieles](#pieles-air-colors-hud-089-air-097) |
| DISPLAY | SCOPE | **OFF** (de fábrica), ON — (0.9.7) las páginas EDIT de un motor: OFF la criatura en todo el panel, centrada, el nombre de la página y el del sonido chiquitos en sus esquinas; ON la criatura a la izquierda, la carta SCOPE y las fichas como antes. Los ajustes guardados antes de 0.9.7 cargan OFF |
| DISPLAY | STYLE | FLAT, LINE |
| DISPLAY | LARGE | OFF, ON (etiquetas y valores grandes) |
+78 -50
View File
@@ -140,11 +140,12 @@ layer's shortcuts; on the DRUM grid they are steps and lanes; on the NAME screen
## 2. The screen
### Skins: AIR, COLORS, BOTTOM, HUD (0.8.9, AIR 0.9.7)
### Skins: AIR, COLORS, HUD (0.8.9, AIR 0.9.7)
**MENU > DISPLAY > SKIN** picks how the lenses are dressed (the approved mock-up "skin aireado", options 1, 3 and 4;
0.9.7: AIR, the approved option); every page, every palette, FLAT and LINE. The menu steps them AIR, COLORS, BOTTOM,
HUD:
0.9.7: AIR, the approved option); every page, every palette, FLAT and LINE. The menu steps them AIR, COLORS, HUD
(0.9.17: BOTTOM, the knob row at the foot on every page, is retired; a BOTTOM saved in the settings, or set by the
editor or a restore, opens as AIR):
- **AIR** (0.9.7; the default of new settings: a new FM-1, or its settings erased; settings saved before keep the
skin they had): HUD's look on **every** page, with the **knob row on top**, right under the tabs: no cards and no
@@ -160,10 +161,10 @@ HUD:
four knob colours), the knob you turn framed in its colour; the
group's tab filled violet; the selected track's number in an orange box, a violet ▶ and a big violet BPM in the header;
a near-black rounded panel; the beings in the 0.6 heat (violet spikes, red and orange rings, cream nuclei).
- **BOTTOM**: the tabs are the groups' words (the one you are on underlined by a small pill, a dot a page under each), no cards and no panel box: the middle
of the screen is the picture, the screen's width (HOME's beings get the most room), and the four knobs are a slim row
over the breadcrumb (mark and name, the value in its colour, a hairline bar).
- **HUD**: as BOTTOM, but on HOME the beings swim **under everything, over the whole screen**: the header, the tabs,
- **HUD**: the tabs are the groups' words (a dot a page under each), no cards and no panel box: the middle of the
screen is the picture, the screen's width, and the four knobs are a slim row over the breadcrumb (mark and name, the
value in its colour, a hairline bar); on the SEQ pages the row is on top under the tabs, as AIR's (0.9.17: the values
over the roll). On HOME the beings swim **under everything, over the whole screen**: the header, the tabs,
the knobs and the breadcrumb float over them as light words with a 2 px dark outline (0.9.0). There the knob row
fades to a fifth a few seconds after you last turned a knob, and comes back at the next turn or when you change page;
on every other page it stays lit. The group's word is underlined by a dash.
@@ -198,7 +199,7 @@ Since 0.8.5 every page wears the skin of the design the owner approved (the HTML
**breadcrumb**: **SECTION · GROUP · page** and the page's place in the section's chain at the right (0.9.2; e.g.
**FX · DELAY · DLY 2 6/16**, **ENV · TRACKS · TRACKS DEST 2/5**).
- **The tabs** (0.9.2): under the header, the section's **groups** (FX: TRK · BUS · DLY · REV · CHO · SLC · MST · PCH;
SEQ: PATT · TRACK · BAR · STEP · AUTO), the one you are on lit (COLORS: filled violet; BOTTOM: a small pill; HUD and AIR:
SEQ: PATT · TRACK · BAR · STEP · AUTO), the one you are on lit (COLORS: filled violet; HUD and AIR:
a dash), and **a dot a page** under each, the page shown lit. The cards under them, a taller panel, and the footer is
the breadcrumb alone.
@@ -266,7 +267,7 @@ knobs, their pictures and every function are the same, only the way between them
**GLO** the tempo, **ENV / SCL / ARP / SAVE** walk their chain. (Held + PRESETS no longer walks pages: rule 3.)
6. **The screen says where you are.** On top, the tabs are the section's **groups**, the one you are on lit and a dot
for each of its pages. At the foot: **SECTION · GROUP · page** and **n/N**, the page's place in the chain:
**FX · DELAY · DLY 2 6/16**. The same in AIR, COLORS, BOTTOM and HUD, every palette.
**FX · DELAY · DLY 2 6/16**. The same in AIR, COLORS and HUD, every palette.
- Each section remembers the page it was left on (EDIT one for the synths and one each for FM6 and DRUM); at power-on
SEQ opens on STEP, ENV on ENV, LFO on LFO, the others on their first page.
@@ -497,7 +498,7 @@ breadcrumb, **FX · MAP**. The keys and knobs do exactly what they did.
| Keys | Effect |
| --- | --- |
| F3 G3 A3 | REPEAT 1/8, 1/16, 1/32 |
| B3 / C4 | GLITCH / TAPE STOP (0.9.15) |
| B3 / C4 | GLITCH / TAPE STOP (0.9.15; 0.9.17 the knobs are theirs while held, TAPE STOP scratches) |
| D4 / E4 | OCT− / OCT+ |
| F4 | 1/2 TEMPO |
| G4 / A4 | DEC− / DEC+ |
@@ -507,9 +508,11 @@ breadcrumb, **FX · MAP**. The keys and knobs do exactly what they did.
| F5 | RANDOM |
| G5 | erases the punch-in lane |
| Black keys 1–6 (F#3 G#3 A#3 C#4 D#4 F#4) | mute T1–T6 while held |
| G#4 | FREEZE (0.9.17): the eighth after the press held as grains |
| A#4 | which tracks the note effects touch: ALL / SYN / DRM |
| C#5 / D#5 / F#5 | the sweeps FILTER / CRUSH / THROW (0.9.15): dry to wet over 2 bars while held, back in a beat |
| **Knobs** | the performance macros STEPS, TRANSPOSE, MUTATE, FILTER (0.9.15): up to the right; any knob turned back turns all four off |
| C#5 | SHUFFLE (0.9.17): the last bar's 1/16s in another order (the FILTER sweep's key until 0.9.16) |
| D#5 / F#5 | the sweeps CRUSH / THROW (0.9.15): dry to wet over 2 bars while held, back in a beat |
| **Knobs** | the performance macros STEPS, TRANSPOSE, MUTATE, FILTER (0.9.15): up to the right; any knob turned back turns all four off. While GLITCH, TAPE STOP, FREEZE or SHUFFLE is down: its own four (0.9.17) |
**GLO — mix**
@@ -975,14 +978,23 @@ the number of the bar playing orange, a bar past LEN dark.
| Group | Pages | What the screen shows |
| --- | --- | --- |
| **PATTERN** | PATTERN · STRETCH · PLAYHEADS | The pattern's bars side by side as large thumbnails, each its sixteen steps as small dashes (a DRUM track: its lanes); under them **PLAYHEADS**: the whole pattern as one small roll (the scale's rows tinted, the beats' lines brighter, a step with a component marked on top, steps past LEN dark) with the playhead and PLAYHEADS' extra heads (a tick each at the foot). |
| **TRACK** | TRACK · MUTATE | The same picture, the track's own settings on the cards. |
| **BAR** | **BAR** · STEP · NOTE | **BAR** (new): the bars as on PATTERN, **KNOB 1 the bar** you edit (the cursor keeps its place in it), KNOB 2 LEN. **STEP** / **NOTE**: a strip of the pattern's bars, small, on top (the one you edit tinted), and under it the bar's **piano roll** across the whole width: 30 semitones, the scale's rows tinted, the cursor a violet frame round its column, the playhead an orange line, a step with a component a small mark on top, a parameter lock a mark at the foot, a key held on the track a mark at the left of its row (a DRUM track: the **grid**, with its keys). STEP's KNOB 1 walks **all 64 steps**, crossing into the next bar by itself. |
| **STEP** | COMP · COMP 2 | The cursor step drawn large: **STEP n** on top with NOTE / TIE / REST at the right (a note longer than a step: **LEN n**, set on STEP's KNOB 3); at the left its notes as bars where their pitch puts them, each named (the note in focus orange, MICRO moving them, RATCH splitting them; a TIE shows the notes it holds), and at the right its chips: **ACC, SLD, MICRO n, COMP1 x, COMP2 x, CHANCE n%** (a value set: a violet-tinted chip; nothing set: dim). |
| **AUTO** | AUTOMATION · AUTO LIST | The track's automation: the records counted, then as a list. |
| **PATTERN** | PATTERN · STRETCH · PLAYHEADS | (0.9.17) The roll, as every SEQ page. **PATTERN** draws the notes as long as **GATE** plays them and the odd steps late by **SWING**; steps past **LEN** are dark (in the strip, the bars past it). **PLAYHEADS** draws its extra heads over the roll as lines while they play, each as hot as its number (the head you edit 3 px wide). |
| **TRACK** | TRACK · MUTATE | **TRACK** outlines where **PITCH** moves the notes (in grey, over the notes as written). **MUTATE** shows a chip at the roll's foot: the bars to the next mutation (**NEXT n BARS**), **FROZEN**, or **MUTATE OFF**. |
| **BAR** | **BAR** · STEP · NOTE | **KNOB 1 the bar** on BAR (the cursor keeps its place in it), KNOB 2 LEN. STEP's KNOB 1 walks **all 64 steps**, crossing into the next bar by itself; NOTE's note in focus orange. |
| **STEP** | COMP · COMP 2 | A bar over the top of each step with that component (COMP: the first, COMP 2: the second; an arpeggio orange, another violet); the cursor step framed. |
| **AUTO** | AUTOMATION · AUTO LIST | A mark under each step with a record (a lock orange, automation white); on AUTO LIST the record picked has its step framed violet, the cards giving its row, step, parameter and value. |
The roll has no keyboard strip nor the C rows' names since 0.8.5 (the mock-up's): the STEP picture names the notes,
and the PITCH card says the note in focus.
**One picture for the whole SEQ** (0.9.17, the owner's "all the sequencer pages the same piano roll, each page doing
something different on top of it"): every page shows a strip of the pattern's bars, small, on top (the one you edit
tinted) and under it the bar's **piano roll** across the whole width: 30 semitones, the scale's rows tinted, the cursor
a frame round its column, the playhead an orange line, a step with a component a small mark on top, a parameter lock
a mark at the foot, a key held on the track a mark at the left of its row (a DRUM track: the **grid**, with its
keys). The page's own marks go over it (the table). Until 0.9.16 PATTERN's group drew the bars as big thumbnails with a
"PLAYHEADS" roll under them, COMP the step large with its chips, PLAYHEADS three lanes, MUTATE and AUTO LIST panels of
their own.
The roll has no keyboard strip nor the C rows' names since 0.8.5 (the mock-up's): the PITCH card says the note in
focus.
- **SEQ from another page** comes back to the page you left; at power-on STEP, the piano roll.
- **PRESETS** on a SEQ page loads a **pattern**: it opens the PHRASES loader with the next pattern picked (KNOB 1
@@ -1035,14 +1047,17 @@ recorded into the pattern, quantized to its steps, overdubbing. Knob moves on th
- **CHANCE** (0–100 %) and **RATCH** (x1–x4): the step's own chance and ratchet (on COMP only). RATCH's KNOB 4 is
its **DIV**: STEP shares the hits out over the step (as before); 1/2, 1/3, 1/4, 1/6, 1/8 put them that part of a
step apart from its start, as many as fit (RATCH x3 at 1/8: three quick hits, then silence).
- **ARP NOTES / SEQ / SCALE** (0.9.17): the step walks its arpeggio **one note a lap**: each time the pattern comes
round to it, it plays the next note, held over the TIEs after it like any note. NOTES: the step's notes, low to
high; SEQ: the pattern's melody, in the order the pattern plays it; both over 1–4 octaves. SCALE: the scale up
from the step's lowest note, 3, 5, 8 or 15 degrees. KNOB 3 **ORDER** and range as one list (UP, DOWN, UP-DN, RND
over 1 OCT, then over 2 OCT …; on SCALE 3, 5, 8, 15 DEG). KNOB 4 **LAP** shows the note this pass plays (RND: a
new one each lap). PLAY from a stop starts again from the first note, as the other components' loops do. (Until
0.9.16 the step played its notes inside the step, KNOB 4 their RATE x1 … x8; projects keep the RATE they stored, now
unused.)
- **ARP NOTES / SEQ / SCALE**: the step plays an arpeggio and goes on over the TIEs after it (its duration the step
and its TIEs). NOTES: the step's notes, low to high; SEQ: the pattern's melody, in the order the pattern plays it
(0.6.82; it was sorted like NOTES); both over 1–4 octaves. SCALE: the scale up from the step's lowest note, 3, 5,
8 or 15 degrees. KNOB 3 **ORDER** and range as one list (UP, DOWN, UP-DN, RND over 1 OCT, then over 2 OCT …; on
SCALE 3, 5, 8, 15 DEG). KNOB 4 **RATE** (0.6.92), the arpeggio's speed in musical time: **x1** one note a step
(the track's DIV, 1/16), **1/32** two a step, **1/32T** three, **1/64** four, **1/64T** six, **1/128** eight (the
card says the note value for the track's DIV; an odd DIV: xn). The old pages' x2 … x8 are the same values.
**SEQ walks one note a lap** (0.9.17): each time the pattern comes round to the step it plays the next note of the
melody, in its ORDER and range, held over the TIEs after it like any note; its KNOB 4 is **LAP**, the note this pass
plays (RND: a new one each lap), and PLAY from a stop starts again from the first note, as the other components'
loops do. (Until 0.9.16 SEQ played the melody inside the step at its RATE; projects keep that RATE, now unused.)
- **TRIG**: the step plays only on some loops of the pattern: 1:2, 2:2, 1:3, 2:3, 3:3, 1:4 … 4:4, 1:8, FIRST, !1ST
(every loop but the first).
- **RAND**: the note moves up or down the scale at random, up to RANGE degrees (1–7).
@@ -1084,7 +1099,7 @@ recorded into the pattern, quantized to its steps, overdubbing. Knob moves on th
with its A / B read as one.
Projects keep them. **On a drum kit** (0.6.83) they work too: OCT, RAND, TONAL tune the hits (RAND and TONAL in
the track's scale), BEND bends each hit over the step; ARP NOTES plays the step's sounds one after another, SEQ
the pattern's sounds in the order they play, SCALE the step's hits a degree further up (0.9.17: one a lap).
the pattern's sounds in the order they play, SCALE retriggers the step's hits each part a degree further up (0.9.17: SEQ one a lap).
- **A long chord slide** (0.6.83): the glide into a chord lasts as long as that chord, its TIEs included; GLIDE sets
how much of it (127: all of it). A chord held over TIEs on slow steps (e.g. DIV 1/4 at 120 BPM: ten steps, 5 s)
slides that slowly and smoothly; new notes fade in as they glide.
@@ -1515,9 +1530,10 @@ the music plays on). After OK, **GLO held + G4** still undoes it.
The same idea for the other parts of the selected track, each heard at once under its **KEEP DICED …?** dialog
(SELECT again: another roll, **OCT+ OK** keeps it, **OCT− CANCEL** puts back what was there, the rest plays on):
- **SEQ + SELECT**: a new sequence as DICE ALL writes a part, in the track's own scale: a beat on a DRUM track, else
the role its steps sound like (low notes: a bass line, chords: a pad, else a lead or an arp). Its sound, mix and
automation stay.
- **SEQ + SELECT** (0.9.17): a new sequence, the part GEN's generator would write for the track: on the song's
harmony when GEN made the piece (its plan, genre and the track's role), so it fits the others; else in the track's
own key, a genre made up for it. Drums on a DRUM track, else the role its steps sound like (low notes: a bass line,
chords: a pad, else a lead or an arp). Never the same part twice in a row. Its sound, mix and automation stay.
- **LFO + SELECT**: the track's LFO: a rate in the middle of the range, any wave and phase, a fade now and then, aimed
mostly at the filter, a little at the shape, seldom at the pitch or the level.
- **FX + SELECT**: the track's drive (half the time none), its chorus, delay and reverb sends, an AUTO PAN one time in
@@ -1774,28 +1790,40 @@ the lane's cells in the effects' colours with the playhead on them, the last eff
on (ALL, SYN, DRM). To record: REC armed and playing (not in a song), hold FX and the effect's key; the steps it
passes get it; **G5** held erases where the playhead passes. Saved with the section.
- **On the audio**: REPEAT 1/8, 1/16, 1/32 (F3 G3 A3), **GLITCH** (B3), **TAPE STOP** (C4). They start on the next 1/16
while playing. Below about 81 BPM, REPEAT 1/8 is too long for its buffer and is shown dimmed.
- **GLITCH** (0.9.15) cuts the master on the transport's sixteenths: each sixteenth is played live, or the last 1/16,
1/32 or 1/64 repeated, or the last sixteenth reversed, an octave up (twice as fast, twice) or an octave down (its
first half at half speed), or gated at 1/32 or 1/64. Which one is fixed by the sixteenth's place in a two-bar cycle
of the transport, so the pattern grooves and comes back the same every time you press it there; the downbeats are
mostly left live. Every slice fades in and out in 3 ms (no clicks). Its first sixteenth is live (nothing recorded
yet); below ~81 BPM only its gates and live slices play (the buffer holds 371 ms).
- **TAPE STOP** (0.9.15): the whole mix slows to a stop over a beat (at most 0.68 s, the buffer's limit: from about
88 BPM down it is shorter than a beat), the pitch falling with it and fading out over the last quarter; then
silence while you hold. Let go: the music at once, where it is. One press at the end of a phrase, before the drop.
REPEAT, GLITCH and TAPE STOP share one buffer (the SLICER's, borrowed: the SLICER plays live meanwhile); of those held,
the last pressed plays.
- **On the audio**: REPEAT 1/8, 1/16, 1/32 (F3 G3 A3) and **the glitcher** (0.9.17): **GLITCH** (B3), **TAPE STOP**
(C4), **FREEZE** (G#4), **SHUFFLE** (C#5). They start on the next 1/16 while playing (at once when stopped). Below
about 81 BPM, REPEAT 1/8 is too long for its buffer and is shown dimmed. **While a glitcher key is down** (held, or
pressed with FX LATCH) **the four knobs are its own** (the cards and the footer say so); let it go and they are the
macros again. Its settings are not saved.
- **GLITCH** (0.9.15; knobs 0.9.17: **DENS PITCH SIZE VARI**) cuts the master on the transport's sixteenths: each is
played live, or the last slice repeated (SIZE: from a 1/16 down to a 1/256), each repeat PITCH semitones above or
below the one before (a riser, or a fall), or the last sixteenth reversed, an octave up or down, gated, **SKIP**
(tiny fragments from anywhere in the last 1/16, like a CD skipping) or **CRUSH**ed. DENS sets how many sixteenths
are cut (the beats less often); VARI picks another pattern. Which slice does what is fixed by its place in a
two-bar cycle of the transport, so the pattern grooves and comes back the same every time. Every slice fades in and
out (no clicks). Below ~82 BPM only its gates, crushes and live slices play (the buffer holds 371 ms).
- **TAPE STOP** (0.9.15; knobs 0.9.17: **SCRATCH TIME CURVE**): the whole mix slows to a stop over TIME (1/64 to a
beat, at most what the buffer holds), the pitch falling with it; CURVE − drops at once, + holds then drops. Once
stopped, the end of the music is kept and **KNOB 1 is your hand on the record**: turn it to scratch back and forth
(the pitch with the speed, silent at rest). Let go of C4: the music at once, where it is.
- **FREEZE** (0.9.17, G#4; **DENS PITCH SPRAY SIZE**): the eighth after the press is kept (you hear it live
meanwhile), then played as grains: SIZE 1/128 to 1/8 long, 1 to 4 overlapping (DENS), PITCH semitones, slowly
scanning the eighth and back (a stretch); SPRAY scatters where they read and moves some an octave, a fifth or a
fourth.
- **SHUFFLE** (0.9.17, C#5; **AMOUNT SIZE SPEED VARI**): the last bar's 1/16s (1/8s, 1/4s: SIZE) played back in
another order: AMOUNT of them are replaced by another piece of the last bar (the beats, then the bar's first, only
at higher amounts); SPEED plays the moved ones at half speed, double, or their first half twice; VARI picks another
order. The bar is kept compressed in the same buffer (down to about 87 BPM a whole bar).
REPEAT and the glitcher share one buffer (the SLICER's, borrowed: the SLICER plays live meanwhile); of those held,
the last pressed plays, and letting it go returns to the one held before.
- **On the notes**: OCT− / OCT+ (D4 E4), 1/2 TEMPO (F4), DEC− (short, plucky) / DEC+ (long) (G4 A4), STUTTER 1/8 / 1/16
(B4 C5), ATK+ (slow attacks, drums too) (D5), ARP (E5; on a DRUM track a new fill every press), RANDOM (F5). They come
in on the next 1/16. **A#4** chooses which tracks they touch: ALL, SYN (synths) or DRM (drums); the header shows it.
- **The sweeps** (0.9.15, black keys **C#5 D#5 F#5**; until 0.9.14 the knobs FILTER CRUSH THROW and the keys LPF HPF):
- **The sweeps** (0.9.15, black keys **D#5 F#5**; until 0.9.14 the knobs FILTER CRUSH THROW and the keys LPF HPF):
held, the effect goes from dry to wet over **2 bars at the tempo**, on an S curve (it leaves dry slowly, speeds up in
the middle, settles into wet); let go, it goes back to dry over **a beat** on the same curve, so a release in time
with the music sounds deliberate. They act at once (not on the 1/16) and stack with everything.
- **FILTER** (C#5): the master DJ FILTER's high-pass opening, from ~32 Hz to ~6 kHz (the build-up's classic: the bass
goes first). While it sweeps it takes the DJ FILTER over from GLO › MIXER's KNOB 4, which comes back when it is dry.
- (The FILTER sweep on C#5 is gone in 0.9.17: KNOB 4's FILTER macro is the layer's one filter, and C#5 is SHUFFLE.)
- **CRUSH** (D#5): fewer bits (4 to 11 taken off) and a lower rate (a sample held 1 to 8 times), and its mix rising.
- **THROW** (F#5): the dry mix (and the SLICER's bus) into the delay and reverb sends, up to all of it: the echoes and
the room build up, and stay ringing when you let go.
@@ -1807,7 +1835,7 @@ passes get it; **G5** held erases where the playhead passes. Saved with the sect
**-OCT** (three detents an interval); the next notes play it; DRUM tracks untouched. It adds to SCL's STRN.
- **KNOB 3 MUTATE**: the music as it is becomes MUTATE's anchor and every pattern mutates around it by the amount
(notes along the scale, accents, notes added off the beat or taken, drum hits), on the next beat and again every bar.
- **KNOB 4 FILTER**: the master DJ FILTER's low-pass closing (the sweep's high-pass wins while it goes further).
- **KNOB 4 FILTER**: the master DJ FILTER's low-pass closing.
- **Turn any of them back** (two detents counter-clockwise; one is ignored, so a nudge does nothing) and **all four
are off at once**: full length, no transposition, every pattern exactly as before MUTATE, the filter open. The
screen says **MACROS OFF** and the cards drop to OFF. Then each starts again from zero as you turn it right (the
@@ -1818,7 +1846,7 @@ passes get it; **G5** held erases where the playhead passes. Saved with the sect
- **Black keys 1–6**: mute T1–T6 while held (not saved).
**The punch-in lane**: each section has a lane of 64 steps of 1/16 (4 bars). With **REC armed and playing** (not
during a song), the **note effects (D4–F5)**, **GLITCH**, **TAPE STOP** and **the sweeps** you hold are recorded into
during a song), the **note effects (D4–F5)**, **GLITCH**, **TAPE STOP**, **SHUFFLE** and **the sweeps** you hold are recorded into
it, one per step (the lowest held; REPEAT and the mutes are not recorded). Played back, a sweep held over a run of steps
ramps as if you held it. 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).
@@ -2059,7 +2087,7 @@ the footer **MENU · DISPLAY · SKIN 2/28**. The header says MENU · DISPLAY.
| Tab | Row | Values |
| --- | --- | --- |
| DISPLAY | COLOR | GREY, GREEN, AMBER, ICE, VIOLET, ROSE, PAPER, HI-CON, NIGHT, MONO, **JIANT** (default) |
| DISPLAY | SKIN | **AIR** (default of new settings), COLORS, BOTTOM, HUD — (0.8.9; AIR 0.9.7) see [Skins](#skins-air-colors-bottom-hud-089-air-097) |
| DISPLAY | SKIN | **AIR** (default of new settings), COLORS, HUD — (0.8.9; AIR 0.9.7; BOTTOM retired in 0.9.17: opens as AIR) see [Skins](#skins-air-colors-hud-089-air-097) |
| DISPLAY | SCOPE | **OFF** (default), ON — (0.9.7) an engine's EDIT pages: OFF the creature on the whole panel, centred, the page's name and the sound's name small in its corners; ON the creature on the left, the SCOPE card and the chips as before. Settings saved before 0.9.7 load as OFF |
| DISPLAY | STYLE | FLAT, LINE |
| DISPLAY | LARGE | OFF, ON (big labels and values) |
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

+1 -1
View File
@@ -53,7 +53,7 @@ ul { padding-left: 18px; } li { margin: 2px 0; }
<h1>JIANT FM · CONTROLS</h1><h2>every button, knob, layer, combo and page</h2>
<div class="ver">firmware v0.9.12 · M-VAVE FM-1 · juanjiant-bit.github.io/JIANT</div></div></header>
<div class="rule"></div>
<div class="sec">NAVIGATION · SIX RULES<span></span></div><div class="grid g3"><div class="card" style="--c:#8b5cf6" ><h3>1 · SELECT WALKS THE PAGES</h3><p>Every page of the section in one chain, a page a detent, stopping at both ends. No levels, no zoom.</p><p class="dim">FX: SENDS → DIST → AUTO PAN → BUSES → DLY → DLY 2 → … → PUNCH</p></div><div class="card" style="--c:#d946ef" ><h3>2 · THE BUTTON: IN, OR ON</h3><p>From another section: the page you were last on there. Already inside: the first page of the next group (round).</p><p class="dim">FX › DLY 2: FX → REVERB · EDIT › FILTER: EDIT → FOCUS</p></div><div class="card" style="--c:#ef4444" ><h3>3 · PRESETS LOADS PRESETS</h3><p>Always: the track&#x27;s sounds; SEQ the patterns (PHRASES, OCT+ loads); GEN the genre. Never a page, a track or a module.</p><p class="dim">FX › DLY: PRESETS ▶ the next sound</p></div><div class="card" style="--c:#ff7a00" ><h3>4 · KNOB 1 PICKS</h3><p>The step, the bar, the slot, the stage, the operator, the kit&#x27;s sound, the row. The track: always ALGORITHM.</p><p class="dim">SEQ › STEP: K1 = all 64 steps · SEQ › BAR: K1 = the bar</p></div><div class="card" style="--c:#facc15" ><h3>5 · HOLD = THE LAYER</h3><p>Held + SELECT: HOME GEN · EDIT SEQ LFO FX their dice · GLO the tempo · ENV SCL ARP SAVE their chain.</p><p class="dim">SEQ + G5 CLR STEP · SAVE + C5 NAME</p></div><div class="card" style="--c:#f4f1ea" ><h3>6 · THE SCREEN SAYS WHERE</h3><p>Tabs on top: the section&#x27;s groups, the one shown lit, a dot a page. Footer: SECTION · GROUP · page and n/N.</p><p class="dim">FX · DELAY · DLY 2 6/16</p></div></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><b>Walks the section's pages</b>, a page a detent, stopping at the ends (the MENU: every row). Held with a button: HOME <b>GEN</b>; EDIT · SEQ · LFO · FX their <b>dice</b> (OK keeps, CANCEL back); GLO the tempo; ENV · SCL · ARP · SAVE their chain.</td></tr><tr><td class="n">PRESETS</td><td><b>Always presets</b>: the sounds (factory and user) on every page; SEQ: the patterns (PHRASES); GEN: the genre. Nothing in the MENU or with a button held.</td></tr><tr><td class="n">ALGORITHM</td><td>Selects the track from any page: T1–T4, or T1–T6 with TRACKS 6. MENU: the tabs. A layer held: MAP · KNOBS · STATE.</td></tr><tr><td class="n">KNOB 1–4</td><td>The four columns on screen; KNOB 1 picks (step, bar, slot, row). 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 DRUM the kit stays put: +1/+2/+3 ratchet x2/x4/x8, −1 SHORT, −2 GHOST, −3 FLAM, each sound its own (grid KNOB 3 HIT). 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: HOME (on HOME the next group: ECO · BEING · GEN). <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>SECTIONS</h3><table class="pages"><tr><th>BUTTON</th><th>GROUPS (A TAP: THE NEXT) · PAGES (SELECT)</th><th>HOLD</th></tr><tr><td class="n">HOME</td><td>ECO: ECO · MACROS | BEING: BEING · ROUTES | GEN: GEN 1 · GEN 2 · GEN 3</td><td class="dim">MENU</td></tr><tr><td class="n">EDIT</td><td>SOUND: EDIT 1 · EDIT 2 | TONE: FILTER · MORPH · RETRIG · ROTOR · VOICE · VOICE 2 · WORDS | FOCUS (FM6: … OPERATOR: OPERATOR · OP ENV · OPERATOR 2; DRUM: KIT: KIT · KIT 2 · KIT 3 | SOUND: SOUND 1–4 | LEVELS 1–2 | TONE: X-MOD · FILTER · STEREO · VOICE)</td><td class="dim">INIT · RECALL · sound mutes</td></tr><tr><td class="n">SEQ</td><td>PATTERN: PATTERN · STRETCH · PLAYHEADS | TRACK: TRACK · MUTATE | BAR: BAR · STEP · NOTE | STEP: COMP · COMP 2 | AUTO: AUTOMATION · AUTO LIST</td><td class="dim">SEQ TOOLS</td></tr><tr><td class="n">FX</td><td>TRACK: SENDS · DIST · AUTO PAN | BUSES | DELAY: DLY 1–3 | REVERB 1–2 | CHORUS | SLICER: SLICER · SL BUS 1–2 · SL PITCH | MASTER | PUNCH</td><td class="dim">PUNCH-IN FX</td></tr><tr><td class="n">GLO</td><td>LIVE: MANO · RIELES | MIX: MIXER · SENDS | GLOBAL | SYSTEM (at power-on GLO opens MIXER)</td><td class="dim">MUTE · SOLO · LEVEL · TAP</td></tr><tr><td class="n">ENV</td><td>TRACKS: TRACKS · TRACKS DEST | ENV: ENV · ENV DEST | STAGE</td><td class="dim">—</td></tr><tr><td class="n">LFO</td><td>MOD | LFO: LFO · LFO DEST | MSEQ: MSEQ · MSEQ 2</td><td claLine truncated
<div class="sec">NAVIGATION · SIX RULES<span></span></div><div class="grid g3"><div class="card" style="--c:#8b5cf6" ><h3>1 · SELECT WALKS THE PAGES</h3><p>Every page of the section in one chain, a page a detent, stopping at both ends. No levels, no zoom.</p><p class="dim">FX: SENDS → DIST → AUTO PAN → BUSES → DLY → DLY 2 → … → PUNCH</p></div><div class="card" style="--c:#d946ef" ><h3>2 · THE BUTTON: IN, OR ON</h3><p>From another section: the page you were last on there. Already inside: the first page of the next group (round).</p><p class="dim">FX › DLY 2: FX → REVERB · EDIT › FILTER: EDIT → FOCUS</p></div><div class="card" style="--c:#ef4444" ><h3>3 · PRESETS LOADS PRESETS</h3><p>Always: the track&#x27;s sounds; SEQ the patterns (PHRASES, OCT+ loads); GEN the genre. Never a page, a track or a module.</p><p class="dim">FX › DLY: PRESETS ▶ the next sound</p></div><div class="card" style="--c:#ff7a00" ><h3>4 · KNOB 1 PICKS</h3><p>The step, the bar, the slot, the stage, the operator, the kit&#x27;s sound, the row. The track: always ALGORITHM.</p><p class="dim">SEQ › STEP: K1 = all 64 steps · SEQ › BAR: K1 = the bar</p></div><div class="card" style="--c:#facc15" ><h3>5 · HOLD = THE LAYER</h3><p>Held + SELECT: HOME GEN · EDIT SEQ LFO FX their dice · GLO the tempo · ENV SCL ARP SAVE their chain.</p><p class="dim">SEQ + G5 CLR STEP · SAVE + C5 NAME</p></div><div class="card" style="--c:#f4f1ea" ><h3>6 · THE SCREEN SAYS WHERE</h3><p>Tabs on top: the section&#x27;s groups, the one shown lit, a dot a page. Footer: SECTION · GROUP · page and n/N.</p><p class="dim">FX · DELAY · DLY 2 6/16</p></div></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><b>Walks the section's pages</b>, a page a detent, stopping at the ends (the MENU: every row). Held with a button: HOME <b>GEN</b>; EDIT · SEQ · LFO · FX their <b>dice</b> (OK keeps, CANCEL back); GLO the tempo; ENV · SCL · ARP · SAVE their chain.</td></tr><tr><td class="n">PRESETS</td><td><b>Always presets</b>: the sounds (factory and user) on every page; SEQ: the patterns (PHRASES); GEN: the genre. Nothing in the MENU or with a button held.</td></tr><tr><td class="n">ALGORITHM</td><td>Selects the track from any page: T1–T4, or T1–T6 with TRACKS 6. MENU: the tabs. A layer held: MAP · KNOBS · STATE.</td></tr><tr><td class="n">KNOB 1–4</td><td>The four columns on screen; KNOB 1 picks (step, bar, slot, row). 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 DRUM the kit stays put: +1/+2/+3 ratchet x2/x4/x8, −1 SHORT, −2 GHOST, −3 FLAM, each sound its own (grid KNOB 3 HIT). 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: HOME (on HOME the next group: ECO · BEING · GEN). <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>SECTIONS</h3><table class="pages"><tr><th>BUTTON</th><th>GROUPS (A TAP: THE NEXT) · PAGES (SELECT)</th><th>HOLD</th></tr><tr><td class="n">HOME</td><td>ECO: ECO · MACROS | BEING: BEING · ROUTES | GEN: GEN 1 · GEN 2 · GEN 3</td><td class="dim">MENU</td></tr><tr><td class="n">EDIT</td><td>SOUND: EDIT 1 · EDIT 2 | TONE: FILTER · MORPH · RETRIG · ROTOR · VOICE · VOICE 2 · WORDS | FOCUS (FM6: … OPERATOR: OPERATOR · OP ENV · OPERATOR 2; DRUM: KIT: KIT · KIT 2 · KIT 3 | SOUND: SOUND 1–4 | LEVELS 1–2 | TONE: X-MOD · FILTER · STEREO · VOICE)</td><td class="dim">INIT · RECALL · sound mutes</td></tr><tr><td class="n">SEQ</td><td>PATTERN: PATTERN · STRETCH · PLAYHEADS | TRACK: TRACK · MUTATE | BAR: BAR · STEP · NOTE | STEP: COMP · COMP 2 | AUTO: AUTOMATION · AUTO LIST</td><td class="dim">SEQ TOOLS</td></tr><tr><td class="n">FX</td><td>TRACK: SENDS · DIST · AUTO PAN | BUSES | DELAY: DLY 1–3 | REVERB 1–2 | CHORUS | SLICER: SLICER · SL BUS 1–2 · SL PITCH | MASTER | PUNCH</td><td class="dim">PUNCH-IN FX</td></tr><tr><td class="n">GLO</td><td>LIVE: MANO · RIELES | MIX: MIXER · SENDS | GLOBAL | SYSTEM (at power-on GLO opens MIXER)</td><td class="dim">MUTE · SOLO · LEVEL · TAP</td></tr><tr><td class="n">ENV</td><td>TRACKS: TRACKS · TRACKS DEST | ENV: ENV · ENV DEST | STAGE</td><td class="dim">—</td></tr><tr><td class="n">LFO</td><td>MOD | LFO: LFO · LFO DEST | MSEQ: MSEQ · MSEQ 2</td><td claLine truncated
<footer><span>GPL-3.0 · fork of Felucca (Hügelton Instruments) · song mode from SLOOP</span>
<span>JIANT FM v0.9.12</span></footer>
</body></html>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 442 KiB

After

Width:  |  Height:  |  Size: 422 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 485 KiB

After

Width:  |  Height:  |  Size: 488 KiB

+28 -27
View File
@@ -1,10 +1,10 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1500 2842" width="1500" height="2842" role="img" aria-label="JIANT FM Mapa de navegación v0.9.16">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1500 2850" width="1500" height="2850" role="img" aria-label="JIANT FM Mapa de navegación v0.9.17">
<!-- generated by tools/gen_nav_map.py from firmware/src/ui_lens.c (chains e1ade408f2ec); do not edit -->
<title>JIANT FM · Mapa de navegación · v0.9.16</title>
<title>JIANT FM · Mapa de navegación · v0.9.17</title>
<style>@font-face{font-family:'JIANT Inter Tight';font-weight:500;src:url(data:font/woff;base64,d09GRgABAAAAAB98ABAAAAAANCwAAwEGAAAAAAAAAAAAAAAAAAAAAAAAAABHREVGAAAZCAAAACoAAAAuAO0BGEdQT1MAABk0AAAF3AAAEyhhGTJoR1NVQgAAHxAAAAApAAAAKrj6uPRPUy8yAAAB4AAAAE8AAABgb5EQYlNUQVQAAB88AAAAPwAAAETlM8w7Y21hcAAAA2wAAADWAAABNFFuStlnYXNwAAAZAAAAAAgAAAAIAAAAEGdseWYAAAUUAAATdwAAGkSirQYXaGVhZAAAAWwAAAA2AAAANhlUA4xoaGVhAAABpAAAAB8AAAAkDdwEk2htdHgAAAIwAAABOQAAAYyVQxr9bG9jYQAABEwAAADIAAAAyFS8W8RtYXhwAAABxAAAABwAAAAgAG4AkW5hbWUAABiMAAAAXwAAAH4K7BqicG9zdAAAGOwAAAATAAAAIP6yAIxwcmVwAAAERAAAAAcAAAAHaAaMhQABAAAAAwEG1jnQ318PPPUAAwgAAAAAANRqD0IAAAAA37eod/6W/hIHgwfAAAAABgACAAAAAAAAeJxjYGRgYD/wTwhItv2b9m86ezMDUAQFJAMAmDsGfQB4nGNgZGBgSGYIYWBhsGZgZgDxEADIBwAYawEAeJxjYGH5zPiFgZWBgdWY5SwDA8MsCM10lqGHaT4DEmhgYGAGUg4wflCwbzDDAQYFJSH2A/+EGBg4rjP1AYUZQXIscayXgJQCAw8A4aUOZgB4nC2PP0hCYRTFz/e9+55ORn8GF5doChMTCSMiKAihhnhLEtESxBuClqBH1trUEA5pQklEINEU4RDU0BBtJtIUvKnWBoeWytd5z4Yf55zv3nvgE2DDnEVUPuCah8ibW3Blj6ww15krcFWLeQAJ+aaOwbU8zi5Jk3MiT/Qv1DbnTUyLh5R5xDf2Rg4g8ouYOQKTewsyhUxIGY5MIkvNSqGHPuPOCf0+HFXHInF6+DcBkuhl64G32/8UuV8Me5ygS9/DMTqY0BeIySbfAjLos+bQH6gMYklekddfvClhXVpYk3fMS5V7Df4hh7TcUunVW/c4EkVcPQN6CK4ehx1qEraVxG7g5dHv6Kr/Y6yyC4BR8Nu6jFMyqtPY0TUsE1tSmJEuSqRGrlUDtpGDZ1zhXH0iru8w/AeIVF6UAAAAeJyFkL1OwnAUxX9IV5ZKnIz9+9XQYKEBP9JWiK44AI4yEJ6CwCvwArwBD8DgZAK8grspI4ODIS4ul9tOLIZzcu+dficnFzgC8jpF3bnsWjmj9x6DxYnuSzyqhMQ0aPNGnyFjZrzzwSdrNnzzw5Y/c2xcE13YIsqnXIkyAZFyz3SUGzD6lwszzsNXQwEbIwtZyi/ISuYylYk05FFCiaWZOnlKSonz1cpapwrY1w2H1OOFV1p0OeUMRxufa+crrnG1R1kTfCqaWqPOLXf6kQf9QrQDcDo9rwAAuAH/hbAEjQAAAAAVADEAbgCnANQA6wEAAT0BVAFiAYUBogGxAdIB7AIiAi4CVAKXAsYDEAMiA0cDXgOCA6YDvgPUBCIELgRpBJwE1wUTBR8FRAWPBbUFwAXMBdcF4gX6Bh8GLQZjBogGkwbHBtMHDwdMB2wHqgfNB/MH/wgWCDcIXwh3CKwIwAjxCToJWwmUCd4J8QpNCpkKqAq5CrkKzwrYCuQK8QsBCwoLMAtAC00LWgtmC4gLqgu4C9EL6QxmDHoMhwybDLEMvwzmDPcNInichVkJWFPXtj57n5MEBcGEhNCiKASItRWREFCUWQhCGGQQAQnFgsyCIJPILBLUilPVWqEW7aQIVkGlVyvq87VXW4tgLdXWqu1VsK3auYVkc9c5CUqH1/dBSL7svdda/xr+tfaBwtQKIqL3CHoomhJQVLTQTuhoJ7RbQbvpXXGGfjcRTWj/JWqFyR0KUyYUxZvP64N9phRVKEN2SAY/dhK7Xx9ia8Rg6QOSYEbW0TzdCK9v2Jk5r193igK5pRTFHIRzltRUSg4nhXauVlYSMZ8vkNhi9l3maOfqrnRzcpLZKeET+1FmV4plLb3pgQWBoZuTsm+2kzfQwtZNqnUJ5BhyDl2jqqknH/L6Mt5ZmVStFpkzS19bXdCV1VOpURUFdXhmq5ZVUBSigke/5al5dylHigq0d8BKN5GDwtUWS2XOtMyez5eIrawUrt7YQ2FO47s9pLe9A83uKf74QLboziRVepWq+qOi4g+rVJUZKvM7wozWXvFJFPfdQxR3cmHtqZJFeWHympGu479XO6lzg/NO1C8CHwFWnhywSqinKCrlMRwDMkYkEWMGCWVCnEi2oBcO3snP+3w/aUANN5DnW2+THmJz+0LVr0c6fqq6cJQcGxwiRztZT4I8xHnRCT6Zch6U2BlfpfSbek+8Q5+DP+L1nSU+PWTOWeNuCeyeMH53Kd2sX4jL9A3szqk9+m1jPkoAH8n/yUcAQgoIWPPxg4vk40OHkfPZ0iv7sy3vSoKWl4dWXiwuvlxX1pk6nyzBIa+Se+J3Udw3D1Bct2rdsdyAzFB5zXBX13DNC53lpu8ePEUe7DTYyJs+hkgBmacAz4CVt/Hd27f1T/P69KVYO+yMG/Ulht0oHnbTFOUH+1D8baNrYG3q6Lf0Hs7rgMHJSalUPDYbhEKGoc+rLhZ/OS/NX5Xq9mXuB+LEI5VTp3otm7OgKJaxG/my6VK20We/gxQzgz0KSHD4FYBBIlyAntK/BVH7nth2gGFz8Qf65boP8cuXiKvhJK2DkzwjEglg2A/mPTxLGVb5K2DVAurLDoFYMJ+tHPhbikTouhDdQFafmxPVUaI2/5TXN7KGWQ/l4z7yIaMc+bdRAm+WwVN+Qu4gWKcQ8mb16SdZ3O7Fv5hzBbdw5BScfpcJoiAT2bg2QFwtqGnjI2vIQflYWhojjAch+48cQS4955BzRwfpO1dzsajoYk31peLiS4+z/iR5++EDcvDkR9XDXcdHqqtHjncNV1OjowZdgjV8JxYj8EMyakOrjR5tArul46teNr4qhKVYfPjrgoL/tJMdKC6v0cdnQx75D6+v6kZj442q99T1MbF1IcMPIerBo2s4PAKQBrnqp5BKLWVyueD/Q9b8xd7g3+6+Pu/gPyBEX11KIKcGIrr+GamhvpkPOEQ2/zcmNshPcOWhtYDLtxFw4Tyy63eUz+sr6d+g7S3o8S2OiS0PGH6IX9Mns3H2Gh1ktgFGV0MeyxW2WGEUK5dDXru5uytAo1T2BJ9UakuzFuDsN3/eYHJHkLgtLnlnbGh1ZEdn78aHL+2+10BfN3uzJqFhUVyF51bVzpqI2l+sM/+nYXG224LcRf4xHhIXlzOv1PRkZ3eXpBfMS/ULWqqYLBctSGlKq7iwCmxyBsRHONanopUsi8iEzkwtcbnFE549O/yQJ2TjPDrIszbUnx9bb4zM3sGJKz1jFTIet7eTX44dJT9vvx3/+qqCA1DJuuf2ft/Y+P1e+qrOO605IaE5DSQ96TFUNHiRrcER9Opk9OoP+iGi0w9Cfgcwp8fqnoFkqzNUVgq32/DDFhfaR1K/RfbmyPk+mmWB7B6QlDvkfTPyPkioZGpHKpg6qJjEkddZOeaA8XuQMwnsR8a6Z/sbQhKUaobSEENcUD8ZJnvMyB4ygm6QGUAC3Vilt9JbYx/9WTyI74McqH/eNAPrRhuMB2/xRtH6yWgdQvqvgLL0CfgNXYn+BF4E+0NBb7mRpZWIJVhop4vpybr7zEzdI9rqJWbt2Z0j9WfZzHMdHaT7mRzoZe5GlnODzuWNlWy3tOcL5N6Y5W2JUKaUmWOuDJTmtMAcOqwVastqS120dndk2tp52Zm5VdYfOb54IjVgZ33MJybi2HXOidULzfxjIm18MnxKrSN25yaXBTtMNJ0sk/OSM5IXzF5R4Tktes8a/dMvPxPl3q5a7bfVVGxuSk9wVHkujmLrn7ONz4f6n2Kof+oRxdqcMXqfWQ74rCgnY0bLJDKWWllbrdh65f+lXpvSahaJRX0DZmJVdXpD/5rS/hMptQH+tcuTawMW1lkFLpO1gxevyZYFagk53kn0G7szjuXnHVmR0lFUdDQVvOo2OsSYgKemczpZdjBWjTMe19Gg6WPs9dr9ypqh5ur3y02vmvqsCEpsUIc0JmrqLa+aFv+vdAdi3jqEeNuTDq5SLnVLPlJa1pmSkZB7cDmLzQ2wzR6H7YkeBdvIHgdhPDYT7dXSNVfXZ1apLCcN9IssQ6o8NCy25OW1/v51VhsR3XkcYS1gxDOHndsBY3fq0aKijpQVR/Lyj2UYsc0AbPLxOiHqEkgewZiqsebnIQWIiw48qqm6tzf56OZoXQM9Ic23SqOpD4psSvZOC7G8/FTlGelmRB9uQ/zt3uuv7Qrf757eEp+wY2le4b4Yh2ClPEEbykaY08tF2M4Y4Z+5CEPG42N8a+BnMdQOWGEpNJCUVMAZIxHitfrGtqRdcQEaKzeL2bKIIEbT0THSytzK2BhoZXKEZxYROuLD+pMEMa6AzIFSgCR7J7kHR35K1pEy+3Hkp1ByLZ12/aNvPT+4+9y74oCChPJWC1FIdfq6/oryqw0ZNcHiyf31X299cZd/7fPL6/z960nQzvSw6cGuJXU3ZHG+FT8ePTrKevz4SOOWk/G4+vzhVYdS0g5n5765DPydARVqxUWZmzogtAYroMyEXN3xke/AJxby12oL21KuV60KLw3Cu/SZkKFXE7M1pzbBbNa2VhuwlvWhGqhGw58EPoToUXxKM0wZNCBfRsPONezskDHAaEZaYTf7/R3O44bdybtBxuhRokHLOBkzDTJ+g23ct34gw4zlHaEV9COZkk3xjAEU1VL4nCx8IQKp8fl7Iv4VFQaaWFRugIpPTWS5z49WcITHji7IAyEXWo5OA+fxHEjBABok+TsxH5WjCeiLine truncated
<defs><path id="p28" d="M3 0h1v1h-1zM2 1h1v1h-1zM1 2h1v1h-1zM1 3h1v1h-1zM1 4h1v1h-1zM2 5h1v1h-1zM3 6h1v1h-1z"/><path id="p29" d="M1 0h1v1h-1zM2 1h1v1h-1zM3 2h1v1h-1zM3 3h1v1h-1zM3 4h1v1h-1zM2 5h1v1h-1zM1 6h1v1h-1z"/><path id="p2B" d="M2 1h1v1h-1zM2 2h1v1h-1zM0 3h5v1h-5zM2 4h1v1h-1zM2 5h1v1h-1z"/><path id="p2D" d="M1 3h3v1h-3z"/><path id="p30" d="M1 0h3v1h-3zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM3 2h2v1h-2zM0 3h1v1h-1zM2 3h1v1h-1zM4 3h1v1h-1zM0 4h2v1h-2zM4 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM1 6h3v1h-3z"/><path id="p31" d="M2 0h1v1h-1zM1 1h2v1h-2zM2 2h1v1h-1zM2 3h1v1h-1zM2 4h1v1h-1zM2 5h1v1h-1zM1 6h3v1h-3z"/><path id="p32" d="M1 0h3v1h-3zM0 1h1v1h-1zM4 1h1v1h-1zM4 2h1v1h-1zM3 3h1v1h-1zM2 4h1v1h-1zM1 5h1v1h-1zM0 6h5v1h-5z"/><path id="p33" d="M0 0h5v1h-5zM3 1h1v1h-1zM2 2h1v1h-1zM3 3h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM1 6h3v1h-3z"/><path id="p34" d="M3 0h1v1h-1zM2 1h2v1h-2zM1 2h1v1h-1zM3 2h1v1h-1zM0 3h1v1h-1zM3 3h1v1h-1zM0 4h5v1h-5zM3 5h1v1h-1zM3 6h1v1h-1z"/><path id="p35" d="M0 0h5v1h-5zM0 1h1v1h-1zM0 2h4v1h-4zM4 3h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM1 6h3v1h-3z"/><path id="p36" d="M2 0h2v1h-2zM1 1h1v1h-1zM0 2h1v1h-1zM0 3h4v1h-4zM0 4h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM1 6h3v1h-3z"/><path id="p37" d="M0 0h5v1h-5zM4 1h1v1h-1zM3 2h1v1h-1zM2 3h1v1h-1zM1 4h1v1h-1zM1 5h1v1h-1zM1 6h1v1h-1z"/><path id="p38" d="M1 0h3v1h-3zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM1 3h3v1h-3zM0 4h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM1 6h3v1h-3z"/><path id="p39" d="M1 0h3v1h-3zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM1 3h4v1h-4zM4 4h1v1h-1zM3 5h1v1h-1zM1 6h2v1h-2z"/><path id="p3E" d="M1 0h1v1h-1zM2 1h1v1h-1zM3 2h1v1h-1zM4 3h1v1h-1zM3 4h1v1h-1zM2 5h1v1h-1zM1 6h1v1h-1z"/><path id="p41" d="M1 0h3v1h-3zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM0 3h1v1h-1zM4 3h1v1h-1zM0 4h5v1h-5zM0 5h1v1h-1zM4 5h1v1h-1zM0 6h1v1h-1zM4 6h1v1h-1z"/><path id="p42" d="M0 0h4v1h-4zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM0 3h4v1h-4zM0 4h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM0 6h4v1h-4z"/><path id="p43" d="M1 0h3v1h-3zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM0 3h1v1h-1zM0 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM1 6h3v1h-3z"/><path id="p44" d="M0 0h3v1h-3zM0 1h1v1h-1zM3 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM0 3h1v1h-1zM4 3h1v1h-1zM0 4h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM3 5h1v1h-1zM0 6h3v1h-3z"/><path id="p45" d="M0 0h5v1h-5zM0 1h1v1h-1zM0 2h1v1h-1zM0 3h4v1h-4zM0 4h1v1h-1zM0 5h1v1h-1zM0 6h5v1h-5z"/><path id="p46" d="M0 0h5v1h-5zM0 1h1v1h-1zM0 2h1v1h-1zM0 3h4v1h-4zM0 4h1v1h-1zM0 5h1v1h-1zM0 6h1v1h-1z"/><path id="p47" d="M1 0h3v1h-3zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM0 3h1v1h-1zM2 3h3v1h-3zM0 4h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM1 6h4v1h-4z"/><path id="p48" d="M0 0h1v1h-1zM4 0h1v1h-1zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM0 3h5v1h-5zM0 4h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM0 6h1v1h-1zM4 6h1v1h-1z"/><path id="p49" d="M1 0h3v1h-3zM2 1h1v1h-1zM2 2h1v1h-1zM2 3h1v1h-1zM2 4h1v1h-1zM2 5h1v1h-1zM1 6h3v1h-3z"/><path id="p4A" d="M2 0h3v1h-3zM3 1h1v1h-1zM3 2h1v1h-1zM3 3h1v1h-1zM3 4h1v1h-1zM0 5h1v1h-1zM3 5h1v1h-1zM1 6h2v1h-2z"/><path id="p4B" d="M0 0h1v1h-1zM4 0h1v1h-1zM0 1h1v1h-1zM3 1h1v1h-1zM0 2h1v1h-1zM2 2h1v1h-1zM0 3h2v1h-2zM0 4h1v1h-1zM2 4h1v1h-1zM0 5h1v1h-1zM3 5h1v1h-1zM0 6h1v1h-1zM4 6h1v1h-1z"/><path id="p4C" d="M0 0h1v1h-1zM0 1h1v1h-1zM0 2h1v1h-1zM0 3h1v1h-1zM0 4h1v1h-1zM0 5h1v1h-1zM0 6h5v1h-5z"/><path id="p4D" d="M0 0h1v1h-1zM4 0h1v1h-1zM0 1h2v1h-2zM3 1h2v1h-2zM0 2h1v1h-1zM2 2h1v1h-1zM4 2h1v1h-1zM0 3h1v1h-1zM2 3h1v1h-1zM4 3h1v1h-1zM0 4h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM0 6h1v1h-1zM4 6h1v1h-1z"/><path id="p4E" d="M0 0h1v1h-1zM4 0h1v1h-1zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h2v1h-2zM4 2h1v1h-1zM0 3h1v1h-1zM2 3h1v1h-1zM4 3h1v1h-1zM0 4h1v1h-1zM3 4h2v1h-2zM0 5h1v1h-1zM4 5h1v1h-1zM0 6h1v1h-1zM4 6h1v1h-1z"/><path id="p4F" d="M1 0h3v1h-3zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM0 3h1v1h-1zM4 3h1v1h-1zM0 4h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM1 6h3v1h-3z"/><path id="p50" d="M0 0h4v1h-4zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM0 3h4v1h-4zM0 4h1v1h-1zM0 5h1v1h-1zM0 6h1v1h-1z"/><path id="p51" d="M1 0h3v1h-3zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM0 3h1v1h-1zM4 3h1v1h-1zM0 4h1v1h-1zM2 4h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM3 5h1v1h-1zM1 6h2v1h-2zM4 6h1v1h-1z"/><path id="p52" d="M0 0h4v1h-4zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM0 3h4v1h-4zM0 4h1v1h-1zM2 4h1v1h-1zM0 5h1v1h-1zM3 5h1v1h-1zM0 6h1v1h-1zM4 6h1v1h-1z"/><path id="p53" d="M1 0h4v1h-4zM0 1h1v1h-1zM0 2h1v1h-1zM1 3h3v1h-3zM4 4h1v1h-1zM4 5h1v1h-1zM0 6h4v1h-4z"/><path id="p54" d="M0 0h5v1h-5zM2 1h1v1h-1zM2 2h1v1h-1zM2 3h1v1h-1zM2 4h1v1h-1zM2 5h1v1h-1zM2 6h1v1h-1z"/><path id="p55" d="M0 0h1v1h-1zM4 0h1v1h-1zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM0 3h1v1h-1zM4 3h1v1h-1zM0 4h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM1 6h3v1h-3z"/><path id="p56" d="M0 0h1v1h-1zM4 0h1v1h-1zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM0 3h1v1h-1zM4 3h1v1h-1zM0 4h1v1h-1zM4 4h1v1h-1zM1 5h1v1h-1zM3 5h1v1h-1zM2 6h1v1h-1z"/><patLine truncated
<rect width="1500" height="2842" rx="28" fill="#000000"/>
<rect x="1" y="1" width="1498" height="2840" rx="27" fill="none" stroke="#24212c" stroke-width="2"/>
<rect width="1500" height="2850" rx="28" fill="#000000"/>
<rect x="1" y="1" width="1498" height="2848" rx="27" fill="none" stroke="#24212c" stroke-width="2"/>
<line x1="39.9" y1="94.1" x2="40.5" y2="89.8" stroke="#00D2FF" stroke-width="2.6" stroke-linecap="round"/>
<line x1="40.5" y1="89.8" x2="42.3" y2="86.1" stroke="#02CEFF" stroke-width="2.6" stroke-linecap="round"/>
<line x1="42.3" y1="86.1" x2="42.3" y2="84.2" stroke="#04CBFF" stroke-width="2.6" stroke-linecap="round"/>
@@ -197,7 +197,7 @@
<line x1="164.5" y1="80.5" x2="164.5" y2="81.7" stroke="#FFD300" stroke-width="2.6" stroke-linecap="round"/>
<text x="200.0" y="84.0" font-size="52" font-weight="700" fill="#F4F1EA">JIANT FM</text>
<text x="454.5" y="84.0" font-size="52" font-weight="500" fill="#B870FF">Mapa de navegación</text>
<text x="202.0" y="120.0" font-size="19" font-weight="500" fill="#A39D99">firmware v0.9.16 · seis reglas, una cadena de páginas por sección</text>
<text x="202.0" y="120.0" font-size="19" font-weight="500" fill="#A39D99">firmware v0.9.17 · seis reglas, una cadena de páginas por sección</text>
<text x="202.0" y="146.0" font-size="17" fill="#6A6470" xml:space="preserve"><tspan font-weight="500">Diez botones, diez secciones. SELECT recorre las páginas de una sección como una cadena; su</tspan></text>
<text x="202.0" y="168.0" font-size="17" fill="#6A6470" xml:space="preserve"><tspan font-weight="500">botón salta de grupo en grupo.</tspan></text>
<rect x="970.0" y="42.0" width="40.0" height="20.0" rx="10" fill="#131218" stroke="#4C3B8C" stroke-width="1.5"/>
@@ -1113,8 +1113,8 @@
<text x="1072.0" y="2243.0" font-size="15.5" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">Abajo: SECCIÓN · GRUPO · página y n/N.</tspan></text>
<g transform="translate(30.00 2302.00) scale(3)" fill="#F4F1EA"><use href="#p43"/><use href="#p41" x="6"/><use href="#p50" x="12"/><use href="#p41" x="18"/><use href="#p53" x="24"/><use href="#p28" x="36"/><use href="#p4D" x="42"/><use href="#p41" x="48"/><use href="#p4E" x="54"/><use href="#p54" x="60"/><use href="#p45" x="66"/><use href="#p4E" x="72"/><use href="#p45" x="78"/><use href="#p45" x="90"/><use href="#p4C" x="96"/><use href="#p42" x="108"/><use href="#p4F" x="114"/><use href="#p54" x="120"/><use href="#p4F" x="126"/><use href="#p4E" x="132"/><use href="#p29" x="138"/></g>
<g transform="translate(844.32 2302.00) scale(3)" fill="#F4F1EA"><use href="#p43"/><use href="#p4F" x="6"/><use href="#p4D" x="12"/><use href="#p42" x="18"/><use href="#p49" x="24"/><use href="#p4E" x="30"/><use href="#p41" x="36"/><use href="#p43" x="42"/><use href="#p49" x="48"/><use href="#p4F" x="54"/><use href="#p4E" x="60"/><use href="#p45" x="66"/><use href="#p53" x="72"/></g>
<rect x="30.0" y="2336.0" width="796.3" height="450.0" rx="16" fill="#0A090E" stroke="#1E1C25" stroke-width="1.2"/>
<rect x="844.3" y="2336.0" width="625.7" height="450.0" rx="16" fill="#0A090E" stroke="#1E1C25" stroke-width="1.2"/>
<rect x="30.0" y="2336.0" width="796.3" height="458.0" rx="16" fill="#0A090E" stroke="#1E1C25" stroke-width="1.2"/>
<rect x="844.3" y="2336.0" width="625.7" height="458.0" rx="16" fill="#0A090E" stroke="#1E1C25" stroke-width="1.2"/>
<rect x="48.0" y="2354.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#8A6CFF" stroke-width="1.6"/>
<g transform="translate(68.70 2359.30) scale(2.2)" fill="#F4F1EA"><use href="#p48"/><use href="#p4F" x="6"/><use href="#p4D" x="12"/><use href="#p45" x="18"/></g>
<text x="156.0" y="2372.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">el MENU: DISPLAY · CONTROL · AUDIO · MIDI · SYSTEM (SELECT las filas, ALGORITHM las</tspan></text>
@@ -1129,24 +1129,25 @@
<rect x="48.0" y="2498.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#FF4B4B" stroke-width="1.6"/>
<g transform="translate(81.90 2503.30) scale(2.2)" fill="#F4F1EA"><use href="#p46"/><use href="#p58" x="6"/></g>
<text x="156.0" y="2516.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">punch-in: F3–A3 REPEAT · B3 GLITCH · C4 TAPE STOP · D4/E4 OCT · F4 ½ TEMPO · G4/A4 DEC ·</tspan></text>
<text x="156.0" y="2537.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">B4/C5 STUTTER · D5–F5 ATK+ ARP RANDOM · C#5 D#5 F#5 barridos · perillas: macros</tspan></text>
<rect x="48.0" y="2553.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#8A6CFF" stroke-width="1.6"/>
<g transform="translate(75.30 2558.30) scale(2.2)" fill="#F4F1EA"><use href="#p47"/><use href="#p4C" x="6"/><use href="#p4F" x="12"/></g>
<text x="156.0" y="2571.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">negras 1–6 MUTE · F3–D4 SOLO · E4 desmutea todo · F4 TAP · A4 FREEZE · B4 REVERT ALL ·</tspan><tspan font-weight="700" fill="#F4F1EA"> G4</tspan></text>
<text x="156.0" y="2592.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="700" fill="#F4F1EA">UNDO</tspan><tspan font-weight="500"> · PLAY reinicia · perillas: LEVEL</tspan></text>
<rect x="48.0" y="2608.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#5874FF" stroke-width="1.6"/>
<g transform="translate(75.30 2613.30) scale(2.2)" fill="#F4F1EA"><use href="#p4C"/><use href="#p46" x="6"/><use href="#p4F" x="12"/></g>
<text x="156.0" y="2626.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">KNOB 1–4 = M1–M4, enganchadas · F3 rutas nuevas · G3 las borra</tspan></text>
<rect x="48.0" y="2642.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#FF4B4B" stroke-width="1.6"/>
<g transform="translate(75.30 2647.30) scale(2.2)" fill="#F4F1EA"><use href="#p53"/><use href="#p43" x="6"/><use href="#p4C" x="12"/></g>
<text x="156.0" y="2660.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">cualquier tecla fija la ROOT</tspan></text>
<rect x="48.0" y="2676.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#FFD23C" stroke-width="1.6"/>
<g transform="translate(68.70 2681.30) scale(2.2)" fill="#F4F1EA"><use href="#p53"/><use href="#p41" x="6"/><use href="#p56" x="12"/><use href="#p45" x="18"/></g>
<text x="156.0" y="2694.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">F3–B3 tocar A–D · C4–F4 guardar A–D ·</tspan><tspan font-weight="700" fill="#F4F1EA"> C5 NAME</tspan><tspan font-weight="500"> · D5 LOOP/SONG · E5 SONG REC · G5</tspan></text>
<text x="156.0" y="2715.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">ARRANGE</tspan></text>
<rect x="48.0" y="2731.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#FF7A00" stroke-width="1.6"/>
<g transform="translate(75.30 2736.30) scale(2.2)" fill="#F4F1EA"><use href="#p52"/><use href="#p45" x="6"/><use href="#p43" x="12"/></g>
<text x="156.0" y="2749.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">F3 CLEAR · G3 CLICK</tspan></text>
<text x="156.0" y="2537.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">B4/C5 STUTTER · D5–F5 ATK+ ARP RANDOM · G#4 FREEZE · C#5 SHUFFLE · D#5 F#5 barridos ·</tspan></text>
<text x="156.0" y="2558.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">perillas: macros (con un glitcher, las suyas)</tspan></text>
<rect x="48.0" y="2574.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#8A6CFF" stroke-width="1.6"/>
<g transform="translate(75.30 2579.30) scale(2.2)" fill="#F4F1EA"><use href="#p47"/><use href="#p4C" x="6"/><use href="#p4F" x="12"/></g>
<text x="156.0" y="2592.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">negras 1–6 MUTE · F3–D4 SOLO · E4 desmutea todo · F4 TAP · A4 FREEZE · B4 REVERT ALL ·</tspan><tspan font-weight="700" fill="#F4F1EA"> G4</tspan></text>
<text x="156.0" y="2613.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="700" fill="#F4F1EA">UNDO</tspan><tspan font-weight="500"> · PLAY reinicia · perillas: LEVEL</tspan></text>
<rect x="48.0" y="2629.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#5874FF" stroke-width="1.6"/>
<g transform="translate(75.30 2634.30) scale(2.2)" fill="#F4F1EA"><use href="#p4C"/><use href="#p46" x="6"/><use href="#p4F" x="12"/></g>
<text x="156.0" y="2647.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">KNOB 1–4 = M1–M4, enganchadas · F3 rutas nuevas · G3 las borra</tspan></text>
<rect x="48.0" y="2663.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#FF4B4B" stroke-width="1.6"/>
<g transform="translate(75.30 2668.30) scale(2.2)" fill="#F4F1EA"><use href="#p53"/><use href="#p43" x="6"/><use href="#p4C" x="12"/></g>
<text x="156.0" y="2681.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">cualquier tecla fija la ROOT</tspan></text>
<rect x="48.0" y="2697.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#FFD23C" stroke-width="1.6"/>
<g transform="translate(68.70 2702.30) scale(2.2)" fill="#F4F1EA"><use href="#p53"/><use href="#p41" x="6"/><use href="#p56" x="12"/><use href="#p45" x="18"/></g>
<text x="156.0" y="2715.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">F3–B3 tocar A–D · C4–F4 guardar A–D ·</tspan><tspan font-weight="700" fill="#F4F1EA"> C5 NAME</tspan><tspan font-weight="500"> · D5 LOOP/SONG · E5 SONG REC · G5</tspan></text>
<text x="156.0" y="2736.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">ARRANGE</tspan></text>
<rect x="48.0" y="2752.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#FF7A00" stroke-width="1.6"/>
<g transform="translate(75.30 2757.30) scale(2.2)" fill="#F4F1EA"><use href="#p52"/><use href="#p45" x="6"/><use href="#p43" x="12"/></g>
<text x="156.0" y="2770.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">F3 CLEAR · G3 CLICK</tspan></text>
<rect x="862.3" y="2354.0" width="64.0" height="26.0" rx="9" fill="#1C1A22" stroke="#3A3644" stroke-width="1.5"/>
<g transform="translate(871.32 2360.00) scale(2)" fill="#F4F1EA"><use href="#p48"/><use href="#p4F" x="6"/><use href="#p4D" x="12"/><use href="#p45" x="18"/></g>
<text x="934.3" y="2372.0" font-size="17" font-weight="700" fill="#6A6470">+</text>
@@ -1208,6 +1209,6 @@
<rect x="950.3" y="2744.0" width="64.0" height="26.0" rx="9" fill="#1C1A22" stroke="#3A3644" stroke-width="1.5"/>
<g transform="translate(959.32 2750.00) scale(2)" fill="#F4F1EA"><use href="#p4F"/><use href="#p43" x="6"/><use href="#p54" x="12"/><use href="#p2B" x="18"/></g>
<text x="1196.3" y="2762.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">atrás / hacerlo (NO / YES)</tspan></text>
<text x="30.0" y="2816.0" font-size="14" font-weight="500" fill="#6A6470">JIANT FM · GPL-3.0 · generado por tools/gen_nav_map.py desde firmware/src/ui_lens.c</text>
<text x="1470.0" y="2816.0" font-size="14" font-weight="500" fill="#6A6470" text-anchor="end">docs/MANUAL.es.md § 3</text>
<text x="30.0" y="2824.0" font-size="14" font-weight="500" fill="#6A6470">JIANT FM · GPL-3.0 · generado por tools/gen_nav_map.py desde firmware/src/ui_lens.c</text>
<text x="1470.0" y="2824.0" font-size="14" font-weight="500" fill="#6A6470" text-anchor="end">docs/MANUAL.es.md § 3</text>
</svg>

Before

Width:  |  Height:  |  Size: 172 KiB

After

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 470 KiB

After

Width:  |  Height:  |  Size: 473 KiB

+27 -26
View File
@@ -1,10 +1,10 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1500 2802" width="1500" height="2802" role="img" aria-label="JIANT FM Navigation map v0.9.16">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1500 2810" width="1500" height="2810" role="img" aria-label="JIANT FM Navigation map v0.9.17">
<!-- generated by tools/gen_nav_map.py from firmware/src/ui_lens.c (chains e1ade408f2ec); do not edit -->
<title>JIANT FM · Navigation map · v0.9.16</title>
<title>JIANT FM · Navigation map · v0.9.17</title>
<style>@font-face{font-family:'JIANT Inter Tight';font-weight:500;src:url(data:font/woff;base64,d09GRgABAAAAAB7IABAAAAAAM8AAAwEGAAAAAAAAAAAAAAAAAAAAAAAAAABHREVGAAAYTAAAACUAAAAoAMMAy0dQT1MAABh0AAAF5gAAFABSZjgBR1NVQgAAHlwAAAApAAAAKrj6uPRPUy8yAAAB4AAAAE8AAABgb5EQYlNUQVQAAB6IAAAAPwAAAETlM8w7Y21hcAAAA2QAAACcAAAA1Eb2SYhnYXNwAAAYRAAAAAgAAAAIAAAAEGdseWYAAATEAAATCgAAGZAh+3nvaGVhZAAAAWwAAAA2AAAANhlUA4xoaGVhAAABpAAAAB8AAAAkDdwEjGhtdHgAAAIwAAABMQAAAXB3NhgobG9jYQAABAgAAAC6AAAAuj8nN+ttYXhwAAABxAAAABwAAAAgAGcAfW5hbWUAABfQAAAAXwAAAH4K7BqicG9zdAAAGDAAAAATAAAAIP6yAIxwcmVwAAAEAAAAAAcAAAAHaAaMhQABAAAAAwEGcZk3318PPPUAAwgAAAAAANRqD0IAAAAA37eod/6W/hIHgwfAAAAABgACAAAAAAAAeJxjYGRgYD/wTwhItv2b9m86ezMDUAQFxAAAmDQGdgB4nGNgZGBgiGEIYWBhUGdgZgDxEADIBwAWCgDleJxjYGH5zPiFgZWBgdWY5SwDA8MsCM10lqGHaT4DEmhgYGAGUg4wflCwbzDDAQYFJSH2A/+EGBg4rjP1AYUZQXIscayXgJQCAw8A4aUOZgB4nB2OLUhDURiG33Pud+6WJv6ElYGIIMgcc1xEEREU5IIGucUhYhHkBsEiePGnmgyysOlAF1RYMIksCBoMYptjmIQlrYYFi7rrexcenu/nvB9HgE0zh7h8IjDHcM02Ajkgq+yr7E8RqAb7PqTkhx5DYLe4uyZ1uPJMv9JN7uqYkRYy5oQz3owdQeQPCTMMw3eLMo2clODLFBzakTwcfcHdGetD+KqKJUKHtxGS6s58+5GZHbLfzflRVj/At9qY0JdIyBZnOfTY8+iVfgxGNb0sb3D1NzMFbEgD6/KBBSnzbY3/nURW7mjW6r1TjMWRVC+AHkCgx+F1nYZnp7EX1fIUtnU5/LXWeAuAlQ+buoRzMqqz2NUVrBBPj+BKMpiVDgqkQm5UDZ76QlLfY+gfGNlXmAAAAHicY2BgYGJgYGAGYhEgyQimWRgOAGkNBgUgiwNIKjNoMugzWDJYM9gyRDHEM2QyZDFUMSxn2M6wV0FYQU3BSkno/3+gDpBKdQZtBgMGK6BKR6DKRKDKbCSVlmCVIFUgwM7AwyD9/8D/9/93/d/9f8//df8n/W99YPVA6YHkPVewWxgYVIDuIARCGPwZAhjCGFwZfBhcGLwBz+Um8LgB/4WwBI0AAAAAFQAxAG4ApwDUAOsBAAE9AVQBYgGFAaIBsQHSAewCIgJIAosCugMEAxYDOwNSA3YDmgOyA8gEFgRRBIQEvwT7BSAFawWRBZwFqAWzBcsF8AX+BjQGWQaNBskHBgcmB2QHhwetB8QH5QgECCwIRAh5CI0IvgkHCSgJYQmrCb4KGgpmCnUKhgqGCpwKpQqxCr4KzgrXCv0LDQsaCycLMwtVC3cLhQueC7YLxAxBDFUMYgx2DIwMnQzIAAB4nIVZCVxTV9Z/976XBAXBhITQOqIQIdapiISAoqwCQQiLLCIgoVqQXRDKJrKLBLWi1aq1Qi3aaasIVkGlgyPq168dbS2CY6l2UdtRtK1Yu0yFvJvvvJegTGe+mR9k+XHvPef8z/I/5z4oTK0hEnqfqI+iKRFFxYodxc6OYsc1tAfrjjPZvUQyqePXmDUWtylMWVCUYJFgAPZZUlSRAjkiBfw4yhz/MYLtEYPlD0iSFdlICwxjgoFRV+YCu7GXArllFMUchnO21HRKCSfFju52djKpUCiSOWDuU+Hs6O6p9nBxUTiq4Rv3VeFYhhWt/RnBhcHh21Jyvuogf0JBbVs1G5PICeQavl5T20A+Fgxkvrc2pUYrsWZWvPlSYXd2X5VOUxzS6Z2jWVlJUYgKNX4v0AruUM4UFew0C6s9JLNU7g5YrnClFU5CoUxqZ6dy98VeKmsa3+kj/R2daF5fyaeHciS3p2gyqjU1nxSXfFytqcrUWN8WZ7b1S0+jhB9GUMLpoLre0qX5Ecrase6Tj2tctHmh+acaloKPAKtACVhl1DMUteoJHBMyRiKTYgaJFWKcTLajFw/fLsj/4iBpRI03kPc775I+Mu3WB9X/ONb5c/UHx8mJ4XvkeBfnSZCHeC+6wDdL3oMyR/OrjH6b9ca72Fz8iWDgHPHrI/PPmXfLYPekibvL6BY2CJezjdzO6X3sK+M+SgIfKf+TjwCEHBBw5uMHF8mnR44i13NlVw7m2N6RhayuCK+6WFJyub68K20RWY7D3iB3pe+jhO8eoIQezcYTeUuywpW1o93do7UvdlVYvn+4lzzYbbJRMHMckQoyTwWeAStv4Tu3brHPCgbYMqwfdcVNbKlpN0qE3TRFBcA+lHjL7BpYm278nt7Hex0wuLio1aonZoNQyDD0RfXFkq8Xpgdq0jy+zvtImnysavp0n5XzFxfHM45jXzdfyjH77DFIsTLZo4IEh18RGCTBhegZ9h2I2o/EoRMMW4A/YlcbPsavXSLuppO0AU4KzEhkgOEgmDdyjjKtCtfAqg3UlyMCsWA+VznwXoYk6LoY3UB2X1gTzXGitf5MMDC2ntkE5eM59jGjHvurWYJgrslTAWL+IFinEgvmDrBTbG7141+t+YILGuuF0+8zIRRkIhfXRoirDTVjYmRNOagcT0tzhPEwZP+xY8it7zxy7ewkA+drLxYXX6ytuVRSculJ1p8m7448IIdPf1Iz2n1yrKZm7GT3aI3ZPqYZ7JNPrG7FxOwXl2Hp0W8LC//eQXahhPwmP7/N+eTvgoHqG01NN6r/om2Ii68PGx2B6IYa1/N2i0Aa5GSASi63VSiVov+GoOXL/aG/3Xlr4eH/gAR9cymJ9A5Fdf8XRHwdMx/xiKb9/5i4YD7FlY82AC7/JsCF88mex6hAMFA6uFnfX9jnXxIXX7FkdAS/yaZy/vIxDjOvAEZ3U74qVQ5YZRarVEL+enh6qkCjXPEUn1zuQHMW4Jy3f9lscVuU/EpC6u748Jrozq7+LSOv7r3bSF+3ers2qXFpQqX3Ds3u2qi6X+2z/qdxWY7H4rylgXFeMje3s6/X9uXk9JRmFC5MCwhZoZqqlCxe1Zxe+cE6sMkVEB/j2Z2KVXNsoRC7MnXE7aZAfO7c6IhAzMXZOCywN9VZAFdXjMJplgtfYuZqY7xu7SS/njhOftl5K/GtdYWHoGINz+//sanpx/30VYNvektSUks6SHraS6hY8CJXa2PojanojUfsPWJghyGPlzBnxuuboShRvamCVvG7TT9cEaEDJO175GSNXO+juTbI8QFZdZt8aEU+BAlVTN1YJVMPlZE89hYnxxow/ghypoD9yFzfXB9DSIbSrFA6YogbGiSjZJ8V2UfG0A0yG4q9B2tYO9Ye+7Hn8DC+D3KgzgUzTOwaazIevCUwok1T0UaE2G+Amtgk/CdDKXsKL4X94aC3wszGasQRKbTNZfRUw31mjuEhbfcqs+Hc7rGGc1zmuRuH6UEmF3qWp5nNPKBD+WI11xWdhCKlL+b4WSZWqBXWmC8DtTUtsoZOaofas9vTlm7YG52+YWFOVl61/SfOL59KW7K7Ie5vFtL4ja7JNUFWgXHR0/wy/crso/bmpZaHzppsOVWhFKRmpi6et6bSe0bsvvXss689F+PZoXkpYIel1NqSnuSs8V4Ww9mWabzPrAYcdpSLOXMVMgVHlZxNdlxdCv+lLpvTa5dKJQNDVlJNTUbj4PqywVOr6pYE1q1OrVsSVG8XvFLRAd66plgZrCfkZBdht/RknijIP7ZmVWdx8fE08J6H8R5jAR6ZyevkWMBcHa54QoeCJo6xz5v3q2rvtdR8WGF51dJvTUhyozasKVnXYHvVsuR/5bsQ884RJNiZcnideoVH6rGy8q5VmUl5h1dz2DwA27wJ2J7qUXGN6YmzJ2Kz0F8tW391U1a1xnbK0KDENqzaS8dhS11dFxhYb7cF0V0nEdYDRjxn1LUDMPakHS8u7ly15lh+wYlMM7bZgE05USdEVwZJIhpXNd7MvOQAcemhh7XVd/enHt8Wa2ikJ6X7V+t0DSHRzam+6WG2l5+pOivfhuij7Ui403fTtT2RBz0zWhOTdq3ILzoQNytUrUzSh3NoIYPxCaE98K0UagG02YpNpCMX8UplYryBbWpP2ZOwRGfnYTNPERXC6Do7x9qYm5lbgu0sjgmsosLH/Di/kRDGHRDMolQgyclF6cWTmZpzmMJpApmp1Hwrpt3/2YfeH915/n3pksKkijYbSVhNxsbByoqrjZm1odKpgw3f7nh5T2DdC6vrAwMbSMjujIiZoe6l9TcUCf6VPx0/buQ8e3KsafvpRFxz4ei6I6vSj+bkvb0S/JoJFWfHR5OfFiCEJiugbMR8HQmR/9DfbJRv1hW1r7pevS6yLATvYbMgE68m5+h6t8JM1b5Bv2QDZTRSWqAOnXCK0AUwQiunEkcpkwbkz+i4eYTr+ZlDjG6szWg0Hic6tJLf7WLa/Rts5P8aALutOMYQ20EnUai5pM0cQjGtRc8rIoMQnE8s2Bf155gIkMnZ7wH2C6nJHGsF0CqeqrjhAnkh5EYr0RlgK8EsUjiEhknBbixEFWgSus5+y/6FGwaw5DU2/omdE+Ym/6GncxOsCZfzXMNhkJl8JDd9PPHUU5fJxJmf2ijeWFuwx9lqdkfZ3vPXNyzPLr5ekOyb5cfoTqdkZaUk55ztY23x54Xp9WmsF76bvDagKJyNMkfECnSNR0T27yIyYOPSVl14JHWoZm14aRAXEZCLine truncated
<defs><path id="p28" d="M3 0h1v1h-1zM2 1h1v1h-1zM1 2h1v1h-1zM1 3h1v1h-1zM1 4h1v1h-1zM2 5h1v1h-1zM3 6h1v1h-1z"/><path id="p29" d="M1 0h1v1h-1zM2 1h1v1h-1zM3 2h1v1h-1zM3 3h1v1h-1zM3 4h1v1h-1zM2 5h1v1h-1zM1 6h1v1h-1z"/><path id="p2B" d="M2 1h1v1h-1zM2 2h1v1h-1zM0 3h5v1h-5zM2 4h1v1h-1zM2 5h1v1h-1z"/><path id="p2D" d="M1 3h3v1h-3z"/><path id="p30" d="M1 0h3v1h-3zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM3 2h2v1h-2zM0 3h1v1h-1zM2 3h1v1h-1zM4 3h1v1h-1zM0 4h2v1h-2zM4 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM1 6h3v1h-3z"/><path id="p31" d="M2 0h1v1h-1zM1 1h2v1h-2zM2 2h1v1h-1zM2 3h1v1h-1zM2 4h1v1h-1zM2 5h1v1h-1zM1 6h3v1h-3z"/><path id="p32" d="M1 0h3v1h-3zM0 1h1v1h-1zM4 1h1v1h-1zM4 2h1v1h-1zM3 3h1v1h-1zM2 4h1v1h-1zM1 5h1v1h-1zM0 6h5v1h-5z"/><path id="p33" d="M0 0h5v1h-5zM3 1h1v1h-1zM2 2h1v1h-1zM3 3h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM1 6h3v1h-3z"/><path id="p34" d="M3 0h1v1h-1zM2 1h2v1h-2zM1 2h1v1h-1zM3 2h1v1h-1zM0 3h1v1h-1zM3 3h1v1h-1zM0 4h5v1h-5zM3 5h1v1h-1zM3 6h1v1h-1z"/><path id="p35" d="M0 0h5v1h-5zM0 1h1v1h-1zM0 2h4v1h-4zM4 3h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM1 6h3v1h-3z"/><path id="p36" d="M2 0h2v1h-2zM1 1h1v1h-1zM0 2h1v1h-1zM0 3h4v1h-4zM0 4h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM1 6h3v1h-3z"/><path id="p37" d="M0 0h5v1h-5zM4 1h1v1h-1zM3 2h1v1h-1zM2 3h1v1h-1zM1 4h1v1h-1zM1 5h1v1h-1zM1 6h1v1h-1z"/><path id="p38" d="M1 0h3v1h-3zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM1 3h3v1h-3zM0 4h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM1 6h3v1h-3z"/><path id="p39" d="M1 0h3v1h-3zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM1 3h4v1h-4zM4 4h1v1h-1zM3 5h1v1h-1zM1 6h2v1h-2z"/><path id="p3E" d="M1 0h1v1h-1zM2 1h1v1h-1zM3 2h1v1h-1zM4 3h1v1h-1zM3 4h1v1h-1zM2 5h1v1h-1zM1 6h1v1h-1z"/><path id="p41" d="M1 0h3v1h-3zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM0 3h1v1h-1zM4 3h1v1h-1zM0 4h5v1h-5zM0 5h1v1h-1zM4 5h1v1h-1zM0 6h1v1h-1zM4 6h1v1h-1z"/><path id="p42" d="M0 0h4v1h-4zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM0 3h4v1h-4zM0 4h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM0 6h4v1h-4z"/><path id="p43" d="M1 0h3v1h-3zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM0 3h1v1h-1zM0 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM1 6h3v1h-3z"/><path id="p44" d="M0 0h3v1h-3zM0 1h1v1h-1zM3 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM0 3h1v1h-1zM4 3h1v1h-1zM0 4h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM3 5h1v1h-1zM0 6h3v1h-3z"/><path id="p45" d="M0 0h5v1h-5zM0 1h1v1h-1zM0 2h1v1h-1zM0 3h4v1h-4zM0 4h1v1h-1zM0 5h1v1h-1zM0 6h5v1h-5z"/><path id="p46" d="M0 0h5v1h-5zM0 1h1v1h-1zM0 2h1v1h-1zM0 3h4v1h-4zM0 4h1v1h-1zM0 5h1v1h-1zM0 6h1v1h-1z"/><path id="p47" d="M1 0h3v1h-3zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM0 3h1v1h-1zM2 3h3v1h-3zM0 4h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM1 6h4v1h-4z"/><path id="p48" d="M0 0h1v1h-1zM4 0h1v1h-1zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM0 3h5v1h-5zM0 4h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM0 6h1v1h-1zM4 6h1v1h-1z"/><path id="p49" d="M1 0h3v1h-3zM2 1h1v1h-1zM2 2h1v1h-1zM2 3h1v1h-1zM2 4h1v1h-1zM2 5h1v1h-1zM1 6h3v1h-3z"/><path id="p4A" d="M2 0h3v1h-3zM3 1h1v1h-1zM3 2h1v1h-1zM3 3h1v1h-1zM3 4h1v1h-1zM0 5h1v1h-1zM3 5h1v1h-1zM1 6h2v1h-2z"/><path id="p4B" d="M0 0h1v1h-1zM4 0h1v1h-1zM0 1h1v1h-1zM3 1h1v1h-1zM0 2h1v1h-1zM2 2h1v1h-1zM0 3h2v1h-2zM0 4h1v1h-1zM2 4h1v1h-1zM0 5h1v1h-1zM3 5h1v1h-1zM0 6h1v1h-1zM4 6h1v1h-1z"/><path id="p4C" d="M0 0h1v1h-1zM0 1h1v1h-1zM0 2h1v1h-1zM0 3h1v1h-1zM0 4h1v1h-1zM0 5h1v1h-1zM0 6h5v1h-5z"/><path id="p4D" d="M0 0h1v1h-1zM4 0h1v1h-1zM0 1h2v1h-2zM3 1h2v1h-2zM0 2h1v1h-1zM2 2h1v1h-1zM4 2h1v1h-1zM0 3h1v1h-1zM2 3h1v1h-1zM4 3h1v1h-1zM0 4h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM0 6h1v1h-1zM4 6h1v1h-1z"/><path id="p4E" d="M0 0h1v1h-1zM4 0h1v1h-1zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h2v1h-2zM4 2h1v1h-1zM0 3h1v1h-1zM2 3h1v1h-1zM4 3h1v1h-1zM0 4h1v1h-1zM3 4h2v1h-2zM0 5h1v1h-1zM4 5h1v1h-1zM0 6h1v1h-1zM4 6h1v1h-1z"/><path id="p4F" d="M1 0h3v1h-3zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM0 3h1v1h-1zM4 3h1v1h-1zM0 4h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM1 6h3v1h-3z"/><path id="p50" d="M0 0h4v1h-4zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM0 3h4v1h-4zM0 4h1v1h-1zM0 5h1v1h-1zM0 6h1v1h-1z"/><path id="p51" d="M1 0h3v1h-3zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM0 3h1v1h-1zM4 3h1v1h-1zM0 4h1v1h-1zM2 4h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM3 5h1v1h-1zM1 6h2v1h-2zM4 6h1v1h-1z"/><path id="p52" d="M0 0h4v1h-4zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM0 3h4v1h-4zM0 4h1v1h-1zM2 4h1v1h-1zM0 5h1v1h-1zM3 5h1v1h-1zM0 6h1v1h-1zM4 6h1v1h-1z"/><path id="p53" d="M1 0h4v1h-4zM0 1h1v1h-1zM0 2h1v1h-1zM1 3h3v1h-3zM4 4h1v1h-1zM4 5h1v1h-1zM0 6h4v1h-4z"/><path id="p54" d="M0 0h5v1h-5zM2 1h1v1h-1zM2 2h1v1h-1zM2 3h1v1h-1zM2 4h1v1h-1zM2 5h1v1h-1zM2 6h1v1h-1z"/><path id="p55" d="M0 0h1v1h-1zM4 0h1v1h-1zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM0 3h1v1h-1zM4 3h1v1h-1zM0 4h1v1h-1zM4 4h1v1h-1zM0 5h1v1h-1zM4 5h1v1h-1zM1 6h3v1h-3z"/><path id="p56" d="M0 0h1v1h-1zM4 0h1v1h-1zM0 1h1v1h-1zM4 1h1v1h-1zM0 2h1v1h-1zM4 2h1v1h-1zM0 3h1v1h-1zM4 3h1v1h-1zM0 4h1v1h-1zM4 4h1v1h-1zM1 5h1v1h-1zM3 5h1v1h-1zM2 6h1v1h-1z"/><patLine truncated
<rect width="1500" height="2802" rx="28" fill="#000000"/>
<rect x="1" y="1" width="1498" height="2800" rx="27" fill="none" stroke="#24212c" stroke-width="2"/>
<rect width="1500" height="2810" rx="28" fill="#000000"/>
<rect x="1" y="1" width="1498" height="2808" rx="27" fill="none" stroke="#24212c" stroke-width="2"/>
<line x1="39.9" y1="94.1" x2="40.5" y2="89.8" stroke="#00D2FF" stroke-width="2.6" stroke-linecap="round"/>
<line x1="40.5" y1="89.8" x2="42.3" y2="86.1" stroke="#02CEFF" stroke-width="2.6" stroke-linecap="round"/>
<line x1="42.3" y1="86.1" x2="42.3" y2="84.2" stroke="#04CBFF" stroke-width="2.6" stroke-linecap="round"/>
@@ -197,7 +197,7 @@
<line x1="164.5" y1="80.5" x2="164.5" y2="81.7" stroke="#FFD300" stroke-width="2.6" stroke-linecap="round"/>
<text x="200.0" y="84.0" font-size="52" font-weight="700" fill="#F4F1EA">JIANT FM</text>
<text x="454.5" y="84.0" font-size="52" font-weight="500" fill="#B870FF">Navigation map</text>
<text x="202.0" y="120.0" font-size="19" font-weight="500" fill="#A39D99">firmware v0.9.16 · six rules, one chain of pages per section</text>
<text x="202.0" y="120.0" font-size="19" font-weight="500" fill="#A39D99">firmware v0.9.17 · six rules, one chain of pages per section</text>
<text x="202.0" y="146.0" font-size="17" fill="#6A6470" xml:space="preserve"><tspan font-weight="500">Ten buttons, ten sections. SELECT walks a section's pages as one chain; its button jumps group to</tspan></text>
<text x="202.0" y="168.0" font-size="17" fill="#6A6470" xml:space="preserve"><tspan font-weight="500">group.</tspan></text>
<rect x="970.0" y="42.0" width="40.0" height="20.0" rx="10" fill="#131218" stroke="#4C3B8C" stroke-width="1.5"/>
@@ -1110,8 +1110,8 @@
<text x="1072.0" y="2224.0" font-size="15.5" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">SECTION · GROUP · page and n/N.</tspan></text>
<g transform="translate(30.00 2283.00) scale(3)" fill="#F4F1EA"><use href="#p48"/><use href="#p45" x="6"/><use href="#p4C" x="12"/><use href="#p44" x="18"/><use href="#p4C" x="30"/><use href="#p41" x="36"/><use href="#p59" x="42"/><use href="#p45" x="48"/><use href="#p52" x="54"/><use href="#p53" x="60"/><use href="#p28" x="72"/><use href="#p48" x="78"/><use href="#p4F" x="84"/><use href="#p4C" x="90"/><use href="#p44" x="96"/><use href="#p54" x="108"/><use href="#p48" x="114"/><use href="#p45" x="120"/><use href="#p42" x="132"/><use href="#p55" x="138"/><use href="#p54" x="144"/><use href="#p54" x="150"/><use href="#p4F" x="156"/><use href="#p4E" x="162"/><use href="#p29" x="168"/></g>
<g transform="translate(844.32 2283.00) scale(3)" fill="#F4F1EA"><use href="#p43"/><use href="#p4F" x="6"/><use href="#p4D" x="12"/><use href="#p42" x="18"/><use href="#p4F" x="24"/><use href="#p53" x="30"/></g>
<rect x="30.0" y="2317.0" width="796.3" height="429.0" rx="16" fill="#0A090E" stroke="#1E1C25" stroke-width="1.2"/>
<rect x="844.3" y="2317.0" width="625.7" height="429.0" rx="16" fill="#0A090E" stroke="#1E1C25" stroke-width="1.2"/>
<rect x="30.0" y="2317.0" width="796.3" height="437.0" rx="16" fill="#0A090E" stroke="#1E1C25" stroke-width="1.2"/>
<rect x="844.3" y="2317.0" width="625.7" height="437.0" rx="16" fill="#0A090E" stroke="#1E1C25" stroke-width="1.2"/>
<rect x="48.0" y="2335.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#8A6CFF" stroke-width="1.6"/>
<g transform="translate(68.70 2340.30) scale(2.2)" fill="#F4F1EA"><use href="#p48"/><use href="#p4F" x="6"/><use href="#p4D" x="12"/><use href="#p45" x="18"/></g>
<text x="156.0" y="2353.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">the MENU: DISPLAY · CONTROL · AUDIO · MIDI · SYSTEM (SELECT the rows, ALGORITHM the</tspan></text>
@@ -1126,23 +1126,24 @@
<rect x="48.0" y="2479.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#FF4B4B" stroke-width="1.6"/>
<g transform="translate(81.90 2484.30) scale(2.2)" fill="#F4F1EA"><use href="#p46"/><use href="#p58" x="6"/></g>
<text x="156.0" y="2497.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">punch-in: F3–A3 REPEAT · B3 GLITCH · C4 TAPE STOP · D4/E4 OCT · F4 ½ TEMPO · G4/A4 DEC ·</tspan></text>
<text x="156.0" y="2518.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">B4/C5 STUTTER · D5–F5 ATK+ ARP RANDOM · C#5 D#5 F#5 sweeps · knobs: macros</tspan></text>
<rect x="48.0" y="2534.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#8A6CFF" stroke-width="1.6"/>
<g transform="translate(75.30 2539.30) scale(2.2)" fill="#F4F1EA"><use href="#p47"/><use href="#p4C" x="6"/><use href="#p4F" x="12"/></g>
<text x="156.0" y="2552.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">black 1–6 MUTE · F3–D4 SOLO · E4 unmute all · F4 TAP · A4 FREEZE · B4 REVERT ALL ·</tspan><tspan font-weight="700" fill="#F4F1EA"> G4 UNDO</tspan><tspan font-weight="500"> ·</tspan></text>
<text x="156.0" y="2573.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">PLAY restart · knobs: LEVEL</tspan></text>
<rect x="48.0" y="2589.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#5874FF" stroke-width="1.6"/>
<g transform="translate(75.30 2594.30) scale(2.2)" fill="#F4F1EA"><use href="#p4C"/><use href="#p46" x="6"/><use href="#p4F" x="12"/></g>
<text x="156.0" y="2607.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">KNOB 1–4 = M1–M4, latched · F3 new routes · G3 clear</tspan></text>
<rect x="48.0" y="2623.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#FF4B4B" stroke-width="1.6"/>
<g transform="translate(75.30 2628.30) scale(2.2)" fill="#F4F1EA"><use href="#p53"/><use href="#p43" x="6"/><use href="#p4C" x="12"/></g>
<text x="156.0" y="2641.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">any key sets the ROOT</tspan></text>
<rect x="48.0" y="2657.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#FFD23C" stroke-width="1.6"/>
<g transform="translate(68.70 2662.30) scale(2.2)" fill="#F4F1EA"><use href="#p53"/><use href="#p41" x="6"/><use href="#p56" x="12"/><use href="#p45" x="18"/></g>
<text x="156.0" y="2675.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">F3–B3 play A–D · C4–F4 store A–D ·</tspan><tspan font-weight="700" fill="#F4F1EA"> C5 NAME</tspan><tspan font-weight="500"> · D5 LOOP/SONG · E5 SONG REC · G5 ARRANGE</tspan></text>
<rect x="48.0" y="2691.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#FF7A00" stroke-width="1.6"/>
<g transform="translate(75.30 2696.30) scale(2.2)" fill="#F4F1EA"><use href="#p52"/><use href="#p45" x="6"/><use href="#p43" x="12"/></g>
<text x="156.0" y="2709.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">F3 CLEAR · G3 CLICK</tspan></text>
<text x="156.0" y="2518.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">B4/C5 STUTTER · D5–F5 ATK+ ARP RANDOM · G#4 FREEZE · C#5 SHUFFLE · D#5 F#5 sweeps ·</tspan></text>
<text x="156.0" y="2539.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">knobs: macros (a glitcher held: its own)</tspan></text>
<rect x="48.0" y="2555.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#8A6CFF" stroke-width="1.6"/>
<g transform="translate(75.30 2560.30) scale(2.2)" fill="#F4F1EA"><use href="#p47"/><use href="#p4C" x="6"/><use href="#p4F" x="12"/></g>
<text x="156.0" y="2573.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">black 1–6 MUTE · F3–D4 SOLO · E4 unmute all · F4 TAP · A4 FREEZE · B4 REVERT ALL ·</tspan><tspan font-weight="700" fill="#F4F1EA"> G4 UNDO</tspan><tspan font-weight="500"> ·</tspan></text>
<text x="156.0" y="2594.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">PLAY restart · knobs: LEVEL</tspan></text>
<rect x="48.0" y="2610.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#5874FF" stroke-width="1.6"/>
<g transform="translate(75.30 2615.30) scale(2.2)" fill="#F4F1EA"><use href="#p4C"/><use href="#p46" x="6"/><use href="#p4F" x="12"/></g>
<text x="156.0" y="2628.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">KNOB 1–4 = M1–M4, latched · F3 new routes · G3 clear</tspan></text>
<rect x="48.0" y="2644.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#FF4B4B" stroke-width="1.6"/>
<g transform="translate(75.30 2649.30) scale(2.2)" fill="#F4F1EA"><use href="#p53"/><use href="#p43" x="6"/><use href="#p4C" x="12"/></g>
<text x="156.0" y="2662.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">any key sets the ROOT</tspan></text>
<rect x="48.0" y="2678.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#FFD23C" stroke-width="1.6"/>
<g transform="translate(68.70 2683.30) scale(2.2)" fill="#F4F1EA"><use href="#p53"/><use href="#p41" x="6"/><use href="#p56" x="12"/><use href="#p45" x="18"/></g>
<text x="156.0" y="2696.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">F3–B3 play A–D · C4–F4 store A–D ·</tspan><tspan font-weight="700" fill="#F4F1EA"> C5 NAME</tspan><tspan font-weight="500"> · D5 LOOP/SONG · E5 SONG REC · G5 ARRANGE</tspan></text>
<rect x="48.0" y="2712.0" width="92.0" height="26.0" rx="9" fill="#1C1A22" stroke="#FF7A00" stroke-width="1.6"/>
<g transform="translate(75.30 2717.30) scale(2.2)" fill="#F4F1EA"><use href="#p52"/><use href="#p45" x="6"/><use href="#p43" x="12"/></g>
<text x="156.0" y="2730.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">F3 CLEAR · G3 CLICK</tspan></text>
<rect x="862.3" y="2335.0" width="64.0" height="26.0" rx="9" fill="#1C1A22" stroke="#3A3644" stroke-width="1.5"/>
<g transform="translate(871.32 2341.00) scale(2)" fill="#F4F1EA"><use href="#p48"/><use href="#p4F" x="6"/><use href="#p4D" x="12"/><use href="#p45" x="18"/></g>
<text x="934.3" y="2353.0" font-size="17" font-weight="700" fill="#6A6470">+</text>
@@ -1203,6 +1204,6 @@
<rect x="950.3" y="2704.0" width="64.0" height="26.0" rx="9" fill="#1C1A22" stroke="#3A3644" stroke-width="1.5"/>
<g transform="translate(959.32 2710.00) scale(2)" fill="#F4F1EA"><use href="#p4F"/><use href="#p43" x="6"/><use href="#p54" x="12"/><use href="#p2B" x="18"/></g>
<text x="1196.3" y="2722.0" font-size="15" fill="#A39D99" xml:space="preserve"><tspan font-weight="500">back / do it (NO / YES)</tspan></text>
<text x="30.0" y="2776.0" font-size="14" font-weight="500" fill="#6A6470">JIANT FM · GPL-3.0 · generated by tools/gen_nav_map.py from firmware/src/ui_lens.c</text>
<text x="1470.0" y="2776.0" font-size="14" font-weight="500" fill="#6A6470" text-anchor="end">docs/MANUAL.md § 3</text>
<text x="30.0" y="2784.0" font-size="14" font-weight="500" fill="#6A6470">JIANT FM · GPL-3.0 · generated by tools/gen_nav_map.py from firmware/src/ui_lens.c</text>
<text x="1470.0" y="2784.0" font-size="14" font-weight="500" fill="#6A6470" text-anchor="end">docs/MANUAL.md § 3</text>
</svg>

Before

Width:  |  Height:  |  Size: 171 KiB

After

Width:  |  Height:  |  Size: 171 KiB

+1 -1
View File
@@ -22,7 +22,7 @@ static const uint8_t ED_MENU[][2] = {
{MI_LOAD, 19}, /* (JIANT 0.6.30) LOAD ECO / LITE / FULL, SYSTEM (0.9.12: AUDIO) */
{MI_MIDIOUT, 20}, /* (JIANT 0.6.72) MIDI OUT KEYS / CLOCK / ALL / OFF, CONTROL (0.9.12: MIDI) */
{MI_SKIN, 21}, /* (JIANT 0.8.9) SKIN COLORS / BOTTOM / HUD (0.9.7: AIR COLORS BOTTOM
* HUD), a row of DISPLAY */
* HUD; 0.9.17: AIR COLORS HUD), a row of DISPLAY */
{MI_SCOPE, 22}, /* (0.9.7) SCOPE OFF / ON, a row of DISPLAY */
{MI_CPU, 23}, {MI_CLOCK, 24}, /* (0.9.12) CPU 1 CORE / 2 CORES, CPU CLOCK 360 / 320 MHZ, SYSTEM */
};
+10 -5
View File
@@ -70,6 +70,7 @@ static struct {
uint16_t rs_w; /* .. their write index (each its own line, 1024) */
uint32_t cl_w, cl_rng; /* .. CLOUD: its line's write count (half rate), its random numbers */
int32_t cl_dc; /* .. (0.9.14) its loop's DC (Q8 samples) */
uint16_t cl_fill; /* .. (0.9.16) sound written into its line since it was cleared (full-rate samples, to 32768) */
int32_t cl_next, cl_lp, cl_half, cl_gl, cl_gr; /* .. the samples to the next grain, the output's low-pass, the odd sample */
uint16_t sp_w; /* SPRING: the loop's write index (SP_MASK) */
uint8_t sp_ns; /* (0.6.70) SPRING's allpass stages last block (SP_N, LOAD ECO SP_N_ECO) */
@@ -1014,7 +1015,7 @@ static __attribute__((noinline)) void rev_reso(const int32_t *rev_in, int32_t *o
}
}
#define CL_N 12u /* (its line, CL_LEN: rev_x, at the top) */
#define CL_WMAX 512 /* (0.9.14) the grains' windows summed: 2 grains' worth at most */
#define CL_WMAX 320 /* (0.9.14) the grains' windows summed: 1.25 grains' worth at most (0.9.16) */
#define CL_BACK (CL_LEN - 6000u - 1024u) /* .. the farthest back a grain may start (rev_cloud) */
static struct { uint32_t pos, inc; uint16_t len, age; int16_t pl, pr; } cl_g[CL_N];
static uint32_t cl_rand(void) { fx.cl_rng = fx.cl_rng * 1664525u + 1013904223u; return fx.cl_rng >> 8; }
@@ -1028,7 +1029,9 @@ static uint32_t cl_rand(void) { fx.cl_rng = fx.cl_rng * 1664525u + 1013904223u;
static __attribute__((noinline)) void rev_cloud(const int32_t *rev_in, int32_t *out, uint32_t n)
{
static const uint32_t PITCH[4] = {65536u, 131072u, 32768u, 98184u}; /* x1, an octave up, down, a fifth up (Q16) */
uint32_t i, k, freeze = GFX(GF_RSIZE) >= 127;
uint32_t i, k, freeze = GFX(GF_RSIZE) >= 127 && fx.cl_fill >= 32768u; /* (0.9.16: a FREEZE of a cleared
* line held silence: "CLOUD off at SIZE 100 %"; now the line
* first takes a line's worth of sound, ~0.74 s, then holds) */
int32_t gap = 1700 - song.g[G_RRATE] * 11, dk = 32767 - GFX(GF_RDAMP) * 220, wd = song.g[G_RWIDE], air = rev_air();
uint32_t ar = semi_q16(air); /* (0.6.12) AIR: the grains up / down, the tone with them */
if (air < 0) dk = clamp(dk + air * 1100, 1500, 32767);
@@ -1048,6 +1051,7 @@ static __attribute__((noinline)) void rev_cloud(const int32_t *rev_in, int32_t *
else
fx.cl_half = x;
fx.cl_w++;
if (fx.cl_fill < 32768u && (fx.cl_fill || x)) fx.cl_fill++;
}
if (--fx.cl_next <= 0) { /* a grain is born, in the first one free */
fx.cl_next = gap / 2 + (int32_t)(cl_rand() % (uint32_t)gap);
@@ -1093,9 +1097,9 @@ static __attribute__((noinline)) void rev_cloud(const int32_t *rev_in, int32_t *
}
}
if (ws > CL_WMAX) { /* (0.9.14) the overlap at most CL_WMAX / 256 grains' worth: */
int32_t q = (CL_WMAX << 13) / ws; /* the windows' sum grows with RATE (up to 12 grains), and */
gl = ((gl >> 2) * q) >> 13; /* x SIZE's feedback (0.43) it passed 1 from RATE ~90 (any */
gr = ((gr >> 2) * q) >> 13; /* SIZE at 127): the line ran away into its clamps, the */
int32_t q = (CL_WMAX << 11) / ws; /* the windows' sum grows with RATE (up to 12 grains), and */
gl = (gl * q) >> 11; /* x SIZE's feedback (0.43) it passed 1 from RATE ~90 (any */
gr = (gr * q) >> 11; /* SIZE at 127): the line ran away into its clamps, the */
} /* crackle. Now the loop's gain <= 0.43 x 2: it always dies */
l = (gl + fx.cl_gl) >> 1;
r = (gr + fx.cl_gr) >> 1;
@@ -1160,6 +1164,7 @@ static void rev_state_clear(void)
cl_g[i].len = 0;
fx.cl_gl = fx.cl_gr = 0;
fx.cl_dc = 0;
fx.cl_fill = 0;
fx.cl_lp = fx.cl_half = 0; /* (0.8.4: CLOUD's tone and odd sample too; its tone's state
* was kept, a residue back into the next CLOUD's line) */
}
+25 -25
View File
@@ -85,7 +85,7 @@ static struct {
uint8_t role[NTRK], act[RL_N], trk_of[RL_N];
uint32_t drum_fill; /* the fill forced (a BUILD section) */
uint8_t mutant; /* (0.6.95) RANDOM: a hybrid of two or three genres */
uint16_t snd[NTRK]; uint8_t nsnd; /* (0.9.18) the piece's sounds so far (engine << 8 | preset) */
uint16_t snd[NTRK]; uint8_t nsnd; /* (0.9.17) the piece's sounds so far (engine << 8 | preset) */
} gs;
#define GKICK(i) ((uint32_t)(gs.kick >> ((i) & 63u)) & 1u)
static uint32_t gseed_mix(uint32_t part) { return part == GS_PICK ? 0u : (gs.gi + 1u) * 0x85EBCA6Bu; }
@@ -665,9 +665,9 @@ static int32_t gbass_near(int32_t lo, const gch_t *c, int32_t ref) /* (a walk'
/* (0.9.7) an archetype's note and flag at step i (gen_bass.h: the text's characters) */
#define BA_NOTE(c) (".=R23456789ALNSx"[(c) & 15u])
#define BA_FLAG(c) (".asg"[((c) >> 4) & 3u])
/* (0.9.18) the archetype as this throw plays it: one to three of its steps moved (a ghost or a soft root after a note
/* (0.9.17) the archetype as this throw plays it: one to three of its steps moved (a ghost or a soft root after a note
* on an off sixteenth, a weak root up the octave or to the fifth, a weak note left out, a note a sixteenth late or
* early), the same in every bar (a riff, its own): until 0.9.17 a genre's throws played one of its three archetypes as
* early), the same in every bar (a riff, its own): until 0.9.16 a genre's throws played one of its three archetypes as
* written, the same bass in a third of them (MICRO HOUSE: as one of the 8 before in 60 %) */
static void gba_vary(uint8_t *bc, uint32_t alen)
{
@@ -824,7 +824,7 @@ static void gen_pads(track_t *t, uint32_t len)
for (j = 0, m = (uint32_t)grr(3, 5); j < m; j++) comp[CP[(gr() + j * 2u) % 6u]] = 1;
comp[gch(50) ? 6u : 14u] = 1; /* (the anticipation of 3 or of the bar) */
for (j = 0, m = (uint32_t)grr(3, 4); j < m; j++) brk[BR[gr() % 6u]] = 1;
{ /* (0.9.18) a held chord's own place: on the change, or an eighth, a beat, a beat and a half late; a sparse
{ /* (0.9.17) a held chord's own place: on the change, or an eighth, a beat, a beat and a half late; a sparse
* one held to its end or for a dotted quarter (the held styles came out the same piece after piece) */
static const uint8_t OFS[6] = {0, 0, 0, 2, 4, 6};
off = OFS[gr() % 6u];
@@ -874,15 +874,15 @@ static void gen_arp(track_t *t, uint32_t len)
uint32_t i, k = 0, idx = 0, a = gs.amt[GP_ARP], no = 0, last = 0xFFFFu, cnt = 0, rate, hole = 0, gh = 0, tie = 0;
int32_t c[4], n[1];
gseed(GS_ARP);
ap = &ARP[gch(25) ? AP_PEDAL + gr() % 3u : gs.g->arp[gch(70) ? 0 : 1]]; /* (0.9.18) now and then a pedal, broken
ap = &ARP[gch(25) ? AP_PEDAL + gr() % 3u : gs.g->arp[gch(70) ? 0 : 1]]; /* (0.9.17) now and then a pedal, broken
* thirds, a zigzag */
rate = ap->rate;
if (rate == 1u && (a < 35u || (gs.energy < 34u && gch(50)))) rate = 2; /* (0.6.93) a small amount: eighths */
gs.navo = 0;
for (no = 0; no < 8u && ap->ord[no] >= 0; no++) {}
for (i = 0; i < 16u; i++) { /* (0.9.18) the holes (space), the ghosts and the held notes a
for (i = 0; i < 16u; i++) { /* (0.9.17) the holes (space), the ghosts and the held notes a
* figure of the bar, kept bar after bar (the fourth bar a little
* its own): until 0.9.17 thrown every step, a bar like no other */
* its own): until 0.9.16 thrown every step, a bar like no other */
hole |= (uint32_t)(gr() % 100u >= 20u + a * 3u / 4u && i % 4u) << i;
gh |= (uint32_t)(gch(18) && i % 4u) << i;
tie |= (uint32_t)gch(10) << i;
@@ -1076,7 +1076,7 @@ static void gl_write(track_t *t, gline_t *L, uint32_t len, uint32_t legato)
static const char *const GL_CELL[16] = {"x..x..x...x.....", "x.x.x...x.x.....", "x...x.x.x.......", "..x...x...x...x.",
"x..x.x..x..x.x..", "x.......x.x.x...", "x...x...x...x...", "x.x...x.x...x...",
"..x.x...x.x.....", "x..x..x..x..x...", "x.....x...x.x...", "x...x.x.......x.",
"x..x...x..x.....", "..x..x..x.x.....", "x.x..x...x..x...", "x..x.x...x.x..x."}; /* (0.9.18:
"x..x...x..x.....", "..x..x..x.x.....", "x.x..x...x..x...", "x..x.x...x.x..x."}; /* (0.9.17:
* the last four syncopated: off sixteenths, pushes) */
enum { LB_M, LB_V, LB_R, LB_C, LB_REST }; /* a bar of the phrase: the motif, varied, the answer, the
* continuation, a rest */
@@ -1210,7 +1210,7 @@ static void gen_lead(track_t *t, uint32_t len)
uint8_t at[8], used[16] = {0};
int8_t mo[8];
uint32_t k = 3u + gs.complex / 40u + (a > 60u), nc = 0, tpl, op = gr() % 6u, ct = gr() % 4u; /* (op: the varied
* bar's: 0 TRUNC, 1 RETRO, 2 END moved, 3 ORN, 4 AUG, 5 (0.9.18)
* bar's: 0 TRUNC, 1 RETRO, 2 END moved, 3 ORN, 4 AUG, 5 (0.9.17)
* LATE: its notes an eighth late, syncopated) */
int32_t anchor, d = 0, pv = 0, base0;
const char *cell = GL_CELL[gr() % 16u];
@@ -1338,7 +1338,7 @@ static void gen_texture(track_t *t, uint32_t len)
int32_t n[1], lo = ri == SR_DRONE || ri == SR_SUB || ri == SR_NOISE || ri == SR_TEXTURE ? 43 : 55; /* (an organ, a
* choir, strings: above the bass) */
gseed(GS_TEX);
uint32_t at = gr() % 3u * 4u, hold = gs.g->form == FM_ARC ? 63u : 15u - at; /* (0.9.18) on the bar, or a beat or two
uint32_t at = gr() % 3u * 4u, hold = gs.g->form == FM_ARC ? 63u : 15u - at; /* (0.9.17) on the bar, or a beat or two
* into it; the chord's root, fifth, third or octave */
for (i = 0; i + at < len; i += 16u) {
static const int8_t DG[6] = {0, 0, 4, 4, 2, 7};
@@ -1362,7 +1362,7 @@ static int gnever(const char *s)
* the texture long, plucks and arps between) and the filter envelope it adds to its recipe's */
static const uint8_t GREL[RL_N][2] = {{0, 127}, {40, 64}, {78, 104}, {55, 88}, {50, 80}, {70, 110}};
static const uint8_t GENVF[RL_N][2] = {{0, 0}, {6, 20}, {4, 14}, {6, 18}, {8, 24}, {2, 10}};
/* (0.9.18) a lead's and an arp's envelope shapes, ATK DEC SUS REL ranges: plucked, swelling, held with a tail, the
/* (0.9.17) a lead's and an arp's envelope shapes, ATK DEC SUS REL ranges: plucked, swelling, held with a tail, the
* recipe's (no range); their weights */
static const uint8_t GENV[3][8] = {{0, 6, 55, 76, 12, 58, 55, 72}, {38, 62, 70, 88, 55, 90, 66, 90}, {2, 14, 62, 84, 60, 88, 64, 86}};
static const uint8_t GENV_LW[4] = {45, 15, 25, 15}, GENV_AW[4] = {60, 8, 17, 15};
@@ -1387,9 +1387,9 @@ static void gen_sound(track_t *t, uint32_t role, uint32_t ri)
* BASS GROWL ACID; a REESE now too) */
if (na < sizeof any) any[na++] = (uint8_t)i;
}
for (i = 0; i < na; i++) { /* (0.9.18) every preset a word of the recipe names, the first
for (i = 0; i < na; i++) { /* (0.9.17) every preset a word of the recipe names, the first
* word's likeliest (3 2 1), one another track of the piece has
* already seldom: until 0.9.17 only the first word that fitted,
* already seldom: until 0.9.16 only the first word that fitted,
* often one preset (MICRO HOUSE's lead: the press before's
* sound in 45 % of the presses) */
const char *pn = en->presets[any[i]].name;
@@ -1413,7 +1413,7 @@ static void gen_sound(track_t *t, uint32_t role, uint32_t ri)
t->p[P_DEC] = (int16_t)grr(r->dec[0], r->dec[1]);
t->p[P_SUS] = (int16_t)grr(r->sus[0], r->sus[1]);
t->p[P_REL] = (int16_t)grr(r->rel[0], r->rel[1]);
if ((role == RL_LEAD || role == RL_ARP) && r->sus[1] < 120u) { /* (0.9.18, "too many leads with full sustain and
if ((role == RL_LEAD || role == RL_ARP) && r->sus[1] < 120u) { /* (0.9.17, "too many leads with full sustain and
* no release") a lead's or an arp's envelope a shape of its own:
* plucked (a real decay to a sustain well under the top, a short
* release), swelling (a slow attack), held with a tail; the
@@ -1426,7 +1426,7 @@ static void gen_sound(track_t *t, uint32_t role, uint32_t ri)
t->p[P_SUS] = (int16_t)grr(e6[4], e6[5]); t->p[P_REL] = (int16_t)grr(e6[6], e6[7]);
}
}
{ /* (0.9.18) the release inside the tempo: a plucked or short part's tail three sixteenths at most at the genre's
{ /* (0.9.17) the release inside the tempo: a plucked or short part's tail three sixteenths at most at the genre's
* tempo (a pad's, a texture's: as long as they are), never under the role's floor */
uint32_t ms10 = 3u * 150000u / ((gs.g->bpm_lo + gs.g->bpm_hi) / 2u + 1u), v = (uint32_t)t->p[P_REL];
if (role != RL_PAD && role != RL_TEX && t->p[P_SUS] < 100) while (v > GREL[role][0] && TIME_MS_X10[v] > ms10) v--;
@@ -1445,7 +1445,7 @@ static void gen_sound(track_t *t, uint32_t role, uint32_t ri)
if (role == RL_BASS && e != EG_A) cut += 20; /* (a bass: only its fizz taken) */
if (gs.g->human >= 40u && role != RL_BASS) cut += 10; /* (a band: air) */
if (gs.energy > 66u) cut += 6;
if (role != RL_TEX && gs.g->wet < 85u && gch(70)) { /* (0.9.18, "more low cutoff and envelope to the filter,
if (role != RL_TEX && gs.g->wet < 85u && gch(70)) { /* (0.9.17, "more low cutoff and envelope to the filter,
* resonance and drive") most parts darker, the envelope opening
* each note, more resonance the lower the cutoff (never a peak:
* 30 more at most); the machines' loops (house, techno ..) more of
@@ -1473,7 +1473,7 @@ static void gen_sound(track_t *t, uint32_t role, uint32_t ri)
t->p[P_LD_FLT] = (int16_t)grr(r->lfo[0], r->lfo[1]);
} else if (role != RL_DRUM && gch(role == RL_BASS ? 30u : role == RL_LEAD ? 45u : 65u)) { /* (0.9.13) the filter
* moving slowly, a cycle over one, two or four bars at the genre's
* tempo; 0.9.18 ("LFO to the filters, soft") the lead's and the
* tempo; 0.9.17 ("LFO to the filters, soft") the lead's and the
* bass's too, softly */
uint32_t hz = (uint32_t)(gs.g->bpm_lo + gs.g->bpm_hi) * 50u / (240u << (gr() % 3u)), v = 0;
while (v < 127u && LFO_HZ_X100[v] < hz) v++;
@@ -1482,7 +1482,7 @@ static void gen_sound(track_t *t, uint32_t role, uint32_t ri)
if ((role == RL_LEAD || (role == RL_PAD && !t->p[P_LD_FLT])) && t->p[P_SUS] >= 40 && gch(role == RL_LEAD ? 50u : 20u)) { /* (0.6.97)
* a vibrato that comes in late, now and then a tremolo; 0.9.13:
* soft (a fifth of a semitone, a third now and then: LD_PIT 1..2
* x 3/16) on a held lead only; 0.9.18 ("or a soft vibrato with a
* x 3/16) on a held lead only; 0.9.17 ("or a soft vibrato with a
* high rate") 5 .. 8 Hz, a pad's too, the filter's LFO then off */
t->p[P_LWAVE] = 0; t->p[P_LRATE] = (int16_t)grr(88, 96); t->p[P_LFADE] = (int16_t)grr(70, 100);
t->p[P_LD_PIT] = (int16_t)(gch(75) ? 1 : 2); t->p[P_LD_FLT] = 0;
@@ -1535,7 +1535,7 @@ static void gen_kit(track_t *t)
dx_snd[DV_CLAP] = (uint8_t)((3u << 6) | (uint32_t)clamp(rv + grr(-6, 10), 6, 63));
dx_snd[DV_RIM] = (uint8_t)(wet >= 60 ? (2u << 6) | (uint32_t)grr(20, 45) : 0u);
dx_snd[DV_HATO] = (uint8_t)(wet >= 70 && gch(50) ? (3u << 6) | (uint32_t)grr(8, 20) : 0u);
{ /* (0.9.18, "percs with sends") the percussion now and then into the delay or the reverb, a little, as wet
{ /* (0.9.17, "percs with sends") the percussion now and then into the delay or the reverb, a little, as wet
* as the genre (the kick never: lane 0; the snare and the clap: above) */
uint32_t l;
dx_snd[DV_KICK] = dx_snd[DV_HATC] = dx_snd[DV_TOM] = dx_snd[DV_BELL] = 0;
@@ -2199,7 +2199,7 @@ static void gen_scale_page(void)
sl_root = gs.root; sl_scale = gs.scale; sl_quant = qn;
}
static int8_t dice_force_style = -1, dice_force_energy = -1; /* (a film's script, the renders: this genre, this energy) */
/* (0.9.18) the piece's choices after its genre (gen_make's, from the GS_PICK stream: the same calls in the same order):
/* (0.9.17) the piece's choices after its genre (gen_make's, from the GS_PICK stream: the same calls in the same order):
* the key, the energy and the amounts, the progression, the loop, the plan, the bass's archetype. SEQ + SELECT's too
* (dice_seq: a part where no piece of the generator plays) */
static void gen_pick(void)
@@ -2433,7 +2433,7 @@ static void gen_make(void)
static const uint8_t ODD[4] = {12, 20, 24, 28};
len = ODD[gr() % 4u];
} else if (r == RL_LEAD && len < NSTEP && NSTEP % len == 0u && gch(80)) {
len = NSTEP; /* (0.9.18, "longer melodies, call and response") the lead's
len = NSTEP; /* (0.9.17, "longer melodies, call and response") the lead's
* phrase over four bars where the loop is shorter (its chords
* again under it): its template's call and answer, its cadences */
}
@@ -2509,7 +2509,7 @@ static void gen_make(void)
song.g[G_DFDBK] = (int16_t)clamp(song.g[G_DFDBK], 0, 85);
}
{ /* the macros' routes from the piece's stream (the same piece, the same routes), then the session's random
* numbers as they were with these in them (0.9.18: they were the piece's from here on: every dice after a GEN
* numbers as they were with these in them (0.9.17: they were the piece's from here on: every dice after a GEN
* piece, MUTATE, CHANCE the seed's, the same after the same seed in every session) */
uint32_t keep = rng_state;
rng_state = gq | 1u;
@@ -2549,7 +2549,7 @@ static uint32_t gen_sig(void) /* the settings that mak
h = (h ^ gp.complex) * 16777619u; h = (h ^ gp.swing) * 16777619u; h = (h ^ gp.human) * 16777619u;
return h ^ (trk_live << 28);
}
static uint16_t gseed_last[8]; /* (0.9.18) the last seeds thrown */
static uint16_t gseed_last[8]; /* (0.9.17) the last seeds thrown */
static void gen_new_seed(void)
{
uint32_t k, tries;
@@ -2588,11 +2588,11 @@ static uint32_t dice_print(void) /* a fingerprint of the
return h;
}
/* (0.6.67; 0.9.18 the generator's) SEQ + SELECT: the selected track's sequence diced as GEN writes its part, a new
/* (0.6.67; 0.9.17 the generator's) SEQ + SELECT: the selected track's sequence diced as GEN writes its part, a new
* stream each press (the random numbers, the ticks in them). Where a piece of the generator plays in the track's key,
* on its harmony (its plan, its genre, the track's role in it): the part fits the others. Else a piece's choices made
* up for it (the last genre, or any; the track's own key where it is a mode of seven): the drums on a DRUM track, else
* the role its steps sound like (low: the bass, chords: the chords, else a lead or an arp). Until 0.9.17 song_dice.c's
* the role its steps sound like (low: the bass, chords: the chords, else a lead or an arp). Until 0.9.16 song_dice.c's
* own parts: a random genre's progression against the song's (its lead's strong steps on the chords' tones 58 % of the
* time, GEN's 90 %). The sound, the mix and the automation stay. Its message */
static uint32_t dsq_last[NTRK]; /* (each track's last diced sequence) */
+2 -2
View File
@@ -268,7 +268,7 @@ enum { CS_HOLD, CS_SWELL, CS_STAB, CS_PULSE, CS_DUB, CS_SKANK, CS_COMP, CS_POWER
CS_TRANCE };
/* the arp: an order over the chord's notes (indices, +4 an octave up, -1 the end), its rate in steps, its gate */
enum { AP_UP, AP_UPDOWN, AP_DOWN, AP_ALBERTI, AP_GLASS, AP_PULSE, AP_SEQ, AP_WALK, AP_CYCLE3, AP_CYCLE5, AP_TRANCE,
AP_BROKEN, AP_OCTAVES, AP_PEDAL, AP_THIRDS, AP_ZIGZAG, AP_N }; /* (0.9.18: the last three any genre's now and then) */
AP_BROKEN, AP_OCTAVES, AP_PEDAL, AP_THIRDS, AP_ZIGZAG, AP_N }; /* (0.9.17: the last three any genre's now and then) */
typedef struct { int8_t ord[8]; uint8_t rate, gate; uint16_t mask; } garp_t;
static const garp_t ARP[AP_N] = {
[AP_UP] = {{0, 1, 2, 3, 4, 5, 6, 7}, 1, 50, 0xFFFF},
@@ -284,7 +284,7 @@ static const garp_t ARP[AP_N] = {
[AP_TRANCE] = {{0, 4, 1, 5, 2, 6, 3, 7}, 1, 35, 0xDB6D}, /* (a trance gate: x.xx.xx.xx.xx.xx) */
[AP_BROKEN] = {{0, 2, 1, 3, -1}, 2, 60, 0xB6DB},
[AP_OCTAVES] = {{0, 4, 0, 4, 1, 5, 0, 4}, 1, 45, 0xFFFF},
[AP_PEDAL] = {{0, 2, 0, 3, 0, 1, 0, 2}, 1, 50, 0xFFFF}, /* (0.9.18) the low note a pedal under the others */
[AP_PEDAL] = {{0, 2, 0, 3, 0, 1, 0, 2}, 1, 50, 0xFFFF}, /* (0.9.17) the low note a pedal under the others */
[AP_THIRDS] = {{0, 2, 1, 3, 2, 4, 3, 5}, 1, 55, 0xFFFF}, /* broken thirds, up */
[AP_ZIGZAG] = {{0, 3, 1, 2, 4, 2, 3, 1}, 2, 60, 0xFFFF}, /* up and down with skips */
};
+6 -4
View File
@@ -112,7 +112,7 @@ static struct {
uint8_t light, mono;
uint8_t chamfer; /* (JIANT 0.5) the JIANT palette: corners cut on the diagonal (cv_rrect), not rounded */
uint8_t style; /* MENU > STYLE (ui.c style_apply): ST_FLAT, ST_LINE */
uint8_t skin; /* (0.8.9) MENU > SKIN (ui_draw.c style_apply): SKIN_COLORS, SKIN_BOTTOM, SKIN_HUD, SKIN_AIR */
uint8_t skin; /* (0.8.9) MENU > SKIN (ui_draw.c style_apply): SKIN_COLORS, SKIN_HUD, SKIN_AIR */
uint32_t gen; /* bumped by palette_set (the text ramps follow) */
} ux;
/* STYLE: FLAT, the filled SURF cards and panels; LINE, no SURF (it is BG) and 1 px T_RULE dividers between the
@@ -123,12 +123,14 @@ static struct {
/* (0.8.9) SKIN (the approved mock-up opciones_skin.html): COLORS, the lens's cards and panel in the 0.6 colours; BOTTOM, the
* knobs a slim row at the foot and the middle free (no panel, no boxes: SURF is BG); HUD, the picture full screen and the
* words floating over it. (0.9.7) AIR (the default of new settings): HUD's look everywhere, the knobs' row on top, right
* under the tabs, the middle free for the pictures, the breadcrumb at the foot (stored 3: older settings keep theirs) */
* under the tabs, the middle free for the pictures, the breadcrumb at the foot (stored 3: older settings keep theirs).
* (0.9.17) BOTTOM retired (its premise, the knobs at the foot, put the SEQ pages' values under their pictures): a stored 1
* reads as AIR (settings_persist.c, ui_draw.c style_apply); HUD's SEQ pages take AIR's knobs' row on top too (ui.c lz_top) */
#define SKIN_COLORS 0u
#define SKIN_BOTTOM 1u
#define SKIN_BOTTOM_OLD 1u /* (0.9.17: retired, reads as AIR) */
#define SKIN_HUD 2u
#define SKIN_AIR 3u
#define SKIN_N 4u
#define SKIN_N 4u /* the stored values (0..3) */
static int skin_hud(void) { return ux.skin == SKIN_HUD || ux.skin == SKIN_AIR; } /* (0.9.7) HUD's look: no rules, words float */
#define T_K(c) ux.k[(c) & 3u] /* KNOB c's colour */
#define T_RULE ux.dim /* LINE: the dividers (DIM: visible on NIGHT, GREY, MONO and PAPER, quieter than labels) */
+11 -13
View File
@@ -70,18 +70,16 @@ static uint32_t mtab_rows(uint32_t t) /* .. and how many it has
* (1.0.2: PIXEL retired, a saved PIXEL reads as LINE) */
static const char *const STYLE_N[2] = {"FLAT", "LINE"};
static const char *const SCOPEOPT_N[2] = {"OFF", "ON"}; /* (0.9.7) ui.c ui_scope */
/* (0.8.9) SKIN (ui_skin, gfx.c SKIN_*): COLORS the lens in the 0.6 colours (older settings: 0); BOTTOM the knobs a slim row
* at the foot, the middle free; HUD the picture full screen, the words floating over it; (0.9.7) AIR, HUD's look with the
* knobs' row on top (the default of new settings). By the stored value; the menu steps them AIR COLORS BOTTOM HUD
* (SKIN_ORDER: the editor's MENU_DESC lists them so too) */
static const char *const SKIN_NAME[SKIN_N] = {"COLORS", "BOTTOM", "HUD", "AIR"};
static const uint8_t SKIN_ORDER[SKIN_N] = {SKIN_AIR, SKIN_COLORS, SKIN_BOTTOM, SKIN_HUD};
/* (0.8.9) SKIN (ui_skin, gfx.c SKIN_*): COLORS the lens in the 0.6 colours (older settings: 0); HUD the picture full
* screen, the words floating over it; (0.9.7) AIR, HUD's look with the knobs' row on top (the default of new settings).
* The menu steps them AIR COLORS HUD (SKIN_MENU: the editor's MENU_DESC lists them so too). (0.9.17) BOTTOM retired: a
* stored BOTTOM reads as AIR (the menu's first: skin_pos of anything not listed) */
#define SKIN_MENU_N 3u
static const char *const SKIN_NAME[SKIN_MENU_N] = {"AIR", "COLORS", "HUD"};
static const uint8_t SKIN_MENU[SKIN_MENU_N] = {SKIN_AIR, SKIN_COLORS, SKIN_HUD};
static uint32_t skin_pos(uint32_t s) /* the menu's place of stored skin s */
{
uint32_t i = 0;
while (i + 1u < SKIN_N && SKIN_ORDER[i] != s)
i++;
return i;
return s == SKIN_COLORS ? 1u : s == SKIN_HUD ? 2u : 0u;
}
/* the two-valued rows: a bit of ui_prefs (PREF_REC: of ui_rec_prefs, ui.c PREF_SCALE_LEDS) and its names (bit clear =
* the default, bit set). A step up (a knob right,
@@ -161,7 +159,7 @@ static const menu_flag_t *menu_flag(uint32_t row)
/* a row's value as 0..menu_n(row) - 1 in the order the menu steps it (LEDS: OFF DIM LO DIM HI INV, LEDS_MENU) */
static uint32_t menu_n(uint32_t row)
{
return row == MI_COLOR ? NPALETTES : row == MI_SKIN ? SKIN_N : row == MI_LOWCUT || (row >= MI_CLICK && row <= MI_COUNTIN) || row == MI_LOAD ? 3u :
return row == MI_COLOR ? NPALETTES : row == MI_SKIN ? SKIN_MENU_N : row == MI_LOWCUT || (row >= MI_CLICK && row <= MI_COUNTIN) || row == MI_LOAD ? 3u :
row == MI_HOLD || row == MI_MIDIOUT ? 4u : row == MI_USB ? 6u : row == MI_SERIAL ? 5u : row == MI_LEDS ? LEDS_COUNT : row == MI_SCROFF ? NELEM(SCROFF_N) : 2u;
}
static uint32_t menu_get(uint32_t row)
@@ -199,7 +197,7 @@ static const char *menu_vname(uint32_t row, uint32_t v)
return f->name[v & 1u];
switch (row) {
case MI_COLOR: return UI_PALETTES[v % NPALETTES].name;
case MI_SKIN: return SKIN_NAME[SKIN_ORDER[v % SKIN_N]];
case MI_SKIN: return SKIN_NAME[v % SKIN_MENU_N];
case MI_SCOPE: case MI_LEARN: return SCOPEOPT_N[v & 1u];
case MI_STYLE: return STYLE_N[v & 1u];
case MI_LOWCUT: return SPK_EQ[v % 3u];
@@ -237,7 +235,7 @@ static void menu_put(uint32_t row, uint32_t v)
palette_set(v); /* (the menu signature redraws) */
ui.force = 1;
break;
case MI_SKIN: ui_skin = SKIN_ORDER[v % SKIN_N]; break; /* (ui_draw.c style_apply: the next frame) */
case MI_SKIN: ui_skin = SKIN_MENU[v % SKIN_MENU_N]; break; /* (ui_draw.c style_apply: the next frame) */
case MI_SCOPE: ui_scope = (uint8_t)(v & 1u); ui.force = 1; break; /* (0.9.7) the EDIT pages so from the next frame */
case MI_STYLE: ui_style = (uint8_t)(v ? ST_LINE : ST_FLAT); break; /* (drawn so from the next frame) */
case MI_LOWCUT: settings.lowcut = v; fx_lowcut = (uint8_t)v; break;
+511 -114
View File
@@ -5,23 +5,40 @@
* 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):
* REPEAT 1/8 1/16 1/32, (0.9.14) GLITCH, TAPE STOP; then (JIANT) the 10 punch-in MIDI effects D4 .. F5 (pfx.c); black
* keys 1..6 (F#3 .. F#4): tracks 1..6 muted while held (not P_MUTE, never saved); A#4 the MIDI effects' tracks;
* (0.9.14) C#5 D#5 F#5 the SWEEPS: FILTER, CRUSH, THROW (G#4 none).
* keys 1..6 (F#3 .. F#4): tracks 1..6 muted while held (not P_MUTE, never saved); (0.9.17) G#4 FREEZE; A#4 the MIDI
* effects' tracks; (0.9.17) C#5 SHUFFLE (the FILTER sweep's key until 0.9.16); (0.9.14) D#5 F#5 the SWEEPS CRUSH, THROW.
* TONIC keeps only the audio stutters (REPEAT): REVERSE, FREEZE and OCT UP / DN (the harmonizer) were removed; the
* punch-in effects of TONIC act on the notes instead (FELUCCA-TONIC-SPEC.md).
* The buffer effects (REPEAT, GLITCH, TAPE) start on the next 1/16 (at once while stopped) and end when let go, with a
* 2.9 ms ramp; of them the last pressed plays, and letting it go returns to the one held before.
* GLITCH: the master cut on the transport's 1/16s, each one (a hash of its place in a 2-bar cycle: the same every
* time, so it grooves; the downbeats mostly left alone) played live, or the last 1/16 .. 1/64 repeated, the last
* 1/16 reversed, an octave up or down, or gated at 1/32 .. 1/64; every slice windowed (SL_RAMP), live in and out
* by the buffer's share (no click). Below ~82 BPM only its gates and the live slices (the loop holds 371 ms).
* TAPE STOP: the master read from the loop at a speed falling from 1 to 0 over a beat (at most 680 ms: the loop),
* the pitch with it, faded out over its last quarter; silent then while held.
* punch-in effects of TONIC act on the notes instead (FELUCCA-TONIC-SPEC.md). (0.9.17: a granular FREEZE came back.)
* The buffer effects (REPEAT, the GLITCHER: GLITCH, TAPE STOP, SHUFFLE, FREEZE) start on the next 1/16 (at once while
* stopped) and end when let go, with a 2.9 ms ramp; of them the last pressed plays, and letting it go returns to the one
* held before. (0.9.17) While a glitcher's key is down (held, or pressed with FX LATCH) the four knobs are its own
* (perf_gp, ui_layer.c GX_K; never saved): let it go and they are the macros again.
* GLITCH (DENS PITCH SIZE VARI): the master cut on the transport's 1/16s, each one (a hash of its place in a 2-bar
* cycle and VARI: the same every time, so it grooves; the beats glitched by DENS squared) played live, or: the last
* L repeated (L from SIZE: LONG 1/16 .. TINY 1/256), each repeat PITCH semitones above the one before (a riser, or
* falling); the last 1/16 reversed, an octave up or down; gated at 1/32 .. 1/128; SKIP (a CD skipping: 1/128 ..
* 1/512 fragments from anywhere in the last 1/16, two at a place, with 0.7 ms edges: a tick, shaped); CRUSH (live,
* 6 .. 9 bits off and held 1 .. 6 samples). Every slice windowed (SL_RAMP), live in and out by the buffer's share
* (no click). Below ~82 BPM only its gates, crushes and live slices (the loop holds 371 ms).
* TAPE STOP (SCRATCH TIME CURVE): the master read from the loop at a speed falling from 1 to 0 over TIME (1/64 .. a
* beat, at most what the loop holds), the curve (1 - x)(1 + CURVE x): - drops at once, + holds then drops; the pitch
* with it, faded over its last quarter. Stopped, the loop is kept and KNOB 1 is the hand on the record: each
* detent moves it 1/48 beat, the platter follows through two 5.8 ms lags (its speed the pitch, its level with the
* speed up to a quarter: silent at rest).
* SHUFFLE (AMOUNT SIZE SPEED VARI): the last bar's 1/16s (1/8s, 1/4s: SIZE) played back in another order: each chunk
* of the transport (a hash of its place in two bars and VARI; AMOUNT of them, the beats AMOUNT squared, the bar's
* first AMOUNT cubed) live or one of the last bar's at the same place in the beat or anywhere; SPEED of the moved
* ones at half speed, at double (twice) or their first half twice. The bar is kept in IMA ADPCM, 4 bits, mono at
* 22.05 kHz in the same 32 KB (2.95 s: a bar and its 1/16 down to 87 BPM, less below), the coder's state noted at
* every 1/16 (AD_TBL) so a chunk is read from its start; every change cross-faded over SL_RAMP.
* FREEZE (DENS PITCH SPRAY SIZE): the eighth after the press is kept (live meanwhile), then played as grains: SIZE
* 1/128 .. 1/8 long, 1 .. 4 overlapping (DENS), PITCH semitones, scanning the eighth at 1/8 of its speed and back
* (a stretch); SPRAY scatters where they read and moves some an octave, a fifth or a fourth (deterministic).
* The SWEEPS (0.9.14; until 0.9.13 the knob macros FILTER CRUSH THROW and the keys LPF HPF): held, their mix rises
* from dry to wet over 2 bars at the tempo, on an S curve (slow out of dry, slow into wet); let go, back to dry over a
* beat (1/4 bar) on the same curve. FILTER: the master DJ FILTER's high-pass opening (fx.c djf_block, ~32 Hz .. ~6 kHz);
* CRUSH: the bits and the rate reduced (4 .. 11 bits off, a sample held 1 .. 8), its mix with them; THROW: the dry mix
* (and the SLICER's bus) into the delay and reverb sends, up to all of it.
* beat (1/4 bar) on the same curve. CRUSH: the bits and the rate reduced (4 .. 11 bits off, a sample held 1 .. 8), its
* mix with them; THROW: the dry mix (and the SLICER's bus) into the delay and reverb sends, up to all of it. (0.9.17:
* the FILTER sweep is gone: the FILTER macro is the layer's one filter.)
* The knobs with FX (0.9.14): the PERFORMANCE MACROS on the whole project, built up turning right: STEPS (every
* sequence's window 1/2 1/4 1/8 1 step, from where it plays: seq_live.c LOOP), TRANSPOSE (+2ND +3RD +4TH +5TH +6TH
* along the scale, +OCT, -OCT: seq.c strn_note; not the kits), MUTATE (project.c perf_mut_poll: the patterns mutated
@@ -31,31 +48,41 @@
* effect on, the next press turns it off (perf_latched; letting the key or FX go does nothing), FX + OCT- turns
* everything off (ui_layer.c), so does the menu or a dialog.
* Chain: the buffer effect -> CRUSH, after the master level and before master_out (the limiter); THROW and the mutes
* act before the buses (fx.c mix_block / mix_part), FILTER in the DJ FILTER.
* act before the buses (fx.c mix_block / mix_part), the FILTER macro in the DJ FILTER.
* The buffer: the SLICER's recordings (sl_buf, 32 KB) borrowed as one stereo loop of 8192 frames at 22.05 kHz
* (371 ms). While borrowed, STUT tracks play live; their recordings are dropped afterwards. A REPEAT 1/8 longer
* than the loop at the tempo (below 81 BPM) does nothing (the map shows it dimmed).
* (371 ms; SHUFFLE: the ADPCM ring above). While borrowed, STUT tracks play live; their recordings are dropped
* afterwards. A REPEAT 1/8 longer than the loop at the tempo (below 81 BPM) does nothing (the map shows it dimmed).
* Idle (no key, no ramp left) every stage is skipped: the output is bit-identical. */
enum { PF_R8, PF_R16, PF_R32, PF_GLT, PF_TAPE,
PF_OCTD, PF_OCTU, PF_HALF, PF_DSHT, PF_DLNG, PF_S8, PF_S16, PF_ATK, PF_ARP, PF_RND, /* the MIDI ones: pfx.c */
PF_SFLT, PF_SCRU, PF_STHR, /* (0.9.14) the sweeps: C#5 D#5 F#5 */
PF_SHUF, /* (0.9.17) C#5 SHUFFLE: the lane's 11 (the FILTER sweep's) */
PF_SCRU, PF_STHR, /* (0.9.14) the sweeps: D#5 F#5 */
PF_FRZ, /* (0.9.17) G#4 FREEZE */
PF_M1, PF_N = PF_M1 + NTRK, PF_TGT = PF_N + 1, /* PF_TGT: A#4, the MIDI effects' tracks (pfx_tgt) */
PF_CLR = PF_N + 2 }; /* PF_CLR: G5, erases the punch-in lane (pfx.c) */
#define PF_NW 15u /* the white keys' effects, F3 .. F5 */
#define PF_BIT(e) (1u << (e))
#define PF_REPEAT 0x7u /* the three REPEAT rates */
#define PF_BUF 0x1Fu /* the buffer effects: REPEAT, GLITCH, TAPE */
#define PF_BUF (0x1Fu | PF_BIT(PF_SHUF) | PF_BIT(PF_FRZ)) /* the buffer effects: REPEAT, GLITCH, TAPE, SHUFFLE, FREEZE */
#define PF_GX (PF_BIT(PF_GLT) | PF_BIT(PF_TAPE) | PF_BIT(PF_SHUF) | PF_BIT(PF_FRZ)) /* (0.9.17) the glitcher: its knobs */
#define PF_Q PF_BUF /* start on the 1/16 */
#define PF_SWEEP (7u << PF_SFLT)
#define PF_SWEEP (3u << PF_SCRU)
#define PF_MUTE (((1u << NTRK) - 1u) << PF_M1)
#define PF_MIDI (((1u << (PF_RND + 1)) - 1u) & ~((1u << PF_OCTD) - 1u)) /* PF_OCTD .. PF_RND: on the notes (pfx.c) */
#define PF_LANE (PF_MIDI | PF_SWEEP | PF_BIT(PF_GLT) | PF_BIT(PF_TAPE)) /* (0.9.14) what the punch-in lane records */
#define PF_LANE (PF_MIDI | PF_SWEEP | PF_BIT(PF_GLT) | PF_BIT(PF_TAPE) | PF_BIT(PF_SHUF)) /* what the punch-in lane records */
#define PB_FRAMES SL_FR /* stereo frames in sl_buf (a power of 2: the mask), 371 ms at 22.05 kHz */
_Static_assert(PB_FRAMES <= SL_FR && !(PB_FRAMES & (PB_FRAMES - 1u)), "the REPEAT loop in sl_buf");
#define PB_MAX (2u * PB_FRAMES) /* the longest loop, 44.1 kHz samples */
#define GL_SPAN 7680u /* GLITCH: the longest slice it reads back (the loop holds two and a margin) */
#define TP_MAX 30000u /* TAPE STOP: its longest stop (it falls T / 4 frames behind) */
enum { BM_NONE, BM_LOOP, BM_GLT, BM_TAPE };
enum { GA_PASS, GA_RPT, GA_REV, GA_UP, GA_DN, GA_GATE };
#define TP_LAG 15000u /* TAPE STOP: how far it may fall behind (the loop's 16384 samples, a margin) */
#define AD_BYTES (sizeof sl_buf - 256u) /* (0.9.17) SHUFFLE's ADPCM ring: 32512 B, 65024 nibbles, 2.95 s */
#define AD_N (2u * AD_BYTES)
#define AD_TBL (&sl_buf[SL_FR - 64u][0]) /* .. the coder at each 1/16's start: 32 x (place, value, step index) */
_Static_assert(AD_N <= 65536u && 3u * 32u <= 128u, "SHUFFLE's ring places in 16 bits, its table in the last 64 frames");
enum { BM_NONE, BM_LOOP, BM_GLT, BM_TAPE, BM_SHUF, BM_FRZ };
enum { GA_PASS, GA_RPT, GA_REV, GA_UP, GA_DN, GA_GATE, GA_SKIP, GA_CRU };
enum { SK_NORM, SK_HALF, SK_DBL, SK_STUT };
enum { GX_GLT, GX_TAPE, GX_SHUF, GX_FRZ }; /* (0.9.17) perf_gp's rows */
static volatile uint32_t perf_mask; /* main: the FX button's bit while its layer may own keys, 0 = none */
static volatile uint32_t kb_mask; /* main: the button bits whose hold makes keys a layer's (ui_layer.c), 0 = none */
@@ -65,33 +92,61 @@ static volatile uint8_t perf_kill; /* main: every effect off (the menu, a dia
static volatile uint8_t perf_m[4]; /* main (0.9.14): the PERFORMANCE MACROS, 0 OFF: STEPS 0..12 (three detents a
* stage), TRANSPOSE 0..21 (three an interval), MUTATE, FILTER 0..100 (PM_MAX) */
static const uint8_t PM_MAX[4] = {12, 21, 100, 100};
static volatile int8_t perf_djf; /* ISR: the FX layer's DJ FILTER (fx.c djf_v): - LP (FILTER macro), + HP (sweep) */
/* (0.9.17) main: the glitcher's knobs (ui_layer.c GX_K: their names, ranges and these defaults), read by the ISR.
* GLITCH DENS % PITCH st SIZE (LONG MID SHORT TINY) VARI; TAPE (SCRATCH) TIME (1/64 .. 1/4) CURVE; SHUFFLE AMOUNT %
* SIZE (1/4 1/8 1/16) SPEED % VARI; FREEZE DENS % PITCH st SPRAY % SIZE (1/128 .. 1/8) */
static volatile int8_t perf_gp[4][4] = {{50, 0, 0, 1}, {0, 4, 0, 0}, {60, 2, 20, 1}, {50, 0, 30, 2}};
static volatile uint32_t perf_scr; /* main (0.9.17): TAPE's KNOB 1 detents, a running count (the ISR keeps its own) */
static volatile int8_t perf_djf; /* ISR: the FX layer's DJ FILTER (fx.c djf_v): the FILTER macro's low-pass */
static volatile uint32_t kb_layer; /* ISR: the keys held that are the layer's, a bit per key */
static volatile uint32_t perf_held; /* ISR: the effects held (PF_*) */
static volatile uint32_t perf_down; /* ISR (0.9.17): the effects whose key is down (FX LATCH too): a glitcher's knobs */
static volatile uint8_t perf_latch_on; /* main: MENU > FX LATCH ON (#40): a key with FX toggles its effect */
static volatile uint32_t perf_latched; /* ISR: the effects latched (FX LATCH; main clears it: OCT-, the menu) */
static volatile uint32_t perf_act; /* ISR: .. running (a 1/16 one from its start on) */
static uint32_t pfx_lfx; /* ISR (0.9.14): the audio effects the punch-in lane plays this block (pfx.c) */
static uint32_t perf_ord[PF_N], perf_seq; /* press order: the last pressed buffer effect plays */
static uint16_t perf_ord[PF_N], perf_seq; /* press order: the last pressed buffer effect plays (0.9.17: 16 bits) */
typedef struct { /* (0.9.17) SHUFFLE: a reader of the ADPCM ring, or live */
uint32_t fr, rate; /* between a and b (Q16), ring samples an output sample (Q16: 32768 the speed) */
uint16_t pos; /* the next nibble */
int16_t a, b; /* the last two decoded (b: the decoder's value) */
uint8_t idx, live; /* the step index; 1 = the live input */
} shr_t;
typedef struct { uint32_t pos, rate, x, dx; } grain_t; /* (0.9.17) FREEZE: read place (Q16), rate, window 0..65536 */
static struct {
uint32_t ph, P, split; /* samples since play; the 1/16; this block: where a 1/16 starts */
uint32_t act, act0; /* running after / before split */
uint8_t busy, sync, mute; /* sync: a 1/16 starts with the next block; mute: tracks to ramp */
/* the buffer */
uint8_t mode, src, next; /* BM_*, the effect it plays (PF_N none), one waiting for the fade */
uint8_t state, odd; /* LOOP: 0 recording, 1 playing; the sample of a pair */
uint8_t state, odd; /* LOOP: 0 recording, 1 playing; TAPE: 1 stopped; FREEZE: 1 frozen; a pair's half */
uint32_t len, wr, rp; /* loop length (samples), frames written, read (samples into the loop) */
uint32_t xrp, xlen, xn; /* the loop it switched from, faded over xn samples */
int32_t w, tw, hl, hr; /* the buffer's share and its target, Q15; the first of a pair */
/* GLITCH: the slice's action, segment, samples into it and segments past, its 1/16 (count), the loop's sample at
* its start, samples into the 1/16; TAPE: the read place (samples, Q16), the speed (Q24) and its fall a sample */
uint8_t ga;
uint32_t gl, gu, gk, gs, g0, gph;
uint32_t tp, tv, td1;
int32_t yl, yr; /* (0.9.17) what the glitcher plays this sample */
uint32_t gs, gph; /* GLITCH, SHUFFLE: the transport's 1/16 (a count), samples into it */
union { /* (0.9.17) the one buffer effect playing */
struct { /* GLITCH: the action, the crush's count, hold and shift; segment length, samples
* into it, segments past; the loop's sample at the slice's start, the span read;
* the read place at the segment's start (Q16) and its rate (Q16, signed) */
uint8_t a, n, h, sh;
uint32_t l, u, k, g0, sp, src;
int32_t rate, cl, cr;
} g;
struct { uint32_t x, dx, p, p1, q, sc; int32_t c, gn; } t; /* TAPE: the stop's progress (Q24) and step a sample,
* the read place (Q16), the platter's lag and the hand (Q16), KNOB 1's count seen,
* CURVE (Q15), the scratch's level */
struct { uint32_t c, fs, iv, scan, rnd, ph; int32_t sd, gain, nl, nr; grain_t v[4]; } f; /* FREEZE: the capture
* (samples), samples since the last grain, between grains, the scan, the dice, odd
* or even, the scan's way, the level, the next even sample's sum */
struct { uint32_t ew, nrec, cu, mid; int32_t ep; uint8_t ei, kind, j0, xn; shr_t r[2]; } s; /* SHUFFLE: the coder
* (nibble, value, step index), 1/16s noted, samples into the chunk, its middle;
* the chunk's kind and slot, the cross-fade; the reader and the one fading out */
} u;
/* the sweeps (Q24 progress: 0 dry), CRUSH, THROW, mutes */
uint32_t sw[3];
int32_t ss[3]; /* .. on the S curve, Q15 */
uint32_t sw[2];
int32_t ss[2]; /* .. on the S curve, Q15 */
int32_t cw, chl, chr; /* CRUSH share, held sample */
uint32_t cn;
int32_t td; /* THROW: the share of the dry mix sent, Q15 */
@@ -124,19 +179,21 @@ static void perf_press(uint32_t e, int down)
pfx_clr = (uint8_t)(down ? 1u : 0u);
if (e >= PF_N)
return;
if (perf_latch_on) { /* FX LATCH: a press turns it on or off, letting go does nothing */
if (down) {
perf_latched ^= PF_BIT(e);
perf_ord[e] = ++perf_seq;
}
return;
}
if (down) {
perf_held |= PF_BIT(e);
perf_down |= PF_BIT(e);
perf_ord[e] = ++perf_seq;
} else {
perf_held &= ~PF_BIT(e);
perf_down &= ~PF_BIT(e);
}
if (perf_latch_on) { /* FX LATCH: a press turns it on or off, letting go does nothing */
if (down)
perf_latched ^= PF_BIT(e);
return;
}
if (down)
perf_held |= PF_BIT(e);
else
perf_held &= ~PF_BIT(e);
}
static void perf_start(void) { pf.ph = 0; pf.sync = 1; pfx_lph = 0; } /* seq_start: a 1/16 starts with the transport */
@@ -150,14 +207,29 @@ static uint32_t perf_pick(uint32_t a)
uint32_t e, best = PF_N;
a &= PF_BUF;
for (e = 0; e < PF_M1; e++)
if (((a >> e) & 1u) && (best == PF_N || perf_ord[e] - perf_ord[best] < 0x80000000u))
if (((a >> e) & 1u) && (best == PF_N || (uint16_t)(perf_ord[e] - perf_ord[best]) < 0x8000u))
best = e;
return best;
}
/* (0.9.17) the glitcher whose knobs the FX layer's are: the last pressed of those whose key is down (PF_N: none) */
static uint32_t perf_gfocus(void) { return perf_kill ? PF_N : perf_pick(perf_down & PF_GX); }
static uint32_t perf_gx(uint32_t e) { return e == PF_GLT ? GX_GLT : e == PF_TAPE ? GX_TAPE : e == PF_SHUF ? GX_SHUF : GX_FRZ; }
/* (0.9.14) a slice's place in its 2-bar cycle (and its variation) to 32 random bits */
static uint32_t pf_hash(uint32_t h)
{
h *= 0x9E3779B1u;
h = (h ^ (h >> 15)) * 0x2C1B3C6Du;
return h ^ (h >> 13);
}
static uint32_t semi_q16(int32_t st); /* fx.c: 2^(st / 12), Q16 */
static void perf_glt_step(void);
static void perf_shuf_step(void);
static __attribute__((noinline)) void perf_frz_grain(void);
static void perf_buf_start(uint32_t e)
{
uint32_t b = beat_samples();
if (!sl_lent) {
sl_lent = 1;
perf_drop_slicer();
@@ -167,19 +239,33 @@ static void perf_buf_start(uint32_t e)
pf.wr = pf.rp = 0;
pf.odd = 0;
pf.xn = 0;
pf.mode = e == PF_GLT ? BM_GLT : e == PF_TAPE ? BM_TAPE : BM_LOOP;
pf.mode = e == PF_GLT ? BM_GLT : e == PF_TAPE ? BM_TAPE : e == PF_SHUF ? BM_SHUF : e == PF_FRZ ? BM_FRZ : BM_LOOP;
pf.state = 0;
pf.len = perf_len(e);
memset(&pf.u, 0, sizeof pf.u);
memset(sl_buf[PB_FRAMES - 2u], 0, 2u * sizeof sl_buf[0]); /* (what GLITCH / TAPE read before the start: quiet) */
if (e == PF_GLT) { /* its first 1/16: the transport's (this block's split starts the next one) */
if (e == PF_GLT || e == PF_SHUF) { /* its first 1/16: the transport's (this block's split starts the next one) */
pf.gs = song.playing && clk_pos != CLK_START ? clk_n + (pf.split ? 1u : 0u) : 0u;
perf_glt_step();
if (e == PF_GLT) {
perf_glt_step();
} else {
pf.u.s.r[0].live = 1; /* (live until a chunk moves) */
perf_shuf_step();
}
}
pf.tp = (PB_MAX - 4u) << 16; /* TAPE: two frames behind (quiet), at full speed falling to 0 over a beat */
pf.tv = 1u << 24;
{
uint32_t t = beat_samples();
pf.td1 = (1u << 24) / (t < TP_MAX ? (t ? t : 1u) : TP_MAX);
if (e == PF_TAPE) { /* two frames behind (quiet), at full speed falling to 0 over TIME */
int32_t c = perf_gp[GX_TAPE][2];
uint32_t t = b >> (4u - (uint32_t)clamp(perf_gp[GX_TAPE][1], 0, 4)), m = TP_LAG * 600u / (uint32_t)(300 - c);
pf.u.t.p = (PB_MAX - 4u) << 16; /* (it falls behind by t (1/2 - CURVE / 6): at most TP_LAG) */
pf.u.t.c = c * 327;
pf.u.t.dx = (1u << 24) / (t < m ? (t > 64u ? t : 64u) : m);
pf.u.t.sc = perf_scr;
}
if (e == PF_FRZ) { /* the eighth after the press, then the grains */
pf.u.f.c = b / 2u < PB_MAX - 1024u ? (b / 2u > 4096u ? b / 2u : 4096u) : PB_MAX - 1024u;
pf.u.f.rnd = 0x2545F491u;
pf.u.f.sd = 1;
pf.u.f.v[0].x = pf.u.f.v[1].x = pf.u.f.v[2].x = pf.u.f.v[3].x = 65536u;
}
}
@@ -228,13 +314,13 @@ static __attribute__((noinline)) void perf_unhush(void) /* (out of perf_begin:
pf.mg[k] = 32768;
}
}
/* (0.9.14) the sweeps: held, 2 bars from dry to wet; let go, a beat back; their S curve (3 p^2 - 2 p^3) */
/* (0.9.14) the sweeps (CRUSH, THROW): held, 2 bars from dry to wet; let go, a beat back; their S curve (3 p^2 - 2 p^3) */
static __attribute__((noinline)) void perf_sweeps(uint32_t n)
{
uint32_t k, b = beat_samples(), up = (n << 24) / (8u * (b ? b : 1u)), dn = (n << 24) / (b ? b : 1u);
for (k = 0; k < 3u; k++) {
for (k = 0; k < 2u; k++) {
uint32_t x = pf.sw[k], p;
if ((pf.act >> (PF_SFLT + k)) & 1u)
if ((pf.act >> (PF_SCRU + k)) & 1u)
x = x + up < (1u << 24) ? x + up : 1u << 24;
else
x = x > dn ? x - dn : 0u;
@@ -278,8 +364,7 @@ static __attribute__((noinline)) int perf_begin(uint32_t n)
}
perf_act = pf.act;
perf_sweeps(n);
k = (uint32_t)(pf.ss[0] * 63) >> 15; /* FILTER: the high-pass, else the macro's low-pass */
perf_djf = (int8_t)(k && (int32_t)k >= -lp ? (int32_t)k : lp);
perf_djf = (int8_t)lp; /* (the FILTER macro's low-pass; 0.9.17: no sweep over it) */
pf.mute = 0;
perf_unhush();
for (k = 0; k < NTRK; k++)
@@ -320,7 +405,7 @@ static __attribute__((noinline)) void perf_pre(const int32_t *ml, const int32_t
int32_t *sd, int32_t *sr, uint32_t n)
{
uint32_t i;
int32_t m = pf.ss[2];
int32_t m = pf.ss[1];
for (i = 0; i < n; i++) {
pf.td += clamp(m - pf.td, -SL_SLOPE, SL_SLOPE);
if (pf.td) {
@@ -357,13 +442,15 @@ static inline void pb_at(uint32_t s, uint32_t n, int32_t *l, int32_t *r)
*l = (3 * p[0] + q[0]) >> 1;
*r = (3 * p[1] + q[1]) >> 1;
}
/* (0.9.14) sample s of the loop as a ring (GLITCH, TAPE: frames recorded on and on) */
static __attribute__((noinline)) void pb_ring(uint32_t s, int32_t *l, int32_t *r)
/* (0.9.17) the loop as a ring (GLITCH, TAPE, FREEZE: frames recorded on and on) at the place s (Q16 of a 44.1 kHz
* sample), between its two frames (linear): any speed, backwards too */
static __attribute__((noinline)) void pb_ring_f(uint32_t s, int32_t *l, int32_t *r)
{
uint32_t f = s >> 1;
const int16_t *p = &sl_buf[f & (PB_FRAMES - 1u)][0], *q = &sl_buf[(f + (s & 1u ? 1u : ~0u)) & (PB_FRAMES - 1u)][0];
*l = (3 * p[0] + q[0]) >> 1;
*r = (3 * p[1] + q[1]) >> 1;
uint32_t f = s >> 17;
int32_t fr = (int32_t)((s >> 2) & 0x7FFFu);
const int16_t *p = &sl_buf[f & (PB_FRAMES - 1u)][0], *q = &sl_buf[(f + 1u) & (PB_FRAMES - 1u)][0];
*l = 2 * (p[0] + (((q[0] - p[0]) * fr) >> 15));
*r = 2 * (p[1] + (((q[1] - p[1]) * fr) >> 15));
}
/* REPEAT at sample rp of a loop of len, windowed at both ends */
static inline void pb_loop(uint32_t rp, uint32_t len, uint32_t n, int32_t *l, int32_t *r)
@@ -392,64 +479,369 @@ static inline uint32_t pb_rec(uint32_t f, int32_t l, int32_t r)
return f + 1u;
}
/* (0.9.14) GLITCH: the next 1/16's slice, by the hash of its place in two bars */
/* ------------------------------------------------------------------ GLITCH --- */
/* (0.9.17) a glitched 1/16's action, by 4 bits of its hash: repeats most, then the rest */
static const uint8_t GA_OF[16] = {GA_RPT, GA_RPT, GA_RPT, GA_RPT, GA_RPT, GA_RPT, GA_REV, GA_REV, GA_UP, GA_DN,
GA_GATE, GA_GATE, GA_SKIP, GA_SKIP, GA_CRU, GA_CRU};
/* a segment's start: where it reads (Q16) and how fast (a REPEAT's k-th: PITCH k times; SKIP: a place in the 1/16,
* two segments at each) */
static __attribute__((noinline)) void perf_glt_seg(void)
{
uint32_t a = pf.u.g.a, L = pf.u.g.l, g0 = pf.u.g.g0, s = g0 - L;
pf.u.g.rate = 65536;
if (a == GA_RPT) {
pf.u.g.rate = (int32_t)semi_q16(clamp((int32_t)(pf.u.g.k < 24u ? pf.u.g.k : 24u) * perf_gp[GX_GLT][1], -24, 24));
} else if (a == GA_REV) {
s = g0 - 1u;
pf.u.g.rate = -65536;
} else if (a == GA_UP) {
s = g0 - 2u * L;
pf.u.g.rate = 131072;
} else if (a == GA_DN) {
pf.u.g.rate = 32768;
} else if (a == GA_SKIP) {
s = g0 - pf.u.g.sp + pf_hash(pf.gs * 64u + (pf.u.g.k >> 1)) % (pf.u.g.sp - L + 1u);
}
pf.u.g.src = s << 16;
}
/* (0.9.14) GLITCH: the next 1/16's slice, by the hash of its place in two bars (0.9.17: and VARI; DENS of them glitched,
* the beats DENS squared: at 50 %, one beat in four) */
static __attribute__((noinline)) void perf_glt_step(void)
{
uint32_t h = ((pf.gs & 31u) + 0x51u) * 0x9E3779B1u, s16 = pf.P ? pf.P : 1u, sp = s16 < GL_SPAN ? s16 : GL_SPAN, a;
h = (h ^ (h >> 15)) * 0x2C1B3C6Du;
h ^= h >> 13;
a = (h >> 8) % 8u; /* 0, 1 live; 2, 3 repeat; reverse, up, down, gate */
if (!(pf.gs & 3u) && (h & 0x30u))
a = 0; /* (the beat, three times in four) */
pf.ga = (uint8_t)(a < 2u ? GA_PASS : a < 4u ? GA_RPT : a - 2u);
pf.g0 = 2u * pf.wr + pf.odd; /* (the loop's sample now) */
if ((s16 + sp > PB_MAX - 512u || pf.g0 < sp) && pf.ga != GA_GATE)
pf.ga = GA_PASS; /* (too slow: what it would read is gone; or not recorded yet) */
pf.gl = pf.ga == GA_REV || pf.ga == GA_DN ? sp : pf.ga == GA_UP ? sp / 2u
: (pf.ga == GA_RPT ? sp : s16 / 2u) >> ((h >> 12) % (pf.ga == GA_RPT ? 3u : 2u));
if (pf.gl < 2u * SL_RAMP)
pf.gl = 2u * SL_RAMP;
pf.gu = pf.gk = pf.gph = 0;
uint32_t h = pf_hash((pf.gs & 31u) + 0x51u + ((uint32_t)(perf_gp[GX_GLT][3] - 1) << 5)), s16 = pf.P ? pf.P : 1u,
sp = s16 < GL_SPAN ? s16 : GL_SPAN, d = (uint32_t)perf_gp[GX_GLT][0], z = (uint32_t)perf_gp[GX_GLT][2],
j = (h >> 12) % 3u, a, L;
a = ((h >> 24) * 100u >> 8) < (pf.gs & 3u ? d : d * d / 100u) ? GA_OF[(h >> 8) & 15u] : GA_PASS;
pf.u.g.g0 = 2u * pf.wr + pf.odd; /* (the loop's sample now) */
if ((s16 + sp > PB_MAX - 512u || pf.u.g.g0 < sp) && a != GA_GATE && a != GA_CRU)
a = GA_PASS; /* (too slow: what it would read is gone; or not recorded yet) */
L = a == GA_RPT ? sp >> (z + j) : a == GA_GATE ? (s16 / 2u) >> (z / 2u + j % 2u) : a == GA_SKIP ? sp >> (3u + z / 2u + j % 2u)
: a == GA_UP ? sp / 2u : a == GA_CRU ? s16 : sp;
pf.u.g.a = (uint8_t)a;
pf.u.g.l = L < 2u * SL_RAMP ? 2u * SL_RAMP : L;
pf.u.g.sp = sp;
pf.u.g.h = (uint8_t)(1u + (h >> 14) % 6u); /* CRUSH: a sample held 1 .. 6, 6 .. 9 bits off (of Q15) */
pf.u.g.sh = (uint8_t)(6u + j + (h >> 20) % 2u);
pf.u.g.n = 255u;
pf.u.g.u = pf.u.g.k = pf.gph = 0;
perf_glt_seg();
}
/* GLITCH / TAPE on one sample: 1 = it plays (yl yr), 0 = live */
static __attribute__((noinline)) int perf_ring(int32_t l, int32_t r, int32_t *yl, int32_t *yr)
/* GLITCH on one sample: 1 = it plays (pf.yl yr), 0 = live */
static __attribute__((noinline)) int perf_glt(int32_t l, int32_t r)
{
uint32_t u = pf.gu, L = pf.gl, s = pf.g0, a = pf.ga, k = pf.gk, e, g = 32768u;
uint32_t u = pf.u.g.u, L = pf.u.g.l, a = pf.u.g.a, e = L - 1u - u < u ? L - 1u - u : u, g = 32768u;
pf.wr = pb_rec(pf.wr, l, r);
if (pf.mode == BM_TAPE) { /* the place (samples, Q16) on by the speed, falling */
s = pf.tp >> 16;
g = pf.tv >> 7 < 32768u ? pf.tv >> 7 : 32768u; /* (faded over its last quarter) */
pf.tp += pf.tv >> 8;
pf.tv = pf.tv > pf.td1 ? pf.tv - pf.td1 : 0u;
} else {
if (++pf.gu >= L) {
pf.gu = 0;
pf.gk++;
}
if (++pf.gph >= pf.P) {
pf.gs++;
perf_glt_step();
}
if (a == GA_PASS)
return 0;
s = a == GA_RPT ? s - L + u /* the last L again */
: a == GA_REV ? s - 1u - u /* the last 1/16 backwards */
: a == GA_UP ? s - 2u * L + 2u * u /* .. twice as fast, twice */
: s - L + u / 2u; /* .. its first half at half speed */
e = L - 1u - u < u ? L - 1u - u : u; /* (each segment windowed) */
if (e < (uint32_t)SL_RAMP)
if (a != GA_PASS) {
if (a == GA_SKIP) { /* (each segment windowed; SKIP's edges 0.7 ms: a tick, shaped) */
if (e < SL_RAMP / 4u)
g = e << (17 - SL_RAMP_LOG2);
} else if (e < (uint32_t)SL_RAMP) {
g = e << (15 - SL_RAMP_LOG2);
}
if (a == GA_GATE) {
*yl = (k & 1u) ? 0 : mulq16(l, g << 1);
*yr = (k & 1u) ? 0 : mulq16(r, g << 1);
return 1;
g = pf.u.g.k & 1u ? 0u : g;
pf.yl = mulq16(l, g << 1);
pf.yr = mulq16(r, g << 1);
} else if (a == GA_CRU) { /* (live, crushed; windowed as the others) */
if (++pf.u.g.n >= pf.u.g.h) {
int32_t b = 1 << (pf.u.g.sh - 1u);
pf.u.g.n = 0;
pf.u.g.cl = ((l + b) >> pf.u.g.sh) << pf.u.g.sh; /* (to the nearest: silence stays 0, no DC) */
pf.u.g.cr = ((r + b) >> pf.u.g.sh) << pf.u.g.sh;
}
pf.yl = mulq16(pf.u.g.cl, g << 1);
pf.yr = mulq16(pf.u.g.cr, g << 1);
} else {
pb_ring_f(pf.u.g.src + (uint32_t)((int32_t)u * (pf.u.g.rate >> 2)) * 4u, &pf.yl, &pf.yr);
pf.yl = mulq16(pf.yl, g << 1);
pf.yr = mulq16(pf.yr, g << 1);
}
}
pb_ring(s, yl, yr);
*yl = mulq16(*yl, g << 1);
*yr = mulq16(*yr, g << 1);
if (++pf.u.g.u >= L) {
pf.u.g.u = 0;
pf.u.g.k++;
perf_glt_seg();
}
if (++pf.gph >= pf.P) {
pf.gs++;
perf_glt_step();
}
return a != GA_PASS;
}
/* --------------------------------------------------------------- TAPE STOP --- */
/* TAPE on one sample: stopping (the speed (1 - x)(1 + CURVE x), x 0 .. 1 over TIME, the level 4x the speed up to 1),
* then stopped: the scratch (KNOB 1 the hand, perf_scratch; the platter two one-poles of 256 samples behind it) */
static __attribute__((noinline)) int perf_tape(int32_t l, int32_t r)
{
uint32_t g;
if (!pf.state) {
uint32_t xq = pf.u.t.x >> 9, v = (32768u - xq) * (uint32_t)(32768 + ((pf.u.t.c * (int32_t)xq) >> 15)) >> 15;
pf.wr = pb_rec(pf.wr, l, r);
g = v < 8192u ? v << 2 : 32768u;
pb_ring_f(pf.u.t.p, &pf.yl, &pf.yr);
pf.u.t.p += v << 1;
if ((pf.u.t.x += pf.u.t.dx) >= 1u << 24) { /* stopped: the loop kept (no more recording), the hand on it */
pf.state = 1;
pf.u.t.q = pf.u.t.p1 = pf.u.t.p;
}
} else {
uint32_t p0 = pf.u.t.p;
int32_t d;
pf.u.t.p1 += (uint32_t)((int32_t)(pf.u.t.q - pf.u.t.p1) >> 8);
pf.u.t.p += (uint32_t)((int32_t)(pf.u.t.p1 - pf.u.t.p) >> 8);
d = (int32_t)(pf.u.t.p - p0);
d = d < 0 ? -d : d; /* (its speed, Q16: the level up to a quarter of it; below 1/64 none) */
pf.u.t.gn += ((d >= 16384 ? 32768 : d > 1024 ? (d - 1024) << 1 : 0) - pf.u.t.gn) >> 5;
g = (uint32_t)pf.u.t.gn;
pb_ring_f(pf.u.t.p, &pf.yl, &pf.yr);
}
pf.yl = mulq16(pf.yl, g << 1);
pf.yr = mulq16(pf.yr, g << 1);
return 1;
}
/* (0.9.17) each block, stopped: KNOB 1's detents since the last (perf_scr) move the hand 1/48 beat each, within
* what the loop holds */
static __attribute__((noinline)) void perf_scratch(void)
{
uint32_t b = beat_samples() / 48u;
int32_t d = clamp((int32_t)(perf_scr - pf.u.t.sc), -64, 64), r0, r1;
r0 = (int32_t)(((pf.u.t.q >> 16) - 2u * pf.wr) & (PB_MAX - 1u)) - (int32_t)PB_MAX; /* (behind the last written) */
pf.u.t.sc = perf_scr;
r1 = clamp(r0 + d * (int32_t)(b < 512u ? b : 512u), -(int32_t)(PB_MAX - 1024u), -4);
pf.u.t.q += (uint32_t)(r1 - r0) << 16; /* (on the platter's own lap of the ring) */
}
/* ----------------------------------------------------------------- FREEZE --- */
/* (0.9.17) a new grain (into the voice done, or the oldest): SIZE long at PITCH (SPRAY: some an octave either way, a
* fifth up, a fourth down), from the scan (SPRAY scatters around it), within the capture; the scan on by 1/8 of the
* time between grains, back and forth; DENS: 1 .. 3 at once (x100: ov), the level so they sum to about 1 */
static const int8_t FZ_JIT[4] = {12, -12, 7, -5};
static uint32_t frz_ov(void) { return 100u + 2u * (uint32_t)perf_gp[GX_FRZ][0]; }
static __attribute__((noinline)) void perf_frz_grain(void)
{
grain_t *v = &pf.u.f.v[0];
uint32_t i, r = pf.u.f.rnd = pf.u.f.rnd * 1664525u + 1013904223u, ov = frz_ov(),
sp = (uint32_t)perf_gp[GX_FRZ][2], len = beat_samples() >> (5u - (uint32_t)perf_gp[GX_FRZ][3]), span, room, j;
int32_t n = perf_gp[GX_FRZ][1], rate;
for (i = 1; i < 4u; i++)
if (pf.u.f.v[i].x > v->x)
v = &pf.u.f.v[i];
if (((r >> 24) * 100u >> 8) < sp / 2u)
n += FZ_JIT[(r >> 22) & 3u];
rate = (int32_t)semi_q16(n);
if (len < 256u)
len = 256u;
pf.u.f.iv = len * 100u / ov;
pf.u.f.gain = ov > 150u ? (int32_t)(4915200u / ov) : 32768; /* (1.5 / the overlap: their windows' mean is 2/3) */
if ((len >> 4) * ((uint32_t)rate >> 12) + 64u > pf.u.f.c) /* (what it reads: within the capture) */
len = ((pf.u.f.c - 64u) << 4) / ((uint32_t)rate >> 12);
v->dx = 65536u / len;
len = 65535u / v->dx + 1u; /* (as the window counts it) */
span = (len >> 4) * ((uint32_t)rate >> 12) + 2u;
room = span + 48u < pf.u.f.c ? pf.u.f.c - span - 48u : 0u;
j = room * sp / 100u;
if (pf.u.f.scan > room)
pf.u.f.scan = room;
i = pf.u.f.scan + (((r >> 6) & 0xFFFFu) * j >> 16);
i = i > j / 2u ? i - j / 2u : 0u;
v->pos = (16u + (i < room ? i : room)) << 16;
v->rate = (uint32_t)rate;
v->x = 0;
j = pf.u.f.iv / 8u + 1u; /* (the scan: 1/8 of the speed, back and forth) */
if (pf.u.f.sd > 0)
pf.u.f.scan += j;
else
pf.u.f.scan = pf.u.f.scan > j ? pf.u.f.scan - j : 0u;
if (pf.u.f.scan >= room || !pf.u.f.scan)
pf.u.f.sd = pf.u.f.scan ? -1 : 1;
}
/* the grains' sum at the next even sample (S(t + 1), into nl nr), each on by two samples: at 22.05 kHz, the loop's rate */
static __attribute__((noinline)) void perf_frz_eval(void)
{
uint32_t i;
int32_t al = 0, ar = 0;
if ((pf.u.f.fs += 2u) >= pf.u.f.iv) {
pf.u.f.fs = 0;
perf_frz_grain();
}
for (i = 0; i < 4u; i++) {
grain_t *v = &pf.u.f.v[i];
if (v->x < 65536u) {
int32_t gl, gr, w = (int32_t)((v->x * (65536u - v->x)) >> 15);
pb_ring_f(v->pos, &gl, &gr);
al += (gl * w) >> 15;
ar += (gr * w) >> 15;
v->pos += 2u * v->rate;
v->x += 2u * v->dx;
}
}
pf.u.f.nl = mulq16(al, (uint32_t)pf.u.f.gain << 1);
pf.u.f.nr = mulq16(ar, (uint32_t)pf.u.f.gain << 1);
}
/* FREEZE on one sample: recording the capture (live), then the grains: their sum on the even samples, the mean of the
* two around it on the odd ones (half the work) */
static __attribute__((noinline)) int perf_frz(int32_t l, int32_t r)
{
if (!pf.state) {
uint32_t i, ov;
pf.wr = pb_rec(pf.wr, l, r);
if (2u * pf.wr < pf.u.f.c)
return 0;
ov = frz_ov() / 100u;
pf.state = 1; /* frozen: DENS grains at once, staggered (v[0] .. in turn) */
for (i = 0; i < ov; i++)
perf_frz_grain();
for (i = 0; i < ov; i++)
pf.u.f.v[i].x = i * (6553600u / frz_ov());
pf.u.f.fs = 0;
pf.u.f.ph = 1;
perf_frz_eval();
}
if ((pf.u.f.ph ^= 1u) != 0u) { /* (odd: S(t + 1), and the mean) */
int32_t pl = pf.u.f.nl, pr = pf.u.f.nr;
perf_frz_eval();
pf.yl = (pl + pf.u.f.nl) >> 1;
pf.yr = (pr + pf.u.f.nr) >> 1;
} else {
pf.yl = pf.u.f.nl;
pf.yr = pf.u.f.nr;
}
return 1;
}
/* ---------------------------------------------------------------- SHUFFLE --- */
/* (0.9.17) ADPCM, 4 bits, IMA's way (its index moves, its codes) with its steps 2^(1/8) apart (IMA's: 1.1), 8 .. 29696:
* from 8 numbers, not 89 */
static const uint8_t AD_M[8] = {16, 17, 19, 21, 23, 25, 27, 29};
static const int8_t AD_IDX[8] = {-1, -1, -1, -1, 2, 4, 6, 8};
static int32_t ad_stp(uint32_t ix) { return (int32_t)((uint32_t)AD_M[ix & 7u] << (ix >> 3)) >> 1; }
/* the value after code c from p (the coder and the reader alike), the step index on; (unlike IMA) codes 0 and 8 move
* nothing, so silence stays 0 (else +-1 forever: the master would never rest, fx.c mix_hush) */
static int32_t ad_next(uint32_t c, int32_t p, uint8_t *ix)
{
int32_t s = ad_stp(*ix), d = c & 7u ? s >> 3 : 0;
if (c & 4u) d += s;
if (c & 2u) d += s >> 1;
if (c & 1u) d += s >> 2;
*ix = (uint8_t)clamp((int32_t)*ix + AD_IDX[c & 7u], 0, 95);
return clamp(c & 8u ? p - d : p + d, -32768, 32767);
}
/* the coder: x (16 bits) into the ring's next nibble */
static void ad_put(int32_t x)
{
uint32_t w = pf.u.s.ew, c = 0;
int32_t d = x - pf.u.s.ep, s = ad_stp(pf.u.s.ei);
uint8_t *b = (uint8_t *)sl_buf + (w >> 1);
if (d < 0) {
c = 8u;
d = -d;
}
if (d >= s) { c |= 4u; d -= s; }
if (d >= s >> 1) { c |= 2u; d -= s >> 1; }
if (d >= s >> 2) c |= 1u;
pf.u.s.ep = ad_next(c, pf.u.s.ep, &pf.u.s.ei);
*b = (uint8_t)(w & 1u ? (*b & 0x0Fu) | c << 4 : (*b & 0xF0u) | c);
pf.u.s.ew = w + 1u < AD_N ? w + 1u : 0u;
}
/* a reader's sample (the level: x 2), then on by its rate */
static int32_t shr_out(shr_t *q)
{
int32_t y = q->a + (((q->b - q->a) * (int32_t)(q->fr >> 1)) >> 15);
if ((q->fr += q->rate) >= 65536u) {
uint32_t w = q->pos;
q->fr -= 65536u;
q->a = q->b;
q->b = (int16_t)ad_next((uint32_t)((const uint8_t *)sl_buf)[w >> 1] >> (w & 1u ? 4 : 0) & 15u, q->b, &q->idx);
q->pos = (uint16_t)(w + 1u < AD_N ? w + 1u : 0u);
}
return 2 * y;
}
/* the reader from the start of the 1/16 noted in slot j (j > 31: live), the one before fading out */
static __attribute__((noinline)) void perf_shuf_go(uint32_t j, uint32_t rate)
{
shr_t *c = &pf.u.s.r[0];
const int16_t *t = AD_TBL + 3u * (j & 31u);
if (j > 31u && c->live)
return;
pf.u.s.r[1] = *c;
pf.u.s.xn = SL_RAMP;
c->live = j > 31u;
c->pos = (uint16_t)t[0];
c->a = c->b = t[1];
c->idx = (uint8_t)t[2];
c->fr = 0;
c->rate = rate;
}
/* each 1/16: the coder noted (its slot); a chunk's start: live, or one of the last bar's (the same place in the beat
* half the time), at its speed (SPEED: half, double, its first half twice) */
static __attribute__((noinline)) void perf_shuf_step(void)
{
uint32_t gs = pf.gs, ch = 4u >> perf_gp[GX_SHUF][1], s16 = pf.P / 2u ? pf.P / 2u : 1u, A = (uint32_t)perf_gp[GX_SHUF][0],
h, thr, dm, d, k;
int16_t *t = AD_TBL + 3u * (gs & 31u);
t[0] = (int16_t)pf.u.s.ew;
t[1] = (int16_t)pf.u.s.ep;
t[2] = (int16_t)pf.u.s.ei;
pf.u.s.nrec++;
pf.gph = 0;
if (gs % ch)
return;
pf.u.s.cu = 0;
h = pf_hash((gs & 31u) + 0x3C7u + ((uint32_t)(perf_gp[GX_SHUF][3] - 1) << 5));
thr = !(gs & 15u) ? A * A / 100u * A / 100u : !(gs & 3u) ? A * A / 100u : A;
dm = (AD_N - 2048u) / s16; /* (how far back it may read: the bar, what the ring holds) */
dm = dm > ch + 16u ? 16u : dm > ch ? dm - ch : 0u;
dm = dm < pf.u.s.nrec - 1u ? dm : pf.u.s.nrec - 1u;
pf.u.s.kind = SK_NORM;
if (((h >> 24) * 100u >> 8) >= thr || dm < ch) {
perf_shuf_go(32u, 0);
return;
}
d = ch < 4u && dm >= 4u && (h & 0x100u) ? 4u * (1u + (h >> 9) % (dm / 4u)) : ch * (1u + (h >> 9) % (dm / ch));
k = (((h >> 16) & 0xFFu) * 100u >> 8) < (uint32_t)perf_gp[GX_SHUF][2] ? 1u + (h >> 13) % 3u : SK_NORM;
pf.u.s.kind = (uint8_t)k;
pf.u.s.j0 = (uint8_t)((gs - d) & 31u);
pf.u.s.mid = ch * pf.P / 2u;
perf_shuf_go(pf.u.s.j0, k == SK_HALF ? 16384u : k == SK_DBL ? 65536u : 32768u);
}
/* SHUFFLE on one sample: the pair coded (mono, 22.05 kHz), the reader (or live), the one before fading out */
static __attribute__((noinline)) int perf_shuf(int32_t l, int32_t r)
{
shr_t *c = &pf.u.s.r[0];
if (pf.odd) {
ad_put(clamp((pf.hl + l + r) >> 3, -32768, 32767));
pf.odd = 0;
} else {
pf.hl = l + r;
pf.odd = 1;
}
if (c->live) {
pf.yl = l;
pf.yr = r;
} else {
pf.yl = pf.yr = shr_out(c);
}
if (pf.u.s.xn) {
shr_t *o = &pf.u.s.r[1];
int32_t g = (int32_t)pf.u.s.xn--, ol = l, orr = r;
if (!o->live)
ol = orr = shr_out(o);
pf.yl += ((ol - pf.yl) * g) >> SL_RAMP_LOG2;
pf.yr += ((orr - pf.yr) * g) >> SL_RAMP_LOG2;
}
if (++pf.u.s.cu == pf.u.s.mid && pf.u.s.kind >= SK_DBL) /* (DOUBLE, STUTTER: again from the chunk's start) */
perf_shuf_go(pf.u.s.j0, c->rate);
if (++pf.gph >= pf.P) {
pf.gs++;
perf_shuf_step();
}
return 1;
}
/* the glitcher on one sample (BM_GLT ..): 1 = it plays (pf.yl yr), 0 = live. (A table: each stays out of perf_buf on
* any compiler, as on the target, where they are noinline) */
static int (*const PERF_RING[4])(int32_t, int32_t) = {perf_glt, perf_tape, perf_shuf, perf_frz};
/* the buffer effect faded out: the next one, or the buffer back. Once per effect, out of the per-sample loop
* (noinline: its calls stay out of perf_block's loop code) */
@@ -493,7 +885,10 @@ static __attribute__((noinline)) void perf_buf(int32_t *pl, int32_t *pr) /* (0
on = 1;
}
} else {
on = perf_ring(l, r, &yl, &yr); /* (0.9.14) GLITCH, TAPE */
if ((on = PERF_RING[(pf.mode - BM_GLT) & 3u](l, r)) != 0) { /* (0.9.14) GLITCH, TAPE; (0.9.17) SHUFFLE, FREEZE */
yl = pf.yl;
yr = pf.yr;
}
}
pf.tw = on && pf.src != PF_N ? 32768 : 0;
pf.w += clamp(pf.tw - pf.w, -SL_SLOPE, SL_SLOPE);
@@ -511,11 +906,13 @@ static __attribute__((noinline)) void perf_switch(uint32_t a) { perf_buf_select(
static __attribute__((noinline)) void perf_block(int32_t *bl, int32_t *br, uint32_t n)
{
uint32_t i, a = pf.act0, sh, hold;
int32_t ct = pf.ss[1];
int32_t ct = pf.ss[0];
sh = 4u + (uint32_t)(ct * 7) / 32768u;
hold = sh - 3u;
if (pf.split)
perf_switch(a);
if (pf.mode == BM_TAPE && pf.state) /* (0.9.17) stopped: the hand (KNOB 1) */
perf_scratch();
for (i = 0; i < n; i++) {
int32_t l = bl[i], r = br[i];
if (i == pf.split) {
@@ -539,5 +936,5 @@ static __attribute__((noinline)) void perf_block(int32_t *bl, int32_t *br, uint3
bl[i] = l;
br[i] = r;
}
pf.busy = pf.act || pf.mode != BM_NONE || pf.w || pf.cw || pf.td || pf.mute || pf.sw[0] || pf.sw[1] || pf.sw[2];
pf.busy = pf.act || pf.mode != BM_NONE || pf.w || pf.cw || pf.td || pf.mute || pf.sw[0] || pf.sw[1];
}
+3 -3
View File
@@ -998,12 +998,12 @@ static __attribute__((noinline)) void dxo_tick(track_t *t, uint32_t n)
}
/* the effect of key k in the FX layer (PF_N none): the first 15 white keys (F3 .. F5) in order, G5 CLEAR; black keys
* 1..6 (F#3 .. F#4) the track mutes, A#4 the tracks, (0.9.14) C#5 D#5 F#5 the sweeps */
* 1..6 (F#3 .. F#4) the track mutes, (0.9.17) G#4 FREEZE, A#4 the tracks, C#5 SHUFFLE, (0.9.14) D#5 F#5 the sweeps */
static uint32_t perf_key(uint32_t k)
{
uint32_t p = key_place(k);
return !key_black(k) ? (p < PF_SFLT ? p : p == PF_SFLT ? PF_CLR : PF_N)
: p < NTRK ? PF_M1 + p : p == 7u ? PF_TGT : p >= 8u ? PF_SFLT + p - 8u : PF_N;
return !key_black(k) ? (p < PF_NW ? p : p == PF_NW ? PF_CLR : PF_N)
: p < NTRK ? PF_M1 + p : p == 6u ? PF_FRZ : p == 7u ? PF_TGT : p >= 8u ? PF_SHUF + p - 8u : PF_N;
}
/* (0.6.14) LATCH: ARP OFF and ARP 2's HOLD ON, the keys' notes keep sounding when let go; the first key of the next
+3 -1
View File
@@ -6,7 +6,7 @@
* palette: UI_PAL_TAG + index; an old id (below 20, earlier firmware) is migrated on import.
* bold: no longer used (one font weight); kept as it was saved, unless it holds the HOLD setting (panel.c).
* zoom: no longer used (the large readout); kept as it was saved, unless it holds the LEDS setting (panel.c).
* favorites.factory[15][23]: JIANT_PAL_SEEN (JIANT 0.6.81). [15][20]: SKIN (JIANT 0.8.9; 0 = COLORS; 0.9.7: 3 AIR, new settings'). [15][19]: SCOPE (0.9.7; 0 = OFF). favorites.factory[15][28..31]: CLICK / CLICK LEVEL / COUNT-IN (1.1), STYLE, MENU's flags, [31] the layers seen (0.9.5: unused, kept as saved) (bytes no
* favorites.factory[15][23]: JIANT_PAL_SEEN (JIANT 0.6.81). [15][20]: SKIN (JIANT 0.8.9; 0 = COLORS; 0.9.7: 3 AIR, new settings'; 0.9.17: 1, the retired BOTTOM, = AIR). [15][19]: SCOPE (0.9.7; 0 = OFF). favorites.factory[15][28..31]: CLICK / CLICK LEVEL / COUNT-IN (1.1), STYLE, MENU's flags, [31] the layers seen (0.9.5: unused, kept as saved) (bytes no
* engine uses; 0 in older settings = every one's default); [15][27]: SCREEN OFF (1.1.5; 0 = 30 MIN, the default).
* [15][0..12] (0.9.5): how many times each teaching hint has been given (ui.c hint_given; 0 in older settings = not yet).
* MENU's flags (ui.c PREF_*) are append-only bits whose 0 is the default: BPM LOCK (16) is clear in every older setting
@@ -39,6 +39,8 @@ static int settings_import(persist_t *p, int n)
if (p->favorites.factory[15][20] > 3u) /* SKIN (JIANT 0.8.9, ui.c ui_skin; 0.9.7: 3 AIR): unknown = COLORS (0, older
* settings too: they keep the skin they had) */
p->favorites.factory[15][20] = 0;
else if (p->favorites.factory[15][20] == 1u) /* (0.9.17) BOTTOM, retired: AIR (its word tabs, the knobs' row on top) */
p->favorites.factory[15][20] = 3u;
if (p->favorites.factory[15][19] > 1u) /* SCOPE (0.9.7, ui.c ui_scope): unknown = OFF (0, older settings too) */
p->favorites.factory[15][19] = 0;
if (p->favorites.factory[15][29] > 1u) /* STYLE (ui.c ui_style): 2, the retired PIXEL = LINE; unknown = FLAT */
+2 -2
View File
@@ -1,8 +1,8 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant)
* JIANT (0.6.26 .. 0.9.17 DICE ALL's own song-idea generator; 0.9.18 the helpers GEN shares, gen.c): the roles, the
* JIANT (0.6.26 .. 0.9.16 DICE ALL's own song-idea generator; 0.9.17 the helpers GEN shares, gen.c): the roles, the
* engines' and scales' numbers, a step's tie, a note held, an euclid, a preset's name, a part's level by its register, a
* track's loop, the CPU TEST song. Included by ui_input.c (main loop only) before gen.c. (0.9.18) Its own generator
* track's loop, the CPU TEST song. Included by ui_input.c (main loop only) before gen.c. (0.9.17) Its own generator
* (DSTYLE's 21 genres, their drum bars, bass figures, chords, leads and arps) is gone: SEQ + SELECT, its last user,
* dices with GEN's parts (gen.c dice_seq), on the song's harmony */
+7 -3
View File
@@ -172,7 +172,7 @@ static void rp_put(uint32_t f, uint32_t v)
* 0 in older ones = FLAT; 2, the retired PIXEL (1.0.1), reads as LINE; anything else unknown as FLAT (settings_persist.c). gfx.c draws from its copy, ux.style
* (ui_draw.c style_apply) */
#define ui_style (favorites.factory[15][29])
/* (0.8.9) MENU > DISPLAY > SKIN (ui_menu.c): SKIN_COLORS SKIN_BOTTOM SKIN_HUD (gfx.c) in a byte no engine uses (engine 15,
/* (0.8.9) MENU > DISPLAY > SKIN (ui_menu.c): SKIN_COLORS SKIN_HUD SKIN_AIR (gfx.c; 0.9.17 BOTTOM's 1 reads as AIR) in a byte no engine uses (engine 15,
* byte 20), saved with the settings; 0 in older ones = COLORS, unknown = COLORS (settings_persist.c). gfx.c draws from its
* copy, ux.skin (ui_draw.c style_apply) */
#define ui_skin (favorites.factory[15][20])
@@ -508,17 +508,20 @@ static uint32_t large_kind(void)
* mock-up's (LZ_*), under its level tabs; a layer's map over it: the usual layout */
/* (0.8.9) a lens page in SKIN BOTTOM / HUD's layout (LARGE: COLORS'); HUD's HOME (ECO): the beings full screen */
static int lz_low(void) { return ux.skin && lz_on() && !(ui_prefs & PREF_LARGE); }
/* (0.9.17) .. with the knobs' row on top, under the tabs: AIR; HUD on the SEQ pages (the values over the pattern's pictures,
* as AIR and COLORS: the owner's "parameters on top") */
static int lz_top(void);
static int hud_home(void);
static uint32_t card_y(void)
{
return lz_low() ? (ux.skin == SKIN_AIR ? (hud_home() ? LA_HOME_CARD_Y : LA_CARD_Y) : LB_CARD_Y) : lz_on() ? LZ_CARD_Y : Y_LABEL;
return lz_low() ? (lz_top() ? (hud_home() ? LA_HOME_CARD_Y : LA_CARD_Y) : LB_CARD_Y) : lz_on() ? LZ_CARD_Y : Y_LABEL;
}
static uint32_t foot_y(void) { return hud_home() ? LZ_FOOT_Y - 1u : lz_on() ? LZ_FOOT_Y : Y_FOOT; }
static uint32_t foot_h(void) { return hud_home() ? LZ_FOOT_H + 1u : lz_on() ? LZ_FOOT_H : H_FOOT; }
static uint32_t card_h(void) { return large_kind() == LK_TALL ? LG_CARD_H : lz_low() ? LB_CARD_H : lz_on() ? LZ_CARD_H : CARD_H; }
static uint32_t graph_y(void)
{
int air = ux.skin == SKIN_AIR;
int air = lz_top();
return large_kind() == LK_TALL ? (lz_on() ? LZ_LG_Y_GRAPH : LG_Y_GRAPH) : hud_home() ? (air ? LA_HOME_GRAPH_Y : LB_GRAPH_Y - 1u) :
lz_low() ? (air ? LA_GRAPH_Y : LB_GRAPH_Y) : lz_on() ? LZ_GRAPH_Y : Y_GRAPH;
}
@@ -673,6 +676,7 @@ static uint32_t lz_fam(void) /* which lens */
return save_on() ? LZ_SAVE : fx_on() ? LZ_FX : LZ_SEQ;
}
static int lz_mock_cards(void) { return lz_on() && lz_fam() <= LZ_FX; }
static int lz_top(void) { return lz_low() && (ux.skin == SKIN_AIR || lz_fam() == LZ_SEQ); } /* (0.9.17, card_y) */
/* (MENU > LARGE: their cards as they are; 0.9.0: not under the count-in or UPDATE MODE's countdown, which cover the page:
* their header on BG, as every other page's) */
static int hud_home(void)
+10 -11
View File
@@ -418,10 +418,10 @@ static void lcd_rule(uint32_t x, uint32_t y, uint32_t w, uint32_t h)
static void draw_rules(uint32_t y, uint32_t h)
{
uint32_t i;
if (y == card_y() && lz_low() && ux.skin == SKIN_AIR) { /* (0.9.7) AIR: over the knobs' row and under it */
if (y == card_y() && lz_top()) { /* (0.9.7) AIR (0.9.17: HUD's SEQ): over the knobs' row and under it */
lcd_rule(RULE_X0, (LT_Y + LB_TAB_H + card_y()) / 2, RULE_W, 1);
lcd_rule(RULE_X0, (card_y() + card_h() + graph_y()) / 2, RULE_W, 1);
} else if (y == card_y() && lz_low()) { /* (0.8.9) BOTTOM, HUD: over the panel and under it */
} else if (y == card_y() && lz_low()) { /* (0.8.9) HUD: over the panel and under it */
lcd_rule(RULE_X0, (LT_Y + LB_TAB_H + graph_y()) / 2, RULE_W, 1);
lcd_rule(RULE_X0, (graph_y() + graph_h() + card_y()) / 2, RULE_W, 1);
} else if (y == card_y()) { /* (LARGE: the geometry of the page, ui.c card_h; 0.8.5: a lens
@@ -905,9 +905,9 @@ static void sound_name(const track_t *t, char *b)
* marked). COLORS: n rounded tabs (r 4) in a row, x 4 .. 236, 2 apart (three: 76 wide at x 4 + 78 l, as 0.8.5's), y 26,
* 13 tall; the group shown THEME with INK text, the others RAISE with MID; the name (its short form where it does not
* fit) centred, capitals rows 29..35; the dots on row 37, 2 x 1, 4 apart (INK on the lit tab, the others a mix; DIM on the
* rest). BOTTOM and HUD (the mock-up opciones_skin.html): the names centred in n equal slots (capitals rows 28..34), the
* one shown THEME, the others MID; the dots on row 38 (DIM, the group shown MID), the page's BOTTOM a THEME pill (5 x 3,
* rows 37..39), HUD a THEME dash (4 x 1); HUD's HOME outlined, over the beings. Drawn when what it shows changes */
* rest). HUD and AIR (the mock-up opciones_skin.html): the names centred in n equal slots (capitals rows 28..34), the
* one shown THEME, the others MID; the dots on row 38 (DIM, the group shown MID), the page's a THEME dash (4 x 1; 0.9.17:
* BOTTOM's pill retired with it); HUD's HOME outlined, over the beings. Drawn when what it shows changes */
#define LT_W 76
#define LT_X(l) (4 + (int32_t)(l) * 78)
#define TAB_X(i, n) (4 + (int32_t)(i) * 234 / (int32_t)(n)) /* tab i of n (COLORS): from here, TAB_X(i + 1) - 2 wide */
@@ -933,12 +933,9 @@ static void tabs_paint(uint32_t n, uint32_t lv, const char *const *nm, const cha
cv_rect(dx - 1, dy - 1, nd * 4, 3, T_BG);
for (d = 0; d < (uint32_t)nd; d++) {
int32_t px = dx + (int32_t)d * 4;
if (l == lv && d == at) {
if (ux.skin == SKIN_BOTTOM)
cv_rrect(px - 1, dy - 1, 5, 3, -1, T_THEME, T_BG);
else
cv_rect(px - 1, dy, 4, 1, T_THEME);
} else
if (l == lv && d == at)
cv_rect(px - 1, dy, 4, 1, T_THEME);
else
cv_rect(px, dy, 2, 1, l == lv ? hud_cap(T_MID) : T_DIM);
}
continue;
@@ -2256,6 +2253,8 @@ static void style_apply(void)
ui_style = ui_style == 2u ? ST_LINE : ST_FLAT;
if (ui_skin >= SKIN_N) /* (0.8.9) SKIN: unknown, COLORS */
ui_skin = SKIN_COLORS;
else if (ui_skin == SKIN_BOTTOM_OLD) /* (0.9.17) BOTTOM, retired: AIR */
ui_skin = SKIN_AIR;
if (ux.style != ui_style || ux.skin != ui_skin) {
ux.style = ui_style;
ux.skin = ui_skin;
+112 -338
View File
@@ -86,14 +86,6 @@ static uint16_t heat_y(int32_t y, int32_t y0, int32_t y1, uint16_t c)
{
return settings.palette == UI_JIANT_INDEX && y1 > y0 ? heat_col(24 + (y1 - y) * 232 / (y1 - y0)) : c;
}
/* JIANT: a hit or note as hot as it plays (velocity x chance; an accent white hot); else ACCENT or c */
static uint16_t step_heat(const step_t *st, int acc, uint16_t c)
{
int32_t v = (st->vel ? st->vel : 100) * (int32_t)step_chance(st) / 100;
if (settings.palette != UI_JIANT_INDEX)
return acc ? T_ACCENT : c;
return heat_col(acc ? 236 : 40 + v * 160 / 127);
}
#include "ui_being.c" /* (JIANT 0.5) the beings: the engine pages' creatures */
#include "ui_engvis.c" /* (0.9.4) VOICE's head, ANIMAL's creature, DRUM-X's kit */
@@ -179,33 +171,6 @@ static void graph_lfo(const track_t *t, uint16_t c)
/* (0.6.92) the selected track's next 32 bars: a mark where its SOUND changes (warm) and where its PATTERN does (cool),
* the bar now at the left; under it what it does (every project's steps written; ORBIT around the anchor OCT+ keeps,
* DRIFT on and on) and the two hands */
static void graph_mutate(void)
{
const track_t *t = TSEL;
uint32_t b, now = song.playing ? bar_n : 0u, k = song.sel;
uint32_t s = MUT_BARS[(uint32_t)clamp(t->p[P_MSND], 0, 6)], q = MUT_BARS[(uint32_t)clamp(t->p[P_MPAT], 0, 6)];
int on = (s || q) && k < trk_live;
char nm[12] = "TRACK 1";
nm[6] = (char)('1' + k);
cv_text(PANEL_X0, 4, &AF_S, nm, T_THEME);
cv_text_r(PANEL_X0 + PANEL_W, 4, &AF_S, !on ? "MUTATE OFF" : t->p[P_MMODE] ? "DRIFT: ON AND ON" : "ORBIT: AROUND THE ANCHOR",
on ? T_TEXT : T_DIM, T_SURF);
cv_text(PANEL_X0, 24, &AF_S, "SOUND", on && s ? heat_col(190) : T_DIM);
cv_text(PANEL_X0, 44, &AF_S, "PATTERN", on && q ? heat_col(90) : T_DIM);
for (b = 0; b < 32u; b++) {
uint32_t bar = now + 1u + b;
int32_t x = PANEL_X0 + 52 + (int32_t)b * 5;
cv_rect(x, 31, 4, 1, T_RAISE);
cv_rect(x, 51, 4, 1, T_RAISE);
if (on && s && bar % s == 0u) cv_rect(x, 24, 4, 8, mut_freeze ? T_DIM : heat_col(190));
if (on && q && bar % q == 0u) cv_rect(x, 44, 4, 8, mut_freeze ? T_DIM : heat_col(90));
}
cv_rect(PANEL_X0 + 52, 20, 4, 36, ux_mix(T_SURF, T_ACCENT, 25)); /* (the next bar's column) */
cv_text(PANEL_X0, 68, &AF_S, "EVERY N BARS, BY AMOUNT, ON THE BAR", T_MID);
cv_text(PANEL_X0, 84, &AF_S, mut_freeze ? "FROZEN [OCT-] GOES ON" : "OCT+ KEEP GLO+A4 FREEZE", mut_freeze ? T_ACCENT : T_DIM);
cv_text(PANEL_X0, 100, &AF_S, mut_back_ok() ? "SEQ+D5 REVERT GLO+B4 ALL" : "REVERT: NO ANCHOR", T_DIM); /* (0.9.3) */
}
/* (0.6.45) EDIT > MORPH: a cycle of the wave as it morphs (from WAVE towards the next ones), heat coloured by its
* height; under it the two waves it is between */
/* (0.6.48) EDIT > IMAGE (a DRUM track): the eight sounds from left to right as IMAGE places them (as wide as DRV,
@@ -564,10 +529,12 @@ static void bar_cells(const track_t *t, int32_t x0, int32_t w, int32_t y, int32_
for (b = 0; b < 4u; b++)
bar_cell(t, b, x0 + (int32_t)b * bw + 1, y, bw - 2, h, lo, hi, c);
}
/* (0.8.5) BAR's strip over the roll and the grid (lens_strip): the bars small, 16 px at the panel's top */
/* (0.8.5) BAR's strip over the roll and the grid (lens_strip; 0.9.17: every SEQ page's): the bars small, 16 px at the
* panel's top */
#define LS_Y 0
#define LS_H 16
static int lens_strip(void) { return !ui.home && lz_on() && lens_level() == LV_BAR; }
static int seq_roll_view(const page_t *pg);
static int lens_strip(void) { return !ui.home && lz_on() && !ui.layer && seq_roll_view(cur_page()); }
/* the bars of step s in column x (in its RATCH parts, hits; a TIE's carried bars: 1): a 1 px edge mark for a note
* out of view; first: row y of the step's first note; fc: the note in focus's colour (0: none) and its note */
@@ -597,6 +564,7 @@ static void graph_roll(const track_t *t, uint16_t c)
uint32_t i, len = (uint32_t)t->p[P_SLEN], base = ui.bank * 16u, ncol, mask = scale_mask(t), held = pr_held();
uint64_t locks = motion_lock_steps(trk_index(t));
int32_t r, ybot, trw = 0, note_pg = cur_page()->id[0] == 4u;
int pat_pg = lens_on() && cur_page()->graph == GR_STEPS && cur_page()->id[0] == P_SLEN; /* (0.9.17) PATTERN: GATE, SWING */
char tb[16];
(void)c;
pr_geom();
@@ -650,8 +618,14 @@ static void graph_roll(const track_t *t, uint16_t c)
one.n = 1; one.note[0] = st->note[ui.pr_focus - 1u]; one.hit = 0;
pr_bars(&one, s == si ? x + 1 : x - 1, s == si ? w - 2 : w + 1, T_ACCENT, 0, &yy, s == si ? step_ratchet(st) : 1u);
} else if (s == si) { /* (0.6.88: its TIMING off the grid, shown off it) */
int32_t mo = ST_MICRO(st) * w / 64; /* (0.9.1: 64ths) */
pr_bars(st, x + 1 + mo < PR_RX ? PR_RX : x + 1 + mo, w - 2 + (slide ? 2 : 0),
int32_t mo = ST_MICRO(st) * w / 64, bw = w - 2 + (slide ? 2 : 0); /* (0.9.1: 64ths) */
if (pat_pg) { /* (0.9.17) PATTERN: an odd step late by SWING, a note as long as
* GATE plays it (not into a TIE) */
mo += (si & 1u) ? track_swing(t) * w / 250 : 0;
if (ns->time != ST_TIE && !slide)
bw = clamp((w - 2) * t->p[P_SGATE] / 128, 1, w - 2);
}
pr_bars(st, x + 1 + mo < PR_RX ? PR_RX : x + 1 + mo, bw,
s == ui.cursor && note_pg ? T_ACCENT : 0, (st->flags & SF_ACCENT) != 0u, &y, step_ratchet(st));
} else /* a TIE: the bars on through the gap before */
pr_bars(st, x - 1, w + (slide && (si + 1u) % len != nx ? 0 : 0), s == ui.cursor && note_pg ? T_ACCENT : 0,
@@ -1018,230 +992,17 @@ static void graph_title(void)
cv_text_in(0, y, 240, f, ti, T_THEME, T_SURF);
}
/* (0.6.52) SEQ > FUGUE: the steps (their notes as heat) with the sequencer's playhead, then a lane each for heads 2..4:
* where it is, its RATE DIR INTERVAL; the head edited lit */
/* (0.8.2) the pages that edit the piano roll kept it in the panel. (0.8.3) LENTE (ui.c lens_*): the panel is the
* level's: the roll (a kit: the grid) on BAR's STEP and NOTE; the bars on PATTERN's PATTERN, STRETCH and TRACK
* (graph_bars); the cursor step large on STEP's NOTE, COMP and COMP 2 (graph_bigstep); PLAYHEADS, MUTATE, AUTOMATION
* and AUTO LIST keep their own graphs */
/* (0.9.17) every SEQ page (LENTE) draws the same picture, the owner's "all the sequencer pages the same piano roll, each
* page doing something different on top of it": the bars' strip and the roll of the cursor's bar (a kit: the grid),
* then the page's own marks over it (seq_overlay). (0.8.3 .. 0.9.16: the big bars on PATTERN's level, the step large on
* STEP's, PLAYHEADS's lanes, MUTATE's and AUTO LIST's own panels.) PHRASES and SONG keep their lists */
static int seq_roll_view(const page_t *pg)
{
return pg == &PAGES[ui.page] && lens_on() && pg->graph != GR_PATS && pg->graph != GR_SONG;
}
static int roll_view(const page_t *pg)
{
return pg->fam == FAM_SEQ && pg->graph == GR_ROLL && !(pg == &PAGES[ui.page] && lens_on() && lens_level() == LV_STEP);
}
static int bars_view(const page_t *pg) /* (0.8.3) LENTE's PATTERN level: the bars */
{
return pg == &PAGES[ui.page] && lens_on() && lens_level() == LV_PAT && (pg->graph == GR_STEPS || pg->graph == GR_SHAPE);
}
static int bigstep_view(const page_t *pg) /* .. its STEP level: the step large */
{
return pg == &PAGES[ui.page] && lens_on() && lens_level() == LV_STEP && (pg->graph == GR_ROLL || pg->graph == GR_COMP);
}
/* (0.8.3) LENTE's PATTERN; (0.8.5) as the mock-up: the pattern's bars side by side (up to four, LEN 64) as big cells
* (2 .. 62); under them PLAYHEADS (S, DIM) and the whole pattern as one small roll (80 .. 140, a BG area: the scale's
* rows LANE, the step lines GRID and every 4th LINE, the notes as hot as they play, held through their TIEs, a
* component's mark on top, past LEN dark) with the sequencer's playhead (ACCENT) and FUGUE's heads (a tick each at the
* foot, as hot as its lane on the PLAYHEADS page) */
#define LB_Y 2
#define LB_H 60
#define LP_TY 65 /* "PLAYHEADS" (capitals 68..76) */
#define LP_Y 80 /* the pattern's roll, to 140 */
#define LP_H 60
static void graph_bars(const track_t *t, uint16_t c)
{
uint32_t len = (uint32_t)clamp(t->p[P_SLEN], 1, NSTEP), n = len < 16u ? 16u : len, i, j, k, l, dr = drum_track(t);
uint32_t ph = song.playing ? seq_src(t, t->seq_idx) : 0xFFFFu, ti = song.sel % NTRK, mask = scale_mask(t);
int32_t lo, hi, rows, rh = 2;
bar_cells(t, PR_RX, PR_RW, LB_Y, LB_H, c);
GFX_HOOK_ALIGN(0, LP_TY + 3 + AF_X_CAP_Y, 0, LP_TY + 3 + AF_X_CAP_Y + AF_X_CAP_H, AL_V | AL_PASS, "PLAYHEADS title");
cv_text(6, LP_TY + 3, &AF_X, "PLAYHEADS", T_DIM);
pat_range(t, &lo, &hi);
rows = LP_H / rh;
if (hi - lo + 1 < rows)
lo -= (rows - (hi - lo + 1)) / 2;
hi = lo + rows - 1;
cv_rect(PR_RX, LP_Y, PR_RW, LP_H, T_BG);
if (!dr)
for (k = 0; k < (uint32_t)rows; k++) { /* the scale's rows */
int32_t nn = hi - (int32_t)k;
static const uint8_t KB[12] = {0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0};
int in = mask == 0xFFFu ? !KB[(uint32_t)(nn + 120) % 12u] : (int)((mask >> ((uint32_t)(nn - t->p[P_ROOT] + 120) % 12u)) & 1u);
if (in)
cv_rect(PR_RX, LP_Y + (int32_t)k * rh, PR_RW, rh, T_LANE);
}
for (i = 0; i <= n; i++) /* the step lines, the beats brighter */
cv_rect(PR_RX + (int32_t)(i * PR_RW / n) - (i == n), LP_Y, 1, LP_H, i % 4u ? T_GRID : T_LINE);
if (len < n) /* past LEN: dark */
cv_rect(PR_RX + (int32_t)(len * PR_RW / n), LP_Y, PR_RW - (int32_t)(len * PR_RW / n), LP_H, T_BG);
for (i = 0; i < len; i++) {
const step_t *st = &seq_steps(t)[i];
int32_t x = PR_RX + (int32_t)(i * PR_RW / n), sw, L = 1;
if (!step_on(st))
continue;
while (L < (int32_t)len - (int32_t)i && seq_steps(t)[i + (uint32_t)L].time == ST_TIE)
L++;
sw = PR_RX + (int32_t)((i + (uint32_t)L) * PR_RW / n) - x - 2;
if (sw < 1)
sw = 1;
if (dr) {
for (l = 0; l < NLANE; l++)
if ((step_lanes(st) >> l) & 1u)
cv_rect(x + 1, LP_Y + 4 + (int32_t)l * (LP_H - 8) / (int32_t)NLANE, sw, 3,
lz_note(st, (step_accents(st) >> l) & 1u, c));
continue;
}
for (j = 0; j < st->n && j < 4u; j++) {
int32_t nn = clamp(st->note[j], lo, hi);
cv_rect(x + 1, LP_Y + (hi - nn) * rh, sw + ((st->flags & SF_SLIDE) ? 2 : 0), rh,
lz_note(st, (st->flags & SF_ACCENT) != 0u, c));
}
lz_comp_mark(st, x + (int32_t)(PR_RW / n) / 2, LP_Y + 1);
}
if (ph < len)
cv_rect(PR_RX + (int32_t)(ph * PR_RW / n), LP_Y, 1, LP_H, T_ACCENT);
for (k = 0; k < FG_HEADS && song.playing; k++) { /* FUGUE's heads */
uint32_t hi2 = fg_head[ti][k].idx;
if (!fg_set[ti][k].rate || hi2 >= len)
continue;
cv_rect(PR_RX + (int32_t)(hi2 * PR_RW / n + PR_RW / n / 2) - 1, LP_Y + LP_H - 6, 2, 6, heat_col(70u + k * 60u));
}
}
/* (0.8.3) LENTE's STEP: the cursor step large; (0.8.5) as the mock-up, on a BG area (4 .. 236): on top "STEP n" (S,
* THEME) and at the right what it is (NOTE, TIE, REST; a note longer than a step: LEN n, MID). At the left its notes as
* bars 70 px wide where their pitch puts them (2.6 px a semitone, C3 at the foot), each named at the right of it (S,
* TEXT): as hot as it plays (moved by its MICRO, in its RATCH's parts; NOTE's note in focus the accent); a TIE the notes
* it holds, MID; a REST, an empty step: said; a kit: the lanes it hits. At the right its chips (102 x 14, 17 px apart):
* ACC, SLD, MICRO n, COMP1 x, COMP2 x, CHANCE n% (a value set: TINT with TEXT; else RAISE with DIM) */
#define BS_CX 130 /* the chips' column */
#define BS_CW 102
#define BS_Y 28 /* the first chip, 17 px apart */
#define BS_TY 4 /* the title's line (capitals 7..15) */
#define BS_NH 6 /* a note's bar */
static void bs_chip(uint32_t k, const char *s, int on)
{
int32_t y = BS_Y + (int32_t)k * 17;
uint16_t bg = on ? T_TINT : T_RAISE, fg = on ? T_TEXT : T_DIM == T_RAISE ? T_MID : T_DIM;
cv_rect(BS_CX, y, BS_CW, 14, bg);
GFX_HOOK_ALIGN(0, y, 0, y + 14, AL_V, "big step chip text centred up/down");
cv_text_on(BS_CX + 5, y + CAP_IN(X, 14), &AF_X, s, fg, bg);
}
static void graph_bigstep(const track_t *t, const page_t *pg, uint16_t c)
{
static const char *const TIME_N[3] = {"NOTE", "TIE", "REST"};
uint32_t len = (uint32_t)clamp(t->p[P_SLEN], 1, NSTEP), i, dr = drum_track(t), nl;
uint32_t src = pr_src(t, ui.cursor % NSTEP, len);
const step_t *st = &seq_steps(t)[ui.cursor % NSTEP], *sn = src < NSTEP ? &seq_steps(t)[src] : st;
int note = pg->id[0] == 4u, tie = st->time == ST_TIE, acc;
int32_t m = ST_MICRO(st);
char b[20];
cv_rect(PR_RX, 0, PR_RW, LZ_GRAPH_H, T_BG);
str_cpy(b, "STEP ", sizeof b);
fmt_int(b + 5, (int32_t)ui.cursor + 1);
GFX_HOOK_ALIGN(0, BS_TY + 3 + AF_X_CAP_Y, 0, BS_TY + 3 + AF_X_CAP_Y + AF_X_CAP_H, AL_V | AL_PASS, "big step title");
cv_text_on(10, BS_TY + 3, &AF_X, b, T_THEME, T_BG);
nl = !dr && st->time == ST_NOTE && st->n ? note_len(t, ui.cursor % NSTEP, len) : 1u; /* (0.8.4) a NOTE's length:
* LEN 3 (BAR > STEP's KNOB 3 sets it) */
str_cpy(b, nl > 1u ? "LEN " : TIME_N[st->time % 3u], sizeof b);
if (nl > 1u) fmt_int(b + 4, (int32_t)nl);
cv_text_r(230, BS_TY + 3, &AF_X, b, nl > 1u ? T_TEXT : T_MID, T_BG);
if (dr) { /* a kit: the lanes it hits (their accents hot), two columns */
uint32_t k = 0, l;
for (l = 0; l < NLANE; l++) {
int32_t x = 14 + (int32_t)(k / 4u) * 52, y = 40 + (int32_t)(k % 4u) * 20;
if (!(((st->time == ST_NOTE ? step_lanes(st) : 0u) >> l) & 1u))
continue;
cv_rect(x, y, 10, 10, lz_note(st, (step_accents(st) >> l) & 1u, c));
GFX_HOOK_ALIGN(0, y, 0, y + 10, AL_V, "big step lane on its hit");
cv_text_on(x + 15, y + CAP_IN(X, 10), &AF_X, drum_lane_abbr(t, l), T_TEXT, T_BG);
k++;
}
if (!k)
cv_text_in(4, 69, 120, &AF_X, st->time == ST_NOTE ? "NO HIT" : TIME_N[st->time % 3u], T_MID, T_BG);
} else if ((tie && src < NSTEP) || (st->time == ST_NOTE && st->n)) { /* the notes where their pitch puts them */
uint32_t n = sn->n < 4u ? sn->n : 4u, f = note && !tie && ui.pr_focus <= n ? ui.pr_focus : 0u, j;
uint8_t ord[4] = {0, 1, 2, 3};
int32_t gy[4];
for (i = 0; i < n; i++) /* highest first */
for (j = i + 1u; j < n; j++)
if (sn->note[ord[j]] > sn->note[ord[i]]) { uint8_t q = ord[i]; ord[i] = ord[j]; ord[j] = q; }
for (i = 0; i < n; i++) { /* by pitch, 11 px apart at least (the names), inside 22 .. 128 */
gy[i] = 112 - ((int32_t)sn->note[ord[i]] - 48) * 13 / 5;
if (i && gy[i] < gy[i - 1u] + 11)
gy[i] = gy[i - 1u] + 11;
}
if (n && gy[n - 1u] > 128)
for (i = 0; i < n; i++) gy[i] -= gy[n - 1u] - 128;
if (n && gy[0] < 22)
for (i = n; i-- > 0;) gy[i] += 22 - gy[0];
for (i = 0; i < n; i++) {
int32_t y = gy[i], x = 14 + (tie ? 0 : m / 4); /* (0.9.1: MICRO in 64ths; as far as before) */
uint16_t col = tie ? T_MID : f ? (ord[i] + 1u == f ? T_ACCENT : lz_note(sn, (sn->flags & SF_ACCENT) != 0u, c)) :
lz_note(sn, (sn->flags & SF_ACCENT) != 0u, c);
pr_split(x, y, 70, BS_NH, col, tie ? 1u : step_ratchet(sn));
note_name(b, sn->note[ord[i]]);
GFX_HOOK_ALIGN(0, y, 0, y + BS_NH, AL_V, "big step note name on its bar");
cv_text_on(90, y + CAP_IN(X, BS_NH), &AF_X, b, tie ? T_MID : T_TEXT, T_BG);
}
} else {
cv_text_in(4, 69, 120, &AF_X, st->time == ST_NOTE ? "EMPTY" : TIME_N[st->time % 3u], T_MID, T_BG);
}
acc = dr ? step_accents(st) != 0u : (st->flags & SF_ACCENT) != 0u;
bs_chip(0, "ACC", acc);
bs_chip(1, "SLD", !dr && (st->flags & SF_SLIDE));
str_cpy(b, "MICRO ", sizeof b);
if (!m) str_cpy(b + 6, "0", 4);
else { b[6] = m < 0 ? '-' : '+'; fmt_int(b + 7, m < 0 ? -m : m); str_cpy(b + str_len(b), "/64", 4); } /* (0.9.1) */
bs_chip(2, b, m != 0);
str_cpy(b, "COMP1 ", sizeof b);
if (st->comp == CP_ECHO || (!st->comp && step_ratchet(st) > 1u)) { /* (0.9.18) RATCH x2..x8, one */
str_cpy(b + 6, "RATCH x", 10);
b[13] = (char)('1' + (rat_ui(st, 0u) ? (rat_ui(st, 0u) - 1u) % 7u + 1u : 0u));
b[14] = 0;
} else if (st->comp) str_cpy(b + 6, COMP_NAMES[comp_ui(st->comp)], 10);
else str_cpy(b + 6, "-", 4);
bs_chip(3, b, st->comp || step_ratchet(st) > 1u);
str_cpy(b, "COMP2 ", sizeof b);
str_cpy(b + 6, st->comp2 ? COMP_NAMES[comp_ui(st->comp2)] : "-", 10);
bs_chip(4, b, st->comp2 != 0u);
str_cpy(b, "CHANCE ", sizeof b);
fmt_int(b + 7, (int32_t)step_chance(st));
str_cpy(b + str_len(b), "%", 4);
bs_chip(5, b, step_chance(st) < 100u);
}
static void graph_fugue(const track_t *t);
static void graph_fugue(const track_t *t)
{
uint32_t len = (uint32_t)clamp(t->p[P_SLEN], 1, NSTEP), i, k, ti = song.sel % NTRK;
int32_t w = PANEL_W / (int32_t)len, x0 = PANEL_X0 + (PANEL_W - w * (int32_t)len) / 2;
if (w < 2) w = 2;
for (i = 0; i < len; i++) {
const step_t *st = &seq_steps(t)[i];
int on = step_on(st);
cv_rect(x0 + (int32_t)i * w, on ? 4 : 14, w - (w > 3 ? 1 : 0), on ? 14 : 4, on ? step_heat(st, st->flags & SF_ACCENT, ACC) : T_RAISE);
if (song.playing && i == seq_src(t, t->seq_idx)) cv_rect(x0 + (int32_t)i * w, 20, w, 2, T_TEXT);
}
for (k = 0; k < FG_HEADS; k++) {
const fg_set_t *f = &fg_set[ti][k];
const fg_head_t *h = &fg_head[ti][k];
int32_t y = 28 + (int32_t)k * 23;
uint16_t c = f->rate ? heat_col(70u + k * 60u) : T_DIM;
char b[24] = {(char)('2' + k), ' ', 0};
if (k == fg_ui % FG_HEADS) cv_rrect(PANEL_X0, y - 2, PANEL_W, 22, 3, T_RAISE, T_SURF);
cv_rect(x0, y + 17, w * (int32_t)len, 1, T_MID);
if (f->rate && song.playing && h->idx < len)
cv_rect(x0 + (int32_t)h->idx * w, y + 14, w, 6, c);
str_cpy(b + 2, N_FGRATE[f->rate % FG_NRATE], sizeof b - 2u);
if (f->rate) {
uint32_t n = str_len(b);
b[n] = ' '; b[n + 1u] = 0;
str_cpy(b + n + 1u, N_FGDIR[f->dir & 3u], sizeof b - n - 1u);
n = str_len(b);
b[n] = ' ';
b[n + 1u] = f->ivl > 0 ? '+' : 0;
fmt_int(b + n + 1u + (f->ivl > 0), f->ivl);
}
cv_text(PANEL_X0 + 4, y, &AF_S, b, f->rate ? T_TEXT : T_DIM);
}
return pg->fam == FAM_SEQ && pg->graph == GR_ROLL;
}
/* (0.6.51) the page's name big (page_flash). (0.6.61) In the header, not over the cards or the graph (covering them
@@ -1304,7 +1065,7 @@ static int drift_on(void)
uint32_t g = cur_page()->graph;
if (UI_NO_DRIFT)
return 0;
return !ui.home && !sys_load && !(ui_prefs & PREF_ANIM_OFF) && strip_kind() == SK_NONE && !roll_view(cur_page()) &&
return !ui.home && !sys_load && !(ui_prefs & PREF_ANIM_OFF) && strip_kind() == SK_NONE && !roll_view(cur_page()) && !lens_on() &&
g != GR_ROLL && g != GR_SHAPE && g != GR_COMP && g != GR_FUGUE && g < GR_LIVE && /* (0.8.3: LENTE's step, the heads;
* 0.9.11: LIVE's rails, the enum's last) */
g != GR_STEPS && g != GR_CHANCE && g != GR_BROWSE && g != GR_USER && g != GR_SLOTS && g != GR_EVENTS &&
@@ -1404,7 +1165,7 @@ static uint32_t graph_signature(void)
h ^= (uint32_t)pg->graph * 131u + TSEL->eng_req + song.sel * 7777u + ui.page * 1291u;
if (strip_kind() == SK_TITLE) /* MENU > LARGE: the page's title (its engine, its number) */
return h ^ 0x5A17u;
if ((pg->graph == GR_NONE && !fx_on()) || pg->graph == GR_ARP || pg->graph == GR_MOTION) h ^= ui.frame / 2u; /* (0.8.5:
if ((pg->graph == GR_NONE && !fx_on()) || pg->graph == GR_ARP || (pg->graph == GR_MOTION && !lens_on())) h ^= ui.frame / 2u; /* (0.8.5:
* FX's lens pictures change with their values, */
if (fx_on() && (song.playing || bg_energy() > 2)) /* .. and with the sound while it sounds: FX live) */
h ^= ui.frame / 2u * 2246822519u;
@@ -1555,23 +1316,13 @@ static uint32_t graph_signature(void)
h = (h ^ (lens_level() + 1u) * 2654435761u) * 16777619u;
h = (h ^ (song.playing ? seq_src(t, t->seq_idx) / 16u + 1u : 0u) * 40503u) * 16777619u; /* (0.8.5) the bar
* playing: its number lit in the bars */
if (bars_view(pg) && song.playing) { /* (0.8.5) PATTERN's roll: FUGUE's heads */
uint32_t ti = song.sel % NTRK, k;
for (k = 0; k < FG_HEADS; k++)
h = (h ^ (fg_set[ti][k].rate ? fg_head[ti][k].idx + 1u : 0u)) * 16777619u;
}
if (bigstep_view(pg)) {
const uint8_t *sb = (const uint8_t *)&seq_steps(t)[ui.cursor % NSTEP];
for (i = 0; i < sizeof(step_t); i++)
h = (h ^ sb[i]) * 16777619u;
h = (h ^ (ui.pr_focus + 1u) * 40503u) * 16777619u;
}
h = (h ^ (ui.pr_focus + 1u) * 40503u) * 16777619u;
}
if (pg->graph == GR_STEPS || pg->graph == GR_ROLL || pg->graph == GR_CHANCE || pg->graph == GR_SHAPE || roll_view(pg)) {
uint32_t ph = song.playing ? seq_src(t, t->seq_idx) : 0xFFFFu, rl = roll_view(pg) || pg->graph == GR_CHANCE;
if (pg->graph == GR_STEPS || pg->graph == GR_ROLL || pg->graph == GR_CHANCE || pg->graph == GR_SHAPE || seq_roll_view(pg)) {
uint32_t ph = song.playing ? seq_src(t, t->seq_idx) : 0xFFFFu, rl = roll_view(pg) || seq_roll_view(pg) || pg->graph == GR_CHANCE;
if (rl && ph / 16u != ui.bank)
ph = 0xFFFFu; /* the roll shows the cursor's bank only */
h ^= steps_hash(t) + ph * 31u + ui.cursor * 7919u + ui.lane * 104723u + ui.bank * 613u;
h ^= steps_hash(t) + ph * 31u + ui.cursor * 7919u + ui.lane * 104723u + ui.bank * 613u + (uint32_t)song.g[G_SWING] * 3u;
if (rl) { /* the parameter locks' marks (the roll, the grid) */
uint64_t lk = motion_lock_steps(trk_index(t));
h = (h ^ (uint32_t)lk ^ (uint32_t)(lk >> 32) * 2654435761u) * 16777619u;
@@ -1631,52 +1382,6 @@ static void graph_pats(void)
list_row(LIST_Y(row), k == cur, tag, T_MID, nm, T_TEXT, 232);
}
}
/* SEQ > AUTO LIST (ui_events.c): the track's records around the one selected, a row each: the kind (LOCK in the
* accent, AUTO), the step, the parameter's name, the value at the right; the last row + ADD LOCK */
static void graph_events(void)
{
const track_t *t = TSEL;
uint8_t idx[MOTION_MAX];
uint32_t n = ev_rows(idx), cur = ev_row(n), k;
int32_t row, first = clamp((int32_t)cur - 3, 0, (int32_t)n + 1 > 7 ? (int32_t)n + 1 - 7 : 0);
for (row = 0; row < 7 && (uint32_t)(first + row) <= n; row++) {
int32_t y = LIST_Y(row);
int sel;
uint16_t bg;
k = (uint32_t)(first + row);
sel = k == cur;
bg = sel ? T_THEME : T_SURF;
if (sel)
cv_rrect(6, y, 228, 16, 4, T_THEME, T_SURF);
if (k == n) {
GFX_HOOK_ALIGN(0, y, 0, y + 16, AL_V, "list row text centred up/down");
cv_text_on(14, y + CAP_IN(S, 16), &AF_S, "+ ADD LOCK", sel ? T_INK : T_DIM, bg);
break;
}
{
const motion_event_t *e = &motion.event[idx[k]];
uint32_t id = MOTION_ID(e), lock = (e->param & MOTION_LOCK) != 0u;
char b[16], nm[12];
const char *unit;
const param_desc_t *d = track_desc(t, id);
b[0] = (char)('0' + (MOTION_STEP(e) + 1u) / 10u);
b[1] = (char)('0' + (MOTION_STEP(e) + 1u) % 10u);
b[2] = 0;
GFX_HOOK_ALIGN(0, y, 0, y + 16, AL_V, "list row text centred up/down");
cv_text_on(14, y + CAP_IN(S, 16), &AF_S, lock ? "LOCK" : "AUTO", sel ? T_INK : lock ? T_ACCENT : T_MID, bg);
GFX_HOOK_ALIGN(0, y, 0, y + 16, AL_V, "list row text centred up/down");
cv_text_on(54, y + CAP_IN(S, 16), &AF_S, b, sel ? T_INK : T_MID, bg);
param_format(d, MOTION_VAL(e), b, &unit);
if (unit && unit[0] && str_len(b) + str_len(unit) < sizeof b)
str_cpy(b + str_len(b), unit, sizeof b - str_len(b));
ev_name(t, id, nm);
GFX_HOOK_ALIGN(0, y, 0, y + 16, AL_V, "list row text centred up/down");
cv_free_text(80, y + CAP_IN(S, 16), &AF_S, nm, sel ? T_INK : T_TEXT, bg, 226 - text_w(&AF_S, b) - 8 - 80);
GFX_HOOK_ALIGN(0, y, 0, y + 16, AL_V, "list row text centred up/down");
cv_text_r(226, y + CAP_IN(S, 16), &AF_S, b, sel ? T_INK : T_TEXT, bg);
}
}
}
/* MIXER page: four SURF columns, one under each card: the track number on its cushion (in the accent:
* the selected track) with a REC / ARM / MUTE badge (P_MUTE: the GLO layer's black keys), the sound's short name (a MUTE badge
* when armed and muted), the LEVEL knob (dB inside) with the output meter beside it, then the PAN and REV
@@ -2037,6 +1742,84 @@ static uint16_t sec_col(uint32_t s)
#include "ui_lzhome.c" /* (0.8.5) HOME's lens: ECO, BEING, the critters */
#include "ui_lzedit.c" /* (0.8.5) EDIT's lens panels */
#include "ui_lzpage.c" /* (0.8.5) ENV's, LFO . MOD's, SCL . ARP's, GLO's */
/* (0.9.17) a SEQ page's own marks over the roll (a kit: the grid), column i of the bar shown at x, w px wide:
* PATTERN the notes as long as GATE plays them, the odd steps late by SWING (graph_roll); TRACK its PITCH, the notes
* where they will sound outlined (MID); PLAYHEADS the heads playing, a line each as hot as its number (the one edited
* 3 px); COMP / COMP 2 the steps with that component a bar on top (an arpeggio ACCENT, another THEME); AUTOMATION and
* AUTO LIST every record a mark at the foot (a lock ACCENT, automation TEXT; AUTO LIST's row picked framed THEME);
* MUTATE when the next mutation comes (a chip at the foot) */
static void seq_col(uint32_t dr, uint32_t i, int32_t *x, int32_t *w)
{
*x = dr ? 40 + (int32_t)i * 12 : PR_CX(i);
*w = dr ? 10 : PR_CWI(i);
}
static void seq_overlay(const track_t *t, const page_t *pg)
{
uint32_t dr = drum_track(t), len = (uint32_t)clamp(t->p[P_SLEN], 1, NSTEP), base = ui.bank * 16u, i, k, ti = song.sel % NTRK;
int32_t top = dr ? 19 : PR_Y0, bot = dr ? 19 + 8 * 15 - 1 : PR_Y0 + PR_ROWS * PR_RH, x, w;
if (pg->graph == GR_FUGUE) {
for (k = 0; k < FG_HEADS; k++) {
uint32_t hx = fg_head[ti][k].idx;
if (!fg_set[ti][k].rate || !song.playing || hx >= len || hx / 16u != ui.bank)
continue;
seq_col(dr, hx % 16u, &x, &w);
cv_rect(x + w / 2 - 1, top, k == fg_ui % FG_HEADS ? 3 : 1, bot - top, heat_col(70 + (int32_t)k * 60));
}
} else if (pg->graph == GR_COMP) {
for (i = 0; i < 16u && base + i < len; i++) {
const step_t *st = &seq_steps(t)[base + i];
uint32_t cp = pg->title[4] ? st->comp2 : st->comp;
if (!cp || !step_on(st))
continue;
seq_col(dr, i, &x, &w);
cv_rect(x + 1, top, w - 2, 2, cp >= CP_ARPN && cp <= CP_ARPN + 2u ? T_ACCENT : T_THEME);
}
} else if (pg->graph == GR_MOTION || pg->graph == GR_EVENTS) {
uint8_t idx[MOTION_MAX];
uint32_t n = ev_rows(idx), cur = ev_row(n);
for (k = 0; k < n; k++) {
const motion_event_t *e = &motion.event[idx[k]];
uint32_t sx = MOTION_STEP(e);
if (sx < base || sx >= base + 16u || sx >= len)
continue;
seq_col(dr, sx - base, &x, &w);
cv_rect(x + 2, bot - 3, w - 4, 2, (e->param & MOTION_LOCK) ? T_ACCENT : T_TEXT);
if (pg->graph == GR_EVENTS && k == cur)
cv_frame(x, top, w + 1, bot - top, T_THEME);
}
} else if (pg->graph == GR_MUTATE) {
uint32_t sb = MUT_BARS[(uint32_t)clamp(t->p[P_MSND], 0, 6)], qb = MUT_BARS[(uint32_t)clamp(t->p[P_MPAT], 0, 6)];
uint32_t now = song.playing ? bar_n : 0u, b = 1u;
char m[16];
if (!(sb || qb) || song.sel >= trk_live)
str_cpy(m, "MUTATE OFF", sizeof m);
else if (mut_freeze)
str_cpy(m, "FROZEN", sizeof m);
else {
while (b < 32u && !(sb && (now + b) % sb == 0u) && !(qb && (now + b) % qb == 0u))
b++;
str_cpy(m, "NEXT ", sizeof m);
fmt_int(m + 5, (int32_t)b);
str_cpy(m + str_len(m), b > 1u ? " BARS" : " BAR", 6);
}
w = text_w(&AF_X, m) + 8;
cv_rect(PR_RX + PR_RW - w, bot - 13, w, 13, T_RAISE);
GFX_HOOK_ALIGN(0, bot - 13, 0, bot, AL_V, "MUTATE chip text centred up/down");
cv_text_on(PR_RX + PR_RW - w + 4, bot - 13 + CAP_IN(X, 13), &AF_X, m, T_TEXT, T_RAISE);
} else if (pg->id[0] == P_POFS && !dr && t->p[P_POFS]) {
for (i = 0; i < 16u && base + i < len; i++) {
const step_t *st = &seq_steps(t)[base + i];
if (st->time != ST_NOTE)
continue;
seq_col(dr, i, &x, &w);
for (k = 0; k < st->n && k < 4u; k++) {
int32_t y = pr_row_y(st->note[k] + t->p[P_POFS]);
if (y >= PR_Y0 && y < bot)
cv_frame(x + 1, y, w - 2, PR_RH - 1, T_MID);
}
}
}
}
static void draw_graph(void)
{
const page_t *pg = cur_page();
@@ -2097,12 +1880,13 @@ static void draw_graph(void)
cv_oy = 0;
graph_live(); /* (0.8.5: HOME's lens, ECO / BEING; JIANT 0.5: the system's
* beings, was the scope) */
} else if (bars_view(pg)) { /* (0.8.3) LENTE's PATTERN: PATTERN STRETCH TRACK, the bars */
} else if (seq_roll_view(pg)) { /* (0.9.17) every SEQ page: the roll (a kit: the grid), its marks */
cv_oy = 0;
graph_bars(t, c);
} else if (bigstep_view(pg)) { /* .. its STEP: NOTE COMP COMP 2, the step large */
cv_oy = 0;
graph_bigstep(t, pg, c);
if (drum_track(t))
graph_grid(t, c);
else
graph_roll(t, c);
seq_overlay(t, pg);
} else if (lz_on() && lz_fam() == LZ_SAVE) { /* (0.8.5) SAVE's lens */
cv_oy = 0;
graph_save_lz(pg);
@@ -2122,9 +1906,6 @@ static void draw_graph(void)
case GR_ADSR:
graph_adsr(t, c);
break;
case GR_MUTATE:
graph_mutate();
break;
case GR_MORPH:
graph_morph(t);
break;
@@ -2135,9 +1916,6 @@ static void draw_graph(void)
} else
graph_dximg(t);
break;
case GR_FUGUE:
graph_fugue(t);
break;
case GR_ROLL:
case GR_CHANCE:
case GR_SHAPE: /* (0.6.85) STRETCH: the whole sequence, as the roll shows it */
@@ -2151,10 +1929,6 @@ static void draw_graph(void)
cv_oy = 0;
graph_pats();
break;
case GR_EVENTS:
cv_oy = 0;
graph_events();
break;
case GR_FMOP: /* (0.6.10) FM6's operators: (0.9.6) the colony (ui_engvis.c), the operator */
case GR_FMOP2: /* picked lit */
if (fop_ok()) vx_fm6_page(t, fop_op % 6u, pg->graph == GR_FMOP2);
+1 -1
View File
@@ -1633,7 +1633,7 @@ static void sound_dice_of(track_t *t, int quiet)
if (!quiet) ui_message("KIT DICED");
return;
}
if (ENGINES[e]->npresets) { /* (0.9.18) never one of the last four this engine gave */
if (ENGINES[e]->npresets) { /* (0.9.17) never one of the last four this engine gave */
static uint16_t last[4];
uint32_t n = ENGINES[e]->npresets, p = 0, tries, j;
for (tries = 0; tries < 8u; tries++) {
+70 -13
View File
@@ -544,7 +544,7 @@ static void session_dice(uint32_t seed)
rng_state ^= seed * 2654435761u;
if (!rng_state)
rng_state = 0x1234567u;
gp.seed = (uint16_t)(rng() % 10000u); /* (0.9.18) GEN's SEED this session's: the first OCT+ after
gp.seed = (uint16_t)(rng() % 10000u); /* (0.9.17) GEN's SEED this session's: the first OCT+ after
* power-on made the same piece every time (SEED 0001) */
macro_dice(0);
}
@@ -659,13 +659,43 @@ static void pm_knob(uint32_t k, int32_t s)
if (!k)
live_publish();
}
/* (0.9.17) the glitcher's knobs while its key is down (perform.c perf_gp: these ranges; its defaults; never saved) */
static const char *const GX_GSZ[4] = {"LONG", "MID", "SHORT", "TINY"};
static const char *const GX_TIME[5] = {"1/64", "1/32", "1/16", "1/8", "1/4"};
static const char *const GX_SSZ[3] = {"1/4", "1/8", "1/16"};
static const char *const GX_FSZ[5] = {"1/128", "1/64", "1/32", "1/16", "1/8"};
static const struct { const char *lab; int8_t min, max; uint8_t fmt, nm; } GX_K[4][4] = { /* (nm: GX_NAMES' list) */
{{"DENS", 0, 100, F_PCT, 0}, {"PITCH", -12, 12, F_SEMI, 0}, {"SIZE", 0, 3, F_ENUM, 1}, {"VARI", 1, 16, F_INT, 0}}, /* GLITCH */
{{"SCRATCH", 0, 0, F_INT, 0}, {"TIME", 0, 4, F_ENUM, 2}, {"CURVE", -100, 100, F_INT, 0}, {"", 0, 0, F_INT, 0}}, /* TAPE */
{{"AMOUNT", 0, 100, F_PCT, 0}, {"SIZE", 0, 2, F_ENUM, 3}, {"SPEED", 0, 100, F_PCT, 0}, {"VARI", 1, 16, F_INT, 0}}, /* SHUFFLE */
{{"DENS", 0, 100, F_PCT, 0}, {"PITCH", -12, 12, F_SEMI, 0}, {"SPRAY", 0, 100, F_PCT, 0}, {"SIZE", 0, 4, F_ENUM, 4}}}; /* FREEZE */
static const char *const *const GX_NAMES[5] = {0, GX_GSZ, GX_TIME, GX_SSZ, GX_FSZ};
static param_desc_t gx_desc(uint32_t x, uint32_t k) /* (as a page's parameter: param_format, RATIO) */
{
param_desc_t d = {GX_K[x][k].lab, GX_K[x][k].fmt, GX_K[x][k].min, GX_K[x][k].max, 0, GX_NAMES[GX_K[x][k].nm], 0};
return d;
}
static const uint8_t GX_IC[4][4] = {{ICON_PROB, ICON_PITCH, ICON_LENGTH, ICON_SHAPE}, {ICON_SWEEP, ICON_TIME, ICON_SHAPE, ICON_NONE},
{ICON_PROB, ICON_SLICE, ICON_RATE, ICON_SHAPE}, {ICON_GRAIN, ICON_PITCH, ICON_NOISE, ICON_SIZE}};
static void gx_knob(uint32_t x, uint32_t k, int32_t s)
{
int32_t lo = GX_K[x][k].min, hi = GX_K[x][k].max;
if (x == GX_TAPE && !k)
perf_scr += (uint32_t)s; /* SCRATCH: the hand on the record (perform.c perf_scratch) */
else if (hi)
perf_gp[x][k] = (int8_t)clamp(perf_gp[x][k] + accel(EN_K1 + k, s, hi - lo), lo, hi);
}
/* KNOB 1..4 in the open layer: its own (FX macros, GLO levels, EDIT's sound), else the four of its page */
static void layer_knob(uint32_t k, int32_t s)
{
uint32_t l = layer_open();
lys.used = 1;
if (l == LAYER_FX) { /* (0.9.14) the performance macros (perform.c perf_m), not recorded */
pm_knob(k, s);
if (l == LAYER_FX) { /* (0.9.14) the performance macros (perform.c perf_m), not recorded; */
uint32_t g = perf_gfocus(); /* (0.9.17) a glitcher's key down: its own */
if (g == PF_N)
pm_knob(k, s);
else
gx_knob(perf_gx(g), k, s);
} else if (l == LAYER_GLO) { /* T1..T4 LEVEL (T5, T6 selected: T3..T6), recorded as on MIXER */
track_t *t = &trk[k + trk_base4()];
int16_t *vp = &t->p[P_LEVEL];
@@ -814,7 +844,7 @@ static uint32_t layer_leds(uint32_t *br)
* the Felucca map.) The keys and knobs do what they did: only the drawing is new */
static const char *const PF_NAME[PF_M1] = {"RPT 1/8", "RPT 1/16", "RPT 1/32", "GLITCH", "TAPE STOP", /* the audio ones */
"OCT-", "OCT+", "1/2 TEMPO", "DEC-", "DEC+", "STUT 1/8", "STUT 1/16", "ATK+", "ARP", "RANDOM", /* the MIDI ones (pfx.c) */
"FILTER", "CRUSH", "THROW"}; /* (0.9.14) the sweeps (black keys C#5 D#5 F#5) */
"SHUFFLE", "CRUSH", "THROW", "FREEZE"}; /* (0.9.17) C#5 SHUFFLE, (0.9.14) the sweeps D#5 F#5, G#4 FREEZE */
static const char W_NOTE[16] = {'F', 'G', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'A', 'B', 'C', 'D', 'E', 'F', 'G'};
static const char B_NOTE[11] = {'F', 'G', 'A', 'C', 'D', 'F', 'G', 'A', 'C', 'D', 'F'}; /* black keys 1..11: F# G# .. F#5 */
static const uint8_t PK_BLK[11] = {1, 2, 3, 5, 6, 8, 9, 10, 12, 13, 15}; /* a black key: left of white key n */
@@ -866,20 +896,21 @@ static uint32_t ly_keyname(uint32_t l, int blk, uint32_t p, char *nm)
uint32_t busy = chain_busy() ? LS_DIM : LS_OFF;
nm[0] = 0;
if (l == LAYER_FX) {
uint32_t held = perf_kill ? 0u : perf_held | perf_latched, e = blk ? (p >= 8u ? PF_SFLT + p - 8u : PF_M1 + p) : p;
uint32_t held = perf_kill ? 0u : perf_held | perf_latched,
e = blk ? (p >= 8u ? PF_SHUF + p - 8u : p == 6u ? PF_FRZ : PF_M1 + p) : p;
static const char *const TG[3] = {"TRK ALL", "TRK SYN", "TRK DRM"};
if (blk && p == 7u) {
str_cpy(nm, TG[pfx_tgt % 3u], 12);
return LS_OFF;
}
if (blk ? p >= NTRK && p < 8u : p >= PF_SFLT)
if (blk ? p == 7u : p >= PF_NW)
return LS_OFF;
if (blk && p < NTRK) {
str_cpy(nm, "MUTE T1", 12);
nm[6] = (char)('1' + p);
return (held >> e) & 1u ? LS_MUTE : LS_OFF;
}
str_cpy(nm, PF_NAME[e], 12); /* (0.9.14: a sweep's black key too) */
str_cpy(nm, PF_NAME[e], 12); /* (0.9.14: a sweep's black key too; 0.9.17 FREEZE, SHUFFLE) */
return !((perf_avail() >> e) & 1u) ? LS_DIM : !((held >> e) & 1u) ? LS_OFF :
((perf_act >> e) & 1u) || ((PF_MIDI >> e) & 1u) ? LS_HELD : LS_WAIT;
}
@@ -1024,7 +1055,20 @@ static void layer_cards(uint32_t l)
char val[12];
const char *unit;
uint32_t c;
if (l == LAYER_FX) { /* (0.9.14) STEPS TRANSPOSE MUTATE FILTER: OFF dim at the left */
if (l == LAYER_FX && perf_gfocus() != PF_N) { /* (0.9.17) a glitcher's key down: its four */
uint32_t x = perf_gx(perf_gfocus());
for (c = 0; c < 4u; c++) {
param_desc_t d = gx_desc(x, c);
int32_t v = perf_gp[x][c];
if (!d.max) { /* (TAPE: SCRATCH, once stopped; the empty card) */
draw_column(c, d.label, !d.label[0] ? "" : pf.mode == BM_TAPE && pf.state ? "TURN" : "-", "",
d.label[0] && pf.mode == BM_TAPE && pf.state ? VAL(c) : T_DIM, -1, GX_IC[x][c]);
continue;
}
param_format(&d, v, val, &unit);
draw_column(c, d.label, val, unit, VAL(c), RATIO(&d, v), GX_IC[x][c]);
}
} else if (l == LAYER_FX) { /* (0.9.14) STEPS TRANSPOSE MUTATE FILTER: OFF dim at the left */
static const char *const ST[5] = {"OFF", "1/2", "1/4", "1/8", "1 STEP"};
static const char *const TR[8] = {"OFF", "+2ND", "+3RD", "+4TH", "+5TH", "+6TH", "+OCT", "-OCT"};
static const char *const NM[4] = {"STEPS", "TRANSP", "MUTATE", "FILTER"};
@@ -1085,7 +1129,16 @@ static void layer_cards(uint32_t l)
* on. The header "[FX] HELD"; the breadcrumb "LENTE . MAP . FX" */
static const khint_t *layer_foot(uint32_t l)
{
return l == LAYER_FX && perf_latch_on ? FX_LATCH_FOOT : l == LAYER_MACRO && !layer_open() ? MAC_LATCH_FOOT : LAYERS[l].foot;
static const char *const GX_FOOT[4] = {"GLITCH", "TAPE STOP", "SHUFFLE", "FREEZE"};
static khint_t gf[3];
const khint_t *f = l == LAYER_FX && perf_latch_on ? FX_LATCH_FOOT : l == LAYER_MACRO && !layer_open() ? MAC_LATCH_FOOT
: LAYERS[l].foot;
if (l == LAYER_FX && perf_gfocus() != PF_N) { /* (0.9.17) a glitcher's key down: K1-4 are its knobs */
memcpy(gf, f, sizeof gf);
gf[1].act = GX_FOOT[perf_gx(perf_gfocus())];
return gf;
}
return f;
}
static void layer_knobs(uint32_t l) /* the four as gauges in their knobs' colours, the keys' words */
{
@@ -1157,7 +1210,7 @@ static void layer_state(uint32_t l)
lst_chip("MACROS", perf_m[0] | perf_m[1] | perf_m[2] | perf_m[3] ? "ON" : "OFF",
(perf_m[0] | perf_m[1] | perf_m[2] | perf_m[3]) != 0);
for (e = 0; e < PF_M1; e++) /* (0.9.14: the effects on, a sweep still on its way back) */
if (((held >> e) & 1u) || (e >= PF_SFLT && pf.sw[e - PF_SFLT]))
if (((held >> e) & 1u) || ((PF_SWEEP >> e) & 1u && pf.sw[e - PF_SCRU]))
lst_chip(PF_NAME[e], 0, 1);
} else if (l == LAYER_GLO) { /* the tracks, the DRUM groups, UNDO */
for (k = 0; k < NTRK; k++) {
@@ -1216,11 +1269,15 @@ static void draw_layer(void)
{
uint32_t l = ui.layer % LAYER_N, sig = l * 7919u + ux.gen * 977u;
layer_cards(l);
if (l == LAYER_FX)
if (l == LAYER_FX) {
uint32_t k;
sig += (perf_kill ? 0u : perf_held | perf_latched) * 31u + perf_latch_on * 11u + perf_act * 131u + perf_avail() * 7u +
((uint32_t)perf_m[0] | (uint32_t)perf_m[1] << 8 | (uint32_t)perf_m[2] << 16 | (uint32_t)perf_m[3] << 24) * 5u +
(pf.sw[0] ? 1u : 0u) * 977u + (pf.sw[1] ? 2u : 0u) * 977u + (pf.sw[2] ? 4u : 0u) * 977u;
else if (l == LAYER_GLO)
(pf.sw[0] ? 1u : 0u) * 977u + (pf.sw[1] ? 2u : 0u) * 977u +
(perf_gfocus() + 1u) * 2971u + (uint32_t)(pf.mode == BM_TAPE && pf.state) * 6151u;
for (k = 0; k < 16u; k++) /* (0.9.17: a glitcher's key down, its knobs) */
sig = (sig ^ (uint8_t)perf_gp[k / 4u][k % 4u]) * 16777619u;
} else if (l == LAYER_GLO)
sig += perf_solo * 31u + (uint32_t)song.g[G_CLOCK] * 5u +
(uint32_t)(trk[0].p[P_MUTE] | trk[1].p[P_MUTE] << 1 | trk[2].p[P_MUTE] << 2 | trk[3].p[P_MUTE] << 3 |
trk[4].p[P_MUTE] << 4 | trk[5].p[P_MUTE] << 5) * 131u +
+30
View File
@@ -260,6 +260,36 @@ int main(int argc, char **argv)
check("CLOUD's line never clamps (any send), nor ROOM's combs / allpasses under it up to ROOM_CLEAN's send", !any_clamp);
check("CLOUD never trips the buses' range check (FX_SANE) up to a 200000 send", !worst_trip);
check("CLOUD AIR +24: no grain reads across the write head", cross_air == 0);
{ /* (0.9.16) the tester: "CLOUD at SIZE 100 % seems off". SIZE 127 (FREEZE) from a cleared line held silence
* (fx_rest clears it in any pause); and past 2 grains' overlap the grains fell 12 dB (high RATE). Now a
* cleared line first takes a line's worth of sound, then holds; the level about even across RATE. */
static const int RT[5] = {0, 30, 60, 90, 127};
double e[3][5];
uint32_t b, k, i;
int ok = 1;
stats_t st;
for (k = 0; k < 3u; k++)
for (b = 0; b < 5u; b++) {
double s0 = 0, s1 = 0;
cl_reset();
song.g[G_RSIZE] = (int16_t)(k == 0 ? 127 : k == 1 ? 126 : 100); song.g[G_RRATE] = (int16_t)RT[b];
song.g[G_RMOD] = 0; song.g[G_RWIDE] = 0; song.g[G_RPRE] = 0;
render(16000, 1.0, wl, wr, &st);
for (i = FS * 3u / 4u; i < 2u * FS; i++) s0 += (double)wl[i] * wl[i] + (double)wr[i] * wr[i];
for (i = 3u * FS; i < 4u * FS; i++) s1 += (double)wl[i] * wl[i] + (double)wr[i] * wr[i];
e[k][b] = 10.0 * log10(s0 / (2.5 * FS) + 1.0);
if (k == 0) {
double held = 10.0 * log10(s1 / (2.0 * FS) + 1.0);
printf("cloud: SIZE 127 RATE %3d: %5.1f dB with the send, %5.1f dB held 1-2 s after it\n", RT[b], e[0][b], held);
ok &= held > e[0][b] - 6.0;
}
}
for (b = 0; b < 5u; b++) {
printf("cloud: RATE %3d: SIZE 127 %5.1f dB, 126 %5.1f dB, 100 %5.1f dB\n", RT[b], e[0][b], e[1][b], e[2][b]);
ok &= e[0][b] > e[1][b] - 6.0 && e[2][b] > e[2][0] - 8.0;
}
check("CLOUD SIZE 127 from a cleared line, any RATE: sounds (within 6 dB of 126) and holds; RATE 127 within 8 dB of 0", ok);
}
printf(bad ? "cloud hot test FAILED\n" : "cloud hot test passed\n");
return bad != 0;
}
+9
View File
@@ -19,6 +19,15 @@ eng/VOICE 1592
eng/VOICE.EN 1778
eng/VOICE.ES 1796
eng/WHEEL 2149
fx/FREEZE 3283
fx/FREEZE.max 3296
fx/GLITCH 3225
fx/GLITCH.max 3271
fx/R16 3193
fx/SCRATCH 3237
fx/SHUFFLE 3282
fx/SHUFFLE.max 3292
fx/TAPE 3246
idle/stopped 120
mix/full 2666
mix/v12 3925
+42
View File
@@ -21,6 +21,8 @@
* seqtick/live .. every track under GLO > LIVE's modifiers (seq_live.c: x2, a LOOP of 4, REV, THIN 30 %, GIRO +1)
* song/cputest SAVE > TOOLS 6 CPU TEST's song (song_dice.c cpu_test_song), playing: what the device is measured on
* song/cputest.djf (0.9.1) .. with the master DJ FILTER on (GLO > MIXER KNOB 4 at -24, a low-pass): its cost on top
* fx/<EFFECT> (0.9.17) the CPU TEST song with an FX layer buffer effect held (REPEAT 1/16, GLITCH, TAPE STOP, its
* SCRATCH, SHUFFLE, FREEZE; .max at their heaviest knobs): the mean of its rounds (cpu_vg.py)
* idle/stopped (0.9.16) that song stopped and every tail out: the audio at rest (both cores' work)
* peak/VOICE.EN6 (0.9.0, last) six VOICE EN tracks starting a word in one block: that block's instructions, the worst
* of 24 rounds (cpu_vg.py: not per sample) */
@@ -235,6 +237,46 @@ int main(void)
song.g[G_DJF] = -24; /* (0.9.1) the same song through the DJ FILTER (a low-pass, ~1.4 kHz) */
vg_section("song/cputest.djf");
song.g[G_DJF] = 0;
{ /* (0.9.17) fx/<EFFECT>: the same song with an FX layer buffer effect held, rounds of NB blocks (cpu_vg.py: their
* mean): REPEAT 1/16 (for scale), the glitcher at its defaults and at its heaviest (.max) */
static const struct { const char *n; uint8_t e, rounds, k, v; uint16_t pre; } FXS[] = {
{"fx/R16", PF_R16, 4, 0, 0, 64}, {"fx/GLITCH", PF_GLT, 8, 0, 0, 64},
{"fx/GLITCH.max", PF_GLT, 8, 0, 100, 64}, {"fx/TAPE", PF_TAPE, 1, 0, 0, 8},
{"fx/SCRATCH", PF_TAPE, 4, 1, 0, 1200}, {"fx/SHUFFLE", PF_SHUF, 8, 0, 0, 900},
{"fx/SHUFFLE.max", PF_SHUF, 8, 0, 100, 900}, {"fx/FREEZE", PF_FRZ, 4, 0, 0, 400},
{"fx/FREEZE.max", PF_FRZ, 4, 0, 100, 400}};
uint32_t f, r, b;
for (f = 0; f < sizeof FXS / sizeof FXS[0]; f++) {
if (FXS[f].v) { /* (.max: GLITCH DENS 100 PITCH +12 TINY; SHUFFLE AMOUNT and SPEED
* 100; FREEZE DENS 100 (4 grains) SPRAY 100 PITCH +12) */
perf_gp[GX_GLT][0] = 100; perf_gp[GX_GLT][1] = 12; perf_gp[GX_GLT][2] = 3;
perf_gp[GX_SHUF][0] = 100; perf_gp[GX_SHUF][2] = 100;
perf_gp[GX_FRZ][0] = 100; perf_gp[GX_FRZ][1] = 12; perf_gp[GX_FRZ][2] = 100;
}
perf_press(FXS[f].e, 1);
for (b = 0; b < FXS[f].pre; b++)
mix_block(vo, CTL);
for (r = 0; r < FXS[f].rounds; r++) {
CALLGRIND_ZERO_STATS;
CALLGRIND_START_INSTRUMENTATION;
for (b = 0; b < NB; b++) {
if (FXS[f].k && b % 4u == 0u) /* (SCRATCH: KNOB 1 a detent every 4 blocks, on and back) */
perf_scr += (b / 64u) & 1u ? (uint32_t)-1 : 1u;
mix_block(vo, CTL);
}
snprintf(name, sizeof name, "%s.r%02u", FXS[f].n, r);
CALLGRIND_DUMP_STATS_AT(name);
CALLGRIND_STOP_INSTRUMENTATION;
}
perf_press(FXS[f].e, 0);
for (b = 0; b < 64u; b++)
mix_block(vo, CTL);
if (pf.mode != BM_NONE) { printf("cpu_vg: %s: the effect still on after it was let go\n", FXS[f].n); return 1; }
perf_gp[GX_GLT][0] = 50; perf_gp[GX_GLT][1] = 0; perf_gp[GX_GLT][2] = 0;
perf_gp[GX_SHUF][0] = 60; perf_gp[GX_SHUF][2] = 20;
perf_gp[GX_FRZ][0] = 50; perf_gp[GX_FRZ][1] = 0; perf_gp[GX_FRZ][2] = 30;
}
}
{ /* (0.9.16) idle/stopped: the CPU TEST song stopped, 20 s on (every tail out): the audio at rest, both cores'
* work (the silence path, fx.c mix_hush: the events, the LFOs, the engines' block work; 0.9.14: ~500) */
uint32_t b;
+5 -1
View File
@@ -21,7 +21,7 @@ r = subprocess.run(["valgrind", "--tool=callgrind", "--collect-atstart=yes", "--
if r.returncode:
print("cpu_vg: the run failed\n" + r.stderr[-2000:])
sys.exit(1)
now = {}
now, fx_n = {}, {}
for f in glob.glob(prefix + "*"):
txt = open(f, errors="replace").read()
m = re.search(r"^desc: Trigger: Client Request: (\S+)", txt, re.M)
@@ -29,6 +29,10 @@ for f in glob.glob(prefix + "*"):
if m and t and m.group(1).startswith("peak/"): # (0.9.0) one block each: the worst of its rounds (.rNN)
k = re.sub(r"\.r\d+$", "", m.group(1))
now[k] = max(now.get(k, 0), int(t.group(1)))
elif m and t and m.group(1).startswith("fx/"): # (0.9.17) rounds of NB blocks (.rNN): their mean
k = re.sub(r"\.r\d+$", "", m.group(1))
fx_n[k] = fx_n.get(k, 0) + 1
now[k] = now.get(k, 0) + (int(t.group(1)) / SAMPLES - now.get(k, 0)) / fx_n[k]
elif m and t:
now[m.group(1)] = int(t.group(1)) / SAMPLES
if not now:
+1 -1
View File
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant)
* (0.9.18) the dice measured (not a test: numbers): consecutive presses of every DICE path from a fresh power-on and
* (0.9.17) the dice measured (not a test: numbers): consecutive presses of every DICE path from a fresh power-on and
* mid-session, as the owner presses them. GEN (HOME + SELECT, OCT+ again: a new seed) per genre and EXPLORE; SEQ +
* SELECT (the selected track's sequence); EDIT + SELECT (its sound). Per role: the share of a press's part the same as
* the press before (exact, near: 90 % of its steps, transposition-invariant) and as one of the 8 before; the distinct
+5 -5
View File
@@ -857,9 +857,9 @@ static int menu_protocol(void)
if (i == 20u) ok &= !strcmp(it.name, "MIDI OUT") && it.id == 20; /* (0.6.72) */
}
menu_desc(21, &it);
ok &= !strcmp(it.name, "SKIN") && it.id == 21 && it.tab == 0 && it.value == 1 && it.max == 3 && /* (0.8.9) DISPLAY; (0.9.7)
* AIR first: COLORS (the tests' settings) at 1 */
!strcmp(it.names[0], "AIR") && !strcmp(it.names[1], "COLORS") && !strcmp(it.names[2], "BOTTOM") && !strcmp(it.names[3], "HUD");
ok &= !strcmp(it.name, "SKIN") && it.id == 21 && it.tab == 0 && it.value == 1 && it.max == 2 && /* (0.8.9) DISPLAY; (0.9.7)
* AIR first: COLORS (the tests' settings) at 1; 0.9.17: no BOTTOM */
!strcmp(it.names[0], "AIR") && !strcmp(it.names[1], "COLORS") && !strcmp(it.names[2], "HUD");
menu_desc(22, &it); /* (0.9.7) SCOPE, a row of DISPLAY: OFF (the default) ON */
ok &= !strcmp(it.name, "SCOPE") && it.id == 22 && it.tab == 0 && it.value == 0 && it.max == 1 && !strcmp(it.names[0], "OFF") &&
!strcmp(it.names[1], "ON");
@@ -922,8 +922,8 @@ static int menu_protocol(void)
ok &= menu_set(5, 8191) == 3 && ed_rv(host_wire + 7) == 3 && settings_hold == 3u;
ok &= menu_set(2, 7) == 3 && ed_rv(host_wire + 7) == 1 && (ui_prefs & PREF_LARGE);
ok &= menu_set(14, 9) == 3 && ed_rv(host_wire + 7) == 2 && cin_bars == 2u;
ok &= menu_set(21, 3) == 3 && ed_rv(host_wire + 7) == 3 && ui_skin == SKIN_HUD; /* (0.8.9) SKIN HUD (0.9.7: 3) */
ok &= menu_set(21, 9) == 3 && ed_rv(host_wire + 7) == 3 && ui_skin == SKIN_HUD; /* (clamped) */
ok &= menu_set(21, 2) == 3 && ed_rv(host_wire + 7) == 2 && ui_skin == SKIN_HUD; /* (0.8.9) SKIN HUD (0.9.17: 2) */
ok &= menu_set(21, 9) == 3 && ed_rv(host_wire + 7) == 2 && ui_skin == SKIN_HUD; /* (clamped) */
ok &= menu_set(21, 0) == 3 && ed_rv(host_wire + 7) == 0 && ui_skin == SKIN_AIR; /* (0.9.7) AIR, the menu's first */
ok &= menu_set(21, 1) == 3 && ui_skin == SKIN_COLORS;
ok &= menu_set(12, -1) == 3 && ed_rv(host_wire + 7) == 0 && click_mode == CLICK_OFF;
+4 -4
View File
@@ -821,7 +821,7 @@ int main(void)
bad += gcheck("(0.9.13) a chord progression (two chords or more) in 90 % of the pieces; ANIMAL on under 5 % of EXPLORE's parts",
prog * 10u >= n * 9u && anim * 20u < xtr);
}
{ /* (0.9.18) the dice's variety and its melodies (tests/dice_metrics.c measures them at length): OCT+ pressed 24
{ /* (0.9.17) the dice's variety and its melodies (tests/dice_metrics.c measures them at length): OCT+ pressed 24
* times a genre (MICRO HOUSE among them: the owner's), a part the same as the press before (90 % of its steps,
* transposed to the key) seldom, the sounds of a part many, the press before's seldom; the power-on's first
* piece not the same every session; SEQ + SELECT on the piece's harmony, never the same twice running; EDIT +
@@ -874,10 +874,10 @@ int main(void)
}
}
}
printf("gen: (0.9.18) 6 genres x 24 presses: a part near the press before's in %u of %u, the press before's sound in %u of %u;"
printf("gen: (0.9.17) 6 genres x 24 presses: a part near the press before's in %u of %u, the press before's sound in %u of %u;"
" MICRO HOUSE's lead %u sounds; the lead: steps %u %%, leaps past a fifth %u %%, off the eighths %u %%, held at the top %u of %u\n",
near, parts, sndrep, snd, nml, liv ? lstep * 100u / liv : 0u, liv ? lleap * 100u / liv : 0u, lon ? loff * 100u / lon : 0u, lfull, nl);
bad += gcheck("(0.9.18) DICE: a part near the press before's under 8 %, its sound the press before's under 25 %", near * 100u < parts * 8u && sndrep * 4u < snd);
bad += gcheck("(0.9.17) DICE: a part near the press before's under 8 %, its sound the press before's under 25 %", near * 100u < parts * 8u && sndrep * 4u < snd);
bad += gcheck(" MICRO HOUSE's lead: 8 sounds at least in 24 presses (0.9.17: 7 in 40)", nml >= 8u);
bad += gcheck(" the lead by steps (40 % at least), leaps past a fifth under 5 %, 12 % at least off the eighths", lstep * 100u >= liv * 40u && lleap * 100u < liv * 5u && loff * 100u >= lon * 12u);
bad += gcheck(" the lead's envelope: no release at full sustain never, held at 79 % or more under 15 %", !lflat && lfull * 100u < nl * 15u);
@@ -900,7 +900,7 @@ int main(void)
for (i = 0; i < dlen(&trk[ld]); i += 4u)
if (trk[ld].step[i].time == ST_NOTE && trk[ld].step[i].n) { seq_st++; seq_ct += (gchord_pcs(i) >> (trk[ld].step[i].note[0] % 12u)) & 1u; }
}
printf("gen: (0.9.18) SEQ + SELECT x 20 on HOUSE 0077's lead: strong steps on the piece's chord tones %u of %u, the same twice running %u\n", seq_ct, seq_st, seq_same);
printf("gen: (0.9.17) SEQ + SELECT x 20 on HOUSE 0077's lead: strong steps on the piece's chord tones %u of %u, the same twice running %u\n", seq_ct, seq_st, seq_same);
bad += gcheck(" SEQ + SELECT: on the piece's chords (75 % of the strong steps; 0.9.17: 58 %), never the same twice running", ld < NTRK && seq_ct * 4u >= seq_st * 3u && !seq_same);
}
{ /* EDIT + SELECT x 30, on FM6 (15 presets) */
+429 -52
View File
@@ -21,6 +21,8 @@
* of the transport (two bars), every kind of slice, no click (a 110 Hz sine), live back bit for bit; TAPE STOP:
* the pitch falling, silent after a beat, no click; the lane records and plays them.
* Demos (WAV) into DEMO_DIR. TONIC removed REVERSE, FREEZE and OCT UP / DN (perform.c). */
static unsigned pt_hushed; /* (0.9.17) blocks the silence path took (fx.c mix_silent) */
#define HUSH_COUNT() (pt_hushed++)
#define main hostsim_main
#include "hostsim.c"
#undef main
@@ -64,6 +66,7 @@ static void perf_reset(void)
/* the stage alone on the test signal: samples [t0, t1); ev: press (+e + 1) / let go (-(e + 1)) at block bt */
typedef struct { uint32_t t; int e; } ev_t;
static int busy_seen;
static uint8_t blk_cru[NT / CTL + 1]; /* (0.9.17) a block in a GLITCH CRUSH slice (its steps are the crusher's) */
static void run(uint32_t bpm, int playing, const ev_t *ev, uint32_t nev, uint32_t t1)
{
uint32_t t, k = 0;
@@ -82,10 +85,12 @@ static void run(uint32_t bpm, int playing, const ev_t *ev, uint32_t nev, uint32_
memcpy(out_r + t, in_r + t, CTL * 4);
clk_pos = t % div_samples(2); /* (the transport's 1/16 at the block's start, as events_block leaves it) */
clk_n = t / div_samples(2);
blk_cru[t / CTL] = pf.mode == BM_GLT && pf.u.g.a == GA_CRU;
if (perf_begin(CTL)) {
busy_seen = 1;
perf_block(out_l + t, out_r + t, CTL);
}
blk_cru[t / CTL] |= pf.mode == BM_GLT && pf.u.g.a == GA_CRU;
}
}
#define P16 5512u /* a 1/16 at 120 BPM */
@@ -426,7 +431,8 @@ static int test_misc(void)
char what[160];
static const struct { const char *name; int e; uint32_t off; } C[] = {
{"REPEAT 1/8", PF_R8, 30000}, {"REPEAT 1/16", PF_R16, 30000}, {"REPEAT 1/32", PF_R32, 30000},
{"GLITCH", PF_GLT, 170000}, {"TAPE STOP", PF_TAPE, 30000}};
{"GLITCH", PF_GLT, 170000}, {"TAPE STOP", PF_TAPE, 30000}, {"SHUFFLE", PF_SHUF, 220000},
{"FREEZE", PF_FRZ, 60000}};
uint32_t c, t;
int32_t own;
test_signal(110, 16000, 110, 16000);
@@ -438,9 +444,11 @@ static int test_misc(void)
run(133, 1, ev, 2, C[c].off + 9000);
for (t = 1; t < C[c].off + 9000; t++) {
int32_t d = abs(out_l[t] - out_l[t - 1]);
mx = d > mx ? d : mx;
if (!blk_cru[t / CTL] && !blk_cru[(t - 1u) / CTL])
mx = d > mx ? d : mx;
}
snprintf(what, sizeof what, "no clicks: %s on a 110 Hz sine, in and out: largest step %d (sine %d)", C[c].name, mx, own);
snprintf(what, sizeof what, "no clicks: %s on a 110 Hz sine, in and out: largest step %d (sine %d)%s", C[c].name, mx, own,
C[c].e == PF_GLT ? " (not in CRUSH)" : "");
bad += check(what, mx <= 4 * own);
bad += check(" back to the live signal, bit for bit", same(C[c].off + 3000, C[c].off + 9000));
}
@@ -450,9 +458,12 @@ static int test_misc(void)
in_r[t] = (t / 53u) & 1u ? 120000 : -120000;
}
{
ev_t e2[] = {{0, PF_SCRU + 1}, {0, PF_GLT + 1}, {90000, PF_R16 + 1}, {150000, PF_TAPE + 1}};
run(120, 1, e2, 4, 200000);
snprintf(what, sizeof what, "4x full scale through the CRUSH sweep + GLITCH, REPEAT, TAPE: peak %d (no wrap)",
ev_t e2[] = {{0, PF_SCRU + 1}, {0, PF_GLT + 1}, {90000, PF_R16 + 1}, {150000, PF_TAPE + 1}, {170000, PF_FRZ + 1},
{190000, PF_SHUF + 1}};
perf_gp[GX_GLT][1] = 12; /* (the repeats rising: up to 4x) */
run(120, 1, e2, 6, 200000);
perf_gp[GX_GLT][1] = 0;
snprintf(what, sizeof what, "4x full scale through the CRUSH sweep + GLITCH, REPEAT, TAPE, FREEZE, SHUFFLE: peak %d (no wrap)",
peak(out_l, 0, 200000) > peak(out_r, 0, 200000) ? peak(out_l, 0, 200000) : peak(out_r, 0, 200000));
bad += check(what, peak(out_l, 0, 200000) < 300000 && peak(out_r, 0, 200000) < 300000);
}
@@ -515,7 +526,7 @@ static uint64_t instr_now(void)
}
static double cost_run(int on)
{
static const int ALL[] = {PF_GLT, PF_SFLT, PF_SCRU, PF_STHR, PF_M1 + 2};
static const int ALL[] = {PF_GLT, PF_SCRU, PF_STHR, PF_M1 + 2};
uint32_t f, k;
uint64_t i0;
int32_t o[2 * CTL];
@@ -546,7 +557,7 @@ static int test_cost(void)
printf("perform: cost: no instruction counter on this host\n");
return 0;
}
snprintf(what, sizeof what, "cost: the song %.0f instructions / sample idle, %.0f with GLITCH+FILTER+CRUSH+THROW+MUTE: +%.0f",
snprintf(what, sizeof what, "cost: the song %.0f instructions / sample idle, %.0f with GLITCH+CRUSH+THROW+MUTE: +%.0f",
idle, on, on - idle);
bad = check(what, on - idle < 400);
printf("perform: cost: over the idle song: REPEAT 1/16 alone +%.0f (the layer's own stage)\n", rep - idle);
@@ -559,7 +570,7 @@ static void demo_at(uint32_t t)
static const struct { uint32_t t; int e; } D[] = { /* press +(e + 1), let go -(e + 1) */
{88192, PF_R8 + 1}, {110080, -(PF_R8 + 1)}, {110080, PF_R16 + 1}, {121088, PF_R32 + 1},
{126592, -(PF_R32 + 1)}, {132096, -(PF_R16 + 1)}, {132096, PF_GLT + 1}, {220288, -(PF_GLT + 1)},
{220288, PF_SFLT + 1}, {308480, -(PF_SFLT + 1)}, {330496, PF_TAPE + 1}, {352512, -(PF_TAPE + 1)},
{220288, PF_SHUF + 1}, {308480, -(PF_SHUF + 1)}, {330496, PF_TAPE + 1}, {352512, -(PF_TAPE + 1)},
{374528, PF_SCRU + 1}, {418560, -(PF_SCRU + 1)}, {440896, PF_M1 + 1}, {462848, -(PF_M1 + 1)},
{418560, PF_STHR + 1}, {440576, -(PF_STHR + 1)}};
uint32_t i;
@@ -581,7 +592,7 @@ static void demos(const char *dir)
for (t = 0; t < NT - 4096u; t++)
wav_put(f, song_l[t], song_r[t]);
fclose(f);
printf("perform: demo %s (REPEAT 1/8, a 1/16 -> 1/32 roll, GLITCH, FILTER, TAPE STOP, CRUSH, THROW, MUTE 1)\n", path);
printf("perform: demo %s (REPEAT 1/8, a 1/16 -> 1/32 roll, GLITCH, SHUFFLE, TAPE STOP, CRUSH, THROW, MUTE 1)\n", path);
}
/* ------------------------------------------------- 9. punch-in MIDI --- */
@@ -896,45 +907,18 @@ static int test_sweeps(void)
uint32_t bar = 4u * 22050u, t, k;
int32_t q, h, e, f;
test_signal(440, 12000, 277, 9000);
fresh(120); /* FILTER: 2 bars to the high-pass's end on an S curve */
perf_press(PF_SFLT, 1);
blocks(0, bar / 2u);
q = pf.ss[0];
blocks(bar / 2u, bar);
h = pf.ss[0];
blocks(bar, 2u * bar - 2u * CTL);
e = perf_djf;
blocks(2u * bar - 2u * CTL, 2u * bar + CTL);
f = perf_djf;
snprintf(what, sizeof what, "FILTER sweep at 120 BPM: a quarter of the way %d (S: < 8192), half %d, 2 bars: DJ FILTER %d -> %d",
q, h, e, f);
ok = q > 4600 && q < 5600 && h > 16000 && h < 16800 && e < 63 && e > 55 && f == 63 && pf.sw[0] == 1u << 24;
bad += check(what, ok);
perf_press(PF_SFLT, 0); /* let go: a beat back */
blocks(2u * bar + CTL, 2u * bar + CTL + 11008u);
h = perf_djf;
blocks(2u * bar + CTL + 11008u, 2u * bar + 22050u + 2u * CTL);
snprintf(what, sizeof what, " let go: half way down after half a beat (%d), dry after a beat (%d)", h, perf_djf);
bad += check(what, h > 25 && h < 38 && !perf_djf && !pf.sw[0]);
fresh(90); /* 90 BPM: 2 bars are 235200 samples */
perf_press(PF_SFLT, 1);
blocks(0, 223000u);
ok = pf.sw[0] < (1u << 24);
blocks(223000u, 236000u);
bad += check(" at 90 BPM: not there before 2 bars of 90 (musically timed), there after", ok && pf.sw[0] == 1u << 24);
perf_press(PF_SFLT, 0);
fresh(120); /* the FILTER macro and the sweep: the further one plays */
fresh(120); /* (0.9.17: no FILTER sweep) the FILTER macro: the DJ FILTER's low-pass */
perf_m[3] = 50;
blocks(0, CTL);
ok = perf_djf == -32;
perf_press(PF_SFLT, 1);
blocks(CTL, 2u * bar + 2u * CTL);
ok &= perf_djf == 63;
perf_press(PF_SFLT, 0);
blocks(2u * bar, 3u * bar);
ok &= perf_djf == -32;
perf_m[3] = 100;
blocks(CTL, 2u * CTL);
ok &= perf_djf == -64;
perf_m[3] = 0;
bad += check(" with the FILTER macro at 50 %: its low-pass (-32), the sweep's high-pass over it, back to -32", ok);
blocks(2u * CTL, 3u * CTL);
ok &= !perf_djf;
bad += check("FILTER macro (the layer's one filter, 0.9.17): 50 % -> DJ FILTER -32, 100 % -> -64, off -> 0", ok);
(void)q; (void)h; (void)e; (void)f;
{ /* CRUSH: the bits and the rate fall as it rises; let go, a beat and the ramp later the input bit for bit */
ev_t ev[] = {{0, PF_SCRU + 1}, {2u * 88200u, -(PF_SCRU + 1)}};
int32_t e1, e2;
@@ -949,7 +933,7 @@ static int test_sweeps(void)
{
static uint8_t ga[2][64], seen[2][64];
static int32_t o1[NT];
uint32_t r, n[6] = {0}, agree = 1, both = 0;
uint32_t r, n[8] = {0}, agree = 1, both = 0;
for (r = 0; r < 2u; r++) {
fresh(120);
test_signal(440, 12000, 277, 9000);
@@ -958,7 +942,7 @@ static int test_sweeps(void)
perf_press(PF_GLT, 1);
blocks(t, t + CTL);
if (pf.mode == BM_GLT && pf.gs < 48u && pf.gs != (r ? 8u : 1u)) { /* (its first: live, nothing before) */
ga[r][pf.gs] = pf.ga;
ga[r][pf.gs] = pf.u.g.a;
seen[r][pf.gs] = 1;
}
}
@@ -972,13 +956,14 @@ static int test_sweeps(void)
agree &= ga[0][k] == ga[1][k];
}
for (k = 2; k < 34u; k++) {
n[ga[0][k] % 6u]++;
n[ga[0][k] % 8u]++;
agree &= ga[0][k] == ga[0][k + 32u] || k + 32u >= 48u;
}
snprintf(what, sizeof what, "GLITCH: pressed in step 1 or 8, the same slices at the same steps (%u compared), "
"a 2-bar cycle; in 2 bars: live %u repeat %u reverse %u up %u down %u gate %u", both, n[0], n[1], n[2],
n[3], n[4], n[5]);
bad += check(what, agree && both >= 36u && n[0] >= 8u && n[0] <= 22u && n[1] && n[2] && n[3] && n[4] && n[5]);
"a 2-bar cycle; in 2 bars: live %u repeat %u reverse %u up %u down %u gate %u skip %u crush %u", both,
n[0], n[1], n[2], n[3], n[4], n[5], n[6], n[7]);
bad += check(what, agree && both >= 36u && n[0] >= 8u && n[0] <= 22u && n[1] && n[1] + n[2] + n[3] + n[4] >= 6u &&
n[5] + n[6] + n[7] >= 3u);
fresh(120);
test_signal(440, 12000, 277, 9000);
perf_press(PF_GLT, 1);
@@ -1039,7 +1024,7 @@ static int test_sweeps(void)
for (i = 64u * s16; i < 128u * s16; i += CTL) {
st = ((i - 64u * s16) / s16) & 63u;
mix_block(o, CTL);
if (st == 5u) on5 = (perf_act & PF_BIT(PF_SCRU)) && pf.sw[1];
if (st == 5u) on5 = (perf_act & PF_BIT(PF_SCRU)) && pf.sw[0];
if (st == 10u) on10 = (perf_act & PF_BIT(PF_SCRU)) != 0u;
if (st == 20u && i % s16 > 2u * CTL) ok2 &= pf.mode == BM_GLT; /* (on the lane's own step) */
if (st == 30u && i % s16 > s16 / 2u) ok2 &= pf.mode == BM_TAPE;
@@ -1052,6 +1037,397 @@ static int test_sweeps(void)
return bad;
}
/* ----------------------------------------------- 11. the glitcher (0.9.17) --- */
static void gp_reset(void)
{
static const int8_t D[4][4] = {{50, 0, 0, 1}, {0, 4, 0, 0}, {60, 2, 20, 1}, {50, 0, 30, 2}};
memcpy((void *)perf_gp, D, sizeof D);
}
static uint32_t xings(const int32_t *x, uint32_t a, uint32_t b) /* rising zero crossings, with a +-400 hysteresis */
{
uint32_t c = 0, up = x[a] > 0;
for (; a < b; a++)
if (!up && x[a] > 400) { up = 1; c++; }
else if (up && x[a] < -400) up = 0;
return c;
}
static void glide_signal(void) /* (SHUFFLE) a tone a 1/16 at 120 BPM, each another, phase on */
{
double ph = 0;
uint32_t t;
for (t = 0; t < NT; t++) {
ph += 2 * M_PI * 220.0 * pow(2.0, (double)((t / P16) % 7u) * 2.0 / 12.0) / FS;
in_l[t] = (int32_t)lrint(11000 * sin(ph));
in_r[t] = (int32_t)lrint(9000 * sin(ph + 0.3));
}
}
static int test_glitcher(void)
{
int bad = 0, ok;
char what[240];
uint32_t t, k, v;
/* ---- GLITCH */
gp_reset();
test_signal(440, 12000, 277, 9000);
perf_gp[GX_GLT][0] = 0;
fresh(120);
perf_press(PF_GLT, 1);
blocks(0, 40u * P16);
perf_press(PF_GLT, 0);
blocks(40u * P16, 41u * P16);
bad += check("GLITCH DENS 0: no 1/16 glitched, the input bit for bit", same(0, 41u * P16));
{
uint32_t pass = 0, n = 0;
perf_gp[GX_GLT][0] = 100;
fresh(120);
perf_press(PF_GLT, 1);
for (t = 0; t < 40u * P16; t += CTL) {
blocks(t, t + CTL);
if (pf.mode == BM_GLT && pf.gs >= 3u && pf.gph < CTL) {
n++;
pass += pf.u.g.a == GA_PASS;
}
}
perf_press(PF_GLT, 0);
snprintf(what, sizeof what, "GLITCH DENS 100: every 1/16 glitched once there is a 1/16 to read (%u of %u live)", pass, n);
bad += check(what, !pass && n >= 30u);
}
{
static uint8_t A[3][64];
static const int8_t VR[3] = {1, 2, 1};
memset(A, 0xFF, sizeof A);
for (v = 0; v < 3u; v++) {
gp_reset();
perf_gp[GX_GLT][3] = VR[v];
fresh(120);
perf_press(PF_GLT, 1);
for (t = 0; t < 40u * P16; t += CTL) {
blocks(t, t + CTL);
if (pf.mode == BM_GLT && pf.gs >= 3u && pf.gs < 64u && pf.gph < CTL)
A[v][pf.gs] = pf.u.g.a;
}
perf_press(PF_GLT, 0);
}
bad += check("GLITCH VARI: VARI 2 another pattern, VARI 1 again the same one", !memcmp(A[0], A[2], 64) && memcmp(A[0], A[1], 64));
}
{ /* PITCH: a repeat's k-th segment k * PITCH semitones up (or down), two octaves at most */
int32_t r[2][4];
uint32_t i;
for (i = 0; i < 2u; i++) {
perf_gp[GX_GLT][1] = (int8_t)(i ? -12 : 12);
pf.u.g.a = GA_RPT;
pf.u.g.l = 1000;
pf.u.g.g0 = 20000;
for (k = 0; k < 4u; k++) {
pf.u.g.k = k;
perf_glt_seg();
r[i][k] = pf.u.g.rate;
}
}
snprintf(what, sizeof what, "GLITCH PITCH +12: the repeats at x%.2f x%.2f x%.2f x%.2f; -12: x%.2f x%.2f x%.2f x%.2f",
r[0][0] / 65536.0, r[0][1] / 65536.0, r[0][2] / 65536.0, r[0][3] / 65536.0, r[1][0] / 65536.0,
r[1][1] / 65536.0, r[1][2] / 65536.0, r[1][3] / 65536.0);
bad += check(what, r[0][0] == 65536 && r[0][1] == 131072 && r[0][2] == 262144 && r[0][3] == 262144 &&
r[1][0] == 65536 && r[1][1] == 32768 && r[1][2] == 16384 && r[1][3] == 16384);
gp_reset();
}
{ /* every SIZE and PITCH on a full-scale input: bounded */
int32_t pk = 0;
for (t = 0; t < NT; t++) {
in_l[t] = (t / 37u) & 1u ? 120000 : -120000;
in_r[t] = (t / 53u) & 1u ? 120000 : -120000;
}
for (v = 0; v < 8u; v++) {
gp_reset();
perf_gp[GX_GLT][0] = 100;
perf_gp[GX_GLT][1] = (int8_t)(v & 1u ? 12 : -12);
perf_gp[GX_GLT][2] = (int8_t)(v / 2u);
fresh(120);
perf_press(PF_GLT, 1);
blocks(0, 24u * P16);
perf_press(PF_GLT, 0);
pk = peak(out_l, 0, 24u * P16) > pk ? peak(out_l, 0, 24u * P16) : pk;
pk = peak(out_r, 0, 24u * P16) > pk ? peak(out_r, 0, 24u * P16) : pk;
}
snprintf(what, sizeof what, "GLITCH every SIZE, PITCH +-12, DENS 100, 4x full scale in: peak %d (the input's 120000)", pk);
bad += check(what, pk <= 140000);
gp_reset();
}
/* ---- SHUFFLE */
test_signal(440, 12000, 277, 9000);
perf_gp[GX_SHUF][0] = 0;
fresh(120);
perf_press(PF_SHUF, 1);
blocks(0, 40u * P16);
perf_press(PF_SHUF, 0);
blocks(40u * P16, 41u * P16);
bad += check("SHUFFLE AMOUNT 0: nothing moved, the input bit for bit", same(0, 41u * P16));
{ /* AMOUNT 100, SPEED 0: each moved 1/16 is one of the bar's, as it was (ADPCM, mono): its SNR */
static uint8_t kd[2][64], kk[2][64];
static int32_t o1[NT];
double se = 0, sr = 0, wse = 0;
uint32_t r, moved = 0, beat = 0, far = 0, agree = 1, cmp = 0;
for (r = 0; r < 2u; r++) {
gp_reset();
perf_gp[GX_SHUF][0] = 100;
perf_gp[GX_SHUF][2] = 0;
glide_signal();
fresh(120);
memset(kd[r], 0xFF, 64);
for (t = 0; t < 52u * P16; t += CTL) {
if (t == (r ? (7u * P16 / CTL + 10u) * CTL : 992u))
perf_press(PF_SHUF, 1);
blocks(t, t + CTL);
if (pf.mode == BM_SHUF && pf.gph < CTL && pf.gs < 64u) {
kd[r][pf.gs] = pf.u.s.r[0].live ? 0xFEu : (uint8_t)((pf.gs - pf.u.s.j0) & 31u);
kk[r][pf.gs] = pf.u.s.kind;
}
}
perf_press(PF_SHUF, 0);
if (!r)
memcpy(o1, out_l, sizeof o1);
}
for (k = 26u; k < 50u; k++) { /* (both with a bar behind them) */
cmp++;
agree &= kd[0][k] == kd[1][k] && kk[0][k] == kk[1][k];
}
for (k = 18u; k < 50u; k++) {
uint32_t d = kd[0][k], a = k * P16 + 256u, b = (k + 1u) * P16 - 192u, lag;
if (d == 0xFEu || d == 0xFFu)
continue;
moved++;
beat += d % 4u == 0u;
far += d > 8u;
{ /* (the best of a few samples' lag: the coder's half rate and its reader's interpolation, ~4) */
double be = 0, bq = 1;
for (lag = 0; lag < 8u; lag++) {
double e = 0, q = 0;
for (t = a; t < b; t++) {
double ref = (in_l[t - d * P16 - lag] + in_r[t - d * P16 - lag]) / 2.0, x = o1[t] - ref;
e += x * x;
q += ref * ref;
}
if (!lag || e / q < be / bq) {
be = e;
bq = q;
}
}
se += be;
sr += bq;
wse = be / bq > wse ? be / bq : wse; /* (the worst 1/16) */
}
}
snprintf(what, sizeof what, "SHUFFLE AMOUNT 100: %u of 32 1/16s moved (%u by whole beats, %u from past half a bar), "
"each the bar's own 1/16 (SNR %.1f dB, the worst %.1f: mono 4-bit)", moved, beat, far, 10 * log10(sr / (se ? se : 1)),
-10 * log10(wse ? wse : 1e-9));
bad += check(what, moved >= 20u && beat && far && 10 * log10(sr / (se ? se : 1)) > 28.0 && -10 * log10(wse ? wse : 1e-9) > 24.0);
snprintf(what, sizeof what, " pressed on step 2 or 8: the same chunks once both have a bar (%u compared)", cmp);
bad += check(what, agree && cmp == 24u);
}
{ /* SPEED 100, every SIZE, 4x full scale: bounded; at 70 BPM too (less of the bar fits) */
int32_t pk = 0;
uint32_t kinds = 0;
for (t = 0; t < NT; t++) {
in_l[t] = (t / 37u) & 1u ? 120000 : -120000;
in_r[t] = (t / 53u) & 1u ? 120000 : -120000;
}
for (v = 0; v < 4u; v++) {
gp_reset();
perf_gp[GX_SHUF][0] = 100;
perf_gp[GX_SHUF][2] = 100;
perf_gp[GX_SHUF][1] = (int8_t)(v % 3u);
fresh(v == 3u ? 70 : 120);
perf_press(PF_SHUF, 1);
for (t = 0; t < 48u * P16; t += CTL) {
blocks(t, t + CTL);
kinds |= 1u << pf.u.s.kind;
}
perf_press(PF_SHUF, 0);
pk = peak(out_l, 0, 48u * P16) > pk ? peak(out_l, 0, 48u * P16) : pk;
pk = peak(out_r, 0, 48u * P16) > pk ? peak(out_r, 0, 48u * P16) : pk;
}
snprintf(what, sizeof what, "SHUFFLE SPEED 100 (half, double, stutter: %s), SIZE 1/4 1/8 1/16, 70 BPM: 4x full scale, peak %d",
kinds == 15u ? "all" : "NOT ALL", pk);
bad += check(what, kinds == 15u && pk <= 140000);
gp_reset();
}
/* ---- FREEZE */
{
uint32_t f0, c0, c1;
int32_t pk, tail;
for (v = 0; v < 2u; v++) {
gp_reset();
perf_gp[GX_FRZ][2] = 0; /* (SPRAY 0: every grain at PITCH) */
perf_gp[GX_FRZ][1] = (int8_t)(v ? 12 : 0);
test_signal(440, 12000, 440, 12000);
fresh(120);
perf_press(PF_FRZ, 1);
for (t = 0; !pf.state && t < 40000u; t += CTL)
blocks(t, t + CTL);
f0 = t;
for (k = f0; k < NT; k++)
in_l[k] = in_r[k] = 0; /* (the input silent once frozen) */
blocks(f0, f0 + 2u * 44100u);
if (!v)
c0 = xings(out_l, f0 + 4410u, f0 + 4410u + 44100u);
else
c1 = xings(out_l, f0 + 4410u, f0 + 4410u + 44100u);
pk = peak(out_l, f0 + 4410u, f0 + 2u * 44100u);
perf_press(PF_FRZ, 0);
blocks(f0 + 2u * 44100u, f0 + 2u * 44100u + 4096u);
tail = peak(out_l, f0 + 2u * 44100u + 512u, f0 + 2u * 44100u + 4096u);
if (!v) {
snprintf(what, sizeof what, "FREEZE: an eighth kept (%u samples), held as grains with the input silent: "
"peak %d, %u crossings a second (440 Hz)", f0, pk, c0);
bad += check(what, f0 > 11025u && f0 < 11025u + 6000u && pk > 6000 && pk < 16000 && c0 > 400u && c0 < 480u);
bad += check(" let go: the (silent) input again", !tail && !pf.busy);
}
}
snprintf(what, sizeof what, "FREEZE PITCH +12: %u crossings a second (880 Hz)", c1);
bad += check(what, c1 > 820u && c1 < 940u);
pk = 0; /* 4x full scale, DENS SPRAY 100, every SIZE, PITCH +12 */
for (t = 0; t < NT; t++) {
in_l[t] = (t / 37u) & 1u ? 120000 : -120000;
in_r[t] = (t / 53u) & 1u ? 120000 : -120000;
}
for (v = 0; v < 5u; v++) {
gp_reset();
perf_gp[GX_FRZ][0] = 100;
perf_gp[GX_FRZ][1] = 12;
perf_gp[GX_FRZ][2] = 100;
perf_gp[GX_FRZ][3] = (int8_t)v;
fresh(120);
perf_press(PF_FRZ, 1);
blocks(0, 60000u);
perf_press(PF_FRZ, 0);
pk = peak(out_l, 0, 60000u) > pk ? peak(out_l, 0, 60000u) : pk;
}
snprintf(what, sizeof what, "FREEZE every SIZE, DENS and SPRAY 100, PITCH +12, 4x full scale: peak %d", pk);
bad += check(what, pk <= 150000);
gp_reset();
}
/* ---- TAPE STOP: TIME, CURVE; the scratch */
{
int32_t pk[3], tl[3], mv, rest, mx = 0;
static const int8_t CV[3] = {0, -100, 100};
test_signal(880, 12000, 880, 12000);
for (v = 0; v < 3u; v++) {
gp_reset();
perf_gp[GX_TAPE][1] = 2; /* (TIME 1/16: 5512 samples) */
perf_gp[GX_TAPE][2] = CV[v];
fresh(120);
perf_press(PF_TAPE, 1);
blocks(0, 2u * P16 + 512u);
pk[v] = peak(out_l, 0, P16 / 2u);
tl[v] = peak(out_l, P16 + 64u, 2u * P16 + 512u);
perf_press(PF_TAPE, 0);
}
snprintf(what, sizeof what, "TAPE STOP TIME 1/16: stopped within it, CURVE 0 / -100 / +100 (silent after: %d %d %d)",
tl[0], tl[1], tl[2]);
bad += check(what, pk[0] > 8000 && !tl[0] && !tl[1] && !tl[2] && pf.state);
gp_reset();
fresh(120); /* the scratch: KNOB 1 a detent every 8 blocks, on, back, then at rest */
test_signal(440, 12000, 440, 12000);
perf_press(PF_TAPE, 1);
blocks(0, 30000u);
ok = pf.mode == BM_TAPE && pf.state;
for (t = 30000u; t < 30000u + 512u * CTL; t += CTL) {
uint32_t b = (t - 30000u) / CTL;
if (b % 8u == 0u && b < 384u)
perf_scr += b < 192u ? 1u : (uint32_t)-1;
blocks(t, t + CTL);
}
mv = peak(out_l, 30000u, 30000u + 384u * CTL);
rest = peak(out_l, 30000u + 448u * CTL, 30000u + 512u * CTL);
for (t = 30001u; t < 30000u + 512u * CTL; t++)
mx = abs(out_l[t] - out_l[t - 1]) > mx ? abs(out_l[t] - out_l[t - 1]) : mx;
perf_press(PF_TAPE, 0);
snprintf(what, sizeof what, "TAPE stopped, KNOB 1 the hand: the record moves (peak %d), at rest silent (%d), "
"no click (largest step %d)", mv, rest, mx);
bad += check(what, ok && mv > 3000 && rest < 64 && mx < 1500);
gp_reset();
}
/* ---- the knobs follow the glitcher whose key is down */
perf_reset();
perf_press(PF_GLT, 1);
ok = perf_gfocus() == PF_GLT;
perf_press(PF_FRZ, 1);
ok &= perf_gfocus() == PF_FRZ;
perf_press(PF_FRZ, 0);
ok &= perf_gfocus() == PF_GLT;
perf_press(PF_GLT, 0);
ok &= perf_gfocus() == PF_N;
perf_latch_on = 1;
perf_press(PF_SHUF, 1);
ok &= perf_gfocus() == PF_SHUF && perf_latched == PF_BIT(PF_SHUF);
perf_press(PF_SHUF, 0);
ok &= perf_gfocus() == PF_N && perf_latched == PF_BIT(PF_SHUF);
perf_press(PF_R16, 1);
ok &= perf_gfocus() == PF_N;
perf_press(PF_R16, 0);
perf_latch_on = 0;
perf_reset();
bad += check("the knobs: the glitcher whose key is down (the last pressed), FX LATCH too; REPEAT none", ok);
/* ---- the lane: SHUFFLE recorded (11, the FILTER sweep's), played back; FREEZE not */
{
uint32_t s16, st, i, ok2 = 1, on = 0;
int32_t o[2 * CTL];
song_setup();
memset(pfx_lane, 0, sizeof pfx_lane);
s16 = beat_samples() / 4u;
song.rec = 1;
transport_req = 1;
for (i = 0; i < 64u * s16; i += CTL) {
st = (i / s16) & 63u;
if (st == 40u && !(perf_held & PF_BIT(PF_SHUF))) perf_press(PF_SHUF, 1);
if (st == 44u && (perf_held & PF_BIT(PF_SHUF))) perf_press(PF_SHUF, 0);
if (st == 50u && !(perf_held & PF_BIT(PF_FRZ))) perf_press(PF_FRZ, 1);
if (st == 52u && (perf_held & PF_BIT(PF_FRZ))) perf_press(PF_FRZ, 0);
mix_block(o, CTL);
}
song.rec = 0;
for (st = 0; st < 64u; st++)
ok2 &= pfx_lane_at(st) == (st >= 40u && st < 44u ? 11u : 0u);
for (i = 64u * s16; i < 128u * s16; i += CTL) {
st = ((i - 64u * s16) / s16) & 63u;
mix_block(o, CTL);
if (st == 42u) on |= pf.mode == BM_SHUF;
if (st == 51u) ok2 &= pf.mode != BM_FRZ;
}
transport_req = 2;
mix_block(o, CTL);
memset(pfx_lane, 0, sizeof pfx_lane);
bad += check("punch-in lane (0.9.17): SHUFFLE recorded (11), played back on its steps; FREEZE not recorded", ok2 && on);
}
/* ---- at rest: once a glitcher is let go and stopped, the silence path again (0.9.16) */
{
int32_t o[2 * CTL];
uint32_t i, h0;
song_setup();
transport_req = 2;
for (i = 0, h0 = pt_hushed; i < 20u * FS && pt_hushed - h0 < 64u; i += CTL) /* (every tail out first) */
mix_block(o, CTL);
ok = pt_hushed - h0 >= 64u;
for (v = 0; v < 4u; v++) {
static const uint8_t G[4] = {PF_GLT, PF_TAPE, PF_SHUF, PF_FRZ};
perf_press(G[v], 1);
for (i = 0; i < FS / 2u; i += CTL)
mix_block(o, CTL);
ok &= pf.mode != BM_NONE;
perf_press(G[v], 0);
for (i = 0; i < FS / 4u; i += CTL)
mix_block(o, CTL);
h0 = pt_hushed;
for (i = 0; i < FS / 10u; i += CTL)
mix_block(o, CTL);
ok &= pf.mode == BM_NONE && !pf.busy && !sl_lent && !perf_begin(CTL) && pt_hushed - h0 >= FS / 10u / CTL;
}
bad += check("at rest: each glitcher let go (stopped): the layer idle, the buffer back, the silence path every block", ok);
}
gp_reset();
return bad;
}
int main(int argc, char **argv)
{
int bad = 0;
@@ -1064,6 +1440,7 @@ int main(int argc, char **argv)
bad += test_misc();
bad += test_pfx();
bad += test_sweeps();
bad += test_glitcher();
bad += test_cost();
if (argc > 1)
demos(argv[1]);
+3 -3
View File
@@ -95,8 +95,8 @@
# Browser emulator (web/emu, when emcc is there): the firmware in WebAssembly (build/emu) boots, plays keys and MIDI,
# draws, lights its LEDs, keeps a save across instances, plays a song bit for bit as the same file
# built with cc (web/emu/native_check.c); the cost of 1 s of a heavy song against real time.
# DRUM-X OCTAVES (tests/drumx_oct_test.c, 0.8.5): OCT 0 the kit as before (bit for bit); OCT +1 / +2 / +3 ratchets x2 / x4 /
# x8 in time while held (stopped and playing), -1 / -2 / -3 SHORT / GHOST / FLAM (length, level, tone,
# DRUM-X OCTAVES (tests/drumx_oct_test.c, 0.8.5): OCT 0 the kit as before (bit for bit); OCT +1 / +2 / +3 every other step /
# once / x2 a step in time while held (0.9.17) (stopped and playing), -1 / -2 / -3 SHORT / GHOST / FLAM (length, level, tone,
# the grace hit measured); real-time REC: the step's RATCH / ECHO x8 EVEN / TOUCH, the pass after the
# very hits heard; MIDI's bands around 35..81, MIDI REC, a project round trip, the OCT message, COMP.
# DRUM-X (tests/drumx_test.c): the DRUM engine (src/drumx_voice.c): every lane sounds, stays under full scale and ends,
@@ -228,7 +228,7 @@ if [ -f build/gen/felucca_tables.h ]; then
$CC -O1 -w -Ibuild/gen -Ifirmware/src -Itests -o "$OUT/micro_test" tests/micro_test.c -lm
run "MICRO in 64ths (0.9.1): recorded within 1/64 of a step at any tempo / division, played there, REC Q 50 %, old projects, 'M' 'F'" "$OUT/micro_test"
$CC -O1 -w -Ibuild/gen -Ifirmware/src -Itests -o "$OUT/gen_test" tests/gen_test.c -lm
run "GEN (0.6.91): the song generator, every genre: deterministic, one scale, the kick anchored, the bass's roots, chord tones, forms, the screen; (0.9.18) the dice's variety (no part, seed or preset again back to back), SEQ + SELECT on the song's chords, the lead's steps and envelope" "$OUT/gen_test"
run "GEN (0.6.91): the song generator, every genre: deterministic, one scale, the kick anchored, the bass's roots, chord tones, forms, the screen; (0.9.17) the dice's variety (no part, seed or preset again back to back), SEQ + SELECT on the song's chords, the lead's steps and envelope" "$OUT/gen_test"
$CC -O1 -w -Ibuild/gen -Ifirmware/src -Itests -o "$OUT/stems_test" tests/stems_test.c -lm
run "STEMS (0.9.8): DICE songs, each stem = its track's solo render (FULL LITE ECO, CORES 1 / 2), the sum = the mix, the SLICER" "$OUT/stems_test"
$CC -O1 -w -Ibuild/gen -Ifirmware/src -o "$OUT/ratchet_test" tests/ratchet_test.c -lm
+3 -3
View File
@@ -28,10 +28,10 @@ click_render 30
mod_begin 166
mod_voice 30
mod_end 7
perf_begin 28
perf_mute 21
perf_begin 11
perf_mute 18
perf_pre 31
perf_block 522
perf_block 93
perf_master 32
rev_room 160
rev_spring 127
+42 -12
View File
@@ -637,7 +637,7 @@ enum { S_HOME, S_HOME_IDLE, S_MESSAGE, S_MESSAGE_KEY, S_MESSAGE_NOFILE, S_PRESET
S_CONFIRM_SEQ, S_CONFIRM_PROJ, S_CONFIRM_USER, S_CONFIRM_PAT, S_CONFIRM_MOTION, S_CONFIRM_ERASE, S_GEN, S_GEN_PARTS,
S_MENU, S_MENU_SPEAKER, S_ABOUT, S_ABOUT_REC, S_ABOUT_CREDITS, S_ABOUT_END, S_ABOUT_PROFILE, S_ABOUT_PROFILE2, S_UBOOT, S_CALIBRATION, S_SPLASH,
S_BATT0, S_BATT1, S_BATT2, S_BATT3, S_BATT_USB, S_MOTION_REC, S_MOTION_OFF, S_MOTION_CARD, S_SONG_HOME,
S_FX_PEEK, S_FX_HELD, S_FX_WAIT, S_FX_HARM, S_MENU_HOLD, S_MENU_LEDS, S_MENU_END, S_MENU_SYSTEM, S_MENU_SLIDE, S_REVERB, S_REVERB_RESO,
S_FX_PEEK, S_FX_HELD, S_FX_WAIT, S_FX_HARM, S_FX_GLT, S_FX_SCR, S_FX_SHUF, S_FX_FRZ, S_MENU_HOLD, S_MENU_LEDS, S_MENU_END, S_MENU_SYSTEM, S_MENU_SLIDE, S_REVERB, S_REVERB_RESO,
S_GLO_PEEK, S_GLO_ACTIVE, S_GLO_EXT, S_SCL_PEEK, S_SCL_ACTIVE, S_EDIT_PEEK, S_EDIT_ACTIVE, S_EDIT_USER, S_EDIT_DRUM, S_LAYER_HINT, S_LAYER_LOCK, S_LAYER_LOCK_FX, S_LAYER_SONG, S_LAYER_SONG_CHAIN,
S_SEQ_TOOLS, S_SEQ_TOOLS_DRUM, S_SEQ_TOOLS_SONG,
S_LENTE_PAT, S_LENTE_PAT_DRUM, S_LENTE_STRETCH, S_LENTE_BAR, S_LENTE_BAR_DRUM, S_LENTE_STEP, S_LENTE_STEP_COMP,
@@ -673,7 +673,7 @@ static const char *const S_NAME[S_COUNT] = {"home", "home_idle", "message", "mes
"edit_noise", "alg_1", "alg_2", "alg_3", "alg_4", "alg_5", "alg_6", "alg_7", "alg_8", "op_level", "fm6_alg_01", "fm6_alg_05", "fm6_alg_22", "fm6_alg_32", "drumx", "drumx_hit", "dx_sound", "dx_sound2", "confirm_seq", "confirm_project", "confirm_user", "confirm_pattern",
"confirm_motion", "confirm_erase", "gen", "gen_parts", "menu", "menu_speaker", "about", "about_rec", "about_credits", "about_end", "about_profile", "about_profile2", "uboot", "calibration", "splash",
"batt_0", "batt_1", "batt_2", "batt_3", "batt_usb", "motion_rec", "motion_off", "motion_card", "song_home",
"perform_peek", "perform_held", "perform_wait", "perform_harm", "menu_hold", "menu_leds", "menu_end", "menu_system", "menu_slide", "reverb_spring", "reverb_reso",
"perform_peek", "perform_held", "perform_wait", "perform_harm", "perform_glitch", "perform_scratch", "perform_shuffle", "perform_freeze", "menu_hold", "menu_leds", "menu_end", "menu_system", "menu_slide", "reverb_spring", "reverb_reso",
"layer_glo_peek", "layer_glo_active", "layer_glo_ext", "layer_scl_peek", "layer_scl_active", "layer_edit_peek",
"layer_edit_active", "layer_edit_user", "layer_edit_drum", "layer_hint", "layer_lock", "layer_lock_fx", "layer_song", "layer_song_chain",
"layer_seq_tools", "layer_seq_tools_drum", "layer_seq_tools_song",
@@ -1042,6 +1042,14 @@ static void v6_scene(uint32_t e, const char *pre, const char *page, const int16_
vxs.swt = vxs.mt[c] >> 8;
if (page) go_title(page); else { ui.home = 1; ui.hlv = 1; ui.hset[1] = 0; }
}
/* (0.9.17) a short line on the selected track for the SEQ pages that drew their own panel before (TRACK, MUTATE, AUTOMATION,
* AUTO LIST): every page shows the roll now, its marks over these notes */
static void seq_line(void)
{
static const uint8_t NN[8] = {60, 63, 67, 70, 67, 65, 63, 58};
uint32_t j;
for (j = 0; j < 16u; j += 2u) step_put(&TSEL->step[j], ST_NOTE, 0, 1, &NN[j / 2u]);
}
static void setup(int s)
{
memset(kb_on, 0, sizeof kb_on); /* no key held (roll_playing holds one) */
@@ -1124,7 +1132,7 @@ static void setup(int s)
break;
case S_MUTATE: /* (0.6.43) three tracks mutating, bar 5 */
trk[0].p[P_MSND] = 2; trk[0].p[P_MPAT] = 4; trk[1].p[P_MSND] = 3; trk[1].p[P_MMODE] = 1; trk[3].p[P_MPAT] = 1;
bar_n = 5; go_page(GR_MUTATE);
seq_line(); bar_n = 5; go_page(GR_MUTATE);
break;
case S_CHANCE: go_page(GR_CHANCE); step_set_chance(&TSEL->step[0], 65); break;
case S_COMP: /* (0.6.39) an ARP NOTES step: UP-DN x6 over two octaves */
@@ -1137,7 +1145,7 @@ static void setup(int s)
TSEL->step[4].comp = CP_TRIG; step_set_chance(&TSEL->step[6], 50); step_set_ratchet(&TSEL->step[8], 3);
go_page(GR_COMP);
break;
case S_MOTION: go_page(GR_MOTION); break;
case S_MOTION: seq_line(); motion_set_event(TSEL, 4, P_REV, 40); go_page(GR_MOTION); break;
/* 1.1.5, the REC layer (REC held): over HOME, the settings as they come (CLICK OFF, COUNT-IN OFF, LEVEL MID);
* over STEP armed, CLICK REC, COUNT-IN 2 BARS, LEVEL HIGH (KNOB 2 just turned); a song playing on an empty
* track (CLEAR dimmed: STOP TO EDIT) */
@@ -1263,7 +1271,7 @@ static void setup(int s)
case S_LY_FX_KNOBS: case S_LY_FX_STATE: /* (0.8.5) a layer's lens: FX's KNOBS, STATE */
go_home(); ui.layer = LAYER_FX; ui.lylv = s == S_LY_FX_KNOBS ? 1 : 2;
perf_held = perf_act = PF_BIT(PF_R16) | PF_BIT(PF_GLT) | PF_BIT(PF_SCRU) | PF_BIT(PF_M1 + 1);
perf_m[0] = 6; perf_m[1] = 7; perf_m[2] = 40; perf_m[3] = 30; pf.sw[1] = 1u << 23; /* (0.9.14: the macros) */
perf_m[0] = 6; perf_m[1] = 7; perf_m[2] = 40; perf_m[3] = 30; pf.sw[0] = 1u << 23; /* (0.9.14: the macros) */
break;
case S_LY_GLO_STATE: go_home(); ui.layer = LAYER_GLO; ui.lylv = 2; break;
case S_MENU_ROW: case S_MENU_ROW_LEDS: /* (0.8.5) the menu's lens, ROW: COLOR's palettes, LEDS's names */
@@ -1308,7 +1316,7 @@ static void setup(int s)
}
case S_DLY: go_title("DLY"); break;
case S_SCL: TSEL->p[P_SCALE] = 2; go_title("SCL"); break;
case S_SHIFT: TSEL->p[P_SOFS] = -3; TSEL->p[P_POFS] = 7; TSEL->p[P_HVEL] = 80; go_title("TRACK"); break; /* (0.6.92: TRACK) */
case S_SHIFT: seq_line(); TSEL->p[P_SOFS] = -3; TSEL->p[P_POFS] = 7; TSEL->p[P_HVEL] = 80; go_title("TRACK"); break; /* (0.6.92: TRACK) */
case S_ARP: go_title("ARP"); break;
case S_VOICE: go_title("VOICE"); break;
case S_GLOBAL: go_title("GLOBAL"); break;
@@ -1423,7 +1431,7 @@ static void setup(int s)
break;
case S_FX_WAIT:
song.playing = 1; song.g[G_BPM] = 72; ui.layer = LAYER_FX;
perf_held = PF_BIT(PF_R16) | PF_BIT(PF_R8) | PF_BIT(PF_SFLT); perf_act = PF_BIT(PF_SFLT);
perf_held = PF_BIT(PF_R16) | PF_BIT(PF_R8) | PF_BIT(PF_SHUF); perf_act = PF_BIT(PF_SHUF);
perf_m[3] = 100;
break;
case S_FX_HARM: /* (0.9.14) TAPE STOP and the THROW sweep, TRANSPOSE at -OCT */
@@ -1431,6 +1439,25 @@ static void setup(int s)
perf_held = perf_act = PF_BIT(PF_TAPE) | PF_BIT(PF_STHR);
perf_m[1] = 21; ui.hot_col = 1; ui.hot_t = 30;
break;
/* (0.9.17) the glitcher's key down: its four knobs on the cards (MAP), as gauges (KNOBS: SHUFFLE, FREEZE); TAPE
* stopped: SCRATCH TURN */
case S_FX_GLT:
song.playing = 1; ui.layer = LAYER_FX;
perf_held = perf_act = perf_down = PF_BIT(PF_GLT); perf_gp[GX_GLT][1] = -5; perf_gp[GX_GLT][2] = 3;
perf_gp[GX_GLT][3] = 16; ui.hot_col = 1; ui.hot_t = 30;
break;
case S_FX_SCR:
song.playing = 1; ui.layer = LAYER_FX;
perf_held = perf_act = perf_down = PF_BIT(PF_TAPE); pf.mode = BM_TAPE; pf.state = 1; perf_gp[GX_TAPE][2] = -100;
break;
case S_FX_SHUF:
song.playing = 1; ui.layer = LAYER_FX; ui.lylv = 1;
perf_held = perf_act = perf_down = PF_BIT(PF_SHUF) | PF_BIT(PF_R8); perf_gp[GX_SHUF][0] = 100; perf_gp[GX_SHUF][2] = 100;
break;
case S_FX_FRZ:
song.playing = 1; ui.layer = LAYER_FX; ui.lylv = 1;
perf_held = perf_act = perf_down = PF_BIT(PF_FRZ); perf_gp[GX_FRZ][1] = 12; perf_gp[GX_FRZ][3] = 0;
break;
case S_REVERB: go_title("REVERB"); song.g[G_RTYPE] = 1; ui.hot_col = 0; ui.hot_t = 30; break; /* TYPE: SPRING */
case S_REVERB_RESO: go_title("REVERB"); song.g[G_RTYPE] = 3; song.g[G_RDAMP] = 2; song.g[G_RPRE] = 4; break; /* (0.6.5) PITCH, FOLW */
case S_MENU_HOLD: ui.menu = 1; ui.menu_sel = MI_HOLD; settings_hold = 2; break;
@@ -1599,6 +1626,7 @@ static void setup(int s)
break;
}
case S_MOTION_LOCKS:
seq_line();
motion_set_event(TSEL, 1, P_REV, 40); motion_set_lock(TSEL, 2, P_REV, 100); motion_set_lock(TSEL, 6, P_ATK, 90);
go_page(GR_MOTION);
break;
@@ -1606,6 +1634,7 @@ static void setup(int s)
* VALUE just turned; empty (+ ADD LOCK: step 5, the first knob of HOME); a DRUM track's long list, scrolled
* (its lane levels, E names, the last row), playing */
case S_AUTO_LIST:
seq_line();
motion_set_event(TSEL, 0, P_LRATE, 70); motion_set_lock(TSEL, 2, P_REV, 100); motion_set_lock(TSEL, 2, P_ED_FLT, -30);
motion_set_lock(TSEL, 6, P_ATK, 90); motion_set_lock(TSEL, 6, P_E4, 20); motion_set_event(TSEL, 8, P_PAN, -40);
motion_set_lock(TSEL, 11, P_LD_FLT, 50); motion_set_lock(TSEL, 13, P_DLY, 80); motion_set_lock(TSEL, 15, P_GLIDE, 60);
@@ -2419,12 +2448,12 @@ int main(int argc, char **argv)
for (s = 0; s < lg_nsmall; s++) fprintf(rep, " '%s'", lg_small[s]);
fprintf(rep, "\n");
}
{ /* (0.8.9) MENU > DISPLAY > SKIN BOTTOM and HUD (0.9.7: AIR) (ui.c lz_low, hud_home): every screen in every palette in FLAT, in
{ /* (0.8.9) MENU > DISPLAY > SKIN HUD (0.9.7: AIR; 0.9.17: BOTTOM retired) (ui.c lz_low, hud_home): every screen in every palette in FLAT, in
* LINE and with MENU > LARGE ON (COLORS' layout, the skin's tabs and colours), linted (GREY: gray, MONO: neutral); FLAT
* as OUTDIR/ppm/<SKIN>_<PALETTE>_<screen>.ppm for JIANT PAPER GREY MONO (ui_render.py: sheet_<SKIN>_<PALETTE>.png) */
static const char *const SK_N[SKIN_N] = {"COLORS", "BOTTOM", "HUD", "AIR"}, *const ST_N[3] = {"", "-LINE", "-LARGE"};
static const char *const SK_N[SKIN_N] = {"COLORS", "", "HUD", "AIR"}, *const ST_N[3] = {"", "-LINE", "-LARGE"};
uint32_t sk, st, n0 = nfind, nlow = 0, nhud = 0;
for (sk = SKIN_BOTTOM; sk <= SKIN_AIR; sk++) /* (0.9.7: AIR, the knobs' row on top) */
for (sk = SKIN_HUD; sk <= SKIN_AIR; sk++) /* (0.9.7: AIR, the knobs' row on top; 0.9.17: BOTTOM retired) */
for (st = 0; st < 3u; st++)
for (p = 0; p < NPALETTES; p++)
for (s = 0; s < S_COUNT; s++) {
@@ -2450,7 +2479,7 @@ int main(int argc, char **argv)
}
ui_skin = SKIN_COLORS; ui_style = ST_FLAT; style_apply();
if (nlow < 1000u || nhud < 20u) { fprintf(stderr, "ui_render: SKIN drew %u screens low, %u HUD HOMEs only\n", nlow, nhud); return 1; }
fprintf(rep, "SKIN BOTTOM and HUD (FLAT, LINE, LARGE, every palette): %u lint findings; %u screens with the knob row, %u HUD "
fprintf(rep, "SKIN HUD and AIR (FLAT, LINE, LARGE, every palette): %u lint findings; %u screens with the knob row, %u HUD "
"HOMEs\n", nfind - n0, nlow, nhud);
}
{ /* every FM6 colony (the lint above, fm6_hook, runs on each), in GREY: gray */
@@ -2552,10 +2581,11 @@ int main(int argc, char **argv)
{ /* (0.8.9) SKIN: HOME, EDIT, SEQ's BAR, FX's BUSES redrawn whole in each skin (us, texts, LCD px sent), and HOME frame
* by frame (HUD: every strip each frame, on the beings) */
static const int SC[] = {S_HOME, S_EDIT_ANALOG, S_LENTE_BAR, S_FXL_BUSES, S_VX_HEAD_S, S_VX_WING, S_VX_KIT_HOME};
static const char *const SK_N[SKIN_N] = {"COLORS", "BOTTOM", "HUD", "AIR"};
static const char *const SK_N[SKIN_N] = {"COLORS", "", "HUD", "AIR"};
uint32_t sk;
fprintf(rep, " SKIN (full redraw us / texts / LCD px; HOME a frame without force):\n");
for (sk = 0; sk < SKIN_N; sk++) {
if (sk == SKIN_BOTTOM_OLD) continue; /* (0.9.17: retired, reads as AIR) */
fprintf(rep, " %-7s", SK_N[sk]);
for (k = 0; k < sizeof SC / sizeof SC[0]; k++) {
clock_t c0;
+2 -2
View File
@@ -7,7 +7,7 @@
sheet_<PALETTE>.png every screen of one palette, 1x, with its name
(MENU > STYLE: LINE_<PALETTE>/ and sheet_LINE_<PALETTE>.png for GREY MONO NIGHT PAPER;
MENU > LARGE: sheet_LARGE_GREY.png, sheet_LARGE_MONO.png, sheet_LARGE-LINE_GREY.png;
(0.8.9) MENU > SKIN: BOTTOM_<PALETTE>/, HUD_<PALETTE>/ (0.9.7: AIR_<PALETTE>/) and their sheets for JIANT PAPER GREY MONO)
(0.8.9) MENU > SKIN: HUD_<PALETTE>/ (0.9.7: AIR_<PALETTE>/; 0.9.17: BOTTOM retired) and their sheets for JIANT PAPER GREY MONO)
With SLOTDIR (ui_render.py OUTDIR SLOTDIR): its filmstrips of the rolling digits, SLOTDIR/*.ppm -> *.png.
"""
import sys
@@ -19,7 +19,7 @@ out = Path(sys.argv[1] if len(sys.argv) > 1 else "build/ui_new")
shots = {}
for f in sorted((out / "ppm").glob("*.ppm")):
pal, name = f.stem.split("_", 1)
styled = pal in ("LINE", "LARGE", "LARGE-LINE", "BOTTOM", "HUD", "AIR") # STYLE / MENU > LARGE / (0.8.9) SKIN renders: <STYLE>_<PALETTE>_<screen>
styled = pal in ("LINE", "LARGE", "LARGE-LINE", "HUD", "AIR") # STYLE / MENU > LARGE / (0.8.9) SKIN renders: <STYLE>_<PALETTE>_<screen>
if styled:
p2, name = name.split("_", 1)
pal = f"{pal}_{p2}"
+59 -31
View File
@@ -211,6 +211,13 @@ static void ui_power_on(void)
perf_solo = 0;
memset(&lys, 0, sizeof lys);
perf_m[0] = perf_m[1] = perf_m[2] = perf_m[3] = 0; /* (0.9.14: the macros off, nothing to revert) */
{ /* (0.9.17) no glitcher key down, its knobs at their defaults, the buffer free */
static const int8_t GP0[4][4] = {{50, 0, 0, 1}, {0, 4, 0, 0}, {60, 2, 20, 1}, {50, 0, 30, 2}};
perf_down = 0;
memcpy((void *)perf_gp, GP0, sizeof GP0);
pf.mode = BM_NONE;
pf.state = 0;
}
pm_on = 0;
settings_hold = HOLD_DEF;
fm1_in.buttons = fm1_in.notes = 0;
@@ -3730,7 +3737,8 @@ static int test_layer(void)
for (i = 0; i < 15u; i++) /* the other effects (F3 .. F5): breathe */
ok &= i == 1u || ((a ^ b2) >> white(i)) & 1u;
ok &= !((a | b2) >> white(15) & 1u); /* G5: no effect, dark */
ok &= ((a ^ b2) >> key_at(1, 0)) & 1u && !((a | b2) >> key_at(1, 6) & 1u); /* a mute breathes, a spare black dark */
ok &= ((a ^ b2) >> key_at(1, 0)) & 1u && !((a | b2) >> key_at(1, 7) & 1u); /* a mute breathes, a spare black dark */
ok &= ((a ^ b2) >> key_at(1, 6)) & 1u && ((a ^ b2) >> key_at(1, 8)) & 1u; /* (0.9.17) FREEZE G#4, SHUFFLE C#5 */
song.g[G_BPM] = 72;
a = leds_at(0); b2 = leds_at(250);
ok &= !((a | b2) >> white(0) & 1u); /* 1/8: too long at 72 */
@@ -3738,7 +3746,7 @@ static int test_layer(void)
song.g[G_BPM] = 120;
}
key_up(white(1)); btn_up(B_FX); frame();
bad += check("map LEDs: held lit, the 15 effects breathe, G5 and a too-long REPEAT dark", ok);
bad += check("map LEDs: held lit, the 15 effects, FREEZE and SHUFFLE breathe, G5, A#4 and a too-long REPEAT dark", ok);
usb.config = 0;
return bad;
}
@@ -6759,12 +6767,24 @@ static int test_lente(void)
ok = str_eq(cur_page()->title, "STEP") && lens_level() == LV_BAR && roll_view(cur_page()) && lz_tabs() == 5u &&
lz_tab_lit(2) && lz_crumb_is("SEQ \xB7 BAR \xB7 STEP") && lz_count_is("7/12");
turn(EN_SELECT, -1); frames(32);
ok &= str_eq(cur_page()->title, "BAR") && bars_view(cur_page()) && lz_tab_lit(2) && lz_count_is("6/12");
ok &= str_eq(cur_page()->title, "BAR") && seq_roll_view(cur_page()) && lens_strip() && lz_tab_lit(2) && lz_count_is("6/12");
turn(EN_SELECT, 2); frames(32);
ok &= str_eq(cur_page()->title, "NOTE") && roll_view(cur_page()) && !bigstep_view(cur_page()); /* (NOTE: the roll) */
ok &= str_eq(cur_page()->title, "NOTE") && roll_view(cur_page()) && seq_roll_view(cur_page()); /* (NOTE: the roll) */
turn(EN_SELECT, 1); frames(32);
ok &= str_eq(cur_page()->title, "COMP") && bigstep_view(cur_page()) && lz_tab_lit(3);
bad += check("0.9.2 SEQ: enters at STEP (BAR group, 7/12); BAR's bars, NOTE the roll, COMP the step large", ok);
ok &= str_eq(cur_page()->title, "COMP") && seq_roll_view(cur_page()) && lens_strip() && lz_tab_lit(3);
{ /* (0.9.17) every SEQ page the same roll under the bars' strip (PHRASES and SONG their lists) */
uint32_t i, n = 0;
for (i = 0; i < NPAGES; i++)
if (PAGES[i].fam == FAM_SEQ && page_visible(i)) {
ui.page = (uint8_t)i; page_entered(); frame();
ok &= seq_roll_view(cur_page()) == (PAGES[i].graph != GR_PATS && PAGES[i].graph != GR_SONG) &&
(!seq_roll_view(cur_page()) || lens_strip());
n++;
}
ok &= n >= 12u;
go_title("COMP"); frame();
}
bad += check("0.9.2 SEQ: enters at STEP (BAR group, 7/12); 0.9.17: every page the roll under the bars' strip", ok);
bad += check("0.9.2 SEQ: one chain of 12 by SELECT (no wrap); a SEQ tap each group's first, round",
chain_walk(B_SEQ, CH, 12, TP, 4));
/* the memory: the section's (not the track's) */
@@ -6852,12 +6872,12 @@ static int test_lente(void)
ok = grid_on() && roll_view(cur_page()) && lens_level() == LV_BAR && song.grid == 1u;
frames(500);
turn(EN_SELECT, -1); frames(32);
ok &= bars_view(cur_page());
ok &= seq_roll_view(cur_page()) && lens_strip();
turn(EN_K1, 1);
ok &= ui.bank == 1u;
turn(EN_SELECT, 3); frames(32);
ok &= bigstep_view(cur_page()) && lens_level() == LV_STEP;
bad += check(" DRUM: STEP is the grid (its keys); BAR its bars, KNOB 1 the bar; COMP the step large", ok);
ok &= seq_roll_view(cur_page()) && lens_level() == LV_STEP;
bad += check(" DRUM: STEP is the grid (its keys); BAR the grid too, KNOB 1 the bar; COMP the grid (0.9.17)", ok);
return bad;
}
@@ -9778,23 +9798,21 @@ static int test_skin(void)
ui_power_on();
frame();
ok = ui_skin == SKIN_COLORS && ux.skin == SKIN_COLORS && MI_SKIN == MI_COLOR + 1u && str_eq(MI_NAME[MI_SKIN], "SKIN") &&
MI_TAB[MI_SKIN] == MTAB_DISPLAY && menu_n(MI_SKIN) == 4u && str_eq(menu_vname(MI_SKIN, 0), "AIR") &&
str_eq(menu_vname(MI_SKIN, 1), "COLORS") && str_eq(menu_vname(MI_SKIN, 2), "BOTTOM") && str_eq(menu_vname(MI_SKIN, 3), "HUD") &&
SKIN_AIR == 3u && menu_get(MI_SKIN) == 1u; /* (0.9.7: AIR stored 3, first in the menu) */
MI_TAB[MI_SKIN] == MTAB_DISPLAY && menu_n(MI_SKIN) == 3u && str_eq(menu_vname(MI_SKIN, 0), "AIR") &&
str_eq(menu_vname(MI_SKIN, 1), "COLORS") && str_eq(menu_vname(MI_SKIN, 2), "HUD") &&
SKIN_AIR == 3u && menu_get(MI_SKIN) == 1u; /* (0.9.7: AIR stored 3, first in the menu; 0.9.17: no BOTTOM) */
hold(B_HOME); ui.menu_sel = MI_SKIN;
ok &= ui.menu == 1u;
turn(EN_K1, 1); ok &= ui_skin == SKIN_BOTTOM;
turn(EN_K1, 1); ok &= ui_skin == SKIN_HUD && ux.skin == SKIN_HUD;
turn(EN_K1, 1); ok &= ui_skin == SKIN_HUD; /* (stops at the end) */
press(B_OCTDN); ok &= ui_skin == SKIN_BOTTOM;
press(B_OCTDN); ok &= ui_skin == SKIN_COLORS && ux.skin == SKIN_COLORS;
press(B_OCTDN); ok &= ui_skin == SKIN_AIR && ux.skin == SKIN_AIR && ux.surf == ux.bg;
press(B_OCTDN); ok &= ui_skin == SKIN_AIR; /* (stops at the start) */
press(B_OCTUP); ok &= ui_skin == SKIN_COLORS && ux.skin == SKIN_COLORS;
press(B_OCTUP); ok &= ui_skin == SKIN_BOTTOM && ux.skin == SKIN_BOTTOM && ux.surf == ux.bg;
press(B_OCTUP); ok &= ui_skin == SKIN_HUD && ux.skin == SKIN_HUD && ux.surf == ux.bg;
ok &= ui_style == ST_FLAT && (ui_prefs & ~PREF_ACCEL_OFF) == 0u; /* (no other setting moved) */
press(B_HOME);
bad += check("SKIN: under COLOR in DISPLAY; KNOB 1 / OCT+- AIR COLORS BOTTOM HUD (0.9.7), stopping at the ends", ok && !ui.menu);
bad += check("SKIN: under COLOR in DISPLAY; KNOB 1 / OCT+- AIR COLORS HUD (0.9.17: BOTTOM retired), stopping at the ends", ok && !ui.menu);
{ /* (0.9.7) new settings (none saved: settings_fresh at power-on) are AIR; the editor's MENU_DESC lists AIR first */
ui_skin = SKIN_COLORS;
settings_fresh(); frame();
@@ -9814,7 +9832,7 @@ static int test_skin(void)
ok &= settings_import(&p, (int)sizeof p) == 1 && ui_skin == SKIN_COLORS && !p.favorites.factory[15][20];
q = p;
ok &= settings_import(&q, (int)sizeof q) == 1 && ui_skin == SKIN_COLORS && !memcmp(&p, &q, sizeof p);
ui_skin = SKIN_BOTTOM;
ui_skin = SKIN_HUD;
settings_export(&p);
memset(&p.favorites, 0, sizeof p.favorites);
p.magic = 0x50455233u; /* (PER3: settings from before) */
@@ -9825,21 +9843,31 @@ static int test_skin(void)
settings_export(&p);
ui_skin = SKIN_COLORS;
ok &= settings_import(&p, (int)sizeof p) == 1 && ui_skin == SKIN_AIR && p.favorites.factory[15][20] == SKIN_AIR;
for (sk = SKIN_COLORS; sk <= SKIN_HUD; sk++) { /* .. settings saved before 0.9.7 keep their skin */
p.favorites.factory[15][20] = (uint8_t)sk;
ok &= settings_import(&p, (int)sizeof p) == 1 && ui_skin == sk;
for (sk = SKIN_COLORS; sk <= SKIN_HUD; sk++) { /* .. settings saved before 0.9.7 keep their skin (0.9.17: */
p.favorites.factory[15][20] = (uint8_t)sk; /* BOTTOM's 1 reads as AIR) */
ok &= settings_import(&p, (int)sizeof p) == 1 && ui_skin == (sk == SKIN_BOTTOM_OLD ? SKIN_AIR : sk);
}
bad += check("SKIN saved with the settings and read back (AIR too); older settings keep theirs; unknown: COLORS (idempotent)", ok);
p.favorites.factory[15][20] = SKIN_BOTTOM_OLD; /* (idempotent: AIR stays AIR) */
ok &= settings_import(&p, (int)sizeof p) == 1 && p.favorites.factory[15][20] == SKIN_AIR;
q = p;
ok &= settings_import(&q, (int)sizeof q) == 1 && !memcmp(&p, &q, sizeof p) && ui_skin == SKIN_AIR;
ui_skin = SKIN_BOTTOM_OLD; frame(); /* (a live 1, an editor's or a restore's: AIR) */
ok &= ui_skin == SKIN_AIR && ux.skin == SKIN_AIR && menu_get(MI_SKIN) == 0u;
bad += check("SKIN saved with the settings and read back (AIR too); older settings keep theirs, BOTTOM's as AIR (0.9.17); "
"unknown: COLORS (idempotent)", ok);
}
ui_power_on(); frame(); /* the geometry: HOME (ECO) */
ok = card_y() == LZ_CARD_Y && graph_y() == LZ_GRAPH_Y && !lz_low() && !hud_home();
ok &= lg_px(CARD_X(0) + COL_W / 2, LZ_CARD_Y + 1) == T_RAISE && lg_px(LT_X(0) + LT_W / 2, LT_Y + 1) == T_THEME;
ui_skin = SKIN_BOTTOM; frame();
ok &= lz_low() && !hud_home() && card_y() == LB_CARD_Y && card_h() == LB_CARD_H && graph_y() == LB_GRAPH_Y &&
graph_h() == LB_GRAPH_H && skin_ink(LZ_CARD_Y, LZ_CARD_Y + LZ_CARD_H) > 0 && skin_ink(LB_CARD_Y, LB_CARD_Y + LB_CARD_H) > 100;
ok &= lg_px(LT_X(0) + LT_W / 2 + 30, LT_Y + 1) == T_BG; /* (the tabs words: no fill) */
ui_skin = SKIN_HUD; frame();
ok &= lz_low() && hud_home() && graph_y() == LB_GRAPH_Y - 1u && foot_y() == LZ_FOOT_Y - 1u;
ok &= lg_px(LT_X(0) + LT_W / 2 + 30, LT_Y + 1) == T_BG; /* (the tabs words: no fill) */
go_title("ENV"); frame(); /* HUD: the knob row at the foot */
ok &= lz_low() && !hud_home() && card_y() == LB_CARD_Y && card_h() == LB_CARD_H && graph_y() == LB_GRAPH_Y &&
graph_h() == LB_GRAPH_H && skin_ink(LB_CARD_Y, LB_CARD_Y + LB_CARD_H) > 100;
go_title("PATTERN"); frame(); /* (0.9.17) .. but on top on the SEQ pages, as AIR's */
ok &= lz_low() && card_y() == LA_CARD_Y && graph_y() == LA_GRAPH_Y && skin_ink(LA_CARD_Y, LA_CARD_Y + LB_CARD_H) > 100;
go_home(); frame();
ui_prefs |= PREF_LARGE; frame();
ok &= !lz_low() && !hud_home() && large_kind() == LK_TALL && card_y() == LZ_CARD_Y; /* (LARGE: COLORS' layout) */
ui_prefs &= ~PREF_LARGE; frame();
@@ -9853,7 +9881,7 @@ static int test_skin(void)
ui_prefs |= PREF_LARGE; frame();
ok &= !lz_low() && large_kind() == LK_TALL && card_y() == LZ_CARD_Y; /* (LARGE: COLORS' layout, as in every skin) */
ui_prefs &= ~PREF_LARGE; ui_skin = SKIN_COLORS; go_home(); frame();
bad += check("SKIN geometry: COLORS cards on top; BOTTOM the knob row 191..223, the panel 42..189; HUD's HOME full screen; "
bad += check("SKIN geometry: COLORS cards on top; HUD the knob row 191..223, the panel 42..189 (its SEQ pages: AIR's); HUD's HOME full screen; "
"AIR the knob row 42..74 under the tabs, the panel 77..224 (HOME: full screen, the row 41..73); LARGE: COLORS'", ok);
{ /* HUD's HOME: the beings swim the whole screen, under the header, the tabs and the knobs (their outlines drawn) */
uint32_t top = 0, low = 0, k;
@@ -9995,12 +10023,12 @@ static int test_skin(void)
sent = 0; same = 1;
}
}
{ /* (0.9.0, L6) NAME follows the skin as NOTICE and DICE do: BOTTOM / HUD no boxes, their tabs */
{ /* (0.9.0, L6) NAME follows the skin as NOTICE and DICE do: HUD / AIR no boxes, their tabs */
ui_power_on(); ui_skin = SKIN_COLORS; frame();
name_open(NK_USER_SAVE, 6); ui.force = 1; frame();
ok = name_on() && lg_px(CARD_X(0) + COL_W / 2, LZ_CARD_Y + 1) == T_RAISE && lg_px(LT_X(1) + 2, LT_Y + LT_H / 2) == T_RAISE;
press(B_OCTDN); frame();
for (sk = SKIN_BOTTOM; sk < SKIN_N; sk++) {
for (sk = SKIN_HUD; sk < SKIN_N; sk++) { /* (0.9.17: BOTTOM retired) */
ui_power_on(); ui_skin = (uint8_t)sk; frame();
name_open(NK_USER_SAVE, 6); ui.force = 1; frame();
ok &= name_on() && lg_px(CARD_X(0) + COL_W / 2, LZ_CARD_Y + 1) == T_BG && lg_px(LT_X(1) + 2, LT_Y + LT_H / 2) == T_BG &&
@@ -10036,6 +10064,7 @@ static int test_skin(void)
}
for (sk = 0; sk < SKIN_N; sk++) { /* every lens page in each skin */
int okp = 1;
if (sk == SKIN_BOTTOM_OLD) continue; /* (0.9.17: retired, reads as AIR) */
for (i = 0; i < NPAGES; i++) {
ui_power_on(); ui_skin = (uint8_t)sk;
ui.home = 0; ui.page = (uint8_t)i; page_entered();
@@ -10045,7 +10074,7 @@ static int test_skin(void)
npg += !sk;
if (sk == SKIN_COLORS)
okp &= card_y() == LZ_CARD_Y && lg_px(CARD_X(0) + COL_W / 2, LZ_CARD_Y + 1) != T_BG;
else if (sk == SKIN_AIR) /* (0.9.7) AIR: the knob row on top */
else if (sk == SKIN_AIR || lz_fam() == LZ_SEQ) /* (0.9.7) AIR: the knob row on top (0.9.17: HUD's SEQ) */
okp &= lz_low() && card_y() == LA_CARD_Y && skin_ink(LA_CARD_Y, LA_CARD_Y + LB_CARD_H) > 0;
else
okp &= lz_low() && card_y() == LB_CARD_Y && skin_ink(LB_CARD_Y, LB_CARD_Y + LB_CARD_H) > 0;
@@ -10064,7 +10093,6 @@ static int test_skin(void)
ok &= ui.menu == 1u && lz_low() == (sk != SKIN_COLORS);
press(B_HOME);
bad += check(sk == SKIN_COLORS ? "SKIN COLORS: every page of the lenses, HOME's three levels and the menu drawn" :
sk == SKIN_BOTTOM ? "SKIN BOTTOM: every page of the lenses, HOME's three levels and the menu drawn" :
sk == SKIN_HUD ? "SKIN HUD: every page of the lenses, HOME's three levels and the menu drawn" :
"SKIN AIR: every page of the lenses, HOME's three levels and the menu drawn", ok && npg > 40u);
}
@@ -10195,7 +10223,7 @@ static int test_home_a(void)
if (sk == SKIN_COLORS)
ok &= ha_loose() <= 22u * 4u; /* (away from the beings the granules only: 22, 4 px at most) */
bad += check(sk == SKIN_COLORS ? "0.9.7 HOME A (COLORS): no critters, no MUTATE ring until a mutation lands" :
sk == SKIN_BOTTOM ? "0.9.7 HOME A (BOTTOM): no MUTATE ring until a mutation lands" :
sk == SKIN_BOTTOM_OLD ? "0.9.7 HOME A (BOTTOM, read as AIR): no MUTATE ring until a mutation lands" :
sk == SKIN_HUD ? "0.9.7 HOME A (HUD): no MUTATE ring until a mutation lands" :
"0.9.7 HOME A (AIR): no MUTATE ring until a mutation lands", ok);
}
+1 -1
View File
@@ -241,7 +241,7 @@ def controls():
(k('GLO') + ' + ' + k('PLAY'), 'Restart from the top.'),
(k('GLO') + ' + ' + k('SELECT'), 'Tempo (from any page).'),
(k('STEP HELD', cls='a') + ' + ' + k('KNOB'), 'A parameter lock on that step (roll, grid); + ' + k('SELECT', cls='v') + ' the EDIT page they lock; + ' + k('EDIT') + ' clears its locks.'),
(k('HOME', cls='a') + ' held', 'MENU: skins (AIR · COLORS · BOTTOM · HUD), SCOPE on the EDIT pages, palettes, knob accel, FX latch, hold time, USB level, MIDI (MIDI OUT, MIDI LEARN), CPU (2 / 1 cores, 360 / 320 MHz), animation…'),
(k('HOME', cls='a') + ' held', 'MENU: skins (AIR · COLORS · HUD), SCOPE on the EDIT pages, palettes, knob accel, FX latch, hold time, USB level, MIDI (MIDI OUT, MIDI LEARN), CPU (2 / 1 cores, 360 / 320 MHz), animation…'),
]
t3 = '<table>' + ''.join(f'<tr><td style="white-space:nowrap;width:1%;padding-right:18px">{a}</td><td>{d}</td></tr>'
for a, d in combos) + '</table>'
+1 -1
View File
@@ -63,7 +63,7 @@ def main(src, dice, out, dout, bout):
for name, v in ptab:
L.append(f"static const uint8_t {name}_I[{len(v)}] = {{{', '.join(map(str, v))}}};")
size = 8 * len(lanes) + 8 * len(table) + sum(len(v) for _, v in ptab)
# DICE's bars (0.9.18: gone with song_dice.c's own generator; the header stays, empty, for an older source)
# DICE's bars (0.9.17: gone with song_dice.c's own generator; the header stays, empty, for an older source)
d = Path(dice).read_text()
m = re.search(r"static const char \*const DRUM_BAR\[\]\[8\] = \{(.*?)\n\};", d, re.S)
Path(out).write_text("\n".join(L) + "\n")
+2 -2
View File
@@ -98,7 +98,7 @@ L = {
layers=[('HOME', 'the MENU: DISPLAY · CONTROL · AUDIO · MIDI · SYSTEM (SELECT the rows, ALGORITHM the tabs)'),
('EDIT', 'F3 INIT · G3 RECALL · DRUM: black keys 1–8 mute each sound'),
('SEQ', 'F3 CLEAR · G3 REVERSE · A3/B3 SHIFT · C4 RANDOM · D4 COOK · E4 BEAT · F4 CLR AUTO · D5 REVERT · **G5 CLR STEP** · REC: CLEAR ALL'),
('FX', 'punch-in: F3–A3 REPEAT · B3 GLITCH · C4 TAPE STOP · D4/E4 OCT · F4 ½ TEMPO · G4/A4 DEC · B4/C5 STUTTER · D5–F5 ATK+ ARP RANDOM · C#5 D#5 F#5 sweeps · knobs: macros'),
('FX', 'punch-in: F3–A3 REPEAT · B3 GLITCH · C4 TAPE STOP · D4/E4 OCT · F4 ½ TEMPO · G4/A4 DEC · B4/C5 STUTTER · D5–F5 ATK+ ARP RANDOM · G#4 FREEZE · C#5 SHUFFLE · D#5 F#5 sweeps · knobs: macros (a glitcher held: its own)'),
('GLO', 'black 1–6 MUTE · F3–D4 SOLO · E4 unmute all · F4 TAP · A4 FREEZE · B4 REVERT ALL · **G4 UNDO** · PLAY restart · knobs: LEVEL'),
('LFO', 'KNOB 1–4 = M1–M4, latched · F3 new routes · G3 clear'),
('SCL', 'any key sets the ROOT'),
@@ -143,7 +143,7 @@ L = {
layers=[('HOME', 'el MENU: DISPLAY · CONTROL · AUDIO · MIDI · SYSTEM (SELECT las filas, ALGORITHM las pestañas)'),
('EDIT', 'F3 INIT · G3 RECALL · DRUM: negras 1–8 silencian cada sonido'),
('SEQ', 'F3 CLEAR · G3 REVERSE · A3/B3 SHIFT · C4 RANDOM · D4 COOK · E4 BEAT · F4 CLR AUTO · D5 REVERT · **G5 CLR STEP** · REC: CLEAR ALL'),
('FX', 'punch-in: F3–A3 REPEAT · B3 GLITCH · C4 TAPE STOP · D4/E4 OCT · F4 ½ TEMPO · G4/A4 DEC · B4/C5 STUTTER · D5–F5 ATK+ ARP RANDOM · C#5 D#5 F#5 barridos · perillas: macros'),
('FX', 'punch-in: F3–A3 REPEAT · B3 GLITCH · C4 TAPE STOP · D4/E4 OCT · F4 ½ TEMPO · G4/A4 DEC · B4/C5 STUTTER · D5–F5 ATK+ ARP RANDOM · G#4 FREEZE · C#5 SHUFFLE · D#5 F#5 barridos · perillas: macros (con un glitcher, las suyas)'),
('GLO', 'negras 1–6 MUTE · F3–D4 SOLO · E4 desmutea todo · F4 TAP · A4 FREEZE · B4 REVERT ALL · **G4 UNDO** · PLAY reinicia · perillas: LEVEL'),
('LFO', 'KNOB 1–4 = M1–M4, enganchadas · F3 rutas nuevas · G3 las borra'),
('SCL', 'cualquier tecla fija la ROOT'),
+3 -3
View File
@@ -4,7 +4,7 @@
# (JIANT 0.5; 0.6.30: from the presentation video's footage) the README's images, docs/jiant-hero.png and
# docs/jiant-screens.png. (0.9.2) From the firmware's own renders in the default skin on the JIANT palette (0.9.7: AIR,
# tests/ui_render.c -> build/ui_new/AIR_JIANT/<screen>.png, with MENU > DISPLAY > SCOPE OFF as a new FM-1 has it: the
# *_full scenes; JIANT/ COLORS, BOTTOM_JIANT/ and HUD_JIANT/ the other skins), so the README shows the screens as the
# *_full scenes; JIANT/ COLORS and HUD_JIANT/ the other skins), so the README shows the screens as the
# firmware draws them now (the tabs, the knobs in their colours, the breadcrumb):
# python3 -c "import sys; sys.path.insert(0, 'tools'); import build; build.generate()"
# mkdir -p build/ui_new/ppm && cc -O1 -w -DFELUCCA_VERSION=\"v0.9.2\" -Ibuild/gen -Ifirmware/src -Itests \
@@ -64,7 +64,7 @@ big = [('home', 'HOME · six living tracks'), ('gen_explore', 'GEN · EXPLORE, a
('save_arrange', 'ARRANGE · the song in sections')]
for i, (b, c) in enumerate(big):
x = 70 + i * 500; framed(im, shot(b), x, y0, 2); d.text((x, y0 + 492), c, font=cap, fill=heat(0.15 + 0.3 * i))
strips = [[('lente_step_note', 'NOTE · MICRO in 64ths'), ('seq_bar', 'SEQ › BAR · PLAYHEADS'), ('key_chord', 'CHORD'),
strips = [[('lente_step_note', 'NOTE · MICRO in 64ths'), ('seq_bar', 'SEQ › BAR · THE ROLL'), ('key_chord', 'CHORD'),
('fx_buses', 'FX › BUSES'), ('mixer', 'MIXER · DJ FILTER'), ('layer_glo_active', 'GLO held · MAP')],
[('v6_analog_full', 'ACID ANALOG'), ('drumx', 'DRUM-X'), ('words', 'VOICE · WORDS'), ('ed_operator', 'FM6 OPERATOR'),
('reverb_reso', 'RESO REVERB'), (('home', 'JIANT'), 'COLORS skin')]]
@@ -77,7 +77,7 @@ for r, row in enumerate(strips):
d.text((x, y + 222), c, font=font('SemiBold', 18), fill=MID)
y2 = y1 + 2 * 270 + 20
cards = [("SIX RULES", "SELECT walks a section's pages;\nits button jumps group to group."),
("FOUR SKINS", "AIR, COLORS, BOTTOM and HUD: each\nknob its colour, tabs, a breadcrumb."),
("THREE SKINS", "AIR, COLORS and HUD: each\nknob its colour, tabs, a breadcrumb."),
("EXPLORE", "HOME + SELECT writes a whole song;\nEXPLORE breaks every rule, 43 genres."),
("VOICE SINGS", "Words in ES, EN and JA: each note\nthe next syllable of your lyric."),
("ANIMAL", "Birds, crickets, frogs, wolves:\ncalls from physical models."),
+5 -1
View File
@@ -58,7 +58,11 @@ EVENT_PFX = ("ep0_", "e0_", "ep1_", "ep3_", "sysex_", "midi_", "um_", "uart_midi
"rev_clear", "dly_lo_reset", "slicer_start", "slicer_drop", "perf_drop_slicer", "dx_mute_set", "mc_lost",
"uin_ep_config", "fm1__anim_frame", "sy_tok", "trk_chance", "drum_oct_of", "perf_key",
"perf_len", "mod_midi", "sy_norm", "fl_ok", "get_desc", "drum_muted", "drum_lane", "trk_kit", "drum_kit_of",
"name_of")
"name_of",
# (0.9.17) the glitcher's once a slice, segment, chunk, grain or block: GLITCH's segments, SHUFFLE's 1/16s
# and chunks, FREEZE's grains, the scratch's hand, the knobs' focus
"perf_glt_seg", "perf_shuf_step", "perf_shuf_go", "perf_frz_grain", "perf_scratch", "perf_gfocus",
"perf_gx", "perf_pick", "pf_hash")
EVENT_KEEP = {"mo_block", "ep1_tx", "key_latch", "midi_clock_advance", "cin_block", "kb_lat", "live_q", "live_adv"}
ISR_ROOTS = ("fm1_alnk0_irq", "fm1_timer5_irq", # hal/fm1_isr.S: the audio ISR, the key / LED scan (+ USB poll),
"fm1_timer5_top") # (0.9.14) the scan's body, timed
+2 -2
View File
@@ -254,8 +254,8 @@ static void feat_beat(uint32_t q)
}
if (q == B(46, 2)) hold_btn(B_FX, 0); /* (held past HOLD, nothing used: locked open) */
if (bar == 47u) { perf_press(PF_R16, q % 4u == 0u); perf_press(PF_OCTU, q % 4u == 1u); perf_press(PF_S16, q % 4u >= 2u); }
if (bar == 48u) { perf_press(PF_S16, 0); perf_press(PF_SFLT, q % 4u < 3u); perf_press(PF_R8, q % 4u == 3u); }
if (q == B(49, 0)) { perf_press(PF_SFLT, 0); perf_press(PF_R8, 0); hold_btn(B_FX, 1); } /* FX again: unlocked */
if (bar == 48u) { perf_press(PF_S16, 0); perf_press(PF_SHUF, q % 4u < 3u); perf_press(PF_R8, q % 4u == 3u); }
if (q == B(49, 0)) { perf_press(PF_SHUF, 0); perf_press(PF_R8, 0); hold_btn(B_FX, 1); } /* FX again: unlocked */
if (q == B(49, 1)) hold_btn(B_FX, 0);
if (q == B(50, 0)) { hold_btn(B_LFO, 1); caption(q, "PERFORMANCE", "MACROS", "4 macros over what's playing|their dice roll new routes", 0); }
if (q >= B(50, 0) && q < B(51, 0)) for (k = 0; k < 4u; k++) macro_v[k] = (uint8_t)clamp((int32_t)((q - B(50, 0) + 1u) * (10u + 4u * k)), 0, 127);
+2 -2
View File
@@ -298,8 +298,8 @@ static void at_beat(uint32_t q)
}
if (q == B(32, 2)) hold_btn(B_FX, 0);
if (bar == 33u) { perf_press(PF_R16, q % 4u == 0u); perf_press(PF_OCTU, q % 4u == 1u); perf_press(PF_S16, q % 4u >= 2u); }
if (bar == 34u) { perf_press(PF_S16, 0); perf_press(PF_R32, q % 2u == 0u); perf_press(PF_SFLT, q % 2u == 1u); }
if (q == B(35, 0)) { perf_press(PF_R32, 0); perf_press(PF_SFLT, 0); perf_press(PF_R16, 0); perf_press(PF_OCTU, 0); hold_btn(B_FX, 1); }
if (bar == 34u) { perf_press(PF_S16, 0); perf_press(PF_R32, q % 2u == 0u); perf_press(PF_SHUF, q % 2u == 1u); }
if (q == B(35, 0)) { perf_press(PF_R32, 0); perf_press(PF_SHUF, 0); perf_press(PF_R16, 0); perf_press(PF_OCTU, 0); hold_btn(B_FX, 1); }
if (q == B(35, 1)) hold_btn(B_FX, 0);
/* ---- the mystery */
if (q == B(36, 0)) {
+4 -4
View File
@@ -306,7 +306,7 @@ footer .tm{flex-basis:100%;letter-spacing:0}
<div class="head plate">
<p class="eyebrow" data-i18n="nv_eb">Find your way</p>
<h2 data-i18n="nv_h2">Six rules, one map</h2>
<p class="intro" data-i18n="nv_in">Since 0.9.2 every section works the same way: learn six rules once and the whole synth is known. The map shows each button's groups and pages in the order SELECT walks them, in any of the three skins (COLORS, BOTTOM, HUD).</p>
<p class="intro" data-i18n="nv_in">Since 0.9.2 every section works the same way: learn six rules once and the whole synth is known. The map shows each button's groups and pages in the order SELECT walks them, in any of the three skins (AIR, COLORS, HUD).</p>
</div>
<figure class="navfig brk">
<a id="navmap-link" href="docs/navigation-map.svg" target="_blank" rel="noopener"><img id="navmap" src="docs/navigation-map.png" width="1500" height="2747" loading="lazy" alt="JIANT FM navigation map: every section, its groups and its pages in the order SELECT walks them, the six rules, the held layers and the combos"></a>
@@ -581,7 +581,7 @@ const energy=(k,t)=>reduce?.35:Math.exp(-(((t/BEAT)*DIV[k%9]/4)%1)*5);
d_o:'membrana',d_h:'Efectos y master',d_p:'Delay, cinco reverbs (SHIMMER, RESO, CLOUD…), chorus, slicer, efectos punch-in en vivo, un filtro DJ sobre toda la mezcla y un master con limiter, clip y punch.',
e_o:'memoria',e_h:'Canciones y generador',e_p:'Cuatro secciones por proyecto, una página ARRANGE para encadenarlas, y un generador que escribe una idea de canción entera: desde un género, o en EXPLORE, rompiendo todas las reglas.',
f_o:'raíces',f_h:'Audio USB y MIDI',f_p:'El FM-1 se vuelve una interfaz de audio que no pierde el tiempo: cada pista en su propio canal hacia tu DAW (STEMS), listo para grabar cada parte por separado. MIDI por USB, Bluetooth y TRS.',f_go:'Producto aparte: muy pronto',
nv_eb:'Orientarse',nv_h2:'Seis reglas, un mapa',nv_in:'Desde la 0.9.2 todas las secciones se manejan igual: aprendés seis reglas una vez y conocés todo el sinte. El mapa muestra los grupos y las páginas de cada botón en el orden en que los recorre SELECT, en cualquiera de las tres pieles (COLORS, BOTTOM, HUD).',nv_cap:'El mapa de navegación · hacé clic para verlo grande (SVG, con zoom)',
nv_eb:'Orientarse',nv_h2:'Seis reglas, un mapa',nv_in:'Desde la 0.9.2 todas las secciones se manejan igual: aprendés seis reglas una vez y conocés todo el sinte. El mapa muestra los grupos y las páginas de cada botón en el orden en que los recorre SELECT, en cualquiera de las tres pieles (AIR, COLORS, HUD).',nv_cap:'El mapa de navegación · hacé clic para verlo grande (SVG, con zoom)',
nv1_o:'SELECT',nv1_h:'SELECT recorre las páginas',nv1_p:'Una cadena por sección, una página por paso; frena en la primera y en la última.',
nv2_o:'botón',nv2_h:'El botón: entrar o saltar',nv2_p:'Desde otra sección, la página donde la dejaste. Adentro, la primera página del grupo siguiente, en ronda.',
nv3_o:'PRESETS',nv3_h:'PRESETS carga presets',nv3_p:'Los sonidos de la pista en todos lados, los patrones en SEQ, el género en GEN. Nunca una página ni una pista.',
@@ -617,7 +617,7 @@ const energy=(k,t)=>reduce?.35:Math.exp(-(((t/BEAT)*DIV[k%9]/4)%1)*5);
d_o:'细胞膜',d_h:'效果器与总线',d_p:'延迟、五种混响(SHIMMER、RESO、CLOUD…)、合唱、切片器、现场即时效果、作用于整个混音的 DJ 滤波器,以及带限幅、削波和冲击力的总线。',
e_o:'记忆',e_h:'歌曲与生成器',e_p:'每个工程四个段落,用 ARRANGE 页面串联,还有一个写出完整歌曲构思的生成器:按曲风,或在 EXPLORE 模式下打破所有规则。',
f_o:'根系',f_h:'USB 音频与 MIDI',f_p:'FM-1 变成一台时间稳定的音频接口:每条音轨各占一个通道送进你的 DAW(STEMS),可分别录制每一轨。支持 USB、蓝牙和 TRS MIDI。',f_go:'独立产品:即将推出',
nv_eb:'找到方向',nv_h2:'六条规则,一张地图',nv_in:'从 0.9.2 起,每个分区的操作方式都一样:六条规则学一次,就认识整台合成器。地图按 SELECT 走过的顺序列出每个按键的分组和页面,三种外观(COLORS、BOTTOM、HUD)通用。',nv_cap:'导航地图 · 点击查看大图(SVG,可缩放)',
nv_eb:'找到方向',nv_h2:'六条规则,一张地图',nv_in:'从 0.9.2 起,每个分区的操作方式都一样:六条规则学一次,就认识整台合成器。地图按 SELECT 走过的顺序列出每个按键的分组和页面,三种外观(AIR、COLORS、HUD)通用。',nv_cap:'导航地图 · 点击查看大图(SVG,可缩放)',
nv1_o:'SELECT',nv1_h:'SELECT 翻页',nv1_p:'每个分区一条页面链,转一格一页;到第一页和最后一页就停下。',
nv2_o:'按键',nv2_h:'分区按键:进入或跳转',nv2_p:'从别的分区按下,回到你上次离开的页面;已在分区内,跳到下一组的第一页,循环。',
nv3_o:'PRESETS',nv3_h:'PRESETS 载入预设',nv3_p:'到处都是音轨的音色,SEQ 里是节奏型,GEN 里是曲风。从不切换页面或音轨。',
@@ -653,7 +653,7 @@ const energy=(k,t)=>reduce?.35:Math.exp(-(((t/BEAT)*DIV[k%9]/4)%1)*5);
d_o:'膜',d_h:'エフェクトとマスター',d_p:'ディレイ、5 種類のリバーブ(SHIMMER、RESO、CLOUD…)、コーラス、スライサー、ライブのパンチインエフェクト、ミックス全体にかかる DJ フィルター、リミッター・クリップ・パンチ付きのマスター。',
e_o:'記憶',e_h:'ソングとジェネレーター',e_p:'プロジェクトごとに 4 つのセクション、それをつなぐ ARRANGE ページ、そして曲のアイデアを丸ごと書くジェネレーター:ジャンルから、または EXPLORE ですべてのルールを破って。',
f_o:'根',f_h:'USB オーディオと MIDI',f_p:'FM-1 がタイミングの正確なオーディオインターフェースに。各トラックを別々のチャンネルで DAW へ(STEMS)。パートごとに別々に録音できます。USB、Bluetooth、TRS の MIDI に対応。',f_go:'別製品:近日公開',
nv_eb:'迷わない',nv_h2:'6 つのルール、1 枚の地図',nv_in:'0.9.2 から、どのセクションも同じ操作です。6 つのルールを一度覚えれば、シンセ全体がわかります。地図は各ボタンのグループとページを SELECT がたどる順に示し、3 つのスキン(COLORS、BOTTOM、HUD)すべてで同じです。',nv_cap:'ナビゲーションマップ · クリックで拡大(SVG、ズーム可)',
nv_eb:'迷わない',nv_h2:'6 つのルール、1 枚の地図',nv_in:'0.9.2 から、どのセクションも同じ操作です。6 つのルールを一度覚えれば、シンセ全体がわかります。地図は各ボタンのグループとページを SELECT がたどる順に示し、3 つのスキン(AIR、COLORS、HUD)すべてで同じです。',nv_cap:'ナビゲーションマップ · クリックで拡大(SVG、ズーム可)',
nv1_o:'SELECT',nv1_h:'SELECT でページをめくる',nv1_p:'セクションごとに 1 本のページの鎖。1 クリックで 1 ページ、最初と最後のページで止まります。',
nv2_o:'ボタン',nv2_h:'ボタン:入る、または進む',nv2_p:'別のセクションからは、前回いたページへ。中にいれば、次のグループの最初のページへ(一巡します)。',
nv3_o:'PRESETS',nv3_h:'PRESETS はプリセット',nv3_p:'どこでもトラックの音色、SEQ ではパターン、GEN ではジャンル。ページやトラックは変えません。',
+23 -15
View File
@@ -84,7 +84,7 @@ controls: {
"FX": {kind: "button", sec: "fx", shot: 'fx_track_sends', layer: "FX",
alone: ["Sección FX: desde otra sección vuelve a la página donde la dejaste; adentro salta al módulo siguiente TRACK → BUSES → DELAY → REVERB → CHORUS → SLICER → MASTER → PUNCH.",
"The FX section: from elsewhere the page you left there; inside, the next module TRACK → BUSES → DELAY → REVERB → CHORUS → SLICER → MASTER → PUNCH."],
held: ["Capa de efectos punch-in: las teclas son efectos mientras las mantenés (C#5 D#5 F#5: barridos FILTER, CRUSH, THROW); perillas: las macros STEPS, TRANSPOSE, MUTATE, FILTER (girar una para atrás las apaga todas).", "Punch-in effects layer: the keys are effects while held (C#5 D#5 F#5: the sweeps FILTER, CRUSH, THROW); knobs: the macros STEPS, TRANSPOSE, MUTATE, FILTER (turning one back turns them all off)."],
held: ["Capa de efectos punch-in: las teclas son efectos mientras las mantenés (G#4 FREEZE, C#5 SHUFFLE; D#5 F#5: barridos CRUSH, THROW); perillas: las macros STEPS, TRANSPOSE, MUTATE, FILTER (girar una para atrás las apaga todas), o las del glitcher mientras GLITCH, TAPE STOP, FREEZE o SHUFFLE está abajo.", "Punch-in effects layer: the keys are effects while held (G#4 FREEZE, C#5 SHUFFLE; D#5 F#5: the sweeps CRUSH, THROW); knobs: the macros STEPS, TRANSPOSE, MUTATE, FILTER (turning one back turns them all off), or the glitcher's own while GLITCH, TAPE STOP, FREEZE or SHUFFLE is down."],
combos: [
{k: "FX+SELECT", t: ["dados de efectos (BEFORE / NOW)", "effects dice (BEFORE / NOW)"]},
{k: "FX+G5", t: ["borra el carril punch-in (sonando: donde pasa el cabezal)", "erase the punch-in lane (playing: where the playhead passes)"]},
@@ -181,8 +181,8 @@ layers: {
FX: {shot: 'perform_held', t: ["FX mantenido: punch-in", "FX held: punch-in"], keys: {
"F3": "RPT 1/8", "G3": "RPT 1/16", "A3": "RPT 1/32", "B3": "GLITCH", "C4": "TAPE STOP", "D4": "OCT−", "E4": "OCT+", "F4": "1/2 TEMPO",
"G4": "DEC−", "A4": "DEC+", "B4": "STUT 1/8", "C5": "STUT 1/16", "D5": "ATK+", "E5": "ARP", "F5": "RANDOM", "G5": ["BORRA CARRIL", "ERASE LANE"],
"F#3": "MUTE T1", "G#3": "MUTE T2", "A#3": "MUTE T3", "C#4": "MUTE T4", "D#4": "MUTE T5", "F#4": "MUTE T6", "A#4": "TRK ALL/SYN/DRM",
"C#5": "FILTER", "D#5": "CRUSH", "F#5": "THROW"}},
"F#3": "MUTE T1", "G#3": "MUTE T2", "A#3": "MUTE T3", "C#4": "MUTE T4", "D#4": "MUTE T5", "F#4": "MUTE T6", "G#4": "FREEZE", "A#4": "TRK ALL/SYN/DRM",
"C#5": "SHUFFLE", "D#5": "CRUSH", "F#5": "THROW"}},
GLO: {shot: 'layer_glo_active', t: ["GLO mantenido: mezcla", "GLO held: mix"], keys: {
"F3": "SOLO T1", "G3": "SOLO T2", "A3": "SOLO T3", "B3": "SOLO T4", "C4": "SOLO T5", "D4": "SOLO T6", "E4": "UNMUTE",
"F4": "TAP", "G4": "UNDO", "A4": "FREEZE", "B4": "REVERT ALL",
@@ -335,7 +335,7 @@ commands: [
// SEQ
{s: "seq", k: "SEQ", shot: 'lente_bar', t: ["El secuenciador: grupos y páginas", "The sequencer: groups and pages"],
d: ["64 pasos por pista. Grupos (toque SEQ): PATTERN (PATTERN, STRETCH, PLAYHEADS), TRACK (TRACK, MUTATE), BAR (BAR, STEP, NOTE), STEP (COMP, COMP 2), AUTO (AUTOMATION, AUTO LIST). Al encender, STEP.", "64 steps a track. Groups (SEQ tap): PATTERN (PATTERN, STRETCH, PLAYHEADS), TRACK (TRACK, MUTATE), BAR (BAR, STEP, NOTE), STEP (COMP, COMP 2), AUTO (AUTOMATION, AUTO LIST). At power-on, STEP."]},
d: ["64 pasos por pista. Grupos (toque SEQ): PATTERN (PATTERN, STRETCH, PLAYHEADS), TRACK (TRACK, MUTATE), BAR (BAR, STEP, NOTE), STEP (COMP, COMP 2), AUTO (AUTOMATION, AUTO LIST). Al encender, STEP. Desde la 0.9.17 todas las páginas muestran el mismo piano roll (en DRUM la grilla), cada una con sus marcas encima: GATE y SWING en PATTERN, PITCH en TRACK, los cabezales en PLAYHEADS, los componentes en COMP, los registros en AUTO.", "64 steps a track. Groups (SEQ tap): PATTERN (PATTERN, STRETCH, PLAYHEADS), TRACK (TRACK, MUTATE), BAR (BAR, STEP, NOTE), STEP (COMP, COMP 2), AUTO (AUTOMATION, AUTO LIST). At power-on, STEP. Since 0.9.17 every page shows the same piano roll (a DRUM track: the grid), each with its marks on it: GATE and SWING on PATTERN, PITCH on TRACK, the heads on PLAYHEADS, the components on COMP, the records on AUTO."]},
{s: "seq", k: "REC", shot: 'countin', t: ["Grabar en vivo", "Record live"],
d: ["REC en cualquier página (no en STEP parado): arma la pista y arranca. Lo que tocás entra cuantizado, en overdub; mover una perilla graba automatización. CLICK y COUNT-IN en MENU › AUDIO (o REC + G3).", "REC on any page (not STEP while stopped): arms the track and starts. What you play goes in quantized, overdubbing; turning a knob records automation. CLICK and COUNT-IN in MENU › AUDIO (or REC + G3)."]},
{s: "seq", k: "KNOB 4", shot: 'shift', t: ["Grabar sin cuantizar: REC Q", "Record unquantized: REC Q"],
@@ -373,7 +373,7 @@ commands: [
{s: "seq", k: "SEQ", shot: 'fugue', t: ["PLAYHEADS: más cabezales", "PLAYHEADS: more playheads"],
d: ["SEQ › PLAYHEADS: tres cabezales más leen los mismos pasos: HEAD, RATE, DIR (FWD REV PING RND), INTERVAL en grados de la escala. Cánones y contrapunto.", "SEQ › PLAYHEADS: three more heads read the same steps: HEAD, RATE, DIR (FWD REV PING RND), INTERVAL in scale degrees. Canons and counterpoint."]},
{s: "seq", k: "SEQ", shot: 'lente_step_comp', t: ["Componentes de paso (COMP)", "Step components (COMP)"],
d: ["SEQ › COMP / COMP 2: hasta dos por paso: CHANCE, RATCH, ARP, TRIG, RAND, OCT, TONAL, BEND, ECHO, PULSE, JUMP, REV, FILL, KILL, TOUCH, WALK, CLIMB. KNOB 4 EVERY: en qué vueltas suenan (en ARP, LAP: la nota de esta vuelta; el ARP toca una por vuelta).", "SEQ › COMP / COMP 2: up to two a step: CHANCE, RATCH, ARP, TRIG, RAND, OCT, TONAL, BEND, ECHO, PULSE, JUMP, REV, FILL, KILL, TOUCH, WALK, CLIMB. KNOB 4 EVERY: which loops they play on (on an ARP, LAP: this lap's note; an ARP plays one a lap)."]},
d: ["SEQ › COMP / COMP 2: hasta dos por paso: CHANCE, RATCH, ARP, TRIG, RAND, OCT, TONAL, BEND, ECHO, PULSE, JUMP, REV, FILL, KILL, TOUCH, WALK, CLIMB. KNOB 4 EVERY: en qué vueltas suenan (en ARP SEQ, LAP: la nota de esta vuelta; SEQ toca una por vuelta).", "SEQ › COMP / COMP 2: up to two a step: CHANCE, RATCH, ARP, TRIG, RAND, OCT, TONAL, BEND, ECHO, PULSE, JUMP, REV, FILL, KILL, TOUCH, WALK, CLIMB. KNOB 4 EVERY: which loops they play on (on ARP SEQ, LAP: this lap's note; SEQ plays one a lap)."]},
{s: "seq", k: "SEQ", shot: 'motion', t: ["Automatización (AUTOMATION)", "Automation (AUTOMATION)"],
d: ["SEQ › AUTOMATION: PLAY la prende o apaga, EVENT y LOCK cuentan los registros, CLEAR los borra (OCT+). 64 registros por sección entre todas las pistas (AUTOMATION FULL).", "SEQ › AUTOMATION: PLAY turns it on or off, EVENT and LOCK count the records, CLEAR erases them (OCT+). 64 records a section across all tracks (AUTOMATION FULL)."]},
{s: "seq", k: "SEQ", shot: 'auto_list', t: ["Ver y editar cada registro (AUTO LIST)", "See and edit each record (AUTO LIST)"],
@@ -427,15 +427,17 @@ commands: [
// PUNCH-IN
{s: "punch", k: "FX+F3", shot: 'perform_held', t: ["Efectos punch-in (FX mantenido)", "Punch-in effects (FX held)"],
d: ["Con FX mantenido, cada tecla actúa mientras la mantenés y todo vuelve al soltar: F3 G3 A3 REPEAT 1/8 1/16 1/32, B3 GLITCH, C4 TAPE STOP, D4/E4 OCT− OCT+, F4 1/2 TEMPO, G4/A4 DEC− DEC+, B4/C5 STUTTER, D5 ATK+, E5 ARP, F5 RANDOM. Entran en la próxima semicorchea.", "With FX held, each key acts while held and everything returns on release: F3 G3 A3 REPEAT 1/8 1/16 1/32, B3 GLITCH, C4 TAPE STOP, D4/E4 OCT− OCT+, F4 1/2 TEMPO, G4/A4 DEC− DEC+, B4/C5 STUTTER, D5 ATK+, E5 ARP, F5 RANDOM. They come in on the next 1/16."]},
{s: "punch", k: "FX+B3", shot: 'perform_held', t: ["GLITCH y TAPE STOP", "GLITCH and TAPE STOP"],
d: ["B3 GLITCH: el master cortado en semicorcheas: repeticiones de 1/16 a 1/64, la última semicorchea al revés o una octava arriba / abajo, gates; los tiempos casi siempre limpios, el mismo dibujo cada dos compases (groovea). C4 TAPE STOP: la cinta se frena en un tiempo y queda en silencio; al soltar, la música al instante.", "B3 GLITCH: the master cut into sixteenths: 1/16 to 1/64 repeats, the last sixteenth reversed or an octave up / down, gates; the beats mostly clean, the same pattern every two bars (it grooves). C4 TAPE STOP: the tape slows to a stop over a beat and stays silent; let go, the music at once."]},
{s: "punch", k: "FX+C#5", shot: 'perform_wait', t: ["Barridos: FILTER, CRUSH, THROW", "Sweeps: FILTER, CRUSH, THROW"],
d: ["Negras C#5 FILTER (el pasa-altos del DJ FILTER abriéndose), D#5 CRUSH (bits y frecuencia bajando), F#5 THROW (la mezcla al delay y la reverb): mantenidas van de seco a mojado en 2 compases con curva en S; al soltar vuelven en un tiempo. Se graban en el carril.", "Black keys C#5 FILTER (the DJ FILTER's high-pass opening), D#5 CRUSH (bits and rate falling), F#5 THROW (the mix into delay and reverb): held, dry to wet over 2 bars on an S curve; let go, back in a beat. They record into the lane."]},
d: ["Con FX mantenido, cada tecla actúa mientras la mantenés y todo vuelve al soltar: F3 G3 A3 REPEAT 1/8 1/16 1/32, B3 GLITCH, C4 TAPE STOP, G#4 FREEZE, C#5 SHUFFLE, D4/E4 OCT− OCT+, F4 1/2 TEMPO, G4/A4 DEC− DEC+, B4/C5 STUTTER, D5 ATK+, E5 ARP, F5 RANDOM. Entran en la próxima semicorchea.", "With FX held, each key acts while held and everything returns on release: F3 G3 A3 REPEAT 1/8 1/16 1/32, B3 GLITCH, C4 TAPE STOP, G#4 FREEZE, C#5 SHUFFLE, D4/E4 OCT− OCT+, F4 1/2 TEMPO, G4/A4 DEC− DEC+, B4/C5 STUTTER, D5 ATK+, E5 ARP, F5 RANDOM. They come in on the next 1/16."]},
{s: "punch", k: "FX+B3", shot: 'perform_glitch', t: ["El glitcher: GLITCH y TAPE STOP", "The glitcher: GLITCH and TAPE STOP"],
d: ["Mientras la tecla está abajo las perillas son suyas. B3 GLITCH (DENS PITCH SIZE VARI): el master cortado en semicorcheas: repeticiones de 1/16 a 1/256 que suben o bajan por PITCH, reversa, octavas, gates, SKIP (un CD que salta), CRUSH; el mismo dibujo cada dos compases (groovea). C4 TAPE STOP (SCRATCH TIME CURVE): la cinta se frena en TIME; parada, la KNOB 1 scratchea lo último; al soltar, la música al instante.", "While the key is down the knobs are its own. B3 GLITCH (DENS PITCH SIZE VARI): the master cut into sixteenths: 1/16 to 1/256 repeats rising or falling by PITCH, reverse, octaves, gates, SKIP (a CD skipping), CRUSH; the same pattern every two bars (it grooves). C4 TAPE STOP (SCRATCH TIME CURVE): the tape slows to a stop over TIME; stopped, KNOB 1 scratches what was last; let go, the music at once."]},
{s: "punch", k: "FX+G#4", shot: 'perform_freeze', t: ["FREEZE y SHUFFLE", "FREEZE and SHUFFLE"],
d: ["G#4 FREEZE (DENS PITCH SPRAY SIZE): la corchea después de apretar sostenida en granos, estirada, afinada por PITCH, dispersa por SPRAY. C#5 SHUFFLE (AMOUNT SIZE SPEED VARI): las 1/16 (1/8, 1/4) del último compás en otro orden, algunas a media velocidad o al doble.", "G#4 FREEZE (DENS PITCH SPRAY SIZE): the eighth after the press held as grains, stretched, tuned by PITCH, scattered by SPRAY. C#5 SHUFFLE (AMOUNT SIZE SPEED VARI): the last bar's 1/16s (1/8s, 1/4s) in another order, some at half or double speed."]},
{s: "punch", k: "FX+D#5", shot: 'perform_wait', t: ["Barridos: CRUSH, THROW", "Sweeps: CRUSH, THROW"],
d: ["Negras D#5 CRUSH (bits y frecuencia bajando), F#5 THROW (la mezcla al delay y la reverb): mantenidas van de seco a mojado en 2 compases con curva en S; al soltar vuelven en un tiempo. Se graban en el carril. (El barrido FILTER se fue en 0.9.17: el filtro es la macro FILTER.)", "Black keys D#5 CRUSH (bits and rate falling), F#5 THROW (the mix into delay and reverb): held, dry to wet over 2 bars on an S curve; let go, back in a beat. They record into the lane. (The FILTER sweep is gone in 0.9.17: the filter is the FILTER macro.)"]},
{s: "punch", k: "FX+KNOB 1", shot: 'ly_fx_knobs', t: ["Macros de interpretación (perillas con FX)", "Performance macros (knobs with FX)"],
d: ["KNOB 1 STEPS (todas las secuencias 1/2, 1/4, 1/8, un paso, desde donde suenan), 2 TRANSPOSE (+2DA … +6TA por la escala, ±OCT), 3 MUTATE (los patrones mutan cada compás), 4 FILTER (pasa-bajos). Suben a la derecha y quedan al soltar FX; girar cualquiera para atrás (dos pasos) apaga las cuatro de golpe: la música como era. A#4: qué pistas tocan los efectos de nota. Negras 1–6: mute mientras se mantienen.", "KNOB 1 STEPS (every sequence 1/2, 1/4, 1/8, one step, from where it plays), 2 TRANSPOSE (+2ND … +6TH along the scale, ±OCT), 3 MUTATE (the patterns mutate every bar), 4 FILTER (low-pass). Up to the right, kept when FX is let go; turn any back (two detents) and all four are off at once: the music as it was. A#4: which tracks the note effects touch. Black keys 1–6: mute while held."]},
{s: "punch", k: "FX+D4", shot: 'toast_punch', t: ["Grabar los punch-in (carril PUNCH)", "Record the punch-ins (PUNCH lane)"],
d: ["Con REC armado y sonando (no en una canción), mantené FX y los efectos de nota D4–F5, GLITCH, TAPE STOP o un barrido: se graban en el carril de la sección. FX › PUNCH: LEN, RES (1/8 1/16 1/32), CLEAR. FX + G5 borra donde pasa el cabezal (parado: todo).", "With REC armed and playing (not in a song), hold FX and the note effects D4–F5, GLITCH, TAPE STOP or a sweep: they record into the section's lane. FX › PUNCH: LEN, RES (1/8 1/16 1/32), CLEAR. FX + G5 erases where the playhead passes (stopped: all)."]},
d: ["Con REC armado y sonando (no en una canción), mantené FX y los efectos de nota D4–F5, GLITCH, TAPE STOP, SHUFFLE o un barrido: se graban en el carril de la sección. FX › PUNCH: LEN, RES (1/8 1/16 1/32), CLEAR. FX + G5 borra donde pasa el cabezal (parado: todo).", "With REC armed and playing (not in a song), hold FX and the note effects D4–F5, GLITCH, TAPE STOP, SHUFFLE or a sweep: they record into the section's lane. FX › PUNCH: LEN, RES (1/8 1/16 1/32), CLEAR. FX + G5 erases where the playhead passes (stopped: all)."]},
{s: "punch", k: "FX", shot: 'layer_lock_fx', t: ["Dejar la capa FX abierta (LOCK)", "Keep the FX layer open (LOCK)"],
d: ["Mantené FX hasta que abra su mapa y soltalo sin tocar nada: [FX] LOCKED, con las dos manos libres; OCT− = ALL OFF. FX otra vez lo suelta.", "Hold FX until its map opens and let go without touching anything: [FX] LOCKED, both hands free; OCT− = ALL OFF. FX again unlocks."]},
{s: "punch", k: "FX+OCT-", t: ["FX LATCH: efectos que quedan prendidos", "FX LATCH: effects that stay on"],
@@ -499,7 +501,7 @@ commands: [
{s: "menu", k: "HOME", shot: 'menu', t: ["El MENU: cinco pestañas", "The MENU: five tabs"],
d: ["DISPLAY (COLOR, SKIN, SCOPE, STYLE, LARGE, ANIM, LEDS, SCREEN OFF) · CONTROL (HOLD, KNOB ACCEL, FX LATCH, BPM LOCK, SCALE LEDS) · AUDIO (SPEAKER EQ, USB LEVEL, CLICK, CLICK LEVEL, COUNT-IN, TRACKS, LOAD) · MIDI (MIDI OUT, LEARN, LEARN CLEAR) · SYSTEM (USB, RESTORE LAST, CPU, CPU CLOCK, CALIBRATION, INIT SYSTEM, ABOUT).", "DISPLAY (COLOR, SKIN, SCOPE, STYLE, LARGE, ANIM, LEDS, SCREEN OFF) · CONTROL (HOLD, KNOB ACCEL, FX LATCH, BPM LOCK, SCALE LEDS) · AUDIO (SPEAKER EQ, USB LEVEL, CLICK, CLICK LEVEL, COUNT-IN, TRACKS, LOAD) · MIDI (MIDI OUT, LEARN, LEARN CLEAR) · SYSTEM (USB, RESTORE LAST, CPU, CPU CLOCK, CALIBRATION, INIT SYSTEM, ABOUT)."]},
{s: "menu", k: "HOME", shot: 'menu_row', t: ["Piel y paleta (SKIN, COLOR)", "Skin and palette (SKIN, COLOR)"],
d: ["MENU › DISPLAY › SKIN: AIR (de fábrica), COLORS, BOTTOM, HUD. COLOR: JIANT y otras paletas. SCOPE ON/OFF en las páginas EDIT.", "MENU › DISPLAY › SKIN: AIR (default), COLORS, BOTTOM, HUD. COLOR: JIANT and other palettes. SCOPE ON/OFF on the EDIT pages."]},
d: ["MENU › DISPLAY › SKIN: AIR (de fábrica), COLORS, HUD (BOTTOM se retiró en 0.9.17: abre como AIR). COLOR: JIANT y otras paletas. SCOPE ON/OFF en las páginas EDIT.", "MENU › DISPLAY › SKIN: AIR (default), COLORS, HUD (BOTTOM retired in 0.9.17: it opens as AIR). COLOR: JIANT and other palettes. SCOPE ON/OFF on the EDIT pages."]},
{s: "menu", k: "HOME", shot: 'menu_system', t: ["Modos USB", "USB modes"],
d: ["MENU › SYSTEM › USB: CONSOLE (consola serie + audio estéreo, de fábrica), STEREO (audio + MIDI: ayuda a macOS), STEMS (entrada de 8 canales: T1–T6 + FX L/R), IN+OUT (audio estéreo en los dos sentidos: lo que manda la compu entra en la última pista), STEMS+IN (stems + entrada, 10 canales).", "MENU › SYSTEM › USB: CONSOLE (serial console + stereo audio, the default), STEREO (audio + MIDI: helps macOS), STEMS (an 8-channel input: T1–T6 + FX L/R), IN+OUT (stereo audio both ways: what the computer plays comes into the last track), STEMS+IN (stems + input, 10 channels)."]},
{s: "menu", k: "HOME", t: ["MIDI LEARN", "MIDI LEARN"],
@@ -571,9 +573,9 @@ recipes: [
["Volver: SOUND y PATTERN a OFF → BACK TO BEFORE MUTATE? OCT+. O SEQ + D5 REVERT / GLO + B4 REVERT ALL.", "Go back: SOUND and PATTERN OFF → BACK TO BEFORE MUTATE? OCT+. Or SEQ + D5 REVERT / GLO + B4 REVERT ALL."],
["¿Te arrepentiste del revert? GLO + G4.", "Regret the revert? GLO + G4."]]},
{id: "punch", s: "punch", shots: ['perform_held', 'toast_punch'], t: ["Punch-in FX, grabarlos y engancharlos", "Punch-in FX, record and latch them"], steps: [
["Mantené FX y una tecla: el efecto actúa mientras la mantenés (REPEAT, GLITCH, TAPE STOP, OCT, STUTTER, ARP…); las negras C#5 D#5 F#5 barren FILTER, CRUSH, THROW en 2 compases.", "Hold FX and a key: the effect acts while held (REPEAT, GLITCH, TAPE STOP, OCT, STUTTER, ARP…); black keys C#5 D#5 F#5 sweep FILTER, CRUSH, THROW over 2 bars."],
["Mantené FX y una tecla: el efecto actúa mientras la mantenés (REPEAT, GLITCH, TAPE STOP, FREEZE, SHUFFLE, OCT, STUTTER, ARP…); las negras D#5 F#5 barren CRUSH, THROW en 2 compases.", "Hold FX and a key: the effect acts while held (REPEAT, GLITCH, TAPE STOP, FREEZE, SHUFFLE, OCT, STUTTER, ARP…); black keys D#5 F#5 sweep CRUSH, THROW over 2 bars."],
["Perillas con FX: STEPS, TRANSPOSE, MUTATE, FILTER, a la derecha; girá cualquiera para atrás y vuelve todo al original de golpe.", "Knobs with FX: STEPS, TRANSPOSE, MUTATE, FILTER, to the right; turn any back and everything snaps back to the original."],
["Grabar: REC armado y sonando, FX + D4–F5, B3, C4 o un barrido. Se escriben en el carril de la sección (FX › PUNCH). FX + G5 borra.", "Record: REC armed and playing, FX + D4–F5, B3, C4 or a sweep. They are written into the section's lane (FX › PUNCH). FX + G5 erases."],
["Grabar: REC armado y sonando, FX + D4–F5, B3, C4, C#5 o un barrido. Se escriben en el carril de la sección (FX › PUNCH). FX + G5 borra.", "Record: REC armed and playing, FX + D4–F5, B3, C4, C#5 or a sweep. They are written into the section's lane (FX › PUNCH). FX + G5 erases."],
["Manos libres: mantené FX hasta ver el mapa y soltá sin tocar nada ([FX] LOCKED). FX otra vez lo cierra.", "Hands free: hold FX until the map shows and let go without touching anything ([FX] LOCKED). FX again closes it."],
["Que queden prendidos: MENU › CONTROL › FX LATCH ON; FX + OCT− apaga todo.", "To keep them on: MENU › CONTROL › FX LATCH ON; FX + OCT− turns all off."]]},
{id: "liveP", s: "glo", shots: ['live_mano', 'live_rieles'], t: ["Páginas LIVE (MANO y RIELES)", "LIVE pages (MANO and RIELES)"], steps: [
@@ -612,9 +614,15 @@ recipes: [
// ------------------------------------------------------------------------------------------- what's new (README's changelog, digested)
news: [
{v: "0.9.17", items: [
["El glitcher (capa FX): GLITCH con DENS PITCH SIZE VARI mientras lo mantenés, TAPE STOP con TIME CURVE y scratch con la KNOB 1 ya parado, SHUFFLE nuevo en C#5 (el último compás en otro orden), FREEZE nuevo en G#4 (granos). El barrido FILTER se fue: el filtro es la macro FILTER.", "The glitcher (FX layer): GLITCH with DENS PITCH SIZE VARI while held, TAPE STOP with TIME CURVE and KNOB 1 scratching once stopped, new SHUFFLE on C#5 (the last bar in another order), new FREEZE on G#4 (grains). The FILTER sweep is gone: the filter is the FILTER macro."],
["Todas las páginas SEQ muestran el mismo piano roll, cada una con lo suyo encima (GATE y SWING, PITCH, cabezales, componentes, automatización, MUTATE). Los valores arriba en todas las pieles; BOTTOM se retiró (abre como AIR).", "Every SEQ page shows the same piano roll, each with its own marks on top (GATE and SWING, PITCH, heads, components, automation, MUTATE). The values on top in every skin; BOTTOM is retired (it opens as AIR)."],
["SEQ + SELECT tira los dados con el generador de GEN: la parte que GEN escribiría para la pista, sobre la armonía de la canción; sonido, mezcla y automatización quedan.", "SEQ + SELECT dices with GEN's generator: the part GEN would write for the track, on the song's harmony; sound, mix and automation stay."],
["Los dados no se repiten: ni la parte, ni la semilla, ni el preset de la tirada anterior; GEN arranca cada sesión con otra SEED.", "The dice never repeat: not the part, the seed or the preset of the throw before; GEN starts each session on another SEED."],
["GEN: envolventes propias para lead y arpegio, filtros más oscuros que abren con envolvente, LFOs suaves o vibrato, envíos en la percusión; leads de cuatro compases (pregunta y respuesta) y tres órdenes nuevos de arpegio.", "GEN: lead and arp envelopes of their own, darker filters opening with an envelope, soft LFOs or vibrato, percussion sends; four-bar leads (call and answer) and three new arp orders."],
["VOICE: THEME cambia de tema con cada paso de perilla (eran 16) y ya no cruje con una nota mantenida; las palabras nuevas, desde la palabra siguiente. Entre pasos (automatización) la mitad de arriba de un tema mezcla palabras del siguiente. Igual LOOP, WAV#, DECAY, ALGO y LEN de NOISE: un nombre por paso.", "VOICE: THEME moves a theme a detent (it was 16) and no longer crackles over a held note; the new words from the next word. Between detents (automation) a theme's top half blends in the next theme's words. LOOP, WAV#, DECAY, ALGO and NOISE's LEN too: a name a detent."],
["DRUM, OCT arriba otra vez a la mitad: +1 REPEAT 1/2 (cada dos pasos), +2 REPEAT (una vez por paso), +3 RATCHET x2. MIDI 82–93 / 94–105 / 106–127 igual.", "DRUM, OCT up half as fast again: +1 REPEAT 1/2 (every other step), +2 REPEAT (once a step), +3 RATCHET x2. MIDI 82–93 / 94–105 / 106–127 the same."],
["ARP NOTES / SEQ / SCALE (SEQ › COMP): una nota por vuelta del patrón, la siguiente la próxima vez que pasa; KNOB 4 LAP muestra la de esta vuelta (era RATE).", "ARP NOTES / SEQ / SCALE (SEQ › COMP): one note a lap of the pattern, the next the next time round; KNOB 4 LAP shows this lap's (it was RATE)."]]},
["ARP SEQ (SEQ › COMP): una nota de la melodía por vuelta del patrón, la siguiente la próxima vez que pasa; KNOB 4 LAP muestra la de esta vuelta (era RATE). NOTES y SCALE, como antes.", "ARP SEQ (SEQ › COMP): one note of the melody a lap of the pattern, the next the next time round; KNOB 4 LAP shows this lap's (it was RATE). NOTES and SCALE as before."],
["Arreglos: un golpe grabado en vivo en un paso con RATCH o ECHO ya no redobla (suena una vez); CLOUD con SIZE al 100 % ya no queda mudo.", "Fixes: a hit recorded live into a RATCH or ECHO step no longer rolls (it plays once); CLOUD at SIZE 100 % no longer goes silent."]]},
{v: "0.9.16", items: [
["Parado y en silencio, el audio casi no gasta CPU: sin voces, colas ni fades, no se renderiza ninguna pista ni el master, y el segundo núcleo descansa. La próxima nota suena exactamente igual.", "Stopped and silent, the audio uses almost no CPU: with no voices, tails or fades, no track and no master is rendered, and the second core rests. The next note sounds exactly the same."],
["SEQUENCER más liviano parado: los motores solo describen un parámetro cuando cambia.", "SEQUENCER lighter when stopped: the engines only describe a parameter when it changes."],
Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB