0.9.9: DRUM-X, VOICE, ANIMAL first: power-on tracks and the engine order
- Power-on, INIT SYSTEM and NEW PROJECT (engines.c TRK_DEF, ui.c power_sound_of / power_on_parts): T1 DRUM-X (the factory kit), T2 VOICE SINGER EN (sings words), T3 ANIMAL CMOS BIRD, T4 LOFI BYTEBEAT, T5 ANALOG FAT BASS, T6 FM6 TINE EP, each its preset's sound, dry (no DIST CHOR DLY REV send). INIT SOUND unchanged. - The display order (ENGINE_ORDER, a table over the append-only ENGINES[] indices): DRUM-X VOICE ANIMAL LOFI ANALOG FM6 PHASE WHEEL NOISE (DIGITAL last in FELUCCA_FM4 builds) on PRESETS, KNOB 2 ENG, the web editor's lists and the cheat sheet. Engine numbers never renumbered; PROGRAM CHANGE keeps 0.9.8's numbering (ENGINE_PC_ORDER). - Old projects: the tracks an old format lacks still load as 0.9.8's power-on sounds (TRK_OLD); everything saved loads unchanged. GEN genre recipes unchanged; drums found by drum_track() wherever they are. - Tests: new ui_test checks (power-on engines/presets in order, dry, each sounding, DRUM on T1 alone, HOME key and MIDI note on T1, NEW PROJECT identical; selector place <-> engine round trips; ENGINES[] indices; PROGRAM CHANGE order; a 0.9.8-track project unchanged after the new power-on). Updated old-order / old-power-on assertions (KNOB 2 steps, ENGINE_ORDER names, NEW PROJECT sounds, PROGRAM CHANGE expected sound, web editor lists and mock, project tests on old formats -> TRK_OLD). UI tests, renders and CPU sections keep 0.9.8's tracks as fixture (TRK_OLD). Goldens, cpu_vg and target budgets unchanged. - FELUCCA_VERSION v0.9.9; README v0.9.9 section, manuals (EN / ES), EDITOR_PROTOCOL; navigation map, cheat sheets and README hero (HOME render now on the power-on tracks) regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
No files matched your search
@@ -15,7 +15,9 @@ and takes its song system from [SLOOP](https://github.com/isod89/sloop-fm1).
|
||||
the FM-1, with sound, and is played with your computer keyboard or the mouse. The emulator, the installer and the
|
||||
editor update themselves with every change merged into `main`.
|
||||
|
||||
> **Status: in development (v0.9.8).** It builds and passes every test (Felucca's and its own). Back up the flash before installing it.
|
||||
> **Status: in development (v0.9.9).** It builds and passes every test (Felucca's and its own). Back up the flash before installing it.
|
||||
**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,
|
||||
the middle of the screen free; HOME's beings over the whole screen. **MENU › DISPLAY › SCOPE** (OFF by default): an
|
||||
engine's EDIT pages give its creature the whole panel. **HOME's beings have faces**: three isotherms coloured by their
|
||||
@@ -210,7 +212,8 @@ VOICE singing its lyric, in the COLORS skin, exactly as the firmware draws them
|
||||
up whole).
|
||||
|
||||
### Engines
|
||||
Nine engines, all synthesis, no samples: **ANALOG, FM6, PHASE, LOFI, VOICE, WHEEL, NOISE, DRUM (DRUM-X) and ANIMAL**.
|
||||
Nine engines, all synthesis, no samples: **DRUM (DRUM-X), VOICE, ANIMAL, LOFI, ANALOG, FM6, PHASE, WHEEL and NOISE**,
|
||||
in the order PRESETS shows them (0.9.9; the first six are the tracks at power-on, T1–T6).
|
||||
- **ANALOG**: two oscillators with **INT** (an interval of ±24 semitones: fifths, octaves) and DTN; besides SAW, SQR,
|
||||
TRI, SIN and PWM it has **SYNC**, **RING** and **SAW3** (three saws). Its filter is per voice.
|
||||
- **FM6**: Dexed's engine (imports .syx), with its algorithms drawn. Fully editable on the device (from Felucca 1.5):
|
||||
@@ -644,6 +647,37 @@ 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.9
|
||||
- **DRUM-X, VOICE and ANIMAL first: the tracks at power-on.** The FM-1 (and MENU › SYSTEM › INIT SYSTEM, SAVE › TOOLS
|
||||
› NEW PROJECT) starts with **T1 DRUM-X** (the factory kit), **T2 VOICE SINGER EN** (it sings English words),
|
||||
**T3 ANIMAL CMOS BIRD**, **T4 LOFI BYTEBEAT** (the bytebeat organism), **T5 ANALOG FAT BASS** and **T6 FM6 TINE EP**,
|
||||
each its preset's sound (EDIT values, envelope, MONO / POLY, VOICE's words, FM6's patch) and dry: no DIST, CHORUS,
|
||||
DELAY or REVERB send (until 0.9.8: T1 ANALOG, T2 FM6, T3 LOFI, T4 DRUM, T5 PHASE, T6 WHEEL at their engines'
|
||||
defaults). With TRACKS 4, the default, T1–T4 play: drums, a voice, a bird and a bytebeat. INIT SOUND on a track is as
|
||||
before (its engine's own defaults).
|
||||
- **The engines in that order**: PRESETS (the list and KNOB 2 ENG), the web editor's engine lists and the cheat sheet
|
||||
show **DRUM-X, VOICE, ANIMAL, LOFI, ANALOG, FM6, PHASE, WHEEL, NOISE** (DIGITAL, in FELUCCA_FM4 builds, last); was
|
||||
ANALOG FM6 PHASE LOFI VOICE WHEEL NOISE DRUM ANIMAL. Only what you see moved: the engine numbers that projects, user
|
||||
presets, favourites, backups and the editor protocol hold are the same (a display-order table maps the selector to
|
||||
them), so everything saved before loads unchanged; the old formats' extra tracks still load as 0.9.8's power-on
|
||||
sounds. **PROGRAM CHANGE** keeps 0.9.8's numbers (ANALOG's SAW LEAD is still 0): a MIDI rig loads what it did.
|
||||
- Everything that looks for the drums finds them on T1: the DRUM-X kit and its octaves, the grid, MIDI, GEN / DICE's
|
||||
drum part all ask which track plays DRUM (GEN, when none does, still makes T4 the drums, as before); the stems go by
|
||||
track.
|
||||
- Memory: image **563020 B** of 581564 (0.9.8: 562700; +320 B: the power-on table, PROGRAM CHANGE's order); .data +
|
||||
.bss **79556 B**, pool spare **10816 B**, RAM code **22460 B**, all as 0.9.8. cpu_vg every line as 0.9.8 (song/cputest
|
||||
3079), target budgets met: no audio-path change.
|
||||
- Tests (ui_test): the power-on's six engines and presets in this order, dry, DRUM on T1 alone, each sounding with no
|
||||
effect and none clipping, a key and a MIDI note on HOME sounding on T1 (as the browser emulator's boot test plays
|
||||
them), NEW PROJECT the same value for value; the display order (every engine once, place ↔ engine
|
||||
round trips, DIGITAL and the retired ones where they play, KNOB 2 round); ENGINES[] numbers unchanged; PROGRAM CHANGE
|
||||
in 0.9.8's order; a project of 0.9.8's tracks loading unchanged after the new power-on and saving byte for byte the
|
||||
same. The tests that asserted the old order or power-on now assert the new (KNOB 2's steps, ENGINE_ORDER, NEW
|
||||
PROJECT's sounds, the web editor's lists and mock); the UI tests, renders and CPU sections keep 0.9.8's tracks as
|
||||
their fixture (engines.c TRK_OLD). Goldens (every one a preset or project render), cpu_vg and the target budgets
|
||||
unchanged. The README's HOME render (tests/ui_render.c, the hero) shows the power-on tracks now; the navigation map
|
||||
and the cheat sheets (the engines' table in the device's order) regenerated at v0.9.9.
|
||||
|
||||
### v0.9.8
|
||||
- **Clean USB stems** (MENU › USB STEMS / STEMS+IN; the stereo modes were not affected): the 8-channel endpoint said
|
||||
720 bytes (45 frames) while the FM-1 sends 46-frame packets whenever its clock gets ahead (often: it runs a little
|
||||
|
||||
@@ -49,7 +49,10 @@ Guardá tus archivos WAV.
|
||||
|
||||
### Tu primer sonido (1 minuto)
|
||||
|
||||
1. Encendé el equipo. La firma se dibuja sola y después llegás a **HOME**: seis criaturas, una por pista.
|
||||
1. Encendé el equipo. La firma se dibuja sola y después llegás a **HOME**: seis criaturas, una por pista. (0.9.9) Las
|
||||
pistas arrancan como **T1 DRUM-X** (el kit de fábrica), **T2 VOICE** (SINGER EN: canta palabras), **T3 ANIMAL**
|
||||
(CMOS BIRD), **T4 LOFI** (BYTEBEAT), **T5 ANALOG** (FAT BASS) y **T6 FM6** (TINE EP), cada una con el sonido de su
|
||||
preset, seco.
|
||||
2. Girá **ALGORITHM** para elegir una pista (T1–T6). Con el valor por defecto, **TRACKS 4**, se detiene en T4: T5 y T6 aparecen solo con TRACKS 6 (ver
|
||||
[13](#13-sistema-tracks-load-y-el-menu)).
|
||||
3. Girá **PRESETS** para recorrer sonidos. Tocá las teclas.
|
||||
@@ -576,6 +579,11 @@ Nueve motores, todos de síntesis, sin samples. Cualquier motor puede ir en cual
|
||||
(una sola lista con todos los motores) o con KNOB 2 (ENG) en SAVE > PRESETS. También figuran las cuatro perillas de
|
||||
HOME de cada pista.
|
||||
|
||||
**El orden** (0.9.9): PRESETS, KNOB 2 (ENG) y las listas del editor web muestran los motores así: **DRUM-X, VOICE,
|
||||
ANIMAL, LOFI, ANALOG, FM6, PHASE, WHEEL, NOISE** (los seis primeros son las pistas al encender, T1–T6). Solo cambió el
|
||||
orden que ves: los proyectos, presets de usuario, favoritos y backups nombran los motores por su número, que no cambia,
|
||||
así que todo lo guardado antes carga igual. PROGRAM CHANGE conserva los números de la 0.9.8 (ver [14](#14-midi-y-usb)).
|
||||
|
||||
**Cambios suaves**: pasar una pista a otro motor apaga el anterior de a poco (unos 12 ms) y lo que estés sosteniendo
|
||||
(teclas, o las notas que sostiene el secuenciador) sigue en el motor nuevo, entrando de a poco; no se corta nada.
|
||||
Cambiar un valor de lista (WAVE, CHIP, un tipo) mientras suenan notas hace una pequeña bajada (unos 3 ms) en vez de un
|
||||
@@ -692,8 +700,9 @@ BULLFROG · CANARY, CARDINAL, DOVE, OWL, PEEPER, BAT · MOSQUITO, BEE, FLY · WO
|
||||
para sonar bien alrededor de C5 (los de ranas y mamíferos una o dos octavas más abajo: BULLFROG y OWL C4, WOLF G4,
|
||||
ROAR C3, PURR C2).
|
||||
|
||||
ANIMAL va último en la lista de PRESETS, después de DRUM, así que cada sonido anterior conserva su lugar (y su número
|
||||
de PROGRAM CHANGE). No usa RAM (el estado de cada voz entra en la voz), unos 7,6 KB de flash y, con ocho voces, como
|
||||
En la 0.8.3 ANIMAL fue último en la lista de PRESETS, después de DRUM, para que cada sonido anterior conservara su lugar
|
||||
y su número de PROGRAM CHANGE; desde la 0.9.9 la lista lo muestra tercero (DRUM-X, VOICE, ANIMAL …) y PROGRAM CHANGE lo
|
||||
sigue numerando último. No usa RAM (el estado de cada voz entra en la voz), unos 7,6 KB de flash y, con ocho voces, como
|
||||
mucho ~85 % de la CPU del motor más pesado (GLOTT; CMOS, PULSE, WHSTL y WING alrededor de la mitad): las ocho voces en
|
||||
todos los modos.
|
||||
|
||||
@@ -1241,7 +1250,7 @@ las notas sonando después de soltarlas; el acorde siguiente las reemplaza.
|
||||
| --- | --- |
|
||||
| Los pasos y la automatización de la pista seleccionada | **REC mantenido + F3**, o SAVE > TOOLS > CLEAR SEQ, o SEQ TOOLS F3 |
|
||||
| Los pasos y la automatización de las seis pistas, y el carril de punch-in | **SEQ mantenido + REC**, después OCT+ |
|
||||
| **Todo** (NEW PROJECT): cada pista con el sonido por defecto de su motor (seco, FM6 con la voz init), sin pasos ni automatización; mezcla, efectos, tempo y SLICER por defecto; el arreglo vacío, las macros en 0, el kit DRUM-X de fábrica. Quedan los proyectos guardados, los presets de usuario, el MENU, CLOCK, TUNE y MIDI | **MENU > SYSTEM > INIT SYSTEM** o **SAVE > TOOLS > 5 NEW PROJECT**, después OCT+ (UNDO devuelve la música) |
|
||||
| **Todo** (NEW PROJECT): cada pista con su sonido de encendido (0.9.9: T1 DRUM-X, T2 VOICE SINGER EN, T3 ANIMAL CMOS BIRD, T4 LOFI BYTEBEAT, T5 ANALOG FAT BASS, T6 FM6 TINE EP, seco), sin pasos ni automatización; mezcla, efectos, tempo y SLICER por defecto; el arreglo vacío, las macros en 0, el kit DRUM-X de fábrica. Quedan los proyectos guardados, los presets de usuario, el MENU, CLOCK, TUNE y MIDI | **MENU > SYSTEM > INIT SYSTEM** o **SAVE > TOOLS > 5 NEW PROJECT**, después OCT+ (UNDO devuelve la música) |
|
||||
| *(no borra)* Una canción de prueba pesada, para medir la CPU en el equipo y escuchar si hay clics (cada pista viva con acordes de cuatro notas, dos componentes por paso y glides largos, el kit con todos los carriles, todos los FX, 160 BPM) | **SAVE > TOOLS > 6 CPU TEST**, OCT+, después PLAY (UNDO devuelve tu música) |
|
||||
| Solo la automatización de una parte en la pista seleccionada | **REC mantenido + FX / EDIT / ENV / LFO / SCL / ARP / GLO** |
|
||||
| La automatización de la pista, conservando los pasos | SEQ TOOLS **F4 CLR AUTO**, o SEQ > AUTOMATION > CLEAR |
|
||||
@@ -1793,8 +1802,8 @@ distintas.
|
||||
no hay ninguna tecla ni botón mantenido y no está sonando nada, y **como máximo una vez por minuto**.
|
||||
- **No** guarda cuando apagás. Si cambiás algo y apagás dentro de esos segundos, ese último cambio se pierde. Para ir
|
||||
a lo seguro: **pará, esperá ~10 s**, o mejor, guardá en una sección.
|
||||
- Al encender, el equipo arranca en cero, como lo deja **NEW PROJECT** (cada pista con el sonido por defecto de su motor,
|
||||
sin pasos). Con **MENU > SYSTEM > RESTORE LAST ON** el autoguardado pasa a ser la música (la pantalla dice
|
||||
- Al encender, el equipo arranca en cero, como lo deja **NEW PROJECT** (0.9.9: T1 DRUM-X, T2 VOICE, T3 ANIMAL, T4 LOFI,
|
||||
T5 ANALOG, T6 FM6, cada una con el sonido de su preset, seco; sin pasos). Con **MENU > SYSTEM > RESTORE LAST ON** el autoguardado pasa a ser la música (la pantalla dice
|
||||
**RESTORED**). Desde 0.6.40 RESTORE LAST viene en **OFF**: sin autoguardado.
|
||||
- Después de un crash, un cuelgue o un arranque fallido, el autoguardado no se restaura (la música que estaba sonando
|
||||
podría ser lo que causó el crash).
|
||||
@@ -2031,7 +2040,9 @@ protección desvaneció): una foto de esa pantalla ayuda cuando reportás un pro
|
||||
- **OFF**: nada.
|
||||
- **PROGRAM CHANGE** (0.6.72): el programa *n* en el canal que toca una pista carga en esa pista el sonido número
|
||||
*n* + 1 de la lista de PRESETS (los presets de cada motor en su orden, después los presets de usuario); la pista
|
||||
seleccionada no cambia. Los programas llegan a los primeros 128 sonidos de la lista: desde 0.8.3 eso termina dentro
|
||||
seleccionada no cambia. (0.9.9) Los motores en el orden de la 0.9.8, ANALOG, FM6, PHASE, LOFI, VOICE, WHEEL, NOISE,
|
||||
DRUM, ANIMAL, muestre lo que muestre la página PRESETS (que ahora empieza por DRUM-X): los números de programa de un
|
||||
equipo MIDI siguen cargando los sonidos de antes. Los programas llegan a los primeros 128 sonidos de la lista: desde 0.8.3 eso termina dentro
|
||||
de los presets de ANIMAL (va último), así que los presets de usuario que vienen después se eligen en el equipo o
|
||||
desde el editor.
|
||||
- **Secciones y proyectos** (0.6.80): el **canal 16** es el de la canción: su PROGRAM CHANGE nunca carga un sonido
|
||||
|
||||
@@ -49,7 +49,9 @@ files.
|
||||
|
||||
### Your first sound (1 minute)
|
||||
|
||||
1. Power on. The signature draws itself, then you land on **HOME**: six creatures, one per track.
|
||||
1. Power on. The signature draws itself, then you land on **HOME**: six creatures, one per track. (0.9.9) The tracks
|
||||
start as **T1 DRUM-X** (the factory kit), **T2 VOICE** (SINGER EN: it sings words), **T3 ANIMAL** (CMOS BIRD),
|
||||
**T4 LOFI** (BYTEBEAT), **T5 ANALOG** (FAT BASS) and **T6 FM6** (TINE EP), each its preset's sound, dry.
|
||||
2. Turn **ALGORITHM** to pick a track (T1–T6). With the default **TRACKS 4** it stops at T4: T5 and T6 appear only with TRACKS 6 (see
|
||||
[13](#13-system-tracks-load-and-the-menu)).
|
||||
3. Turn **PRESETS** to browse sounds. Play the keys.
|
||||
@@ -557,6 +559,11 @@ keep controlling the macros on every page) until you press LFO again. F3 rolls n
|
||||
Nine engines, all synthesis, no samples. Any engine can go on any track. Pick them with **PRESETS** (one list over
|
||||
every engine) or with KNOB 2 (ENG) on SAVE > PRESETS. Each track's four HOME knobs are listed too.
|
||||
|
||||
**The order** (0.9.9): PRESETS, KNOB 2 (ENG) and the web editor's lists show the engines as **DRUM-X, VOICE, ANIMAL,
|
||||
LOFI, ANALOG, FM6, PHASE, WHEEL, NOISE** (the first six are the tracks at power-on, T1–T6). Only the order you see
|
||||
changed: projects, user presets, favourites and backups name engines by their numbers, which stay, so everything saved
|
||||
before loads as it was. PROGRAM CHANGE keeps 0.9.8's numbers (see [14](#14-midi-and-usb)).
|
||||
|
||||
**Smooth changes**: switching a track to another engine fades the old one out (about 12 ms) and what you are holding
|
||||
(keys, or the notes the sequencer holds) goes on in the new engine, fading in; nothing is cut. Changing a list value
|
||||
(WAVE, CHIP, a type) while notes sound makes a short dip (about 3 ms) instead of a click; the notes go on.
|
||||
@@ -664,8 +671,8 @@ octaves; above 16 syllables a second it narrows, as a bird's trill can only be t
|
||||
BULLFROG · CANARY, CARDINAL, DOVE, OWL, PEEPER, BAT · MOSQUITO, BEE, FLY · WOLF, DOG BARK, ROAR, PURR. They are set to
|
||||
sound right around C5 (the frogs' and mammals' an octave or two lower: BULLFROG and OWL C4, WOLF G4, ROAR C3, PURR C2).
|
||||
|
||||
ANIMAL comes last in the PRESETS list, after DRUM, so every sound before it keeps its place (and its PROGRAM CHANGE
|
||||
number). It costs no RAM (each voice's state fits the voice), about 7.6 KB of flash, and at most ~85 % of the heaviest
|
||||
ANIMAL came last in the PRESETS list in 0.8.3, after DRUM, so every sound before it kept its place and its PROGRAM CHANGE
|
||||
number; since 0.9.9 the list shows it third (DRUM-X, VOICE, ANIMAL …) and PROGRAM CHANGE still numbers it last. It costs no RAM (each voice's state fits the voice), about 7.6 KB of flash, and at most ~85 % of the heaviest
|
||||
engine's CPU with eight voices (GLOTT; CMOS, PULSE, WHSTL and WING about half): all eight voices on every mode.
|
||||
|
||||
### VOICE: words and lyrics (0.8.5)
|
||||
@@ -1185,7 +1192,7 @@ sounding after you let go; the next chord replaces them.
|
||||
| --- | --- |
|
||||
| The selected track's steps and automation | **REC held + F3**, or SAVE > TOOLS > CLEAR SEQ, or SEQ TOOLS F3 |
|
||||
| All six tracks' steps, automation and the punch-in lane | **SEQ held + REC**, then OCT+ |
|
||||
| **Everything** (NEW PROJECT): every track its engine's default sound (dry, FM6 the init voice), no steps or automation, the mix, effects, tempo and SLICER at their defaults, the song empty, macros at 0, the factory DRUM-X kit. Saved projects, user presets, MENU, CLOCK, TUNE and MIDI stay | **MENU > SYSTEM > INIT SYSTEM** or **SAVE > TOOLS > 5 NEW PROJECT**, then OCT+ (UNDO brings the music back) |
|
||||
| **Everything** (NEW PROJECT): every track its power-on sound (0.9.9: T1 DRUM-X, T2 VOICE SINGER EN, T3 ANIMAL CMOS BIRD, T4 LOFI BYTEBEAT, T5 ANALOG FAT BASS, T6 FM6 TINE EP, dry), no steps or automation, the mix, effects, tempo and SLICER at their defaults, the song empty, macros at 0, the factory DRUM-X kit. Saved projects, user presets, MENU, CLOCK, TUNE and MIDI stay | **MENU > SYSTEM > INIT SYSTEM** or **SAVE > TOOLS > 5 NEW PROJECT**, then OCT+ (UNDO brings the music back) |
|
||||
| Only one part's automation on the selected track | **REC held + FX / EDIT / ENV / LFO / SCL / ARP / GLO** |
|
||||
| *(not a clear)* A heavy test song, to measure the CPU on the device and listen for clicks (every live track chords of four with two step components a step and long glides, the kit on every lane, every FX on, 160 BPM) | **SAVE > TOOLS > 6 CPU TEST**, OCT+, then PLAY (UNDO brings your music back) |
|
||||
| The track's automation, keeping the steps | SEQ TOOLS **F4 CLR AUTO**, or SEQ > AUTOMATION > CLEAR |
|
||||
@@ -1694,7 +1701,8 @@ This is the chapter to read carefully. JIANT keeps several kinds of data in diff
|
||||
button is held and nothing is sounding, and **at most once a minute**.
|
||||
- It does **not** save when you switch off. If you change something and power off within those seconds, that last
|
||||
change is lost. To be safe: **stop, wait ~10 s**, or better, save into a section.
|
||||
- At power-on the device starts at zero, as **NEW PROJECT** leaves it (every track its engine's default sound, no
|
||||
- At power-on the device starts at zero, as **NEW PROJECT** leaves it (0.9.9: T1 DRUM-X, T2 VOICE, T3 ANIMAL, T4 LOFI,
|
||||
T5 ANALOG, T6 FM6, each its preset's sound, dry; no
|
||||
steps). With **MENU > SYSTEM > RESTORE LAST ON** the autosave becomes the music instead (the screen says
|
||||
**RESTORED**). RESTORE LAST is **OFF** by default since 0.6.40: no autosave at all.
|
||||
- After a crash, a hang or a failed start, the autosave is not restored (the music that was playing could be what
|
||||
@@ -1919,6 +1927,8 @@ faded): a photo of that screen helps when you report a problem.
|
||||
- **OFF**: nothing.
|
||||
- **PROGRAM CHANGE** (0.6.72): program *n* on the channel a track plays loads the PRESETS list's sound number *n* + 1
|
||||
(every engine's presets in their order, then the user presets) into that track; the selection stays where it was.
|
||||
(0.9.9) The engines in 0.9.8's order, ANALOG, FM6, PHASE, LOFI, VOICE, WHEEL, NOISE, DRUM, ANIMAL, whatever the
|
||||
PRESETS page shows (it starts with DRUM-X now): a MIDI setup's program numbers keep loading the sounds they did.
|
||||
Programs reach the list's first 128 sounds: since 0.8.3 that ends inside ANIMAL's presets (it comes last), so the
|
||||
user presets after it are picked on the device or from the editor.
|
||||
- **Sections and projects** (0.6.80): **channel 16** is the song's: its PROGRAM CHANGE never loads a sound (whatever
|
||||
|
||||
|
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
@@ -51,9 +51,9 @@ ul { padding-left: 18px; } li { margin: 2px 0; }
|
||||
</style></head><body>
|
||||
<header><img src="signature.png" alt="JIANT FM signature"><div>
|
||||
<h1>JIANT FM · CONTROLS</h1><h2>every button, knob, layer, combo and page</h2>
|
||||
<div class="ver">firmware v0.9.8 · M-VAVE FM-1 · juanjiant-bit.github.io/JIANT</div></div></header>
|
||||
<div class="ver">firmware v0.9.9 · 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'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'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'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>MIX: MIXER · SENDS | GLOBAL | SYSTEM</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 class="dim">MACROS M1–M4 (stay latched)</td></tr><tr><tdLine truncated
|
||||
<footer><span>GPL-3.0 · fork of Felucca (Hügelton Instruments) · song mode from SLOOP</span>
|
||||
<span>JIANT FM v0.9.8</span></footer>
|
||||
<span>JIANT FM v0.9.9</span></footer>
|
||||
</body></html>
|
||||
@@ -51,9 +51,9 @@ ul { padding-left: 18px; } li { margin: 2px 0; }
|
||||
</style></head><body>
|
||||
<header><img src="signature.png" alt="JIANT FM signature"><div>
|
||||
<h1>JIANT FM · SOUND · FX · MOD</h1><h2>engines, effects, modulation, sequencer and songs</h2>
|
||||
<div class="ver">firmware v0.9.8 · M-VAVE FM-1 · juanjiant-bit.github.io/JIANT</div></div></header>
|
||||
<div class="ver">firmware v0.9.9 · M-VAVE FM-1 · juanjiant-bit.github.io/JIANT</div></div></header>
|
||||
<div class="rule"></div>
|
||||
<div class="sec">ENGINES · EDIT 1 / EDIT 2<span></span></div><div class="card" style="--c:#f4f1ea" ><h3>NINE ENGINES, ALL SYNTHESIS</h3><table><tr><th>ENGINE</th><th>EDIT 1</th><th>EDIT 2</th><th>WHAT TO KNOW</th></tr><tr><td class="n" style="--c:#3b82f6">ANALOG</td><td style="width:22%"><div class="knobs"><span class="">WAVE</span><span class="">DETUNE</span><span class="">MIX</span><span class="">NOISE</span></div></td><td style="width:22%"><div class="knobs"><span class="">CUT</span><span class="">RES</span><span class="">DRIVE</span><span class="">INT</span></div></td><td>SAW SQR TRI SIN PWM <b>SYNC RING SAW3</b>; INT: osc 2 ±24 st. Its filter is per voice. <b>Its picture</b> (0.9.6): a cell whose membrane is the wave, spikes where DRIVE clips, a ring at CUT.</td></tr><tr><td class="n" style="--c:#d946ef">FM6</td><td style="width:22%"><div class="knobs"><span class="">ALG</span><span class="">FB</span><span class="">MOD</span><span class="">RATIO</span></div></td><td style="width:22%"><div class="knobs"><span class="">MEG</span><span class="">VMOD</span><span class="">DETUNE</span><span class="">SLOT</span></div></td><td>Dexed's 6 operators, 32 algorithms drawn, .syx patches (SLOT), MOD / RATIO move the modulators. <b>OPERATOR · OP ENV · OPERATOR 2</b>: each operator on the device (ratio / fixed, fine, level, its envelope, mode, detune, velocity). <b>SLOT B1–B32</b>: a 32-voice .syx sent from the web editor. <b>Its picture</b> (0.9.6): the operators as bichos wired as the algorithm, OP ENV's riding its envelope.</td></tr><tr><td class="n" style="--c:#8b5cf6">PHASE</td><td style="width:22%"><div class="knobs"><span class="">WAVE</span><span class="">WAVE2</span><span class="">DCW</span><span class="">ENV</span></div></td><td style="width:22%"><div class="knobs"><span class="">DETUNE</span><span class="">LINE</span><span class="">SUB</span><span class="">FB</span></div></td><td>Phase distortion (CZ); <b>FB</b> feeds the output back into the phase: hard edge to growl. <b>Its picture</b> (0.9.6): a snail, its shell's chambers at the bent phase, its sole the wave.</td></tr><tr><td class="n" style="--c:#22d3ee">LOFI</td><td style="width:22%"><div class="knobs"><span class="">CHIP</span><span class="">WAVE</span><span class="">DUTY</span><span class="">CRUSH</span></div></td><td style="width:22%"><div class="knobs"><span class="e">-</span><span class="">VIB</span><span class="">BEND</span><span class="">MASK</span></div></td><td>Chip: PLS TRI SAW NOIS WRAM. <b>BYTE</b>: ALGO VAR · MOTN GRIT BEND LOOP. <b>FLOAT</b> (floatbeat): ALGO VAR · MOTN FBK BEND LOOP; CHIP sets FULL / 4BIT / 1BIT. <b>Its picture</b> (0.9.6): a caterpillar whose skin is the output, a segment per bit of the byte.</td></tr><tr><td class="n" style="--c:#facc15">VOICE</td><td style="width:22%"><div class="knobs"><span class="">VOWEL</span><span class="">VOWEL2</span><span class="">TALK</span><span class="">SHIFT</span></div></td><td style="width:22%"><div class="knobs"><span class="">BUZZ</span><span class="">BREATH</span><span class="">Q</span><span class="">RAND</span></div></td><td>Formant voice (after klattsch): vowels, talk, breath. <b>WORDS</b> (0.8.5): LANG ES / EN / JA sings syllables, a note each (POS THEME ARTIC SHIFT · BUZZ BREATH Q LOOP); LYRIC TEXT (OCT+ on WORDS types it, KNOB 3 dice; the web editor sends it) or W1–16 words, S1–8 scat; "-" holds the vowel. <b>Its picture</b> (0.9.4): a CT head whose tongue, jaw, lips and velum sing the phoneme.</td></tr><tr><td class="n" style="--c:#ff7a00">WHEEL</td><td style="width:22%"><div class="knobs"><span class="">REG</span><span class="">SUB</span><span class="">BODY</span><span class="">TOP</span></div></td><td style="width:22%"><div class="knobs"><span class="">PERC</span><span class="">CLICK</span><span class="">DRIVE</span><span class="">ROTOR</span></div></td><td>Drawbar organ: registrations, percussion, rotary. <b>Its picture</b> (0.9.6): nine tube worms, one a drawbar, bent by the rotor.</td></tr><tr><td class="n" style="--c:#ef4444">NOISE</td><td style="width:22%"><div class="knobs"><span class="">MODE</span><span class="">COLOR</span><span class="">FREQ</span><span class="">PEAK</span></div></td><td style="width:22%"><div class="knobs"><span class="">TRK</span><span class="">DENSE</span><span class="">DRIFT</span><span class="">CRUSH</span></div></td><td>Coloured and metallic noise, tracked or free. <b>Its picture</b> (0.9.6): a swarm walking by COLOR, swirling by FREQ.</td></tr><tr><td class="n" style="--c:#ff7a00">DRUM-X</td><td style="width:22%"><div class="knobs"><span class="">MORPH</span><span class="">TUNE</span><span class="">TONE</span><span class="">DECAY</span></div></td><td style="width:22%"><div class="knobs"><span class="">NOISE</span><span class="">FM</span><span class="">ENV</span><span class="">FOLD</span><span class="">DRIVE</span></div></td><td>8 sounds BD SD CP CH OH TM RS CB, sides A / B: <b>MORPH</b> morphs the kit. The kit first: <b>KIT 3</bLine truncated
|
||||
<div class="sec">ENGINES · EDIT 1 / EDIT 2<span></span></div><div class="card" style="--c:#f4f1ea" ><h3>NINE ENGINES, ALL SYNTHESIS</h3><table><tr><th>ENGINE</th><th>EDIT 1</th><th>EDIT 2</th><th>WHAT TO KNOW</th></tr><tr><td class="n" style="--c:#ff7a00">DRUM-X</td><td style="width:22%"><div class="knobs"><span class="">MORPH</span><span class="">TUNE</span><span class="">TONE</span><span class="">DECAY</span></div></td><td style="width:22%"><div class="knobs"><span class="">NOISE</span><span class="">FM</span><span class="">ENV</span><span class="">FOLD</span><span class="">DRIVE</span></div></td><td>8 sounds BD SD CP CH OH TM RS CB, sides A / B: <b>MORPH</b> morphs the kit. The kit first: <b>KIT 3</b> BP FEEDBK, <b>X-MOD</b> RATE DEPTH SHAPE RAND. Then a sound (KNOB 1 the sound): SIDE PITCH PMOD · DECAY NOISE COLOR · MODE PM.TYPE DRIVE · <b>LAYER</b> (no note) FEEDBK <b>SEND</b> (CHO / DLY / REV). Last LEVELS and <b>STEREO</b> IMAGE (a knob through the kit's stereo placings). KIT, SOUND 1–4 and HOME › BEING draw the kit as little beings that squash and shout on each hit (0.9.4).</td></tr><tr><td class="n" style="--c:#facc15">VOICE</td><td style="width:22%"><div class="knobs"><span class="">VOWEL</span><span class="">VOWEL2</span><span class="">TALK</span><span class="">SHIFT</span></div></td><td style="width:22%"><div class="knobs"><span class="">BUZZ</span><span class="">BREATH</span><span class="">Q</span><span class="">RAND</span></div></td><td>Formant voice (after klattsch): vowels, talk, breath. <b>WORDS</b> (0.8.5): LANG ES / EN / JA sings syllables, a note each (POS THEME ARTIC SHIFT · BUZZ BREATH Q LOOP); LYRIC TEXT (OCT+ on WORDS types it, KNOB 3 dice; the web editor sends it) or W1–16 words, S1–8 scat; "-" holds the vowel. <b>Its picture</b> (0.9.4): a CT head whose tongue, jaw, lips and velum sing the phoneme.</td></tr><tr><td class="n" style="--c:#4ade80">ANIMAL</td><td style="width:22%"><div class="knobs"><span class="">MODE</span><span class="">PRESS</span><span class="">CHAOS</span><span class="">SIZE</span></div></td><td style="width:22%"><div class="knobs"><span class="">SWEEP</span><span class="">RATE</span><span class="">GROUP</span><span class="">TEMP</span></div></td><td>Animal calls (0.8.3), MODE the source: <b>CMOS</b> the 40106 / 4093 bird circuit (TOUCH COUPLE CAP · HYST RATE GROUP FM) · <b>PULSE</b> crickets, cicadas, frogs (CLICK Q · DETUNE) · <b>WHSTL</b> birds, a Hopf whistle · <b>WING</b> mosquito, bee, fly (BUZZ DRIFT · DOPPLR) · <b>GLOTT</b> wolf, bark, roar, purr (MOUTH ROUGH · AIR). GROUP: syllables + gaps; TEMP °C speeds a cricket up (Dolbear). A note is a call. <b>Its picture</b> (0.9.4): bird ↔ insect ↔ mammal by MODE, leaned by SIZE.</td></tr><tr><td class="n" style="--c:#22d3ee">LOFI</td><td style="width:22%"><div class="knobs"><span class="">CHIP</span><span class="">WAVE</span><span class="">DUTY</span><span class="">CRUSH</span></div></td><td style="width:22%"><div class="knobs"><span class="e">-</span><span class="">VIB</span><span class="">BEND</span><span class="">MASK</span></div></td><td>Chip: PLS TRI SAW NOIS WRAM. <b>BYTE</b>: ALGO VAR · MOTN GRIT BEND LOOP. <b>FLOAT</b> (floatbeat): ALGO VAR · MOTN FBK BEND LOOP; CHIP sets FULL / 4BIT / 1BIT. <b>Its picture</b> (0.9.6): a caterpillar whose skin is the output, a segment per bit of the byte.</td></tr><tr><td class="n" style="--c:#3b82f6">ANALOG</td><td style="width:22%"><div class="knobs"><span class="">WAVE</span><span class="">DETUNE</span><span class="">MIX</span><span class="">NOISE</span></div></td><td style="width:22%"><div class="knobs"><span class="">CUT</span><span class="">RES</span><span class="">DRIVE</span><span class="">INT</span></div></td><td>SAW SQR TRI SIN PWM <b>SYNC RING SAW3</b>; INT: osc 2 ±24 st. Its filter is per voice. <b>Its picture</b> (0.9.6): a cell whose membrane is the wave, spikes where DRIVE clips, a ring at CUT.</td></tr><tr><td class="n" style="--c:#d946ef">FM6</td><td style="width:22%"><div class="knobs"><span class="">ALG</span><span class="">FB</span><span class="">MOD</span><span class="">RATIO</span></div></td><td style="width:22%"><div class="knobs"><span class="">MEG</span><span class="">VMOD</span><span class="">DETUNE</span><span class="">SLOT</span></div></td><td>Dexed's 6 operators, 32 algorithms drawn, .syx patches (SLOT), MOD / RATIO move the modulators. <b>OPERATOR · OP ENV · OPERATOR 2</b>: each operator on the device (ratio / fixed, fine, level, its envelope, mode, detune, velocity). <b>SLOT B1–B32</b>: a 32-voice .syx sent from the web editor. <b>Its picture</b> (0.9.6): the operators as bichos wired as the algorithm, OP ENV's riding its envelope.</td></tr><tr><td class="n" style="--c:#8b5cf6">PHASE</td><td style="width:22%"><div class="knobs"><span class="">WAVE</span><span class="">WAVE2</span><span class="">DCW</span><span class="">ENV</span></div></td><td style="width:22%"><div class="knobs"><span class="">DETUNE</spanLine truncated
|
||||
<footer><span>GPL-3.0 · fork of Felucca (Hügelton Instruments) · song mode from SLOOP</span>
|
||||
<span>JIANT FM v0.9.8</span></footer>
|
||||
<span>JIANT FM v0.9.9</span></footer>
|
||||
</body></html>
|
||||
|
Before Width: | Height: | Size: 445 KiB After Width: | Height: | Size: 442 KiB |
|
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 75 KiB |
|
Before Width: | Height: | Size: 472 KiB After Width: | Height: | Size: 472 KiB |
@@ -1,6 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1500 2808" width="1500" height="2808" role="img" aria-label="JIANT FM Mapa de navegación v0.9.8">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1500 2808" width="1500" height="2808" role="img" aria-label="JIANT FM Mapa de navegación v0.9.9">
|
||||
<!-- generated by tools/gen_nav_map.py from firmware/src/ui_lens.c (chains 704164b6464b); do not edit -->
|
||||
<title>JIANT FM · Mapa de navegación · v0.9.8</title>
|
||||
<title>JIANT FM · Mapa de navegación · v0.9.9</title>
|
||||
<style>@font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h-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="2808" rx="28" fill="#000000"/>
|
||||
@@ -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.8 · 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.9 · 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"/>
|
||||
|
||||
|
Before Width: | Height: | Size: 169 KiB After Width: | Height: | Size: 169 KiB |
|
Before Width: | Height: | Size: 459 KiB After Width: | Height: | Size: 459 KiB |
@@ -1,6 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1500 2768" width="1500" height="2768" role="img" aria-label="JIANT FM Navigation map v0.9.8">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1500 2768" width="1500" height="2768" role="img" aria-label="JIANT FM Navigation map v0.9.9">
|
||||
<!-- generated by tools/gen_nav_map.py from firmware/src/ui_lens.c (chains 704164b6464b); do not edit -->
|
||||
<title>JIANT FM · Navigation map · v0.9.8</title>
|
||||
<title>JIANT FM · Navigation map · v0.9.9</title>
|
||||
<style>@font-face{font-family:'JIANT Inter Tight';font-weight:500;src:url(data:font/woff;base64,d09GRgABAAAAAB3MABAAAAAAMXgAAwEGAAAAAAAAAAAAAAAAAAAAAAAAAABHREVGAAAXnAAAACUAAAAoAMMAy0dQT1MAABfEAAAFnAAAEoY6F1UMR1NVQgAAHWAAAAApAAAAKrj6uPRPUy8yAAAB4AAAAE8AAABgb5EQYlNUQVQAAB2MAAAAPwAAAETlM8w7Y21hcAAAA1gAAACSAAAAxCZRSQJnYXNwAAAXlAAAAAgAAAAIAAAAEGdseWYAAASoAAASeAAAGOKAd8jKaGVhZAAAAWwAAAA2AAAANhlUA4xoaGVhAAABpAAAAB8AAAAkDdwEiWhtdHgAAAIwAAABKAAAAWRtNReNbG9jYQAAA/QAAAC0AAAAtCWOK3FtYXhwAAABxAAAABoAAAAgAGMAfW5hbWUAABcgAAAAXwAAAH4K7BqicG9zdAAAF4AAAAATAAAAIP6yAIxwcmVwAAAD7AAAAAcAAAAHaAaMhQABAAAAAwEGbcSGoV8PPPUAAwgAAAAAANRqD0IAAAAA37eod/6W/hIHgwfAAAAABgACAAAAAAAAeJxjYGRgYD/wTwhItv2b9m86ezMDUAQFRAIAmDEGcwB4nGNgZGBgiGQIYWBmUAdiEA8BgHwAFaIA4QAAeJxjYGH5zPiFgZWBgdWY5SwDA8MsCM10lqGHaT4DEmhgYGAGUg4wflCwbzDDAQYFJSH2A/+EGBg4rjP1AYUZQXIscayXgJQCAw8A4aUOZgB4nB2OO0gDQRRF78y+2aSK+CnSBEQEQWKIYRFFRFAIC1rIVkHERpAtBBvBxU9rZSEpEg2ohQoprIKkELQUuxiClZBKWwsLGzXr3S0O533mPkaATbOApHwgMMdwzTYCOSCr7OvsTxGoNvsBZOSHnkBgd7m7IS248kS/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4 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="2768" rx="28" fill="#000000"/>
|
||||
@@ -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.8 · 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.9 · 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"/>
|
||||
|
||||
|
Before Width: | Height: | Size: 167 KiB After Width: | Height: | Size: 167 KiB |
@@ -206,6 +206,11 @@ static void params_by_count(int16_t *out, const int16_t *in, uint32_t np, const
|
||||
#define ENGI_SLICE 13u
|
||||
#define ENGI_SAMPLE 4u
|
||||
#define ENGI_ANIMAL 14u /* (JIANT 0.8.3) eng_animal.c */
|
||||
#define ENGI_PHASE 2u /* (0.9.9: named for the power-on parts and the display order, engines.c) */
|
||||
#define ENGI_LOFI 3u
|
||||
#define ENGI_VOICE 5u /* eng_formant.c ENG_FORMANT */
|
||||
#define ENGI_WHEEL 7u
|
||||
#define ENGI_NOISE 11u
|
||||
#define ENGI_TRIO 6u /* (JIANT 0.4) folded into ANALOG (analog_from_trio) */
|
||||
/* (JIANT) the retired engines: PHYS, and the sample engines SAMPLE GRAIN SLICE (their 123 KB of samples and GRAIN's
|
||||
* 27 KB of RAM went to DRUM-X and the effects). Their numbers stay reserved (engines.c ENG_GONE), never offered; a sound
|
||||
|
||||
@@ -69,19 +69,32 @@ static const engine_t *const ENGINES[NENGINES] = {
|
||||
static inline uint32_t eng_idx(uint32_t e) { return e < NENGINES ? e : 0u; }
|
||||
|
||||
/* the order the engines are shown in (PRESETS browsing and its ENG knob, the EDIT layer's keys, the editor's list):
|
||||
* engine indices, never DIGITAL's reserved 1 (with FELUCCA_FM4 it follows FM6). The indices stay as they are (the
|
||||
* stores and the protocol hold them); only this table orders them */
|
||||
* engine indices, never DIGITAL's reserved 1 (with FELUCCA_FM4 it comes last). The indices stay as they are (the
|
||||
* stores and the protocol hold them); only this table orders them. (0.9.9) DRUM-X, VOICE, ANIMAL first, as the parts
|
||||
* at power-on (TRK_DEF: T1..T6 are its first six), then PHASE WHEEL NOISE; was ANALOG FM6 PHASE LOFI VOICE WHEEL
|
||||
* NOISE DRUM ANIMAL, which PROGRAM CHANGE keeps (ENGINE_PC_ORDER) */
|
||||
static const uint8_t ENGINE_ORDER[NENG_SHOWN] = {
|
||||
0, /* ANALOG */
|
||||
12, /* FM6 */
|
||||
ENGI_DRUM, /* DRUM (DRUM-X) */
|
||||
ENGI_VOICE, /* VOICE */
|
||||
ENGI_ANIMAL, /* ANIMAL */
|
||||
ENGI_LOFI, /* LOFI */
|
||||
ENGI_ANALOG, /* ANALOG */
|
||||
ENGI_FM6, /* FM6 */
|
||||
ENGI_PHASE, ENGI_WHEEL, /* PHASE WHEEL */
|
||||
ENGI_NOISE, /* NOISE */
|
||||
#if FELUCCA_FM4
|
||||
1, /* DIGITAL */
|
||||
ENGI_DIGITAL, /* DIGITAL (retired, FELUCCA_FM4 builds only): after the rest */
|
||||
#endif
|
||||
2, 3, 5, 7, /* PHASE LOFI VOICE WHEEL */
|
||||
11, /* NOISE */
|
||||
10, /* DRUM */
|
||||
14, /* (0.8.3) ANIMAL: last, so every sound before it keeps its place in the PRESETS
|
||||
* list (a PROGRAM CHANGE n loads its n + 1-th: 0..127) */
|
||||
};
|
||||
/* (0.9.9) PROGRAM CHANGE n loads the n + 1-th sound of the PRESETS list in the order of 0.9.8 (ANIMAL last: 0.8.3's
|
||||
* numbers kept), so a MIDI rig's program numbers name the sounds they named before the display order changed; the
|
||||
* PRESETS list itself follows ENGINE_ORDER (ui.c preset_all_at_in) */
|
||||
static const uint8_t ENGINE_PC_ORDER[NENG_SHOWN] = {
|
||||
ENGI_ANALOG, ENGI_FM6,
|
||||
#if FELUCCA_FM4
|
||||
ENGI_DIGITAL,
|
||||
#endif
|
||||
ENGI_PHASE, ENGI_LOFI, ENGI_VOICE, ENGI_WHEEL, ENGI_NOISE, ENGI_DRUM, ENGI_ANIMAL,
|
||||
};
|
||||
|
||||
/* the engines one can pick (engine 1 only with FELUCCA_FM4), in ENGINE_ORDER: eng_ok(e), the n-th of them
|
||||
@@ -149,7 +162,18 @@ static const struct {
|
||||
#undef T_
|
||||
#define NPATTERNS (sizeof PATTERNS / sizeof PATTERNS[0])
|
||||
|
||||
/* the parts at power-on (engine, preset, PATTERNS[n - 1] in the sequencer, 0 = empty: all are): bass, pad, lead, drums */
|
||||
static const uint8_t TRK_DEF[NPART][3] = {{0, 4, 0}, {ENGI_FM6, 4, 0}, {3, 3, 0}, {ENGI_DRUM, 0, 0}, {2, 0, 0}, {7, 0, 0}};
|
||||
/* ANALOG ACID, FM6 PAD (was DIGITAL PAD), LOFI PULSE LD (3: BYTE first), DRUM KIT; (JIANT 0.6) PHASE's first, WHEEL's first */
|
||||
/* (0.9.9) the parts at power-on, INIT SYSTEM and NEW PROJECT (engine, preset, PATTERNS[n - 1] in the sequencer,
|
||||
* 0 = empty: all are), in the display order's first six: T1 DRUM-X's kit, T2 VOICE singing words, T3 ANIMAL's bird,
|
||||
* T4 LOFI's bytebeat organism, T5 ANALOG's bass, T6 FM6's electric piano. Each its preset's sound, dry (ui.c
|
||||
* power_sound_of: no DIST CHOR DLY REV send, the effects are the player's to add) */
|
||||
#define TRK_PR_VOICE 9u /* SINGER EN (eng_formant.c FORMANT_PRESETS) */
|
||||
#define TRK_PR_ANALOG 14u /* FAT BASS (eng_analog.c) */
|
||||
static const uint8_t TRK_DEF[NPART][3] = {{ENGI_DRUM, 0, 0}, {ENGI_VOICE, TRK_PR_VOICE, 0}, {ENGI_ANIMAL, 0, 0},
|
||||
{ENGI_LOFI, 0, 0}, {ENGI_ANALOG, TRK_PR_ANALOG, 0}, {ENGI_FM6, 0, 0}};
|
||||
/* DRUM-X (DRUM's first, the factory kit), SINGER EN, CMOS BIRD, BYTEBEAT, FAT BASS, TINE EP */
|
||||
/* the parts at power-on through 0.9.8 (the same columns): what an old project's tracks it had no room for load as
|
||||
* (project.c proj_new_tracks, PROJ_DEF_SOUND: format 1's tracks 2..4, a 4-track format's T5 / T6): never change it.
|
||||
* ANALOG ACID, FM6 PAD (was DIGITAL PAD), LOFI PULSE LD (3: BYTE first), DRUM KIT; (JIANT 0.6) PHASE's first, WHEEL's first */
|
||||
static const uint8_t TRK_OLD[NPART][3] = {{0, 4, 0}, {ENGI_FM6, 4, 0}, {3, 3, 0}, {ENGI_DRUM, 0, 0}, {2, 0, 0}, {7, 0, 0}};
|
||||
static uint32_t trk_old_engine(uint32_t i) { return TRK_OLD[i % NPART][0]; }
|
||||
static uint32_t trk_def_engine(uint32_t i) { return TRK_DEF[i % NPART][0]; }
|
||||
@@ -38,7 +38,7 @@
|
||||
#define FELUCCA_ID "FM-1_900" /* package identity (build.py: the .fwsc marker string) */
|
||||
#endif
|
||||
#ifndef FELUCCA_VERSION
|
||||
#define FELUCCA_VERSION "v0.9.8" /* JIANT's (based on Felucca 1.1.5.1): the splash, the menu, the console, the editor */
|
||||
#define FELUCCA_VERSION "v0.9.9" /* JIANT's (based on Felucca 1.1.5.1): the splash, the menu, the console, the editor */
|
||||
#endif
|
||||
#if FELUCCA_OTA && !FELUCCA_FLASH
|
||||
#error "FELUCCA_OTA needs FELUCCA_FLASH"
|
||||
|
||||
@@ -105,8 +105,8 @@ static void fm1_fault(const fm1_crash_t *c)
|
||||
fm1_reboot();
|
||||
}
|
||||
|
||||
/* power-on: the parts with their engines' defaults and first sounds (TRK_DEF's engines; JIANT 0.6.40: as INIT SYSTEM,
|
||||
* was TRK_DEF's presets); the sequencers empty. RESTORE LAST ON brings the last session back after (autosave_boot) */
|
||||
/* power-on: the parts with their power-on sounds (0.9.9: T1 DRUM-X, T2 VOICE, T3 ANIMAL, T4 LOFI, T5 ANALOG, T6 FM6,
|
||||
* engines.c TRK_DEF; as INIT SYSTEM: ui.c power_sound_of); the sequencers empty. RESTORE LAST ON brings the last session back after (autosave_boot) */
|
||||
static void felucca_init(void)
|
||||
{
|
||||
uint32_t i;
|
||||
@@ -121,18 +121,7 @@ static void felucca_init(void)
|
||||
sing_init(); /* (0.9.0) VOICE's English generator words, resolved once (sing.c) */
|
||||
load_depth++; /* (the power-on loads: one outer load) */
|
||||
fm6_init(); /* every track's FM6 patch: the init voice */
|
||||
for (i = 0; i < NTRK; i++) {
|
||||
track_t *t = &trk[i];
|
||||
track_defaults(t);
|
||||
init_sound_of(t, TRK_DEF[i][0]); /* (0.6.49: as INIT SOUND: the engine's defaults, dry, FM6 the init
|
||||
* voice; was its first preset with its sends) */
|
||||
t->engine = t->eng_req;
|
||||
track_defaults_steps(t); /* (a sound load never touches them) */
|
||||
if (TRK_DEF[i][2])
|
||||
load_pat16(t, PATTERNS[TRK_DEF[i][2] - 1u].note, PATTERNS[TRK_DEF[i][2] - 1u].flags);
|
||||
pat_sig[i] = steps_sig(t); /* a default pattern, not the user's */
|
||||
pat_last[i] = TRK_DEF[i][2];
|
||||
}
|
||||
power_on_parts(); /* (0.9.9: ui.c, TRK_DEF's sounds; the tests run it too) */
|
||||
load_depth--;
|
||||
song.sel = 0;
|
||||
song.master_q12 = 2048; /* (the pot's level replaces it before the audio starts: master_boot) */
|
||||
|
||||
@@ -295,14 +295,14 @@ static void proj_trk_from_v2(proj_trk_t *d, const proj_trk_v2_t *s)
|
||||
proj_trk_from(d, s->p, PROJ_NP_V2, s->engine, s->preset, s->step);
|
||||
}
|
||||
/* (JIANT 0.6) the tracks from `from` on of a project read from a format of PROJ_LT tracks: their power-on sounds
|
||||
* (PROJ_DEF_SOUND: project_restore_runtime gives TRK_DEF's), no steps */
|
||||
* (PROJ_DEF_SOUND: project_restore_runtime gives TRK_OLD's: 0.9.8's power-on, whatever today's is), no steps */
|
||||
static void proj_new_tracks(project_t *q, uint32_t from)
|
||||
{
|
||||
uint32_t i, k;
|
||||
for (i = from; i < NTRK; i++) {
|
||||
for (k = 0; k < P_COUNT; k++)
|
||||
q->t[i].p[k] = param_desc_of(trk_def_engine(i), k)->def;
|
||||
q->t[i].engine = (uint8_t)trk_def_engine(i);
|
||||
q->t[i].p[k] = param_desc_of(trk_old_engine(i), k)->def;
|
||||
q->t[i].engine = (uint8_t)trk_old_engine(i);
|
||||
q->t[i].preset = PROJ_DEF_SOUND;
|
||||
for (k = 0; k < NSTEP; k++) {
|
||||
memset(&q->t[i].step[k], 0, sizeof q->t[i].step[k]);
|
||||
@@ -1759,7 +1759,7 @@ static int project_restore_runtime(const project_t *input)
|
||||
track_t *t = &trk[k];
|
||||
int16_t keep[P_COUNT];
|
||||
if (p->t[k].preset == PROJ_DEF_SOUND) {
|
||||
apply_preset_to(t, TRK_DEF[k][1]);
|
||||
apply_preset_to(t, TRK_OLD[k][1]); /* (0.9.9: 0.9.8's power-on sound, engines.c TRK_OLD) */
|
||||
track_defaults_steps(t);
|
||||
} else if (p->t[k].preset == PROJ_DEF_KEEP) { /* the steps, LEVEL PAN MUTE, LEN DIV SWING GATE kept */
|
||||
memcpy(keep, t->p, sizeof keep);
|
||||
@@ -1784,7 +1784,7 @@ static int project_restore_runtime(const project_t *input)
|
||||
* undo_do brings it back and keeps what it replaced, so a second UNDO goes forward again. The transport plays on */
|
||||
static project_store_t undo_st[2] __attribute__((section(".lowbuf"))); /* (0.6.78: app.ld LOWBUF) */
|
||||
/* (JIANT 0.6.40) INIT SYSTEM (SAVE > TOOLS 5, its dialog; UNDO brings the music back) and the power-on (main.c, with
|
||||
* RESTORE LAST OFF): the six tracks their engine (TRK_DEF's) at its defaults and first sound, as INIT SOUND does; no
|
||||
* RESTORE LAST OFF): the six tracks their power-on sound (0.9.9: TRK_DEF's engine and preset, dry: ui.c power_sound_of); no
|
||||
* steps, automation or locks; the mix, the global effects, the tempo and the SLICER at their defaults; the song empty,
|
||||
* the macros at 0, the punch-in lane clear, the factory DRUM-X kit (X-MOD, TONE off, nothing muted), every FM6 patch
|
||||
* the init voice. What is saved (projects, user presets) and the setup (CLOCK, TUNE, MIDI, ROUTE, the project slot,
|
||||
@@ -1816,7 +1816,7 @@ static void system_init(void)
|
||||
motion_clear(t);
|
||||
load_begin(t, LOAD_SOUND | LOAD_PAT);
|
||||
track_defaults(t);
|
||||
init_sound_of(t, trk_def_engine(i)); /* (its defaults and first sound, dry; FM6 the init voice) */
|
||||
power_sound_of(t, i); /* (0.9.9: TRK_DEF's sound, dry; was the engine's defaults) */
|
||||
motion_clear(t);
|
||||
load_end(t);
|
||||
pat_sig[i] = steps_sig(t);
|
||||
|
||||
@@ -1371,6 +1371,17 @@ static void init_sound_of(track_t *t, uint32_t ei)
|
||||
fm6_init_voice(t);
|
||||
load_end(t);
|
||||
}
|
||||
/* (0.9.9) the power-on, INIT SYSTEM and NEW PROJECT: part i (engines.c TRK_DEF) its engine with its preset's sound
|
||||
* (the EDIT values, the envelope, MONO / POLY, VOICE's words, FM6's patch), over the engine's defaults as INIT SOUND
|
||||
* leaves them, and dry: no DIST CHOR DLY REV send (the effects are the player's to add). Was INIT SOUND's alone */
|
||||
static void power_sound_of(track_t *t, uint32_t i)
|
||||
{
|
||||
uint32_t k;
|
||||
init_sound_of(t, TRK_DEF[i % NPART][0]);
|
||||
apply_preset_to(t, TRK_DEF[i % NPART][1]);
|
||||
for (k = 0; k < 4u; k++)
|
||||
t->p[P_DIST + k] = 0;
|
||||
}
|
||||
|
||||
static void track_defaults(track_t *t)
|
||||
{
|
||||
@@ -1379,6 +1390,23 @@ static void track_defaults(track_t *t)
|
||||
t->p[i] = TP[i].def;
|
||||
track_defaults_steps(t);
|
||||
}
|
||||
/* (0.9.9) the power-on's parts (main.c felucca_init, inside its load): each track at its defaults with its power-on
|
||||
* sound (power_sound_of), the sequencers empty (or TRK_DEF's pattern: none has one) */
|
||||
static void power_on_parts(void)
|
||||
{
|
||||
uint32_t i;
|
||||
for (i = 0; i < NTRK; i++) {
|
||||
track_t *t = &trk[i];
|
||||
track_defaults(t);
|
||||
power_sound_of(t, i);
|
||||
t->engine = t->eng_req;
|
||||
track_defaults_steps(t); /* (a sound load never touches them) */
|
||||
if (TRK_DEF[i][2])
|
||||
load_pat16(t, PATTERNS[TRK_DEF[i][2] - 1u].note, PATTERNS[TRK_DEF[i][2] - 1u].flags);
|
||||
pat_sig[i] = steps_sig(t); /* a default pattern, not the user's */
|
||||
pat_last[i] = TRK_DEF[i][2];
|
||||
}
|
||||
}
|
||||
|
||||
/* switch engine (its defaults + first preset) and say so */
|
||||
static void select_engine(uint32_t e)
|
||||
@@ -1405,21 +1433,22 @@ static uint32_t preset_all_pos(uint32_t *total) /* list index of the se
|
||||
return cur;
|
||||
}
|
||||
|
||||
/* list index n (< total) -> engine, *k its preset; NENGINES = user preset, *k its slot */
|
||||
static uint32_t preset_all_at(uint32_t n, uint32_t *k)
|
||||
/* list index n (< total) -> engine, *k its preset; NENGINES = user preset, *k its slot. The engines in the order of
|
||||
* `order` (NENG_SHOWN of them): ENGINE_ORDER, the list shown; (0.9.9) ENGINE_PC_ORDER, PROGRAM CHANGE's numbers */
|
||||
static uint32_t preset_all_at_in(uint32_t n, uint32_t *k, const uint8_t *order)
|
||||
{
|
||||
uint32_t e = 0, i, r;
|
||||
for (r = 0; r < NENG_SHOWN && n >= preset_shown(eng_vis(r)); r++)
|
||||
n -= preset_shown(eng_vis(r));
|
||||
uint32_t e, r;
|
||||
for (r = 0; r < NENG_SHOWN && n >= preset_shown(order[r]); r++)
|
||||
n -= preset_shown(order[r]);
|
||||
if (r == NENG_SHOWN) {
|
||||
*k = up_nth(n);
|
||||
return NENGINES;
|
||||
}
|
||||
e = eng_vis(r);
|
||||
(void)i;
|
||||
e = order[r];
|
||||
*k = preset_nth(ENGINES[e], n); /* the n-th shown preset */
|
||||
return e;
|
||||
}
|
||||
static uint32_t preset_all_at(uint32_t n, uint32_t *k) { return preset_all_at_in(n, k, ENGINE_ORDER); }
|
||||
|
||||
static uint32_t preset_pos(uint32_t *total)
|
||||
{
|
||||
@@ -1497,7 +1526,9 @@ static void preset_go(uint32_t n) /* load list index n into t
|
||||
}
|
||||
|
||||
/* (JIANT 0.6.72) PROGRAM CHANGE (midi_control.c midi_pc_req): the list's n-th sound into the track whose channel it
|
||||
* came on, the selection kept; out of the list's range, nothing. Every frame (ui_input) */
|
||||
* came on, the selection kept; out of the list's range, nothing. (0.9.9) The list in 0.9.8's engine order
|
||||
* (engines.c ENGINE_PC_ORDER), whatever the PRESETS page shows: a rig's program numbers keep their sounds. Every frame
|
||||
* (ui_input) */
|
||||
static void midi_pc_poll(void)
|
||||
{
|
||||
uint32_t i, sel = song.sel;
|
||||
@@ -1516,7 +1547,7 @@ static void midi_pc_poll(void)
|
||||
song.sel = (uint8_t)i;
|
||||
preset_all_pos(&all);
|
||||
if (n < all) {
|
||||
e = preset_all_at(n, &k);
|
||||
e = preset_all_at_in(n, &k, ENGINE_PC_ORDER); /* (0.9.9: 0.9.8's numbers) */
|
||||
if (e == NENGINES) {
|
||||
up_load(k);
|
||||
} else {
|
||||
|
||||
@@ -196,8 +196,8 @@ static uint32_t started_since(const track_t *t, uint32_t a0)
|
||||
return n;
|
||||
}
|
||||
|
||||
/* the demo song: T1 ANALOG ACID (16 steps), T2 the power-on pad (TRK_DEF: FM6 PAD; DIGITAL PAD until it was
|
||||
* retired) (32 steps, tied chords), T3 LOFI PULSE LD
|
||||
/* the demo song: T1 ANALOG ACID (16 steps), T2 0.9.8's power-on pad (TRK_OLD, TRK_DEF
|
||||
* until 0.9.9: FM6 PAD; DIGITAL PAD until it was retired) (32 steps, tied chords), T3 LOFI PULSE LD
|
||||
* (12 steps: 3 against 4), T4 DRUM drums (16 steps, up to 3 notes a step); 120 BPM, 8 bars. Bars 5..6:
|
||||
* live recording: a clap into the drums just before step 4 (quantised onto it, not triggered twice),
|
||||
* MIDI ch 3 into the lead, a two-key chord on the keys into an empty pad step. solo: 0 = the mix,
|
||||
@@ -222,7 +222,7 @@ static int tracks_demo(const char *dir, const char *name, uint32_t solo)
|
||||
host_tracks_init();
|
||||
song.g[G_BPM] = 120;
|
||||
host_preset(t1, 0, 4);
|
||||
host_preset(t2, TRK_DEF[1][0], TRK_DEF[1][1]);
|
||||
host_preset(t2, TRK_OLD[1][0], TRK_OLD[1][1]);
|
||||
host_preset(t3, 3, 0);
|
||||
host_drums(td); /* DRUM KIT (SAMPLE PERC until 1.0.2) */
|
||||
for (i = 0; i < 16u; i++) {
|
||||
|
||||
@@ -245,7 +245,7 @@ static void as_power_on(void) /* RAM lost: the defaul
|
||||
chain_defaults(&chain_config);
|
||||
host_tracks_init();
|
||||
for (k = 0; k < NTRK; k++)
|
||||
trk[k].eng_req = trk[k].engine = (uint8_t)TRK_DEF[k][0];
|
||||
trk[k].eng_req = trk[k].engine = (uint8_t)TRK_OLD[k][0]; /* (0.9.8's parts: the autosave tests' music) */
|
||||
}
|
||||
static void as_edit(uint32_t i) /* a change a project holds: step i's note (always another) */
|
||||
{
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#define main hostsim_main
|
||||
#include "hostsim.c"
|
||||
#undef main
|
||||
#define PROJ_HOST 1 /* (trk_def_engine: engines.c, through hostsim.c) */
|
||||
#define PROJ_HOST 1 /* (trk_old_engine: engines.c, through hostsim.c) */
|
||||
#define PROJ_FUNB_WRITER 1 /* (JIANT 0.6) proj_pack_vb: the older formats are made of a FUNB */
|
||||
#include "../firmware/src/project.c"
|
||||
|
||||
@@ -262,7 +262,7 @@ int main(void)
|
||||
str_eq(ENGINES[7]->name, "WHEEL") && str_eq(ENGINES[5]->name, "VOICE") && NENGINES > 8);
|
||||
bad += check("FUN2 -> FUN6: the drum track -> part 4, DRUM (its kit on load), steps kept (lanes as hits)",
|
||||
q.parts == NPART && q.t[3].engine == ENGI_DRUM && str_eq(ENGINES[ENGI_DRUM]->name, "DRUM") &&
|
||||
TRK_DEF[3][0] == ENGI_DRUM && q.t[3].preset == PROJ_DEF_KEEP &&
|
||||
TRK_OLD[3][0] == ENGI_DRUM && q.t[3].preset == PROJ_DEF_KEEP &&
|
||||
steps_grid_same(q.t[3].step, v2.t[3].step));
|
||||
|
||||
/* format 3 (1.0, four parts), as written before the modulation matrix */
|
||||
@@ -415,9 +415,9 @@ int main(void)
|
||||
ok = proj_import(&q, &buf, (int)sizeof v1) && proj_ok(&q) && track_ok(&q.t[0], &v1.t, 0, 0, 0, 0) && q.g[5] == 705 &&
|
||||
q.parts == NPART;
|
||||
for (t = 1; t < PROJ_LT; t++)
|
||||
ok &= q.t[t].preset == PROJ_DEF_SOUND && q.t[t].engine == trk_def_engine(t) && q.t[t].p[P_SLCR] == 0 && q.t[t].p[P_LEVEL] == TP[P_LEVEL].def &&
|
||||
q.t[t].p[P_E0] == ENGINES[trk_def_engine(t)]->edit[0].def && q.t[t].step[0].time == ST_REST;
|
||||
bad += check("FUN1 -> FUN6: track 1 mapped, tracks 2..4 defaults", ok);
|
||||
ok &= q.t[t].preset == PROJ_DEF_SOUND && q.t[t].engine == trk_old_engine(t) && q.t[t].p[P_SLCR] == 0 && q.t[t].p[P_LEVEL] == TP[P_LEVEL].def &&
|
||||
q.t[t].p[P_E0] == ENGINES[trk_old_engine(t)]->edit[0].def && q.t[t].step[0].time == ST_REST;
|
||||
bad += check("FUN1 -> FUN6: track 1 mapped, tracks 2..4 0.9.8's power-on sounds (TRK_OLD, whatever today's)", ok);
|
||||
|
||||
/* PHYS MODEL DRUM (a FUN4 with phys 1) -> the DRUM engine; the old DRUM KIT preset becomes DRUM's */
|
||||
{
|
||||
@@ -909,8 +909,8 @@ int main(void)
|
||||
MOTION_TRK(&g.motion.event[1]) == 4u && MOTION_VAL(&g.motion.event[1]) == -20;
|
||||
bad += check("FUNC: six tracks round trip (steps, ratchet, chance, patches, T5 / T6 motion, name, globals)", ok);
|
||||
ok = proj_pack_vb(&gs, &f) && proj_import(&h, &gs, sizeof gs) && !memcmp(h.t, f.t, PROJ_LT * sizeof f.t[0]) &&
|
||||
h.t[4].engine == trk_def_engine(4u) && h.t[5].engine == trk_def_engine(5u) && h.t[5].step[0].time == ST_REST;
|
||||
bad += check("FUNB (0.5) -> six tracks: its four kept, T5 / T6 at their power-on sounds, empty", ok);
|
||||
h.t[4].engine == trk_old_engine(4u) && h.t[5].engine == trk_old_engine(5u) && h.t[5].step[0].time == ST_REST;
|
||||
bad += check("FUNB (0.5) -> six tracks: its four kept, T5 / T6 at 0.9.8's power-on sounds (TRK_OLD), empty", ok);
|
||||
{ /* (JIANT 0.8.5) VOICE's lyrics: 'L' 'Y' blocks for the tracks that have one; none before */
|
||||
static project_t l1, l2;
|
||||
static project_store_t ls;
|
||||
|
||||
@@ -248,8 +248,8 @@ static void job_slicer(const job_t *j)
|
||||
phrase(t, 60);
|
||||
}
|
||||
|
||||
/* the 4-track mix: T1 ANALOG ACID, T2 the power-on pad (TRK_DEF: FM6 PAD since DIGITAL was retired; DIGITAL PAD
|
||||
* before) (tied chords), T3 LOFI lead (12 steps against 16),
|
||||
/* the 4-track mix: T1 ANALOG ACID, T2 0.9.8's power-on pad (TRK_OLD, TRK_DEF until
|
||||
* 0.9.9: FM6 PAD since DIGITAL was retired; DIGITAL PAD before) (tied chords), T3 LOFI lead (12 steps against 16),
|
||||
* T4 DRUM drums (SAMPLE PERC until 1.0.2); 120 BPM, 4 bars (the hostsim TRACKS demo without the recording), stop, the tail.
|
||||
* arg 1: with the SLICER (0.6.3, the bus: STUT on the acid line and the drums, SWING 20 %) */
|
||||
static void job_song(const job_t *j)
|
||||
@@ -264,7 +264,7 @@ static void job_song(const job_t *j)
|
||||
host_tracks_init();
|
||||
song.g[G_BPM] = 120;
|
||||
host_preset(t1, 0, 4);
|
||||
host_preset(t2, TRK_DEF[1][0], TRK_DEF[1][1]);
|
||||
host_preset(t2, TRK_OLD[1][0], TRK_OLD[1][1]);
|
||||
host_preset(t3, 3, 0);
|
||||
host_drums(td);
|
||||
for (i = 0; i < 16u; i++) {
|
||||
|
||||
@@ -30,6 +30,9 @@
|
||||
# one-step undo of both (SAVE held), REC on TRACKS / SEQ / ARP, STEP and ARP while recording,
|
||||
# MIDI IN ROUT, saves refused while playing and the OVERWRITE? dialog, MUTE on TRACKS KNOB 1,
|
||||
# the DRUM grid (keys, knobs, LEDs, pages, live recording into it, BEAT from PATTERNS).
|
||||
# (0.9.9) The power-on parts (T1 DRUM-X, T2 VOICE, T3 ANIMAL, T4 LOFI, T5 ANALOG, T6 FM6, dry, each
|
||||
# sounding), the engines' display order (place <-> engine round trips; PROGRAM CHANGE in 0.9.8's), a
|
||||
# project of 0.9.8's tracks unchanged; the other UI tests on 0.9.8's tracks (engines.c TRK_OLD).
|
||||
# Audio / persistence / editor: the real C paths against simulated DMA and NOR flash: bounded overload
|
||||
# fades, shared-voice limits, deferred settings and retries, failed-save rollback, the autosave
|
||||
# (1.2: when it writes, the power-on restore, damaged copies, a write cut short, wear over a session),
|
||||
|
||||
@@ -998,7 +998,14 @@ static void setup(int s)
|
||||
ui_scope = 1; /* (0.9.7) the scenes as before: MENU > DISPLAY > SCOPE ON (the *_full
|
||||
* ones: OFF, the default, the creature on the whole EDIT panel) */
|
||||
switch (s) {
|
||||
case S_HOME: song.octave = 2; song.rec = 1; usb.config = 1; break;
|
||||
case S_HOME: { /* (0.9.9) the device's power-on parts (T1 DRUM-X, T2 VOICE, T3 ANIMAL,
|
||||
* T4 LOFI, ...: ui.c power_sound_of) with state()'s steps: README's HOME */
|
||||
uint32_t k;
|
||||
load_depth++;
|
||||
for (k = 0; k < NTRK; k++) { power_sound_of(&trk[k], k); trk[k].engine = trk[k].eng_req; }
|
||||
load_depth--;
|
||||
song.octave = 2; song.rec = 1; usb.config = 1; break;
|
||||
}
|
||||
case S_HOME_IDLE: song.playing = 0; song.batt_raw = 570; ui.hot_col = 1; ui.hot_t = 30; break;
|
||||
case S_MESSAGE: ui_say("LOADED ", "07 A VERY LONG PATTERN NAME"); break;
|
||||
case S_MESSAGE_KEY: ui_message("[SAVE] HOLD TO UNDO"); break; /* a message with a keycap */
|
||||
|
||||
@@ -141,7 +141,10 @@ static int check(const char *what, int ok)
|
||||
return ok ? 0 : 1;
|
||||
}
|
||||
|
||||
/* main.c felucca_init */
|
||||
/* main.c felucca_init, on the parts of 0.9.8 (TRK_OLD: T1 ANALOG ACID, T2 FM6 PAD, T3 LOFI PULSE LD, T4 DRUM-X, T5 PHASE,
|
||||
* T6 WHEEL, each its preset's sound with its sends), the music the UI tests, the renders (ui_render.c) and the CPU
|
||||
* sections (cpu_vg.c) are written on; (0.9.9) the device's own power-on (TRK_DEF: DRUM-X VOICE ANIMAL LOFI ANALOG FM6)
|
||||
* is ui_power_on_099 */
|
||||
static void ui_power_on(void)
|
||||
{
|
||||
uint32_t i;
|
||||
@@ -174,14 +177,14 @@ static void ui_power_on(void)
|
||||
for (i = 0; i < NTRK; i++) {
|
||||
track_t *t = &trk[i];
|
||||
track_defaults(t);
|
||||
set_engine_of(t, TRK_DEF[i][0]);
|
||||
apply_preset_to(t, TRK_DEF[i][1]);
|
||||
t->engine = t->eng_req;
|
||||
set_engine_of(t, TRK_OLD[i][0]); /* (0.9.9) the parts the UI tests are written on: 0.9.8's power-on, */
|
||||
apply_preset_to(t, TRK_OLD[i][1]); /* T1 ANALOG ACID .. T4 DRUM-X (engines.c TRK_OLD); today's power-on */
|
||||
t->engine = t->eng_req; /* (TRK_DEF, ui.c power_on_parts): test_power_on_099 */
|
||||
track_defaults_steps(t);
|
||||
if (TRK_DEF[i][2])
|
||||
load_pat16(t, PATTERNS[TRK_DEF[i][2] - 1u].note, PATTERNS[TRK_DEF[i][2] - 1u].flags);
|
||||
if (TRK_OLD[i][2])
|
||||
load_pat16(t, PATTERNS[TRK_OLD[i][2] - 1u].note, PATTERNS[TRK_OLD[i][2] - 1u].flags);
|
||||
pat_sig[i] = steps_sig(t);
|
||||
pat_last[i] = TRK_DEF[i][2];
|
||||
pat_last[i] = TRK_OLD[i][2];
|
||||
}
|
||||
load_depth--;
|
||||
song.sel = 0;
|
||||
@@ -378,8 +381,8 @@ static int test_sound_loads(void)
|
||||
ui_power_on();
|
||||
for (i = 0; i < NTRK; i++)
|
||||
empty &= (uint32_t)seq_is_empty(&trk[i]);
|
||||
bad += check("power-on: the four sounds, every sequencer empty, no load open", empty && load_depth == 0 &&
|
||||
trk[3].eng_req == ENGI_DRUM && trk[3].preset == 0u && trk[0].preset == TRK_DEF[0][1]);
|
||||
bad += check("power-on (the tests' 0.9.8 parts): the four sounds, every sequencer empty, no load open", empty && load_depth == 0 &&
|
||||
trk[3].eng_req == ENGI_DRUM && trk[3].preset == 0u && trk[0].preset == TRK_OLD[0][1]);
|
||||
my_steps(t);
|
||||
t->p[P_E0 + 1] = 77; /* a sound edit */
|
||||
t->p[P_AMODE] = 2; /* and the track's own settings */
|
||||
@@ -878,7 +881,7 @@ static int test_dximg(void)
|
||||
return bad;
|
||||
}
|
||||
/* (0.6.49) DRUM-X LAYER and each sound's FEEDBK: 0 runs the sound as before; LAYER moves it; kept with the project;
|
||||
* a new project has the factory LAYERs, an older one none; NEW PROJECT: every track dry, the engine's own defaults */
|
||||
* a new project has the factory LAYERs, an older one none; NEW PROJECT: every track dry, its power-on preset (0.9.9) */
|
||||
static uint64_t dxlay_hash(uint32_t lane, uint8_t ly)
|
||||
{
|
||||
dx_voice_t v;
|
||||
@@ -927,12 +930,14 @@ static int test_dxlay(void)
|
||||
bad += check("FUGUE: kept with the project (FUNC 'F' 'G')", ok);
|
||||
system_init();
|
||||
ok = !memcmp(dx_lay, DX_LAY_DEF, sizeof dx_lay) && 1;
|
||||
for (i = 0; i < NTRK; i++) {
|
||||
for (i = 0; i < NTRK; i++) { /* (0.9.9) TRK_DEF's preset sound (was the engine's own defaults: EDIT, envelope) */
|
||||
const engine_t *e = ENGINES[trk[i].eng_req % NENGINES];
|
||||
const preset_t *pr = &e->presets[TRK_DEF[i][1]];
|
||||
ok &= trk[i].eng_req == TRK_DEF[i][0] && trk[i].preset == TRK_DEF[i][1];
|
||||
ok &= !trk[i].p[P_DIST] && !trk[i].p[P_CHOR] && !trk[i].p[P_DLY] && !trk[i].p[P_REV];
|
||||
if (e != &ENG_FM6) ok &= trk[i].p[P_E1] == e->edit[1].def && trk[i].p[P_ATK] == TP[P_ATK].def;
|
||||
ok &= trk[i].p[P_E1] == pr->e[1] && trk[i].p[P_ATK] == pr->env[0] && trk[i].p[P_REL] == pr->env[3];
|
||||
}
|
||||
bad += check("NEW PROJECT: every track dry, the engine's own defaults, the factory LAYERs", ok);
|
||||
bad += check("NEW PROJECT: every track dry, its power-on preset's sound (TRK_DEF, 0.9.9), the factory LAYERs", ok);
|
||||
ui_power_on();
|
||||
return bad;
|
||||
}
|
||||
@@ -5050,7 +5055,7 @@ static int test_fm4_retired(void)
|
||||
int16_t p[P_COUNT];
|
||||
uint8_t v[FP_SIZE + 1u];
|
||||
ui_power_on();
|
||||
bad += check("power-on: track 2 is FM6 PAD (TRK_DEF, was DIGITAL PAD)", trk[1].eng_req == ENGI_FM6 &&
|
||||
bad += check("0.9.8's power-on: track 2 is FM6 PAD (TRK_OLD, was DIGITAL PAD; old projects' format-1 tracks)", trk[1].eng_req == ENGI_FM6 &&
|
||||
str_eq(ENGINES[ENGI_FM6]->presets[trk[1].preset].name, "PAD"));
|
||||
preset_all_pos(&total);
|
||||
for (i = 0; i < total; i++) {
|
||||
@@ -5066,11 +5071,13 @@ static int test_fm4_retired(void)
|
||||
turn(EN_K2, 1);
|
||||
seen |= 1u << TSEL->eng_req;
|
||||
}
|
||||
bad += check("PRESETS KNOB 2: the engines in order, DIGITAL skipped, back to the first",
|
||||
seen == all && TSEL->eng_req == 0u && eng_step(0, 1) == ENGI_FM6 && eng_step(ENGI_FM6, 1) == 2u &&
|
||||
eng_step(ENGI_FM6, -1) == 0u && eng_step(0, -1) == ENGI_ANIMAL && eng_step(ENGI_ANIMAL, -1) == ENGI_DRUM);
|
||||
{ /* the display order (engines.c ENGINE_ORDER): every engine one can pick once; the PRESETS list follows it */
|
||||
static const char *const ORDER[] = {"ANALOG", "FM6", "PHASE", "LOFI", "VOICE", "WHEEL", "NOISE", "DRUM", "ANIMAL"};
|
||||
bad += check("PRESETS KNOB 2: the engines in order (0.9.9: DRUM first, NOISE last, round), DIGITAL skipped, back to the first",
|
||||
seen == all && TSEL->eng_req == 0u && eng_step(0, 1) == ENGI_FM6 && eng_step(ENGI_FM6, 1) == ENGI_PHASE &&
|
||||
eng_step(ENGI_FM6, -1) == 0u && eng_step(0, -1) == ENGI_LOFI && eng_step(ENGI_DRUM, 1) == ENGI_VOICE &&
|
||||
eng_step(ENGI_VOICE, 1) == ENGI_ANIMAL && eng_step(ENGI_DRUM, -1) == ENGI_NOISE && eng_step(ENGI_NOISE, 1) == ENGI_DRUM);
|
||||
{ /* the display order (engines.c ENGINE_ORDER, 0.9.9): every engine one can pick once; the PRESETS list follows it
|
||||
* (was ANALOG FM6 PHASE LOFI VOICE WHEEL NOISE DRUM ANIMAL: test_engine_order_099 has PROGRAM CHANGE's) */
|
||||
static const char *const ORDER[] = {"DRUM", "VOICE", "ANIMAL", "LOFI", "ANALOG", "FM6", "PHASE", "WHEEL", "NOISE"};
|
||||
uint32_t last = 0xFFu, r = 0, n = 0;
|
||||
ok = NENG_SHOWN == NELEM(ORDER);
|
||||
for (i = 0; ok && i < NENG_SHOWN; i++)
|
||||
@@ -5085,7 +5092,7 @@ static int test_fm4_retired(void)
|
||||
last = e;
|
||||
r++;
|
||||
}
|
||||
bad += check("engines shown ANALOG FM6 PHASE ... NOISE DRUM ANIMAL (ENGINE_ORDER); PRESETS lists them so",
|
||||
bad += check("engines shown DRUM VOICE ANIMAL LOFI ANALOG FM6 PHASE WHEEL NOISE (ENGINE_ORDER); PRESETS lists them so",
|
||||
ok && r == NENG_SHOWN);
|
||||
}
|
||||
/* a user preset stored with engine 1: kept as it is, it loads as FM6 with the converted patch */
|
||||
@@ -8902,20 +8909,20 @@ static int test_click_menu(void)
|
||||
uint32_t all, sel0 = song.sel;
|
||||
song.sel = 1;
|
||||
preset_all_pos(&all);
|
||||
e = preset_all_at(9u, &k);
|
||||
e = preset_all_at_in(9u, &k, ENGINE_PC_ORDER); /* (0.9.9: 0.9.8's numbers, ANALOG's first) */
|
||||
song.sel = (uint8_t)sel0;
|
||||
midi_enqueue(0x0Cu | 0xC1u << 8 | 9u << 16, 1u); /* PROGRAM CHANGE 9 on channel 2 */
|
||||
mix_block(o, CTL); frame();
|
||||
ok = all > 9u && e < NENGINES && trk[1].eng_req == e && song.sel == sel0;
|
||||
ok = all > 9u && e == ENGI_ANALOG && trk[1].eng_req == e && song.sel == sel0;
|
||||
midi_enqueue(0x0Cu | 0xC1u << 8 | 127u << 16, 1u); /* the 128th (0.8.3: ANIMAL's), or past the list: nothing */
|
||||
mix_block(o, CTL); frame();
|
||||
if (all > 127u) {
|
||||
song.sel = 1;
|
||||
e = preset_all_at(127u, &k);
|
||||
e = preset_all_at_in(127u, &k, ENGINE_PC_ORDER);
|
||||
song.sel = (uint8_t)sel0;
|
||||
}
|
||||
ok &= trk[1].eng_req == e;
|
||||
bad += check("PROGRAM CHANGE n: the PRESETS list's n + 1-th sound into the channel's track, the selection kept", ok);
|
||||
bad += check("PROGRAM CHANGE n: the n + 1-th sound in 0.9.8's engine order (ENGINE_PC_ORDER) into the channel's track, the selection kept", ok);
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -11439,6 +11446,186 @@ static int test_nav_rules(void)
|
||||
return bad;
|
||||
}
|
||||
|
||||
/* (0.9.9) the device's own power-on (main.c felucca_init): ui_power_on's state, then the parts as felucca_init makes them
|
||||
* (ui.c power_on_parts: engines.c TRK_DEF) */
|
||||
static void ui_power_on_099(void)
|
||||
{
|
||||
ui_power_on();
|
||||
load_depth++;
|
||||
fm6_init();
|
||||
power_on_parts();
|
||||
load_depth--;
|
||||
song.sel = 0;
|
||||
}
|
||||
/* (0.9.9) the power-on parts: T1 DRUM-X, T2 VOICE, T3 ANIMAL, T4 LOFI, T5 ANALOG, T6 FM6, each its preset, dry, every
|
||||
* sequencer empty; DRUM on T1 alone (the DRUM-X kit, the grid, GEN's drum track); INIT SYSTEM / NEW PROJECT the same;
|
||||
* each part sounds a note with no effects, none clipping */
|
||||
static int test_power_on_099(void)
|
||||
{
|
||||
static const char *const ENG[NPART] = {"DRUM", "VOICE", "ANIMAL", "LOFI", "ANALOG", "FM6"};
|
||||
static const char *const PRE[NPART] = {"DRUM-X", "SINGER EN", "CMOS BIRD", "BYTEBEAT", "FAT BASS", "TINE EP"};
|
||||
int bad = 0, ok = 1;
|
||||
uint32_t i, k, b, drums = 0, live;
|
||||
int16_t p0[NTRK][P_COUNT];
|
||||
int32_t o[2u * CTL];
|
||||
uint64_t lo = ~0ull, hi = 0;
|
||||
int32_t peak_max = 0;
|
||||
ui_power_on_099();
|
||||
for (i = 0; i < NTRK; i++) {
|
||||
const engine_t *e = ENGINES[trk[i].eng_req % NENGINES];
|
||||
ok &= trk[i].eng_req == trk[i].engine && str_eq(e->name, ENG[i]) && str_eq(e->presets[trk[i].preset].name, PRE[i]);
|
||||
ok &= !trk[i].p[P_DIST] && !trk[i].p[P_CHOR] && !trk[i].p[P_DLY] && !trk[i].p[P_REV] && !trk[i].p[P_MUTE];
|
||||
ok &= seq_is_empty(&trk[i]) && !motion_count(&trk[i]) && trk_eng(&trk[i]) == TRK_DEF[i][0];
|
||||
drums += drum_track(&trk[i]);
|
||||
}
|
||||
ok &= load_depth == 0 && song.sel == 0u && !memcmp(dx_kit, DX_KIT_DEF, sizeof dx_kit);
|
||||
bad += check("0.9.9 power-on: T1 DRUM-X, T2 VOICE SINGER EN, T3 ANIMAL CMOS BIRD, T4 LOFI BYTEBEAT, T5 ANALOG FAT BASS, T6 FM6 TINE EP", ok);
|
||||
ok = drums == 1u && drum_track(&trk[0]) && drum_elsewhere(&trk[1]) == 1u && !drum_elsewhere(&trk[0]) && perc_kit(&trk[0]);
|
||||
ok &= trk[1].p[P_VLANG] == LG_EN && trk[1].p[P_VLYR] != 0; /* (VOICE sings English words, its LYRIC's) */
|
||||
for (i = 0; i < NPART; i++)
|
||||
ok &= TRK_DEF[i][0] == eng_vis(i); /* (the display order's first six) */
|
||||
bad += check(" .. DRUM on T1 alone (its factory kit); VOICE sings words (EN); T1..T6 the display order's first six", ok);
|
||||
for (i = 0; i < NTRK; i++) memcpy(p0[i], trk[i].p, sizeof p0[i]);
|
||||
trk[0].p[P_REV] = 90; trk[4].p[P_E0] = 3; set_engine_of(&trk[2], ENGI_PHASE);
|
||||
system_init();
|
||||
for (i = 0, ok = 1; i < NTRK; i++)
|
||||
ok &= trk[i].eng_req == TRK_DEF[i][0] && trk[i].preset == TRK_DEF[i][1] && !memcmp(p0[i], trk[i].p, sizeof p0[i]);
|
||||
bad += check(" INIT SYSTEM / NEW PROJECT: the same six sounds, value for value", ok);
|
||||
ui_power_on_099();
|
||||
song.master_q12 = 4096;
|
||||
live = trk_live;
|
||||
trk_live = NTRK; /* (MENU > TRACKS 6: T5 / T6 play too; 4, the default, the first four) */
|
||||
for (i = 0; i < NTRK; i++) { /* each part alone: a note (DRUM: the kick), ~0.4 s */
|
||||
uint64_t e = 0;
|
||||
int32_t pk = 0;
|
||||
uint32_t note = i == 0u ? DRUM_LANE_NOTE[0] : i == 4u ? 36u : 60u;
|
||||
for (k = 0; k < NTRK; k++) trk[k].p[P_MUTE] = k != i;
|
||||
for (b = 0; b < 64u; b++) mix_block(o, CTL);
|
||||
trk_note_on(&trk[i], note, 100);
|
||||
for (b = 0; b < 1200u; b++) {
|
||||
memset(o, 0, sizeof o);
|
||||
mix_block(o, CTL);
|
||||
for (k = 0; k < 2u * CTL; k++) {
|
||||
int32_t a = o[k] < 0 ? -o[k] : o[k];
|
||||
e += (uint64_t)a;
|
||||
if (a > pk) pk = a;
|
||||
}
|
||||
if (b == 400u) trk_note_off(&trk[i], note);
|
||||
}
|
||||
if (e < lo) lo = e;
|
||||
if (e > hi) hi = e;
|
||||
if (pk > peak_max) peak_max = pk;
|
||||
printf(" power-on T%u %-6s %-10s: level %llu, peak %d\n", i + 1u, ENG[i], PRE[i], (unsigned long long)(e / 1000u), pk);
|
||||
for (k = 0; k < NTRK; k++) trk[k].p[P_MUTE] = 0;
|
||||
}
|
||||
trk_live = live;
|
||||
bad += check(" each part sounds dry, none clipping, within 30 dB of the others", lo > 0u && lo * 32u > hi && peak_max < 32767);
|
||||
{ /* as the browser emulator's boot test plays it (web/emu/emu_test.mjs): on HOME, C4 on the keys and E4 by MIDI on
|
||||
* channel 1 sound on T1 (DRUM-X: the kit in its octaves) */
|
||||
int32_t pk1 = 0, pk2 = 0;
|
||||
ui_power_on_099();
|
||||
song.master_q12 = 4096;
|
||||
frame();
|
||||
fm1_in.notes = host_notes = 1u << 7; /* C4 */
|
||||
for (b = 0; b < 400u; b++) {
|
||||
if (b % 16u == 0u) frame();
|
||||
mix_block(o, CTL);
|
||||
for (k = 0; k < 2u * CTL; k++) if ((o[k] < 0 ? -o[k] : o[k]) > pk1) pk1 = o[k] < 0 ? -o[k] : o[k];
|
||||
}
|
||||
fm1_in.notes = host_notes = 0;
|
||||
for (b = 0; b < 600u; b++) { if (b % 16u == 0u) frame(); mix_block(o, CTL); }
|
||||
midi_enqueue(0x09u | 0x90u << 8 | 64u << 16 | 100u << 24, 1u); /* E4 on channel 1 */
|
||||
for (b = 0; b < 400u; b++) {
|
||||
if (b % 16u == 0u) frame();
|
||||
mix_block(o, CTL);
|
||||
for (k = 0; k < 2u * CTL; k++) if ((o[k] < 0 ? -o[k] : o[k]) > pk2) pk2 = o[k] < 0 ? -o[k] : o[k];
|
||||
}
|
||||
midi_enqueue(0x08u | 0x80u << 8 | 64u << 16, 1u);
|
||||
for (b = 0; b < 64u; b++) mix_block(o, CTL);
|
||||
printf(" power-on HOME: C4 key peak %d, MIDI E4 peak %d\n", pk1, pk2);
|
||||
bad += check(" HOME at power-on: a key (C4) and a MIDI note (E4, channel 1) sound on T1 DRUM-X", pk1 > 300 && pk2 > 300);
|
||||
}
|
||||
ui_power_on();
|
||||
return bad;
|
||||
}
|
||||
/* (0.9.9) the engines' display order (engines.c ENGINE_ORDER) and the indices the stores hold: the selector maps a
|
||||
* place to an engine and back for every engine one can pick (a retired one's sound: the engine it plays on), the
|
||||
* numbers in ENGINES[] are as they were; PROGRAM CHANGE numbers the sounds as 0.9.8 did (ENGINE_PC_ORDER); a project
|
||||
* saved on 0.9.8's parts loads as it was saved, whatever the power-on */
|
||||
static int test_engine_order_099(void)
|
||||
{
|
||||
static const char *const IDX[NENGINES] = {"ANALOG", 0, "PHASE", "LOFI", "-", "VOICE", "-", "WHEEL", "-", "-", "DRUM",
|
||||
"NOISE", "FM6", "-", "ANIMAL"};
|
||||
static const char *const PC[] = {"ANALOG", "FM6",
|
||||
#if FELUCCA_FM4
|
||||
"DIGITAL",
|
||||
#endif
|
||||
"PHASE", "LOFI", "VOICE", "WHEEL", "NOISE", "DRUM", "ANIMAL"};
|
||||
int bad = 0, ok = 1;
|
||||
uint32_t i, e, k, n, all, seen = 0;
|
||||
project_store_t st;
|
||||
project_t a;
|
||||
ui_power_on();
|
||||
for (e = 0; e < NENGINES; e++) /* the stores' numbers: never renumbered */
|
||||
ok &= !IDX[e] || str_eq(ENGINES[e]->name, IDX[e]);
|
||||
ok &= ENGI_DRUM == 10u && ENGI_VOICE == 5u && ENGI_ANIMAL == 14u && ENGI_LOFI == 3u && ENGI_ANALOG == 0u && ENGI_FM6 == 12u &&
|
||||
ENGI_PHASE == 2u && ENGI_WHEEL == 7u && ENGI_NOISE == 11u;
|
||||
bad += check("0.9.9 engine order: ENGINES[] as before (0 ANALOG .. 10 DRUM 11 NOISE 12 FM6 14 ANIMAL)", ok);
|
||||
for (n = 0, ok = 1; n < NENG_SHOWN; n++) { /* place -> engine -> place */
|
||||
e = eng_vis(n);
|
||||
ok &= eng_ok(e) && eng_rank(e) == n && !((seen >> e) & 1u);
|
||||
seen |= 1u << e;
|
||||
}
|
||||
for (e = 0; e < NENGINES; e++) { /* engine -> place -> engine; the others where they play */
|
||||
if (eng_ok(e)) ok &= eng_vis(eng_rank(e)) == e;
|
||||
else ok &= eng_vis(eng_rank(e)) == eng_live(e) && !((seen >> e) & 1u);
|
||||
}
|
||||
for (e = 0, n = 0, k = ENGI_DRUM; n < NENG_SHOWN; n++) { /* KNOB 2 right: each once, round to DRUM */
|
||||
ok &= k == eng_vis(n);
|
||||
k = eng_step(k, 1);
|
||||
}
|
||||
ok &= k == ENGI_DRUM && eng_step(eng_step(ENGI_ANIMAL, 1), -1) == ENGI_ANIMAL && eng_step(ENGI_DIGITAL, 1) == (FELUCCA_FM4 ? ENGI_DRUM : ENGI_PHASE);
|
||||
bad += check(" the selector: place <-> engine round trips (every engine once; DIGITAL / retired ones at FM6 / ANALOG's)", ok);
|
||||
preset_all_pos(&all);
|
||||
k = 0;
|
||||
ok = preset_all_at(0, &k) == ENGI_DRUM && k == 0u; /* the PRESETS list: DRUM-X first */
|
||||
e = preset_all_at(preset_shown(ENGI_DRUM), &k);
|
||||
ok &= e == ENGI_VOICE && k == preset_nth(ENGINES[ENGI_VOICE], 0); /* the last kit, then VOICE's first */
|
||||
for (i = 0, n = 0; i < all; i++) { /* the same sounds in both orders */
|
||||
uint32_t k1, k2, e1 = preset_all_at(i, &k1), e2;
|
||||
for (e2 = 0, n = 0; e2 < all && !n; e2++) {
|
||||
uint32_t q, ee = preset_all_at_in(e2, &q, ENGINE_PC_ORDER);
|
||||
n = ee == e1 && q == k1;
|
||||
}
|
||||
(void)k2;
|
||||
if (!n) break;
|
||||
}
|
||||
ok &= i == all && NELEM(PC) == NENG_SHOWN;
|
||||
for (i = 0; i < NELEM(PC); i++)
|
||||
ok &= str_eq(ENGINES[ENGINE_PC_ORDER[i]]->name, PC[i]);
|
||||
e = preset_all_at_in(0, &k, ENGINE_PC_ORDER);
|
||||
ok &= e == ENGI_ANALOG && k == 0u; /* PROGRAM CHANGE 0: ANALOG SAW LEAD, as in 0.9.8 */
|
||||
bad += check(" PRESETS lists DRUM-X first; PROGRAM CHANGE keeps 0.9.8's numbers (0 = ANALOG SAW LEAD), the same sounds", ok);
|
||||
{ /* a project of 0.9.8's parts (T1 ANALOG ACID .. T4 DRUM-X): saved, then the 0.9.9 power-on, then loaded */
|
||||
int16_t p0[NTRK][P_COUNT];
|
||||
uint8_t e0[NTRK], pr0[NTRK];
|
||||
project_store_t st2;
|
||||
for (i = 0; i < NTRK; i++) { memcpy(p0[i], trk[i].p, sizeof p0[i]); e0[i] = trk[i].eng_req; pr0[i] = trk[i].preset; }
|
||||
project_capture(&proj_scratch);
|
||||
ok = proj_pack(&st, &proj_scratch);
|
||||
ui_power_on_099();
|
||||
ok &= proj_import(&a, &st, sizeof st) && !project_restore_runtime(&a);
|
||||
for (i = 0; i < NTRK; i++)
|
||||
ok &= trk[i].eng_req == e0[i] && trk[i].preset == pr0[i] && !memcmp(p0[i], trk[i].p, sizeof p0[i]);
|
||||
ok &= trk[0].eng_req == ENGI_ANALOG && trk[3].eng_req == ENGI_DRUM && drum_track(&trk[3]) && !drum_track(&trk[0]);
|
||||
project_capture(&proj_scratch);
|
||||
ok &= proj_pack(&st2, &proj_scratch) && !memcmp(&st, &st2, sizeof st);
|
||||
bad += check(" a project of 0.9.8's parts loads unchanged after the new power-on (engines, sounds, saved again byte for byte)", ok);
|
||||
}
|
||||
ui_power_on();
|
||||
return bad;
|
||||
}
|
||||
|
||||
int main(void)
|
||||
{
|
||||
setvbuf(stdout, NULL, _IONBF, 0);
|
||||
@@ -11556,6 +11743,8 @@ int main(void)
|
||||
#else
|
||||
bad += test_fm4_retired();
|
||||
#endif
|
||||
bad += test_power_on_099();
|
||||
bad += test_engine_order_099();
|
||||
|
||||
if (getenv("UI_SCREEN_DIR")) chain_screens(getenv("UI_SCREEN_DIR"));
|
||||
printf(bad ? "ui: %d FAILED\n" : "ui: all passed\n", bad);
|
||||
|
||||
@@ -7,7 +7,7 @@ import html, os
|
||||
|
||||
R = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
OUT = os.path.join(R, 'docs', 'cheatsheet')
|
||||
VERSION = 'v0.9.8'
|
||||
VERSION = 'v0.9.9'
|
||||
|
||||
HEAT = ['#22d3ee', '#3b82f6', '#8b5cf6', '#d946ef', '#ef4444', '#ff7a00', '#facc15', '#f4f1ea']
|
||||
|
||||
@@ -331,6 +331,8 @@ def sound():
|
||||
'GROUP: syllables + gaps; TEMP °C speeds a cricket up (Dolbear). A note is a call. <b>Its picture</b> (0.9.4): '
|
||||
'bird ↔ insect ↔ mammal by MODE, leaned by SIZE.'),
|
||||
]
|
||||
ORDER = ['DRUM-X', 'VOICE', 'ANIMAL', 'LOFI', 'ANALOG', 'FM6', 'PHASE', 'WHEEL', 'NOISE'] # (0.9.9) the device's order
|
||||
eng.sort(key=lambda r: ORDER.index(r[0])) # (src/engines.c ENGINE_ORDER: PRESETS, KNOB 2 ENG)
|
||||
t = '<table><tr><th>ENGINE</th><th>EDIT 1</th><th>EDIT 2</th><th>WHAT TO KNOW</th></tr>'
|
||||
for n, c, e1, e2, d in eng:
|
||||
t += (f'<tr><td class="n" style="--c:{c}">{e(n)}</td><td style="width:22%">{knobs(*e1.split())}</td>'
|
||||
|
||||
@@ -138,7 +138,7 @@ watches (v2, `WATCH`), the device also sends push frames (cmds 23, 24, 26) at an
|
||||
| string | ASCII bytes, ended by a 0 byte |
|
||||
| scope | 0 = parameter of the selected track (`P_*`, 0..P_COUNT−1); 1 = global parameter (`G_*`, 0..G_COUNT−1) |
|
||||
| track | 0..NTRK-1: tracks 1..6 (synth parts; JIANT 0.6: six, INFO's NTRK; before, four) |
|
||||
| engine byte | 0..NENGINES−1 (firmware before 1.0: NENGINES = its drum track, no engine). The numbers are fixed, new engines are appended: 0 ANALOG, 1 reserved (DIGITAL before 1.0: see below), 2 PHASE, 3 LOFI, 4 SAMPLE, 5 VOICE, 6 TRIO, 7 WHEEL, 8 GRAIN, 9 reserved (PHYS until FELUCCA TONIC: its sounds load as ANALOG's first preset), 10 DRUM, 11 NOISE, 12 FM6, 13 SLICE (retired in JIANT), 14 ANIMAL (JIANT 0.8.3; NENGINES 15, before it 14: an engine byte of 14 from a 0.8.3 store on older firmware is refused as any number past its last; a user-slot favourite (`FAV_GET` / `FAV_SET`, engine = NENGINES) is engine 15 from 0.8.3 on, read NENGINES from `INFO`). The device and the editor list them in another order (JIANT: ANALOG FM6 PHASE LOFI VOICE WHEEL NOISE ANIMAL DRUM: `ENGINE_ORDER`); the numbers stay. ANIMAL's EDIT values: MODE (0 CMOS, 1 PULSE, 2 WHSTL, 3 WING, 4 GLOTT), PRESS, CHAOS, SIZE, SWEEP (−64..63), RATE (the LFO's Hz scale), GROUP (0..15: HOLD TRILL 1+1 1+3 2+2 2+6 3+3 3+9 4+4 4+12 6+6 8+8 8+24 12+12 16+16 32+32), TEMP (0..40 °C); the device relabels some per MODE (`DESC` sends these, the engine's own) |
|
||||
| engine byte | 0..NENGINES−1 (firmware before 1.0: NENGINES = its drum track, no engine). The numbers are fixed, new engines are appended: 0 ANALOG, 1 reserved (DIGITAL before 1.0: see below), 2 PHASE, 3 LOFI, 4 SAMPLE, 5 VOICE, 6 TRIO, 7 WHEEL, 8 GRAIN, 9 reserved (PHYS until FELUCCA TONIC: its sounds load as ANALOG's first preset), 10 DRUM, 11 NOISE, 12 FM6, 13 SLICE (retired in JIANT), 14 ANIMAL (JIANT 0.8.3; NENGINES 15, before it 14: an engine byte of 14 from a 0.8.3 store on older firmware is refused as any number past its last; a user-slot favourite (`FAV_GET` / `FAV_SET`, engine = NENGINES) is engine 15 from 0.8.3 on, read NENGINES from `INFO`). The device and the editor list them in another order (JIANT 0.9.9: DRUM VOICE ANIMAL LOFI ANALOG FM6 PHASE WHEEL NOISE, DIGITAL last in FELUCCA_FM4 builds: `ENGINE_ORDER`; 0.8.3 .. 0.9.8: ANALOG FM6 PHASE LOFI VOICE WHEEL NOISE DRUM ANIMAL, the order PROGRAM CHANGE still numbers the sounds in); the numbers stay. ANIMAL's EDIT values: MODE (0 CMOS, 1 PULSE, 2 WHSTL, 3 WING, 4 GLOTT), PRESS, CHAOS, SIZE, SWEEP (−64..63), RATE (the LFO's Hz scale), GROUP (0..15: HOLD TRILL 1+1 1+3 2+2 2+6 3+3 3+9 4+4 4+12 6+6 8+8 8+24 12+12 16+16 32+32), TEMP (0..40 °C); the device relabels some per MODE (`DESC` sends these, the engine's own) |
|
||||
|
||||
The engine parameters are `P_E0..P_E7`: P_COUNT−8 .. P_COUNT−1 (91..98), and `INFO` gives `P_E0`.
|
||||
Their meaning, range and names depend on the current engine, so re-read `DESC` for them
|
||||
@@ -408,7 +408,8 @@ grid lives in the steps themselves, so every engine has it:
|
||||
## v3: tracks
|
||||
|
||||
- **Track 4 since 1.0** is a synth part like tracks 1..3: `DUMP` / `RELOAD` / `TRACK` / `TRACK_DUMP`
|
||||
give its real engine byte (power-on: DRUM, preset DRUM-X, the General MIDI map), and `PRESET`, `SET` of
|
||||
give its real engine byte (power-on until 0.9.8: DRUM, preset DRUM-X, the General MIDI map; since 0.9.9 the power-on
|
||||
has DRUM on track 1 and LOFI BYTEBEAT on track 4), and `PRESET`, `SET` of
|
||||
`G_ENGSEL`, `UP_LOAD` and `UP_STORE` work on it; its level is its `P_LEVEL`. The commands are byte for
|
||||
byte as before; only the meaning changed. Firmware before 1.0 had a GM drum track there: engine byte
|
||||
NENGINES, no presets (`UP_LOAD` / `UP_STORE` rc 1), its level the global `G_DRLVL`. Drums are now the
|
||||
|
||||
@@ -1841,12 +1841,12 @@ function makeMockDevice(opt = {}) {
|
||||
st.bank[slot] = snapshot(name);
|
||||
clearSteps(); st.p[29] = 16;
|
||||
});
|
||||
/* the power-on sounds (engines.c TRK_DEF): ACID, PAD, PULSE LD, DRUM-X, PHASE, WHEEL */
|
||||
[[1, FM6_E, 4], [2, 3, 3], [3, 10, 0], [4, 2, 0], [5, 7, 0], [0, 0, 4]].forEach(([i, e, p]) => { st.sel = i; setEngine(e); applyPreset(p); });
|
||||
/* the device powers on with its sequencers empty; the mock starts as a little demo to look at: track 1 with
|
||||
the ACID pattern, track 4 with BEAT (as SEQ > PATTERNS would load them), pads left, lead right */
|
||||
st.sel = 3; loadPattern(11);
|
||||
st.sel = 0; loadPattern(0);
|
||||
/* the power-on sounds (engines.c TRK_DEF, 0.9.9): DRUM-X, SINGER EN, CMOS BIRD, BYTEBEAT, FAT BASS, TINE EP */
|
||||
[[1, 5, 9], [2, 14, 0], [3, 3, 0], [4, 0, 14], [5, FM6_E, 0], [0, 10, 0]].forEach(([i, e, p]) => { st.sel = i; setEngine(e); applyPreset(p); });
|
||||
/* the device powers on with its sequencers empty; the mock starts as a little demo to look at: track 1 (DRUM-X)
|
||||
with BEAT, track 5 (the bass) with OFFBEAT (as SEQ > PATTERNS would load them), the voice left, the bird right */
|
||||
st.sel = 4; loadPattern(1);
|
||||
st.sel = 0; loadPattern(11);
|
||||
st.tracks[1].p[39] = -24; st.tracks[2].p[39] = 20; st.tracks[2].p[0] = 92;
|
||||
const project = () => JSON.parse(JSON.stringify({ tracks: st.tracks, sel: st.sel, g: st.g, songRows: st.songRows }));
|
||||
st.slots[0] = project();
|
||||
@@ -2352,7 +2352,9 @@ function enumShown(d) {
|
||||
/* the order the device shows its engines in (src/engines.c ENGINE_ORDER): the lists here follow it, the protocol keeps
|
||||
the engine numbers. engineOrder(names): the indices of names in that order, "-" (a reserved number) left out; a name
|
||||
the list does not know (another firmware) follows in index order */
|
||||
const ENGINE_ORDER = ["ANALOG", "FM6", "DIGITAL", "PHASE", "LOFI", "VOICE", "WHEEL", "NOISE", "DRUM", "ANIMAL"]; /* (0.8.3: ANIMAL after DRUM, the PROGRAM CHANGE numbers kept) */ /* (JIANT; TRIO folded into ANALOG in 0.4) */
|
||||
const ENGINE_ORDER = ["DRUM", "VOICE", "ANIMAL", "LOFI", "ANALOG", "FM6", "PHASE", "WHEEL", "NOISE", "DIGITAL"]; /* (0.9.9: DRUM-X, VOICE,
|
||||
ANIMAL first, as the parts at power-on; DIGITAL, FELUCCA_FM4 builds only, last; was ANALOG FM6 DIGITAL PHASE LOFI VOICE WHEEL NOISE
|
||||
DRUM ANIMAL, the order PROGRAM CHANGE still numbers the sounds in: engines.c ENGINE_PC_ORDER) */
|
||||
function engineOrder(names) {
|
||||
const rank = (n) => { const k = ENGINE_ORDER.indexOf(n); return k < 0 ? ENGINE_ORDER.length : k; };
|
||||
return (names || []).map((n, i) => i).filter((i) => names[i] !== "-")
|
||||
|
||||
@@ -277,17 +277,18 @@ async function editorMock() {
|
||||
await rq(E.req.upErase(31));
|
||||
prefs = await E.readDevicePreferences(rq, info, names, prefs);
|
||||
ok(!prefs.favorites[info.nengines][31] && !E.devicePresetRows(info, names, prefs).some((r) => r.user), "editor: erased slot disappears and loses star");
|
||||
{ /* the lists in the device's order (engines.c ENGINE_ORDER): FM6 second, DRUM last, "-" never; the numbers stay */
|
||||
{ /* the lists in the device's order (engines.c ENGINE_ORDER, 0.9.9): DRUM VOICE ANIMAL first, "-" never; the numbers stay */
|
||||
const shown = E.engineOrder(info.engines).map((i) => info.engines[i]);
|
||||
ok(shown.join() === "ANALOG,FM6,PHASE,LOFI,VOICE,WHEEL,NOISE,DRUM,ANIMAL" &&
|
||||
E.engineOrder(info.engines)[1] === 12 && E.engineOrder(info.engines)[7] === 10 && E.engineOrder(info.engines)[8] === 14,
|
||||
"editor: engines listed FM6 second, DRUM then ANIMAL (0.8.3) last (indices kept)");
|
||||
ok(E.engineOrder(["ANALOG", "X", "-", "DRUM", "FM6"]).join() === "0,4,3,1", "editor: an unknown engine follows the known ones");
|
||||
ok(shown.join() === "DRUM,VOICE,ANIMAL,LOFI,ANALOG,FM6,PHASE,WHEEL,NOISE" &&
|
||||
E.engineOrder(info.engines).join() === "10,5,14,3,0,12,2,7,11",
|
||||
"editor: engines listed DRUM VOICE ANIMAL LOFI ANALOG FM6 PHASE WHEEL NOISE (0.9.9; indices kept)");
|
||||
ok(E.engineOrder(["ANALOG", "X", "-", "DRUM", "FM6"]).join() === "3,0,4,1", "editor: an unknown engine follows the known ones");
|
||||
ok(E.engineOrder(["ANALOG", "DIGITAL", "FM6", "DRUM"]).join() === "3,0,2,1", "editor: DIGITAL (FELUCCA_FM4 builds) after the others");
|
||||
m.state.favorites[10][0] = m.state.favorites[12][0] = true;
|
||||
await rq(E.req.uiSet(3, 0));
|
||||
prefs = await E.readDevicePreferences(rq, info, names, prefs);
|
||||
const rows = E.devicePresetRows(info, names, prefs).filter((r) => !r.user), eng = [...new Set(rows.map((r) => r.engine))];
|
||||
ok(eng[0] === 0 && eng[1] === 12 && eng[eng.length - 2] === 10 && eng[eng.length - 1] === 14, "editor: device presets in the device's engine order");
|
||||
ok(eng.join() === "10,5,14,3,0,12,2,7,11", "editor: device presets in the device's engine order (DRUM first, NOISE last)");
|
||||
}
|
||||
const none = await E.readDevicePreferences(() => { throw new Error("unexpected request"); }, { uiCaps: 0 }, []);
|
||||
ok(none === null, "editor: old firmware receives no unsupported preference requests");
|
||||
@@ -650,6 +651,12 @@ async function editorLibrarian() {
|
||||
for (let i = 0; i < info.pcount; i++) pdesc.push(E.parse[C.DESC](await rq(E.req.desc(0, i))));
|
||||
const keys = E.paramKeys(pdesc, info.pe0, info.pcount);
|
||||
ok(keys[6] === "PITCH" && keys[13] === "PITCH#2" && keys[info.pe0] === "E0" && new Set(keys).size === keys.length, "librarian: parameter keys unique (label#n, E0..E7)");
|
||||
{ /* (0.9.9: the mock powers on as the device, T1 DRUM-X) the selected track ANALOG ACID with its pattern, as 0.9.8's T1 */
|
||||
const ACID = [45, 45, 57, 45, 0, 48, 45, 55, 45, 0, 57, 52, 45, 48, 0, 50], ACF = [1, 0, 2, 0, 0, 0, 1, 2, 0, 0, 1, 0, 0, 2, 0, 1];
|
||||
await rq(E.req.preset(0, 4));
|
||||
const acid = E.stepsFromPattern(ACID.map((n, i) => [n, ACF[i]]));
|
||||
for (let i = 0; i < 16; i++) await rq(E.req.stepSet(i, acid[i]));
|
||||
}
|
||||
{ /* (0.6.24) a library file of before the readable labels: its keys renamed, its values kept */
|
||||
const old = keys.map((k) => ({ LEVEL: "LVL", PITCH: "PIT", "PITCH#2": "PIT#2", SWING: "SWG", "SWING#2": "SWG#2" })[k] || k);
|
||||
const vals = keys.map((_, i) => i);
|
||||
@@ -1007,8 +1014,9 @@ async function editorTracks() {
|
||||
const { m, rq, ev, done } = attachMock({ watchMs: 1000 });
|
||||
const info = E.parse[C.INFO](await rq(E.req.info()));
|
||||
const tr = E.parse[C.TRACK](await rq(E.req.track()));
|
||||
ok(info.ntrk === 6 && tr.sel === 0 && tr.ntrk === 6 && tr.tracks[0].engine === 0 && tr.tracks[1].engine === 12
|
||||
&& tr.tracks[3].engine === 10 && tr.tracks[3].preset === 0 && tr.tracks[4].engine === 2 && tr.tracks[5].engine === 7, "tracks: INFO NTRK, TRACK lists 6 parts (track 4: DRUM, 5 PHASE, 6 WHEEL)");
|
||||
ok(info.ntrk === 6 && tr.sel === 0 && tr.ntrk === 6 && tr.tracks.map((t) => t.engine).join() === "10,5,14,3,0,12"
|
||||
&& tr.tracks[0].preset === 0 && tr.tracks[1].preset === 9 && tr.tracks[4].preset === 14,
|
||||
"tracks: INFO NTRK, TRACK lists 6 parts (0.9.9: DRUM-X, VOICE SINGER EN, ANIMAL, LOFI, ANALOG FAT BASS, FM6)");
|
||||
/* the v1 commands follow the selected track */
|
||||
const d0 = E.parse[C.DUMP](await rq(E.req.dump()), info);
|
||||
const t1 = E.parse[C.TRACK](await rq(E.req.track(1)));
|
||||
@@ -1016,7 +1024,7 @@ async function editorTracks() {
|
||||
await rq(E.req.set(0, 1, 77));
|
||||
const td0 = E.parse[C.TRACK_DUMP](await rq(E.req.trackDump(0)), info);
|
||||
const td1 = E.parse[C.TRACK_DUMP](await rq(E.req.trackDump(1)), info);
|
||||
ok(t1.sel === 1 && d1.engine === 12 && d0.engine === 0 && td1.p[1] === 77 && td0.p[1] === d0.p[1] && td0.p[1] !== 77,
|
||||
ok(t1.sel === 1 && d1.engine === 5 && d0.engine === 10 && td1.p[1] === 77 && td0.p[1] === d0.p[1] && td0.p[1] !== 77,
|
||||
"tracks: TRACK selects; DUMP / SET act on it, TRACK_DUMP reads any track");
|
||||
/* steps of a track that is not selected */
|
||||
const w = E.parse[C.TRACK_STEP](await rq(E.req.trackStep(2, 5, { n: 2, notes: [60, 67, 0, 0], time: 0, flags: 1, vel: 99 })));
|
||||
@@ -1030,13 +1038,13 @@ async function editorTracks() {
|
||||
const tr2 = E.parse[C.TRACK](await rq(E.req.track()));
|
||||
ok(mx.level === 90 && mx.mute === 1 && mx2.level === 90 && mxd.level === 64 && m.state.tracks[3].p[0] === 64 && tr2.tracks[3].level === 64
|
||||
&& tr2.tracks[0].level === 90 && tr2.tracks[0].mute === 1, "tracks: TRACK_MIX level / mute (track 4: its own LEVEL)");
|
||||
/* track 4 has a sound: stored and loaded as any other */
|
||||
/* track 4 has a sound: stored and loaded as any other (0.9.9: LOFI; DRUM-X is track 1's) */
|
||||
await rq(E.req.track(3));
|
||||
const dd = E.parse[C.DUMP](await rq(E.req.dump()), info);
|
||||
const us = E.parse[C.UP_STORE](await rq(E.req.upStore(20, "X"), { timeout: 2500, retries: 0 }));
|
||||
const ul = E.parse[C.UP_LOAD](await rq(E.req.upLoad(1), { timeout: 2500, retries: 0 }));
|
||||
const dl = E.parse[C.DUMP](await rq(E.req.dump()), info);
|
||||
ok(dd.engine === 10 && us.rc === 0 && ul.rc === 0 && dl.engine === 12, "tracks: track 4 selected -> DUMP engine DRUM, UP_STORE / UP_LOAD rc 0");
|
||||
ok(dd.engine === 3 && us.rc === 0 && ul.rc === 0 && dl.engine === 12, "tracks: track 4 selected -> DUMP engine LOFI, UP_STORE / UP_LOAD rc 0");
|
||||
/* pushes carry the selected track */
|
||||
await rq(E.req.track(0));
|
||||
ok(await E.startWatch(rq), "tracks: WATCH on");
|
||||
@@ -1069,7 +1077,7 @@ async function editorMixer() {
|
||||
const info = E.parse[C.INFO](await rq(E.req.info()));
|
||||
const PAN = 39, MUTE = 40;
|
||||
const m0 = await E.mixer.read(rq, info, { pan: PAN });
|
||||
ok(m0.ntrk === 6 && m0.tracks.length === 6 && m0.tracks[1].pan === -24 && m0.tracks[2].pan === 20 && m0.tracks[3].engine === 10
|
||||
ok(m0.ntrk === 6 && m0.tracks.length === 6 && m0.tracks[1].pan === -24 && m0.tracks[2].pan === 20 && m0.tracks[0].engine === 10
|
||||
&& m0.tracks.every((x) => Number.isInteger(x.level) && (x.mute === 0 || x.mute === 1)), "mixer: read = TRACK + pan of every track (TRACK_DUMP)");
|
||||
/* level / mute of tracks that are not selected (clamped) */
|
||||
const a = await E.mixer.setMix(rq, 2, 70, 1);
|
||||
@@ -1103,12 +1111,12 @@ async function editorMixer() {
|
||||
await sleep(10);
|
||||
const chd = E.parse[C.CHANGED](ev.pushes.filter((f) => f.cmd === C.CHANGED).pop().a);
|
||||
ok(chd.scope === 0 && chd.id === 0 && chd.value === 90, "mixer: track 4's level on the device pushes its LEVEL (P_LEVEL)");
|
||||
/* track 4's demo beat: the DRUM kit's lane hits and accents */
|
||||
/* track 1's demo beat (0.9.9: DRUM-X on T1; was track 4's): the DRUM kit's lane hits and accents */
|
||||
const st = [];
|
||||
for (let i = 0; i < 16; i++) st.push(E.parse[C.TRACK_STEP](await rq(E.req.trackStep(3, i))));
|
||||
for (let i = 0; i < 16; i++) st.push(E.parse[C.TRACK_STEP](await rq(E.req.trackStep(0, i))));
|
||||
ok(st.every((s) => s.n === 0) && st[0].hit === 1 && st[0].acc === 1 && st[1].hit === 8
|
||||
&& st[4].hit === 2 && st[4].acc === 2 && st[14].hit === 16,
|
||||
"mixer: the mock's track 4 holds the BEAT grid (KICK CHH ... SNARE ... OHH)");
|
||||
"mixer: the mock's track 1 holds the BEAT grid (KICK CHH ... SNARE ... OHH)");
|
||||
ok(JSON.stringify(E.parseNotes("C4 E4 G4")) === "[60,64,67]" && JSON.stringify(E.parseNotes("36 38")) === "[36,38]" && E.parseNotes("KICK") === null,
|
||||
"mixer: notes parse as numbers or note names (no GM drum names)");
|
||||
done();
|
||||
@@ -1128,7 +1136,7 @@ async function editorTrackParam() {
|
||||
const g = E.parse[C.TRACK_PARAM](await rq(E.req.trackParam(1, PAN)));
|
||||
const p2 = await E.mixer.setPan(rq, 2, 0, PAN, -40, true);
|
||||
const p1 = await E.mixer.setPan(rq, 1, 0, PAN, 99, true);
|
||||
const alg = E.parse[C.TRACK_PARAM](await rq(E.req.trackParam(1, info.pe0, 50))); /* track 2 is FM6 PAD: ALG 0..32 */
|
||||
const alg = E.parse[C.TRACK_PARAM](await rq(E.req.trackParam(5, info.pe0, 50))); /* track 6 is FM6 (0.9.9): ALG 0..32 */
|
||||
const lv = E.parse[C.TRACK_PARAM](await rq(E.req.trackParam(3, 0, -5)));
|
||||
const sel = E.parse[C.TRACK](await rq(E.req.track()));
|
||||
const td2 = E.parse[C.TRACK_DUMP](await rq(E.req.trackDump(2)), info);
|
||||
|
||||