Clipper 0.1: its own name, logo and folder (no confusion with SLOOP); overflow guards
- Identity: CLIPPER 0.1 on the boot screen (a three-masted clipper in the track colours, the "clipper" wordmark), ABOUT, the USB rescue screen, the visualiser; the editor (Clipper Editor, its logo and messages), the installer page and the site; INSTALL-CLIPPER.bat / build-clipper.ps1 / OPEN-EDITOR.bat on port 8767 (SLOOP: 8766), the voices as an argument (8, 12, 16), the SDK files taken from the SLOOP folder the first time. - Docs: README.md and DEMARRAGE-RAPIDE-FR.md for Clipper (install, play, the CPU test); SLOOP's manuals in docs/sloop; SLOOP's prebuilt site and logos removed. - HYBRID: F1's output into F2 (series) bounded, the parallel balance at a quarter scale, the ring's inputs bounded: every product in 32 bits at any setting (checked under UBSan over every routing and filter pair at extreme values); the mixer keeps one more bit of headroom in 12 / 16-voice builds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RDUenQzjQ4Kk2jQVG85bwq
No files matched your search
@@ -1,4 +1,4 @@
|
||||
# Building SLOOP
|
||||
# Building Clipper
|
||||
|
||||
The build makes three files in `build/`:
|
||||
|
||||
@@ -10,7 +10,7 @@ The build makes three files in `build/`:
|
||||
|
||||
## Windows (WSL)
|
||||
|
||||
`INSTALL-SLOOP.bat` builds in a WSL distribution and opens the installer on
|
||||
`INSTALL-CLIPPER.bat` builds in a WSL distribution and opens the installer on
|
||||
`http://localhost:8766/webapp/installer/`. It needs Python 3 with Pillow on Windows, a WSL
|
||||
distribution with the JieLi toolchain, and the three SDK files (below) in `build/deps/ac79`.
|
||||
Set `SLOOP_WSL_DISTRO` (default `Ubuntu`) and `SLOOP_TOOLCHAIN` (a Linux path, default
|
||||
@@ -90,7 +90,7 @@ the hashes; `BUDGET_UPDATE=1` does the same for the cost files.
|
||||
|
||||
## Install
|
||||
|
||||
On Windows, `INSTALL-SLOOP.bat` builds and opens the web installer (Chrome or Edge). The
|
||||
On Windows, `INSTALL-CLIPPER.bat` builds and opens the web installer (Chrome or Edge). The
|
||||
`.fwsc` of each release is on the GitHub releases page.
|
||||
|
||||
From the command line (needs `pip3 install mido python-rtmidi`):
|
||||
|
||||
@@ -1,217 +1,63 @@
|
||||
<p align="center"><img src="assets/logo/sloop-logo.png" alt="SLOOP" width="360"></p>
|
||||
# Clipper — démarrage rapide (version de test 0.1)
|
||||
|
||||
# SLOOP 2.5 — démarrage rapide
|
||||
**Clipper** est le firmware « synthé » pour le M-VAVE FM-1. Il vient de SLOOP et garde tout ce que SLOOP sait faire. Il ajoute **HYBRID**, une voix à 3 oscillateurs, 2 filtres et une matrice de modulation de 16 slots, avec 24 sons d'usine. Il ajoute aussi le pitch bend, la molette, l'aftertouch et la pédale de sustain sur tous les moteurs.
|
||||
|
||||
**SLOOP** transforme le M-VAVE FM-1 en groovebox à jouer en live, pour tous les styles : trois synthés et une batterie de 16 sons sur les touches blanches, 12 moteurs de synthèse (dont la FM à six opérateurs avec les patchs DX7, les modèles physiques et le bruit), 153 sons rangés par famille (basses, claviers, orgues, nappes, leads, plucks, stabs), 37 kits de batterie (808, 909, trap, phonk, house, techno, UK garage, jungle, amapiano, synthwave, chiptune, ambient…) et tes propres kits, tes propres samples, ghost notes et ratchets, verrous de paramètre, décalage des pas et fills, note repeat, accords sur une touche, 16 effets punch-in, et un écran à la teenage engineering qui montre toujours ce que tes mains peuvent faire. Aucun motif d'usine : tout ce que tu entends, tu le joues.
|
||||
> **C'est une première version de test** : elle n'a encore jamais tourné sur une vraie FM-1. Avant d'installer, fais une **sauvegarde** dans l'éditeur SLOOP (Projects → Backup → *Save a backup*).
|
||||
|
||||
Le guide complet, chaque bouton, combinaison et page, avec un aide-mémoire d'une page (en anglais) : [GUIDE.md](GUIDE.md). Le manuel (en anglais) : [SLOOP.md](SLOOP.md).
|
||||
## Un dossier à part
|
||||
|
||||
**Nouveau dans la 2.5 :** deux moteurs de plus, **PHYS** (modèles physiques : guitares, koto, banjo, sitar et tanpura, harpe, cloches, vibraphone, steel pan, violoncelle à l'archet, tabla, conga, timbales…) et **NOISE** (vent, pluie, océan, vinyle, souffle, riser, bitcrush, radio…), et **153 sons** d'usine (77 nouveaux, tous au même volume). Ils ne prennent pas de mémoire en plus : GRAIN, FM6 et PHYS partagent la même place par piste. Le **swing** s'affiche de 0 (droit) à 100 (le plus fort) au lieu de 50–75 % : le swing lui-même ne change pas. La batterie a maintenant un **envoi delay** : GLO → DRUMS → **DLY** (à côté de REV). Sur la page DRUMS, le cadran **level** va de ghost (à gauche) à hard (à droite). Corrigés (le correctif 2.4.1, inclus) : les patchs DX7 importés avec de l'**AMS** ne font plus de bruit ; le **click** s'entend avec tous les kits, même batterie coupée ou une autre piste en solo ; en mode accord, une touche de la page **STEP** écrit l'accord entier. Les projets de la 2.4 se chargent tels quels.
|
||||
Clipper vit dans son propre dossier, **`clipper-fm1`**, à côté de celui de SLOOP. Rien n'est partagé entre les deux :
|
||||
|
||||
**Nouveau dans la 2.4 :** le moteur **FM6** (FM à six opérateurs, import des patchs DX7 dans l'éditeur web), les **verrous de paramètre** et le **décalage** des pas, les **fills**, la **chaîne de sections**, le séquenceur vers la **sortie MIDI** (GLO → SYSTEM → MIDI = SEQ), des pas de **1/2, 1 ou 2 mesures**, les délais **pointés** (TIME = 1/8D, 1/16D), **KEYS = ALL KEYS** (toutes les touches éclairées), et avec **NOTES** les notes courtes du séquenceur allument enfin leur touche. Corrigés : un START MIDI pendant le décompte de REC démarre maintenant l'enregistrement ; le swing ne décale plus les triolets ; tourner DIV juste après PLAY ne saute plus de pas ; l'éditeur n'écrit plus en flash pendant la lecture. Les projets et sauvegardes de la 2.3 se chargent tels quels.
|
||||
|
||||
---
|
||||
|
||||
## Installer
|
||||
|
||||
1. Double-clique **`INSTALL-SLOOP.bat`** dans le dossier SLOOP : il compile le firmware et ouvre l'installateur sur `http://localhost:8766/webapp/installer/`.
|
||||
2. Dans **Chrome ou Edge**, branche le FM-1 en USB (câble de données, directement, sans hub).
|
||||
3. **INSTALL**, autorise le MIDI, attends *Done*. Garde la fenêtre noire ouverte jusque-là.
|
||||
|
||||
L'éditeur web : `http://localhost:8766/webapp/editor/` (ou **`OPEN-EDITOR.bat`**).
|
||||
|
||||
## Un beat en soixante secondes
|
||||
|
||||
1. **ALGORITHM** sur la piste **4** (orange, batterie). Les touches blanches jouent 16 sons : **F3 kick**, G3 kick 2, A3 snare, B3 clap, **C4 charley**… **PRESETS** choisit le kit : essaie *808* ou *BOOMBAP*.
|
||||
2. **REC** : *rec ready*. **Joue librement, à ton tempo** — pas de clic, pas de décompte. Garde **OCT−** enfoncé en frappant pour des ghost notes, **OCT+** pour des frappes fortes.
|
||||
3. **Appuie sur REC sur le « 1 » qui suit ta dernière mesure** : la boucle se ferme, sa durée fixe le tempo, les frappes se calent sur la grille et la boucle joue aussitôt.
|
||||
4. **REC** pendant la lecture : tu enregistres par-dessus (overdub). Maintiens **ARP** et garde la touche du charley : un roulement en 1/16, enregistré en ratchets.
|
||||
5. **ALGORITHM** sur la piste **1** (bleue, *808 BOOM*), **REC**, joue une basse. Maintiens **SEL** et appuie sur la tonalité du morceau (ex. ré) ; sur la piste 2, maintiens SEL et tourne **KNOB 1** sur *7TH* : chaque touche blanche joue un accord de la gamme.
|
||||
6. Maintiens **FX** + une touche blanche : un effet punch-in. Toujours FX enfoncé : **KNOB 2** = DUST (vinyle), **KNOB 3** = DUCK (pompe).
|
||||
7. Une erreur ? Maintiens **EDIT** et appuie sur **OCT−** : annuler.
|
||||
|
||||
## Les couleurs
|
||||
|
||||
| Couleur | Piste | Bouton |
|
||||
| | SLOOP | Clipper |
|
||||
| --- | --- | --- |
|
||||
| **bleu** | 1 · synthé | KNOB 1 |
|
||||
| **vert** | 2 · synthé | KNOB 2 |
|
||||
| **jaune** | 3 · synthé | KNOB 3 |
|
||||
| **orange** | 4 · batterie | KNOB 4 |
|
||||
| Lancer l'installation | `INSTALL-SLOOP.bat` | `INSTALL-CLIPPER.bat` |
|
||||
| Ouvrir l'éditeur | `OPEN-EDITOR.bat` | `OPEN-EDITOR.bat` (du dossier clipper-fm1) |
|
||||
| Adresse | http://localhost:**8766** | http://localhost:**8767** |
|
||||
| Écran de démarrage | voilier, « sloop » | trois-mâts, « clipper » |
|
||||
|
||||
Blanc = ce que tu touches. Rouge = enregistrement.
|
||||
Sur la FM-1, Clipper se reconnaît à son écran de démarrage et à HOME (maintenu) → SYSTEM → ABOUT, qui affiche **CLIPPER 0.1**.
|
||||
|
||||
## Tapé ou maintenu : les calques
|
||||
## 1. Compiler et installer
|
||||
|
||||
Chaque bouton de fonction a deux vies. **Tapé** (appuyé puis relâché sans rien toucher d'autre) : ses pages s'ouvrent, comme avant. **Maintenu** : un **calque** — les 16 touches blanches et les KNOB 1–4 changent de rôle, l'écran affiche les 16 touches en tuiles et les boutons en cadrans. Relâché : on rejoue.
|
||||
1. Ferme la fenêtre de SLOOP si elle tourne encore. Ce n'est pas obligatoire, mais c'est plus clair.
|
||||
2. Double-clique sur **`INSTALL-CLIPPER.bat`**. Il utilise les mêmes outils que SLOOP (WSL MinUI-Build, la chaîne JieLi). La première fois, il copie les trois fichiers du SDK depuis `..\sloop-fm1\build\deps\ac79`. S'il ne les trouve pas, copie ce dossier `build\deps\ac79` de SLOOP dans `clipper-fm1\build\deps\`.
|
||||
3. La page d'installation s'ouvre sur http://localhost:8767/webapp/installer/ (Chrome ou Edge, FM-1 en USB). Clique sur **Install**.
|
||||
4. La FM-1 redémarre sur l'écran **clipper**. Tes projets, presets, samples et réglages de SLOOP sont toujours là.
|
||||
|
||||
**Repères lumineux :** les tuiles sont 4 rangées de 4 (touches 1–4, 5–8, 9–12, 13–16). Tant qu'un calque est maintenu, et sur la piste batterie, la première touche de chaque rangée (1, 5, 9, 13) s'allume faiblement ; ce qui est actif (un effet, un pas, un son) reste allumé à fond.
|
||||
## 2. Jouer HYBRID
|
||||
|
||||
**Verrouiller un calque :** maintiens son bouton et tape **HOME** : le calque reste ouvert quand tu lâches le bouton, tes deux mains sont libres pour les touches et les potards (*LOCK* à l'écran, le bouton clignote). N'importe quel autre bouton le referme (HOME, son propre bouton, ENV…) ; PLAY, REC et OCT− / OCT+ continuent de marcher dedans.
|
||||
- Sur une piste de synthé (1, 2 ou 3), tourne **PRESETS**. Les sons HYBRID sont rangés dans les familles : **CLIPPER**, POLY PAD, STRINGS, VOX, GLASS PAD et DRONE (PAD) ; ACID, WOBBLE, REESE, FOLD BASS et 808 SUB (BASS) ; SYNC LEAD, HOOVER, CHIP LEAD et TRANCE (LEAD) ; PLUCK, SAW PLUCK, FM BELL, SPACE BEL et METAL (PLCK) ; FM KEYS (KEYS) ; BRASS (STAB) ; RISER et INIT (FX).
|
||||
- Sur **HOME**, les 4 knobs règlent **CUT**, **RES**, **M1** et **M2**.
|
||||
- Page **EDIT** : CUT, RES, FENV (décalages sur les deux filtres), **PTCH** (le patch d'usine), et **M1 à M4**, quatre macros dont chaque patch choisit l'effet. Par exemple, sur CLIPPER, M1 ouvre le filtre et M2 élargit les supersaws.
|
||||
- Avec un clavier MIDI : pitch bend, molette (vibrato sur plusieurs patchs), aftertouch, sustain, et M1 à M4 sur les CC 16 à 19.
|
||||
|
||||
| Maintenir | Touches | KNOB 1 · 2 · 3 · 4 |
|
||||
| --- | --- | --- |
|
||||
| **FX** — *punch* | effet punch-in tant que la touche est tenue | FILTRE · DUST · DUCK · filtre de la piste |
|
||||
| **EDIT** — *effacer* | efface ce son / cette note du motif | DÉCALER · LONGUEUR ×2 / ½ · TRANSPOSER · — |
|
||||
| **ARP** — *roll* | note repeat calé sur la grille | VITESSE · — · — · — |
|
||||
| **SEQ** — *pas* | les pas 1–16 de la page — un pas tenu : OCT+ sa condition de fill, OCT− efface décalage, verrous et condition | SON / NOTE · DIV · SWING · LONGUEUR — un pas tenu : SON / NOTE · NIVEAU · RATCHET · DÉCALAGE (PRESETS : le verrou, ALGORITHM : son paramètre) |
|
||||
| **SEL** — *tonalité* (le 2e bouton de la rangée du haut, entre FX et ENV ; pas le potard SELECT) | la tonalité du morceau | ACCORD · GAMME · TOUCHES · TRANSPOSER |
|
||||
| **GLO** — *mix* | 1–4 mute · 5–8 solo · 9 **fill** tant que tenue · 10 fill sur la mesure suivante · 16 tap tempo | volume des pistes 1 · 2 · 3 · 4 |
|
||||
| **SAVE** — *chanson* | 1–4 joue la section A–D (mesure suivante ; plusieurs tapées SAVE tenu : une chaîne de sections) · 5–8 sauve la boucle dans A–D · 13 boucle / chanson · 14 REC chanson · 16 l'écran SONG | — |
|
||||
## 3. Éditer tout le patch dans l'éditeur
|
||||
|
||||
| Commande | Action |
|
||||
| --- | --- |
|
||||
| **PLAY** | lecture / arrêt des quatre pistes (marche aussi dans un calque) |
|
||||
| **REC** | en lecture : enregistre tout de suite / arrête · à l'arrêt : arme (la première note démarre) · prise libre : ferme la boucle |
|
||||
| **REC maintenu** | efface la piste choisie (un anneau se remplit, ~2 s ; relâche avant et rien ne se passe) |
|
||||
| **SAVE** | sur TRACKS : l'écran SONG · ailleurs : les pages SAVE |
|
||||
| **EDIT + OCT− / OCT+** | annuler / rétablir |
|
||||
| **ALGORITHM** | choisit la piste (sur toutes les pages) |
|
||||
| **PRESETS** | le son de la piste, ou le kit de batterie |
|
||||
| **SELECT** | sur HOME (et dans un calque) : le tempo · sur une page : la page d'avant / d'après du même groupe · écran DRUMS : grid / kit |
|
||||
| **OCT− / OCT+** | synthés : octave (les deux : retour à 0) · batterie, maintenus : ghost / fort |
|
||||
| **HOME** | l'écran TRACKS · tapé sur l'écran TRACKS : le visualiseur plein écran (SELECT : 12 styles, HOME encore : le ferme) · maintenu : le menu en sections (écran, lumières, audio / USB, système) · tapé pendant qu'un calque est maintenu : le verrouille |
|
||||
Double-clique sur `OPEN-EDITOR.bat` (http://localhost:8767/webapp/editor/), clique sur **Connect**, puis choisis une piste qui joue HYBRID. Dans l'onglet **Sound**, le panneau **HYBRID patch** montre tout : oscillateurs, filtres et routage, ENV2 et ENV3, LFO2 et LFO3 (synchro au tempo possible), la matrice de 16 slots et le bend. Avec **live** coché, chaque réglage s'entend tout de suite.
|
||||
|
||||
## La batterie : 16 sons sur les touches blanches
|
||||
Les autres boutons du panneau :
|
||||
- **Export patch** et **Import patch** gardent tes sons dans des fichiers `.clipper.json`.
|
||||
- **factory** + **load** recharge un patch d'usine.
|
||||
|
||||
| Touche | Son | Touche | Son | Touche | Son | Touche | Son |
|
||||
| --- | --- | --- | --- | --- | --- | --- | --- |
|
||||
| F3 | kick | C4 | charley fermé | G4 | snare 2 | D5 | ride |
|
||||
| G3 | kick 2 | D4 | charley ouvert | A4 | tom grave | E5 | shaker |
|
||||
| A3 | snare | E4 | charley pédale | B4 | tom aigu | F5 | conga |
|
||||
| B3 | clap | F4 | rim | C5 | crash | G5 | cloche |
|
||||
Un projet garde le PTCH, mais pas le patch modifié : exporte-le pour le garder.
|
||||
|
||||
Une touche noire joue le son de la touche blanche à sa gauche (deux doigts sur un son pour les roulements rapides). Chaque frappe a un **niveau** — GHOST, SOFT, NORM (comme jouée), HARD — et un **ratchet** x1–x4 (la frappe répétée dans son pas).
|
||||
Pour essayer l'éditeur sans la FM-1, ouvre `web/editor.html?mock=1` dans Chrome.
|
||||
|
||||
**Programmer aux touches (2.4) :** SEQ tapé sur la piste batterie ouvre la page **grid**. KNOB 1 choisit le son (on l'entend). Les touches blanches sont alors les 16 pas de ce son : appuie pour poser un pas (on l'entend), appuie encore pour l'effacer. Les quatre premières touches noires choisissent la page de pas (1–16, 17–32…). KNOB 2 se déplace de pas en pas et fait entendre ce que le pas contient. SELECT passe de grid à kit (sur kit, les touches jouent les pads).
|
||||
## 4. Le test dont j'ai besoin : la charge processeur
|
||||
|
||||
## Enregistrer
|
||||
C'est ce qui décide combien de voix Clipper peut jouer. La FM-1 doit être branchée en USB à l'ordinateur, sinon la case CPU affiche l'état USB à la place.
|
||||
|
||||
| Quand | REC fait | Ensuite |
|
||||
| --- | --- | --- |
|
||||
| **En lecture** | enregistre la piste **tout de suite** | REC à nouveau arrête l'enregistrement, la boucle continue |
|
||||
| **À l'arrêt, projet avec des notes** | arme (*rec ready*) | **ta première note démarre la boucle et devient le pas 1** |
|
||||
| **À l'arrêt, projet vide** | arme (*play freely*) | une **prise libre** : la boucle suit ton jeu (ou, en mode *tempo*, comme avec des notes) |
|
||||
1. Mets le son **CLIPPER** sur la piste 1 et coupe les autres pistes.
|
||||
2. Va sur **GLO → SYSTEM** : la 4e case affiche **CPU %**.
|
||||
3. Tiens **8 notes** (les deux mains, ou un accord depuis un clavier MIDI) et note le chiffre.
|
||||
4. Refais la même chose avec **POLY PAD** puis **TRANCE**.
|
||||
5. Si tout reste sous ~70 %, ferme la fenêtre, puis lance **`INSTALL-CLIPPER.bat 12`**. Ça compile la version à **12 voix**. Réinstalle et refais la mesure avec 12 notes.
|
||||
|
||||
**L'écran REC règle la façon d'enregistrer** (armé, avant la première note) :
|
||||
Envoie-moi les chiffres. Signale aussi un son qui craque, une note qui reste coincée ou un écran bizarre.
|
||||
|
||||
- **KNOB 1 — mode** (projet vide seulement) : **free** = prise libre, le tempo suit ton jeu · **tempo** = enregistre au tempo réglé (SELECT).
|
||||
- **KNOB 2 — length** : la boucle de la piste, **1, 2 ou 4 mesures**.
|
||||
- **KNOB 3 — start** : **note** = ta première note démarre la boucle · **count** = appuie sur **PLAY** : une mesure de clics (4, 3, 2, 1 à l'écran), puis la boucle démarre et enregistre.
|
||||
Mes estimations, mesurées sur ordinateur : une voix typique coûte environ 2,5 % du processeur, et CLIPPER (le plus lourd) environ 6,6 %, donc environ 53 % pour 8 voix.
|
||||
|
||||
Le mode et le départ restent comme tu les as laissés (réglages de la FM-1). Avec des notes déjà dans le projet, pas de mode : on enregistre toujours au tempo réglé. Pendant le décompte, REC l'annule et PLAY revient à *rec ready*.
|
||||
## Revenir en arrière
|
||||
|
||||
**Prise libre :** joue librement ; l'écran montre les secondes et la boucle que ça donnerait (*2 bars · 92 bpm*). **REC sur le « 1 » qui suit ta dernière mesure** : SLOOP choisit 1, 2 ou 4 mesures au tempo le plus proche, cale tes notes et lance la boucle. **PLAY** abandonne la prise.
|
||||
|
||||
Les notes vont au pas le plus proche **tel que tu l'as entendu** (la latence de ~12 ms est compensée). La lumière PLAY clignote à chaque temps : un métronome visuel. Clic audible : GLO → GLOBAL → CLICK.
|
||||
|
||||
**Swing** façon MPC : de 0 (droit) à 100 (le plus fort) — GLO → GLOBAL → SWING pour tout, SEQ maintenu + KNOB 3 par piste (ils s'additionnent).
|
||||
|
||||
## Les calques en détail
|
||||
|
||||
**FX — punch.** Les 16 touches blanches = les 16 effets (boucles 1/4 à 1/32, stutter, reverse, tape stop, demi-vitesse, filtres, téléphone, bit crush, alias, gate, écho, wobble), tant que la touche est tenue. KNOB 1 = filtre DJ (gauche passe-bas, droite passe-haut, centre OFF), KNOB 2 = DUST, KNOB 3 = DUCK, KNOB 4 = le même filtre sur la piste sélectionnée seulement (2.4 : aussi sur la page FX → FILTER, verrouillable sur un pas).
|
||||
|
||||
**EDIT — effacer.** EDIT + une touche : ce son (batterie) ou cette note (synthé) quitte le motif — **en lecture**, de chaque pas que la tête de lecture traverse tant que tu tiens la touche (façon MPC : garde le charley une mesure et les charleys de cette mesure disparaissent) ; **à l'arrêt**, de tout le motif. KNOB 1 décale le motif d'un pas, KNOB 2 le double (×2, copie) ou le coupe en deux, KNOB 3 transpose (synthés). **EDIT + OCT−** annule, **EDIT + OCT+** rétablit.
|
||||
|
||||
**ARP — roll (note repeat).** ARP + une touche tenue : elle se répète sur la grille à la vitesse de KNOB 1 (1/8, 1/16, 1/32, 32T, 1/64), toujours en rythme. En enregistrement, un roll s'écrit en ratchets.
|
||||
|
||||
**SEQ — pas (séquenceur pas à pas).** Les 16 touches blanches = les 16 pas de la page ; les quatre premières touches noires (F#3, G#3, A#3, C#4) ou OCT− / OCT+ = pages 1–4.
|
||||
- Pas vide : appuie, il est posé (batterie : avec le son affiché, le dernier pad frappé ou KNOB 1 ; synthé : avec la dernière note ou le dernier accord joué).
|
||||
- Pas posé : appuie et relâche, il s'efface (avec son décalage et ses verrous). Tiens-le et tourne un bouton : il est modifié et gardé — KNOB 1 son / note, **KNOB 2 niveau**, **KNOB 3 ratchet**, **KNOB 4 décalage** ; **PRESETS** un verrou de paramètre, **ALGORITHM** quel paramètre. Plusieurs pas tenus se modifient ensemble. **OCT−** avec un pas tenu efface son décalage et ses verrous.
|
||||
- Sans pas tenu : KNOB 2 = DIV (1/4 … 1/32, triolets, et depuis la 2.4 **1/2**, **1BAR**, **2BAR** : des pas d'une ou deux mesures, pour les nappes et les changements d'accords lents), KNOB 3 = swing de la piste (sans effet sur les triolets), KNOB 4 = longueur (1–64 pas ; chaque piste boucle sur sa longueur).
|
||||
|
||||
**Décalage (micro-timing).** Un pas tenu + KNOB 4 le sort de la grille : −32 … +31 en 1/64 de pas, moins = en avance (il joue avant son temps, dans le pas précédent), plus = en retard. Ses ratchets suivent ; l'enregistrement et le swing restent sur la grille. Sur la batterie, tout le pas se décale, tous les sons. Un pas décalé porte un point dans le coin de sa tuile.
|
||||
|
||||
**Verrous de paramètre.** Un pas tenu + **PRESETS** donne à un paramètre du son une autre valeur *pour ce pas seulement* — le paramètre verrouillé est d'abord le dernier bouton de son que tu as tourné sur une page (ENV, LFO, FX, EDIT, VOICE… ; *FLT* d'ENV DEST tant que tu n'en as tourné aucun), et **ALGORITHM** passe aux autres (en boucle) ; la ligne de titre l'affiche : *lock dst 14*, *lock flt --* (pas encore de verrou). Le premier cran de PRESETS crée le verrou à la valeur actuelle de la piste, les suivants le déplacent ; au pas suivant sans verrou, le paramètre revient à sa valeur (les notes qui sonnent encore suivent, façon Elektron). Un bouton tourné sur la page pendant qu'un verrou agit gagne : cette valeur devient la nouvelle base. Plusieurs verrous peuvent tenir sur un pas (un par paramètre), 24 par piste ; le motif, l'arpégiateur, la tonalité et le mode de voix ne se verrouillent pas. Un pas verrouillé porte le même point qu'un pas décalé ; OCT− avec le pas tenu efface les deux (annuler, EDIT + OCT−, concerne les pas : il ne rend pas les décalages ni les verrous). Décalages et verrous sont sauvés avec le projet et visibles dans l'éditeur web (onglet Séquenceur, détail du pas).
|
||||
|
||||
**SEL — tonalité et accords.** Une touche = la tonalité du morceau (la fondamentale des trois synthés). KNOB 1 = **ACCORD** de la piste : OFF, TRIAD, 7TH, 9TH (1-3-7-9, le voicing lo-fi / R&B), SUS4, POWER. Avec un accord, **les touches blanches parcourent la gamme à partir de C4** : C4 = l'accord du I, D4 du II, E4 du III… un doigt, un accord, enregistré comme tel. KNOB 2 = gamme (16 gammes), KNOB 3 = touches (OFF chromatique, SNAP arrondi à la gamme, WHITE gamme sur les blanches), KNOB 4 = transposition. Changer de son ne change jamais la tonalité, le motif ni le mix de la piste.
|
||||
|
||||
**CHORD+ (2.4, d'après HiChord et minichord) : les touches noires changent l'accord.** Avec un mode accord, tiens une touche noire en jouant une blanche — ou appuie-la pendant que l'accord est tenu, il change sous ton doigt : **F#** majeur ↔ mineur, **G#** ajoute la 7e, **A#** sus4, **C#** ajoute la 9e, **D#** un renversement (les deux octaves de noires ; tiens-en plusieurs pour les combiner ; la 7e et la 9e viennent de la gamme : en do majeur, G4 (l'accord du V, sol) avec G# donne G7, avec F# + G# Gm7). Ce que tu joues est enregistré tel que tu l'entends. Page **SEL 2** : **STRUM** égrène les notes de l'accord comme une guitare grattée (1 à 60 ms par note ; à droite du grave vers l'aigu, à gauche de l'aigu vers le grave), au clavier et sur les pas d'accord joués par le séquenceur ; **VLEAD** ON place chaque accord au plus près du précédent, pour qu'une suite d'accords glisse au lieu de sauter.
|
||||
|
||||
**Conditions de fill.** Un pas tenu + **OCT+** fait tourner sa condition : *normal* → **fill seulement** (il ne joue que pendant un fill) → **pas de fill** (il se tait pendant un fill) → normal. Le fill, c'est toi qui l'appelles en jouant : GLO tenu + touche blanche **9** (*fill*) tant que tu la tiens, ou touche **10** (*bar*) : toute la mesure suivante est un fill, puis c'est fini (rappuie avant la mesure pour annuler). Un pas sauté se tait entièrement (ni note, ni MIDI, ni ratchet, ni verrou : le son revient à sa base) ; le motif continue. Sur la batterie, la condition vaut pour tout le pas. La tuile d'un pas « fill seulement » porte un petit **F** en haut à gauche, celle d'un « pas de fill » un **×** (le point du décalage / verrou reste en haut à droite). OCT− avec le pas tenu remet la condition à normal avec le décalage et les verrous ; STOP coupe tout fill. Les conditions sont sauvées avec le projet et visibles dans l'éditeur web.
|
||||
|
||||
**GLO — mix.** Touches blanches 1–4 = mute des pistes 1–4, 5–8 = solo, **9 = fill** tant que la touche est tenue, **10 = fill** sur la mesure suivante, la dernière (G5) = **tap tempo**. KNOB 1–4 = volume des pistes 1–4.
|
||||
|
||||
## Annuler, effacer, sauvegarder
|
||||
|
||||
- **Annuler / rétablir :** EDIT + OCT− / OCT+ (un niveau : le dernier passage d'enregistrement, effacement, piste effacée, modification de pas ou de motif).
|
||||
- **Effacer une piste :** maintiens REC ; après 0,7 s un anneau se remplit ; tiens encore ~1,3 s. Relâche avant : rien. Annuler la ramène.
|
||||
- **Sauvegarder :** SAVE + touches 5–8 sauvent la boucle dans la section / le projet A–D (= SLOT 1–4).
|
||||
- **Sauvegarde automatique :** à l'arrêt, 2,5 s sans toucher (au plus toutes les 20 s), le projet en cours est gardé ; au rallumage, SLOOP revient comme tu l'as laissé.
|
||||
- **Nouveau projet :** SAVE → TOOLS → NEW (tourner sur GO).
|
||||
|
||||
## Le master : DUST, DUCK, FILT
|
||||
|
||||
- **DUST** : le mix dans un vieux sampler et sur un vinyle — saturation douce, fréquence d'échantillonnage réduite, moins de bits, passe-bas, et pendant la lecture un léger souffle et des craquements (à l'arrêt, silence).
|
||||
- **DUCK** : chaque kick fait « pomper » les synthés (sidechain), sur une croche, à tout tempo.
|
||||
- **FILT** : filtre DJ — à gauche passe-bas, à droite passe-haut, au centre OFF.
|
||||
|
||||
Réglables avec FX maintenu (KNOB 1–3) ou GLO → MASTER.
|
||||
|
||||
## Mode chanson
|
||||
|
||||
Une chanson enchaîne 4 sections, **A–D** (chacune garde les 4 pistes : sons, motifs, kit). Elle se construit en jouant :
|
||||
|
||||
1. Fais une boucle (le couplet). Maintiens **SAVE** et appuie sur la **5ᵉ touche blanche** (*save A*). Change la boucle (le refrain) et sauve-la dans **B** (6ᵉ touche), un pont dans **C**, une fin dans **D**. Sur une section déjà utilisée, rappuie dans les 3 s pour confirmer.
|
||||
2. **Jouer les sections en direct :** SAVE + touche blanche **1–4**. En lecture, la section démarre à la mesure suivante, toujours en rythme ; à l'arrêt, elle devient la boucle tout de suite.
|
||||
**Chaîne de sections :** garde SAVE tenu et tape d'autres touches de section — *A B B C*, dans l'ordre que tu veux, jusqu'à 8 — puis relâche : la première démarre à la mesure suivante comme d'habitude, puis chaque suivante quand la précédente a joué la longueur de son motif (la piste la plus longue : 32 pas en 1/16 = 2 mesures), en boucle. La ligne de titre affiche *chain A B B C*, la section qui joue est allumée, la suivante encadrée. Une seule touche de section, STOP ou PLAY en mode chanson arrête la chaîne. REC chanson enregistre ce que la chaîne joue.
|
||||
3. **Enregistrer la chanson en jouant :** SAVE + touche **14** (*rec*) : dès la mesure suivante, chaque section jouée et son nombre de mesures sont écrits dans la chanson. Rappuie (ou STOP) pour finir : *SONG PARTS 5*. Elle se sauvegarde toute seule une fois arrêtée.
|
||||
4. **La rejouer :** SAVE + touche **13** bascule *loop* / *song* ; en mode song, **PLAY** joue tout le morceau et s'arrête à la fin.
|
||||
|
||||
L'écran **SONG** (SAVE tapé sur TRACKS, ou SAVE + touche 16) montre la chaîne et permet de la retoucher aux boutons (KNOB 1 étape, 2 section, 3 mesures, 4 nombre d'étapes).
|
||||
|
||||
## FM6 : la FM à six opérateurs et les patchs DX7
|
||||
|
||||
**FM6** est le dixième moteur : la synthèse FM classique à six opérateurs, le son du DX7 (pianos électriques, cloches, nappes de verre, basses rondes, cuivres). C'est msfa, le cœur de Dexed, porté en calcul entier par Leo Kuroshita pour Felucca 1.0. Huit patchs d'usine sont dans la banque de sons (TINE EP, GLASS BELL, ROUND BASS, BRASS SECT, SOFT PAD, WOOD BARS, DRAWBARS, NYLON PICK). Sur la FM-1, les huit réglages **EDIT** agissent par-dessus le patch : **ALG** l'algorithme (PAT = celui du patch, 1–32 un autre), **FB** le feedback, **MLVL** la brillance, **MRAT** le ratio des modulateurs, **MEG** leurs enveloppes plus lentes ou plus rapides, **VMOD** la vélocité, **DTUN** l'élargissement, **PTCH** le patch : **F1–F8** ceux d'usine, **B1–B27** ta banque. Les enveloppes du patch font chaque note : l'ADSR de la piste ne sert pas ici.
|
||||
|
||||
Dans l'éditeur web, onglet **Sound**, le panneau **FM6** (quand la piste joue FM6) édite tout le patch : **Send to track** (ça joue tout de suite), **Store in bank** (B1–B27, sur la flash de la FM-1 ; arrête la lecture avant), et surtout **Import SysEx** : un fichier DX7 d'une voix ou une banque de 32 voix (choisis-en une) — les milliers de patchs DX7 et Dexed du web jouent sur la FM-1. Tu peux aussi glisser le fichier .syx sur le panneau. **Store cartridge in bank** (2.5) range toute une cartouche d'un coup : les 27 premières voix sont cochées (ou coche celles que tu veux, 27 au plus), et une seule écriture les met dans B1, B2… dans l'ordre ; l'éditeur demande avant de remplacer, le reste de la banque ne bouge pas. Avant d'envoyer, tu peux choisir de **les ajouter aussi aux user presets** (dans les slots libres, ou à partir d'un slot) : chaque voix devient un preset à son nom, et sur la FM-1 tu la choisis par son nom avec **PRESETS** ou **SELECT**, comme n'importe quel son. Sur la FM-1, choisis-les avec **PTCH** (B1–B27 après F1–F8). **Export SysEx** les réécrit pour Dexed ou un vrai DX7. Un projet garde le PTCH de la piste, pas le patch lui-même : range un patch envoyé dans la banque pour le retrouver avec le projet.
|
||||
|
||||
## L'éditeur web
|
||||
|
||||
Chrome ou Edge, FM-1 en USB, **Connect**. Il suit l'appareil en direct. Depuis la 2.4, il a l'allure de la FM-1 : écran noir, les quatre couleurs des pistes, sa police pixel. Les pages sont dans la barre de gauche (**Track** : Sound, Sequencer, Tracks ; **Sounds** : Library, Samples, Drum kit ; **Device** : Projects, Settings), les quatre pistes en haut (clique pour en éditer une). Les réglages sont rangés comme sur la machine : une carte par bouton (ENV, LFO, EDIT…), ses pages en rangées de quatre boutons colorés ; tire une valeur vers le haut ou le bas comme un bouton (Maj : fin).
|
||||
|
||||
- **Sequencer** sur la piste batterie : une grille 16 sons × pas, avec le **kit**. Choisis un **niveau** (GHOST, SOFT, NORM, HARD) et un **roll** (x1–x4), puis clique : une frappe ; reclique (même niveau et roll) : effacée ; Maj+clic : un niveau plus fort.
|
||||
- **Drum kit** (2.4) : **ta propre batterie**. 16 pads, un par son de la piste batterie (KICK, KICK 2, SNARE, CLAP, HAT, OPEN HAT, PEDAL, RIM, SNARE 2, LOW TOM, HI TOM, CRASH, RIDE, SHAKER, CONGA, COWBELL). Dépose un WAV sur un pad, ou choisis-en plusieurs : ils sont rangés d'après leur nom (*kick*, *bd*, *snare*, *hh*, *open*, *crash*…). Par pad : **Pitch** (±12 demi-tons), **Gain**, **Length** ; clique sur l'onde pour écouter. Puis **où va le kit** : **USR3+4**, le gros kit (environ 15 s, l'éditeur le répartit tout seul sur USR3 et USR4 ; USR1 et USR2 restent libres pour tes instruments), ou un seul slot, **USR1** à **USR4** (environ 7,4 s). Chaque choix montre ce qu'il contient et ce qui sera remplacé. Le compteur montre le temps utilisé ; trop long : raccourcis, ou **Fit the slot**. Donne un nom, **Send**, puis **Use … on the drum track** (ou KIT = USR3+4, le dernier de la liste). Tout marche comme avec les autres kits : pas, niveaux, ratchets, fills, la grille, MIDI canal 10, le hat fermé coupe l'ouvert. Un slot est soit un kit, soit un instrument (SAMPLE) : par exemple USR1 et USR2 pour tes instruments, et un gros kit sur USR3+4. Le slot **USR4** est nouveau dans la 2.4 (de la flash qui ne servait à rien). **Save as ZIP** / **Open ZIP** pour partager un kit.
|
||||
- **Drum synth** (2.5) : **tes propres kits synthétisés**, SYN1 à SYN4 (les derniers du KIT de la batterie). Choisis un kit (au départ : copies de 808, 909, TRAP, TECHNO ; **Start from** + **Copy** pour partir d'un des 32 kits), donne-lui un nom (l'écran DRUMS l'affiche), choisis un son (KICK, SNARE, CLAP…) et change tout : la forme d'onde et la chute de hauteur, le HOLD et le DECAY, la 2e harmonique, le CLICK, le bruit (WHITE, METAL du 808, CHIP, CLAP), le filtre, le DRIVE et le niveau ; le FM-1 joue chaque changement tout de suite. Double-clic sur une valeur : celle du kit de départ. **Store on the FM-1** les garde en mémoire (song arrêtée), **Use on the drum track** choisit le kit, **Save file / Open file** pour partager. Les sauvegardes les gardent aussi.
|
||||
- **Settings → MASTER** : DUST, DUCK, FILT, ROLL. **Tracks** : les quatre tranches (volume, pan, mute ; SOLO et REC affichés). **Samples** (refaite en 3 étapes) : ① choisis un slot (USR1 à USR4, chacun montre ce qu'il contient) ; ② fais le son, **depuis des fichiers** (un WAV par note, pour un instrument : le nom donne la note, `PIANO_C4.wav`, un clavier montre quelles touches jouent quel fichier) ou **en découpant un enregistrement** (CHOP) ; ③ **Send to USRn**, puis **Play this slot on track 1/2/3** règle la piste en SAMPLE avec SET = USRn. Le découpage CHOP (même un enregistrement de plus de 7 s : coche les chops à garder, raccourcis-les, ou **Fit to slot**).
|
||||
|
||||
## Clavier MIDI
|
||||
|
||||
- **Prise MIDI IN** (jack 3,5 mm TRS du FM-1) : un clavier ou des pads avec une sortie MIDI, via un adaptateur TRS ↔ DIN MIDI. Si rien ne joue, essaie l'autre type d'adaptateur (type A / type B).
|
||||
- **USB** : depuis un ordinateur ou un téléphone (DAW, appli de routage MIDI) ou un boîtier « USB MIDI host ». Un clavier USB branché directement sur le FM-1 ne peut pas marcher : ce sont deux appareils USB, il faut un hôte.
|
||||
- **Canaux :** 1, 2, 3 = pistes synth 1, 2, 3 · 10 = la batterie · 4 à 16 = **la piste sélectionnée** (règle ton clavier sur le canal 4 et il suit ALGORITHM).
|
||||
- **Horloge MIDI :** GLO → SYSTEM → **SYNC** = **USB** ou **TRS**. SLOOP suit le tempo, START, CONTINUE et STOP du maître, sans jamais dériver. Sans horloge pendant une demi-seconde, PLAY rejoue au tempo du FM-1. SYNC est un réglage de la FM-1 : il reste quand tu charges un projet.
|
||||
- **Horloge seule :** GLO → SYSTEM → **IN** = **CLOCK** : SLOOP suit l'horloge (et START / STOP) mais ignore les notes qui arrivent, pratique quand la DAW envoie aussi des notes à d'autres appareils. **NOTES** (par défaut) : notes et horloge. Un réglage de la FM-1, comme SYNC.
|
||||
- **Sortie MIDI :** ce que tu joues aux touches sort toujours en MIDI USB (chaque piste sur son canal, la batterie sur 10). GLO → SYSTEM → **MIDI** = **SEQ** envoie aussi ce que jouent le séquenceur, l'arpégiateur et les rolls : pilote un autre synthé, ou enregistre le motif en notes dans ta DAW. Les notes venues d'un ordinateur ou du jack ne sont jamais renvoyées (pas de boucle MIDI). C'est un réglage de la FM-1, comme SYNC.
|
||||
- **Les CC MIDI (2.5)** : les potards d'un contrôleur MIDI règlent le son de la piste que joue leur canal (comme les notes) : CC 7 volume, 10 panoramique, 74 le FILTRE de la piste (64 = coupé, en dessous passe-bas, au-dessus passe-haut), 71 résonance (ANALOG, TRIO, VOICE, NOISE), 73 / 75 / 72 attaque / decay / release, 5 glide, 91 / 93 / 94 les envois reverb / chorus / delay. Sur le canal de la batterie : 7, 91 et 94 = GLO → DRUMS → LVL, REV et DLY. Avec IN = CLOCK, les CC sont ignorés. La carte vient de Felucca 1.1.5.
|
||||
- Le MIDI Bluetooth n'est pas pris en charge (la radio reste éteinte).
|
||||
|
||||
## Le visualiseur
|
||||
|
||||
Sur l'écran TRACKS, tape **HOME** : tout l'écran devient un visualiseur de ce que SLOOP joue. **SELECT** passe d'un style à l'autre (le nom s'affiche une seconde ; le dernier choisi est gardé) : oscilloscope, spectre, spectrogramme, Lissajous, VU-mètres, cercle, tape, LCD, bounce, orbit, wires et le logo SLOOP vivant (les quatre bandes de la voile sont les pistes, le cadran le niveau du mix, le bateau tangue sur l'onde). **HOME** encore, ou n'importe quel bouton de page, le ferme. Les touches, PLAY, REC et les calques marchent comme d'habitude ; KNOB 1 à 4 ne font rien pendant ce temps, et le tempo se règle avec GLO + SELECT. Le visualiseur voit le son comme si **MASTER** était au maximum : il ne suit pas le volume, et même avec MASTER à 0 il bouge comme à plein volume. Ça ne coûte rien au son.
|
||||
|
||||
## Lumières (jouer dans le noir)
|
||||
|
||||
Maintiens **HOME** pour le menu. Il est rangé en quatre sections, comme les pages : **SCREEN** (COLOR, ZOOM), **LIGHTS** (LIGHTS, KEYS, NOTES), **AUDIO** (LOWCUT, USB AUDIO, USB SERIAL), **SYSTEM** (calibration, à propos). **SELECT** passe d'une section à l'autre, **KNOB 1, 2, 3** règlent directement les lignes de la section (chaque ligne a la couleur de son bouton), PRESETS déplace le curseur, OCT+ fait défiler le réglage du curseur ou l'ouvre, OCT− ferme. C'est sauvegardé avec les réglages de la FM-1, pas avec un projet : charger un projet ou NEW PROJECT n'y change rien.
|
||||
|
||||
- **LIGHTS** — OFF, LOW, MID, HIGH : tous les boutons s'éclairent à ce niveau, on lit les étiquettes dans le noir (illisibles sur un FM-1 noir quand ils sont éteints). Ce qui est actif (la page, PLAY, REC, l'octave) reste en pleine lumière et clignote comme avant.
|
||||
- **KEYS** — OFF, C KEYS, WHITE KEYS, ALL KEYS : les touches Do, toutes les touches blanches, ou toutes les touches s'éclairent aussi.
|
||||
- **NOTES** — ON : sur la piste synth sélectionnée, les notes qui sonnent allument leur touche, jouées au clavier ou par le séquenceur (par @renebohne). Depuis la 2.4, chaque note reste allumée au moins un dixième de seconde, comme un coup de batterie : les notes courtes du séquenceur se voient aussi. Ça marche sur toutes les pages et dans tous les calques : là où les touches jouent ou effacent des notes (EDIT, ARP, SAVE, SEL), les notes sont allumées ; là où les touches sont des tuiles (effets FX, pas SEQ, mute / solo GLO), les notes brillent faiblement et les tuiles gardent leur pleine lumière.
|
||||
|
||||
L'éclairage faible est une impulsion très courte à chaque balayage du panneau : pas de scintillement.
|
||||
|
||||
## Enregistrer la FM-1 sur l'ordinateur (audio USB)
|
||||
|
||||
Branchée en USB, la FM-1 est aussi une **entrée audio** nommée **Felucca** (44,1 ou 48 kHz, stéréo, sans pilote ; le 48 kHz depuis la 2.5, pour les téléphones et les applis qui ne prennent que ça). Dans ta DAW, dans Audacity ou dans une appli d'échantillonnage sur ton téléphone (câble ou adaptateur USB-C), choisis cette entrée et enregistre : tu as la sortie master, exactement ce qu'on entend au casque (avec DUST, DUCK et FILT). **Le niveau : menu HOME → USB AUDIO.** **MASTER** (par défaut) : l'enregistrement suit le bouton MASTER, comme le casque. **FULL** : niveau fixe, comme MASTER à fond, protégé de la saturation par le limiteur, quel que soit le bouton ; MASTER ne règle alors que le casque (le bon choix pour une carte son sans réglage de niveau). Le MIDI, l'éditeur et l'installateur marchent toujours sur le même câble. La première fois, l'ordinateur reconfigure l'appareil (MIDI + audio) ; le port MIDI garde son nom. Cette entrée vient de Felucca 1.0. **Sur Mac (macOS 13 à 15)**, laisse menu HOME → **USB SERIAL** sur OFF (par défaut) : avec la console série, ces Mac ne montrent pas l'entrée audio (un changement s'applique au prochain démarrage).
|
||||
|
||||
## Sauvegarde complète
|
||||
|
||||
Dans l'éditeur, onglet **Projects** → **Backup** : **Save a backup** enregistre tout le contenu de la FM-1 dans un seul fichier (le morceau en cours, les projets 1 à 4, les presets utilisateur, la banque FM6, les samples USR1 à USR4, les réglages). **Restore from a file** remet tout comme dans le fichier (ce qui est sur la FM-1 est remplacé). Arrête la lecture (PLAY) avant de restaurer.
|
||||
|
||||
## Secours
|
||||
|
||||
- **Secours USB :** maintiens **OCT−** seul à l'allumage (*SLOOP USB RESCUE*), puis réinstalle.
|
||||
- **Installation interrompue :** le FM-1 reste en mode mise à jour ; relance INSTALL et il termine. Un paquet abîmé est refusé et le FM-1 attend un paquet correct.
|
||||
- **Retour au firmware officiel :** sur la page d'installation, ouvre **Return to the official firmware (V15)** : fais d'abord une sauvegarde avec l'éditeur, télécharge FM-1 V15 sur m-vave.com, choisis son fichier FM-1.fwsc (seul ce fichier exact est accepté) et installe-le. M-UPGRADE de M-VAVE marche aussi (ferme les autres applis qui utilisent le MIDI).
|
||||
|
||||
SLOOP est libre (GPL-3.0), basé sur Felucca de Leo Kuroshita (Hügelton Instruments). M-VAVE et FM-1 sont des marques de leurs propriétaires ; SLOOP n'y est pas affilié.
|
||||
- **Vers SLOOP** : lance `INSTALL-SLOOP.bat` depuis le dossier de SLOOP. Une piste réglée sur HYBRID y jouera un autre moteur.
|
||||
- **Vers le firmware officiel** : passe par la page d'installation (« back to the official V15 »), après avoir fait une sauvegarde.
|
||||
@@ -0,0 +1,6 @@
|
||||
@echo off
|
||||
title Clipper installer
|
||||
rem Usage: INSTALL-CLIPPER.bat (8 voices)
|
||||
rem INSTALL-CLIPPER.bat 12 (12 voices: the CPU test, see DEMARRAGE-RAPIDE-FR.md)
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0build-clipper.ps1" %1
|
||||
pause
|
||||
@@ -1,4 +0,0 @@
|
||||
@echo off
|
||||
title SLOOP installer
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0build-sloop.ps1"
|
||||
pause
|
||||
@@ -1,12 +1,12 @@
|
||||
@echo off
|
||||
title SLOOP editor
|
||||
title Clipper editor
|
||||
cd /d "%~dp0"
|
||||
if not exist build\sloop-site\webapp\editor\index.html (
|
||||
echo The editor is not built yet: run INSTALL-SLOOP.bat first.
|
||||
if not exist build\clipper-site\webapp\editor\index.html (
|
||||
echo The editor is not built yet: run INSTALL-CLIPPER.bat first.
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
start "" http://localhost:8766/webapp/editor/
|
||||
echo SLOOP editor: http://localhost:8766/webapp/editor/ (keep this window open while you use it)
|
||||
python -m http.server 8766 --bind 127.0.0.1 --directory build/sloop-site
|
||||
start "" http://localhost:8767/webapp/editor/
|
||||
echo Clipper editor: http://localhost:8767/webapp/editor/ (keep this window open while you use it)
|
||||
python -m http.server 8767 --bind 127.0.0.1 --directory build/clipper-site
|
||||
pause
|
||||
@@ -1,430 +1,51 @@
|
||||
<p align="center"><img src="assets/logo/sloop-logo.png" alt="SLOOP" width="420"></p>
|
||||
<p align="center"><img src="assets/logo/clipper-logo.png" alt="Clipper" width="460"></p>
|
||||
|
||||
<p align="center"><b>A live groovebox firmware for the M-VAVE FM-1 — for any style.</b><br>
|
||||
Free and open source (GPL-3.0), based on <a href="https://github.com/hugelton/Felucca">Felucca</a> by Leo Kuroshita / Hügelton Instruments.</p>
|
||||
<p align="center"><b>A deep synthesizer firmware for the M-VAVE FM-1.</b><br>
|
||||
Free and open source (GPL-3.0). It grew out of <a href="https://github.com/isod89/sloop-fm1">SLOOP</a>, and like SLOOP it is based on <a href="https://github.com/hugelton/Felucca">Felucca</a> by Leo Kuroshita / Hügelton Instruments.</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://isod89.github.io/sloop-fm1/"><b>Install from the browser</b></a> ·
|
||||
<a href="GUIDE.md">Complete guide</a> ·
|
||||
<a href="SLOOP.md">Manual</a> ·
|
||||
<a href="DEMARRAGE-RAPIDE-FR.md">Guide en français</a> ·
|
||||
<a href="https://isod89.github.io/sloop-fm1/webapp/editor/">Web editor</a> ·
|
||||
<a href="../../releases">Releases</a> ·
|
||||
<a href="../../issues">Report a bug</a>
|
||||
</p>
|
||||
<p align="center"><a href="DEMARRAGE-RAPIDE-FR.md">Démarrage rapide (français)</a> · <a href="BUILDING.md">Building</a> · <a href="web/EDITOR_PROTOCOL.md">Editor protocol</a> · <a href="docs/sloop/">SLOOP's manuals</a></p>
|
||||
|
||||
---
|
||||
|
||||
SLOOP turns the FM-1 into a four-track groovebox you play live: **three synths and a drum machine** with 16 sounds on the white keys, twelve synthesis engines, 153 sounds, 37 drum kits, your own samples, a song mode you play with your hands, USB audio, MIDI in on the jack and MIDI clock — and now **physical models** (guitars, sitar, bells, hand drums), a **noise** engine, **six-operator FM with DX7 patches**, **parameter locks**, **micro timing**, **fills**, a **quick chain** of sections and the **sequencer to MIDI out**. House, techno, hip-hop, trap, drum & bass, amapiano, synthwave, lo-fi, ambient, chiptune — it does not pick a style for you. No factory patterns, nothing to load: everything you hear, you play.
|
||||
> **Status: 0.1, first test build.** It has not run on a device yet. Install it at your own risk, and keep a backup made with the editor. You can go back to SLOOP or to the official V15 from the installer page.
|
||||
|
||||
> **Status:** 2.5 (two new engines, PHYS and NOISE, 77 new sounds, a drum synth, DX7 cartridges in one go, MIDI CCs, 48 kHz USB audio, and the fixes of 2.4.1). Still a beta: install at your own risk, and please [report](../../issues) what you find. Your projects, presets, samples and settings are kept when you update, and you can go back at any time (see [Going back](#going-back)).
|
||||
SLOOP is a groovebox. Clipper is the synthesizer. It keeps SLOOP's 12 engines, tracks, sequencer, effects, USB audio and MIDI, and adds **HYBRID**: one voice built from three oscillators, two filters and a modulation matrix, with the whole patch editable in the browser.
|
||||
|
||||
## Contents
|
||||
|
||||
1. [What's new in 2.5 and 2.4](#whats-new-in-25)
|
||||
2. [Screenshots](#screenshots)
|
||||
3. [Features](#features)
|
||||
4. [Install](#install)
|
||||
5. [Your first beat in 60 seconds](#your-first-beat-in-60-seconds)
|
||||
6. [The controls](#the-controls)
|
||||
7. [The menu: settings of the FM-1](#the-menu-settings-of-the-fm-1)
|
||||
8. [MIDI and USB audio](#midi-and-usb-audio)
|
||||
9. [The web editor](#the-web-editor)
|
||||
10. [Compatibility](#compatibility)
|
||||
11. [Troubleshooting](#troubleshooting)
|
||||
12. [Specifications](#specifications)
|
||||
13. [Documentation](#documentation)
|
||||
14. [Building and tests](#building-and-tests)
|
||||
15. [Contributing](#contributing)
|
||||
16. [Credits and thanks](#credits-and-thanks)
|
||||
17. [Licence](#licence)
|
||||
|
||||
---
|
||||
|
||||
## What's new in 2.5
|
||||
|
||||
- **PHYS: physical models.** An eleventh engine, from Felucca 1.0 (the models of DaisySP and Mutable Instruments Rings, by Emilie Gillet): plucked and struck strings, bars and bells, drum heads, and strings with sympathetic strings that ring along. Guitars (NYLON GTR, STEEL GTR, MUTED GTR), PLUCK BASS, KOTO, BANJO, SITAR and TANPURA, PHYS HARP, CHIMES, BIG BELL, VIBRA BAR, STEEL PAN, WOOD BLOCK, CELLO BOW, GLASS BOWL, TABLA, CONGA, TIMPANI and more: 26 sounds.
|
||||
- **NOISE.** A twelfth engine, from Felucca 1.0: noise from analogue to digital, through a resonant filter. WIND, RAIN, OCEAN, VINYL, HISS, RISER, NZ SNARE, BITCRUSH, RADIO, NZ ARCADE, NZ METAL.
|
||||
- **153 factory sounds** (76 in 2.4): 77 new, every one level-matched. Besides PHYS and NOISE: bass guitar, mono and saw basses, harp, steel drum, glockenspiel, celesta, xylophone, tubular bell, pan flute, harmonica, accordion, a 70s string machine (ENSEMBLE), an 80s poly synth, rock and chapel organs, granular clouds (STR CLOUD, SHIMMER, DRONE, PNO FREEZE, HORN CLOUD), chip sounds (NES BASS, CHIP CHORD, WAVE LEAD…), CZ lead / pad / reso, ROBOT and VOX PAD. See [the sound bank](SLOOP.md#the-sound-bank).
|
||||
- **Two engines, no memory more.** GRAIN, FM6 and PHYS keep their big per-track state in one shared area (a track plays one engine at a time), so the new engines cost no memory at all; the pitch table now takes 768 bytes instead of 8 KB. Every sound of 2.4 renders bit for bit as before.
|
||||
- **The web editor: piano roll, MIDI files, song.** On the **Sequencer** page: a **length** control (1–64 steps; the steps redraw at once), a **piano roll** to draw, delete and stretch notes and chords with the mouse, and **Export MIDI / Import MIDI** for the selected track (the drum track too, as GM drum notes), with a preview that says what moves or does not fit before anything is written. A new **Song** page edits the order of the sections A–D, as the FM-1's SONG screen does. Thanks to the viewer who suggested them!
|
||||
- **USB audio at 48 kHz too: record into your phone.** The FM-1's USB audio input now also runs at 48 kHz when the phone, tablet or app asks for it (many only take 48 kHz), resampled in the FM-1 (after Felucca 1.1.5). Plug it into your phone and record into a sampler app. At 44.1 kHz nothing changed.
|
||||
- **Drum synth: make your own drum kits.** A new page in the web editor changes every value of the synthesised drum sounds — the tone and its pitch drop, the click, the noise (white, the 808's metal, chip, clap), the filter, drive and level — and the FM-1 plays each change at once. Four kits of your own, **SYN1–SYN4**, after the others on the drum track's KIT, stored on the FM-1, in backups and as files.
|
||||
- **DX7 cartridges in one go.** Drop a .syx file on the editor's FM6 panel, tick up to 27 of its voices (the first 27 are ticked) and **Store cartridge in bank** puts them in B1, B2… in one write, asking before it replaces anything. Choose to add them to the user presets too, and the FM-1's PRESETS and SELECT find them by name; or pick them with PTCH. Thanks to the viewer who asked!
|
||||
- **A delay send for the drums.** GLO → DRUMS → **DLY** (next to REV) sends the drum track into the tempo delay: echoing hats, dub snares. CC 94 on the drum channel sets it too. Thanks to the viewer who asked!
|
||||
- **MIDI CCs (after Felucca 1.1.5).** A controller's knobs now set the sound: CC 7 level, 10 pan, 74 the track's filter, 71 resonance, 73 / 75 / 72 attack / decay / release, 5 glide, 91 / 93 / 94 the reverb, chorus and delay sends, on the track the channel plays (as the notes). Until now SLOOP ignored every CC.
|
||||
- **Swing reads 0 to 100.** 0 is straight, 100 the strongest (a step pair played 75 / 25, MPC's 75 %); it used to read 50–75 %. The swing itself and your projects did not change.
|
||||
- **SEL, as printed on the button.** The key / scale button between FX and ENV is now called SEL everywhere (its pages SEL and SEL 2, the calibration, the guides); it was written SCL. Not to be mixed up with the SELECT knob.
|
||||
- **The DRUMS page's level dial** goes from ghost on the left to hard on the right (its needle followed the wrong order; the levels were right).
|
||||
- **Fixed** (2.4.1, folded into 2.5): imported DX7 patches with **AMS** above 0 (about one in four) played noise and static: they now sound as on a DX7. The **click** (and the REC count-in) is heard again with your own drum kits and with the drum track muted or another track soloed: it has its own sound now. In chord mode, a key on the **STEP** page writes the whole chord it plays, not only its root.
|
||||
|
||||
Projects, autosaves and backups from 2.4 load as they are. Going back to 2.4: a track playing PHYS or NOISE opens with another engine there, and 2.4 does not keep the SYN kits (a drum track on SYN1–4 plays USR3+4 there), so keep a backup.
|
||||
|
||||
## What's new in 2.4
|
||||
## HYBRID, the Clipper voice
|
||||
|
||||
| | |
|
||||
| --- | --- |
|
||||
| **FM6: six-operator FM, DX7 patches** | A tenth engine: the classic 6-op FM of Dexed (msfa), as Felucca 1.0 ported it — 32 algorithms, a full patch per track, 8 factory patches, a bank of 27 on the FM-1. The web editor edits every operator, **imports DX7 SysEx** (one voice or a 32-voice bank) and stores a whole cartridge in the bank at once. |
|
||||
| **Parameter locks** | Hold a step: **PRESETS** gives one sound parameter another value for that step only, **ALGORITHM** picks which. 24 per track, several on one step. |
|
||||
| **Micro timing** | Hold a step: **KNOB 4** nudges it, half a step early to half a step late, in 1/64. |
|
||||
| **Fills** | Hold a step: **OCT+** makes it *fill only* or *no fill*. GLO + key **9** plays a fill while held, key **10** on the whole next bar. |
|
||||
| **Quick chain** | Hold SAVE and tap A B B C…: let go and the sections play in turn, each for its pattern's length, looped. |
|
||||
| **Clock only** | GLO → SYSTEM → **IN** = **CLOCK**: follow a DAW's clock and ignore its notes. |
|
||||
| **Sequencer to MIDI out** | GLO → SYSTEM → **MIDI** = **SEQ**: the steps, the arp and the rolls go out on USB MIDI — drive another synth, or record the notes in a DAW. |
|
||||
| **Your own drum kits** | A 4th sample slot (USR4). KIT USR1–USR4 or **USR3+4** (a big kit, about 15 s) on the drum track: 16 of your sounds, one per lane, built in the editor's new **Drum kit** page (drop WAVs on pads, sorted by name; pitch, gain, length; choose where; ZIP to share). |
|
||||
| **New web editor** | Rebuilt in the FM-1's own look (black, the four track colours, its pixel font): each button's pages as rows of four coloured knobs, values you drag like knobs, the steps as the device's tiles. |
|
||||
| **CHORD+** | In chord mode the black keys change the chord (major ↔ minor, 7th, sus4, 9th, inversion), even while it is held; STRUM strums the chords, VLEAD voices them smoothly. After HiChord and minichord. |
|
||||
| **The visualiser** | On the TRACKS screen, tap HOME: 12 full-screen styles (oscilloscope, spectrum, spectrogram, Lissajous, VU meters, circle, tape, LCD, bounce, orbit, wires, the SLOOP logo), SELECT to change. |
|
||||
| **A filter per track** | One knob, low-pass to the left, high-pass to the right, on each track and the drums: FX → FILTER, or FX held + KNOB 4. Lockable on a step. |
|
||||
| **Bigger values** | Pages without a graph (EDIT, VOICE, GLOBAL…) show their four values in large type in the middle of the screen. |
|
||||
| **SELECT turns the pages** | On a page (LFO, FX, EDIT…), SELECT goes to the next / previous page of its group. On HOME it is still the tempo. |
|
||||
| **Drums with the keys** | On the drum grid page, the keys are the steps of the sound you pick: press to set, again to clear. Picking a sound or a step plays it. |
|
||||
| **Longer steps, dotted delays** | DIV goes to **1/2**, **1 bar** and **2 bars**; the delay has **1/8 dotted** and **1/16 dotted**. |
|
||||
| **Fixes** | A MIDI START during the REC count-in records at once; swing leaves triplets alone; turning DIV right after PLAY no longer skips a step; the SEQ layer's DIV reaches 1/2, 1 bar, 2 bars; the editor never writes flash while the song plays; *12 kHz* reads in full. |
|
||||
| **3 oscillators** | Each one is SAW, PULSE (width), TRI, SINE (with feedback), MORPH (sine → tri → saw → square), SUPER (seven detuned saws), FM (phase-modulated by the oscillator before it), SYNC (hard sync to osc 1), FOLD (wavefolder) or NOISE (with colour). Each has coarse ±48 semitones, fine, level and shape, and can restart at each note or keep a fixed pitch. |
|
||||
| **Mix** | Ring modulation of osc 1 × osc 2, analog drift (per voice and per oscillator), drive. |
|
||||
| **2 filters** | LP12, LP24, BP, HP, NOTCH, PEAK. They run in series, in parallel (with a balance) or split (osc 1 into F1, osc 2 and 3 into F2). Each has an envelope amount, keyboard tracking and velocity. |
|
||||
| **Modulation** | Per voice: ENV2 and ENV3 (ADSR) and LFO2 and LFO3 (6 waves, free or key-synced, tempo-synced from 1/32 to 8 bars, fade-in), on top of the track's amplitude ADSR and LFO1. |
|
||||
| **Matrix** | 16 slots of *source × via × amount → destination*. Sources: ENV2, ENV3, AENV, LFO1-3, velocity, key, mod wheel, aftertouch (channel or per note), bend, expression, a random value per note, the macros M1-M4. Destinations: pitch (all or per oscillator), shapes, levels, ring, cutoff (both or each), resonances, drive, amplitude, the LFO rates, filter balance. |
|
||||
| **On the FM-1** | EDIT shows CUT, RES and FENV (offsets on both filters), PTCH (the factory patch), and M1-M4: four macros whose effect each patch decides. |
|
||||
| **In the editor** | Every value above, live while you play. Patches export and import as `.clipper.json`. |
|
||||
| **24 factory patches** | CLIPPER, POLY PAD, STRINGS, ACID, SYNC LEAD, FM BELL, FM KEYS, WOBBLE, REESE, HOOVER, BRASS, VOX, PLUCK, RISER, METAL, FOLD BASS, CHIP LEAD, GLASS PAD, DRONE, 808 SUB, TRANCE, SAW PLUCK, SPACE BEL, INIT. They are level-matched with the other 153 sounds and sorted into the PRESETS list by kind. |
|
||||
|
||||
Projects, autosaves and backups from 2.3 load as they are. The full list, and what came before: [SLOOP.md](SLOOP.md#new-in-24).
|
||||
## Playing it from a controller (new in Clipper, every engine)
|
||||
|
||||
## What's new in 2.3
|
||||
Pitch bend (±2 semitones, or the HYBRID patch's own range up to ±24), mod wheel (CC 1), expression (CC 11), sustain pedal (CC 64), channel and polyphonic aftertouch, and the macros M1-M4 on CC 16-19. SLOOP's CC map (7, 10, 71-75, 91, 93, 94) still works.
|
||||
|
||||
| | |
|
||||
| --- | --- |
|
||||
| **USB audio** | On USB the FM-1 is also an audio input (*Felucca*, 44.1 or 48 kHz stereo, no driver): record it in your DAW, in Audacity or in a sampler app on your phone over the same cable. Its level follows the MASTER knob, or stays at a fixed full level (HOME menu → **USB AUDIO**). From Felucca 1.0. |
|
||||
| **MIDI keyboard on the jack** | The 3.5 mm TRS MIDI IN works: a keyboard or a pad controller through a TRS-to-DIN adapter. Channels 1–3 the synths, 10 the drums, 4–16 the selected track. No note left hanging. |
|
||||
| **MIDI clock in** | GLO → SYSTEM → **SYNC** = USB or TRS: SLOOP follows a DAW or a drum machine — tempo, START, CONTINUE, STOP — pulse by pulse, with no drift. |
|
||||
| **Record your way** | The REC screen has three dials: **mode** (*free*: the tempo follows your playing, or *tempo*: the tempo you set), **length** (1, 2 or 4 bars), **start** (your first note, or a one-bar **count-in** after PLAY). |
|
||||
| **Lights for playing in the dark** | HOME menu: **LIGHTS** (every button glows, LOW / MID / HIGH), **KEYS** (the C keys or every white key), **NOTES** (the notes playing light their keys, by @renebohne). |
|
||||
| **Backup and restore** | The web editor saves everything on the FM-1 in one file — the music in progress, projects, user presets, samples, settings — and puts it all back. |
|
||||
| **CHOP, any length** | A recording longer than a sample slot (about 7 s) works: keep the chops you want, shorten them, or **Fit to slot**. |
|
||||
| **Back to the official firmware** | From the installer page, with a backup first: select M-VAVE's FM-1 V15 file and install it. |
|
||||
| **Steadier** | Knobs that answer every click; no dropped notes over USB MIDI; one voice fades on overload, never the bass or the lead; keys a millisecond faster; no stuck note after a VOICE change; stricter checks of what is read back from flash. |
|
||||
## Install and test
|
||||
|
||||
The full list, and what came in 2.0, 2.1 and 2.2: [SLOOP.md](SLOOP.md#new-in-23). Release notes: [Releases](../../releases).
|
||||
On Windows, see **[DEMARRAGE-RAPIDE-FR.md](DEMARRAGE-RAPIDE-FR.md)**: `INSTALL-CLIPPER.bat` builds the firmware and opens the installer at `http://localhost:8767` (SLOOP uses 8766, so the two never get mixed up). Elsewhere, see [BUILDING.md](BUILDING.md).
|
||||
|
||||
## Screenshots
|
||||
Projects, user presets, samples and settings stay in the same flash places as SLOOP's. Going from SLOOP to Clipper keeps them; a track on HYBRID plays another engine if you go back to SLOOP.
|
||||
|
||||
<p align="center"><img src="assets/screens/sloop-2.3-screens.png" alt="SLOOP 2.3 screens on the FM-1" width="760"></p>
|
||||
## Polyphony
|
||||
|
||||
<p align="center"><sub>The FM-1's screen in 2.3: the tracks, the REC screen and its count-in, the menu (lights and USB audio), MIDI clock, about.</sub></p>
|
||||
The voices are a build option: 8 (the default, as SLOOP), 12 or 16 (`INSTALL-CLIPPER.bat 12`). The host measurements put a typical HYBRID voice at about 2.5 % of the FM-1's CPU and the heaviest factory patch (CLIPPER, two SUPERs) at about 6.6 %. GLO → SYSTEM → CPU shows the real load on the device: those readings decide the default.
|
||||
|
||||
<p align="center"><img src="assets/screens/screens.png" alt="SLOOP screens on the FM-1" width="760"></p>
|
||||
## Tests
|
||||
|
||||
<p align="center"><sub>Start-up, the four tracks (recording), the drum grid and the acoustic kit, the sounds by kind, the layers (punch-in FX, steps, key and chords, mix, erase), a free take, the FX sends.</sub></p>
|
||||
`HOST_ONLY=1 tests/run_tests.sh` runs everything that does not need the JieLi toolchain: the HYBRID tests (the pitch of every oscillator, the filters, the matrix, the controllers, 300 random patches, the cost per voice), the editor's commands, golden renders of every sound, ASan and UBSan, a soak test, and the web pages.
|
||||
|
||||
<p align="center"><img src="assets/screens/editor-drums.png" alt="SLOOP web editor: the drum track" width="760"></p>
|
||||
## Credits
|
||||
|
||||
<p align="center"><sub>The web editor: the drum track as a 16-lane grid, with levels and ratchets.</sub></p>
|
||||
- **[Felucca](https://github.com/hugelton/Felucca)** by Leo Kuroshita (@kurogedelic) / Hügelton Instruments: the platform, the engines, the editor and the installer.
|
||||
- **[SLOOP](https://github.com/isod89/sloop-fm1)** by 3dSam: everything Clipper starts from. Its manuals are in [docs/sloop](docs/sloop/).
|
||||
- The supersaw follows Adam Szabo's analysis of the JP-8000. The FM6 engine is msfa (Dexed), and PHYS comes from DaisySP and Mutable Instruments Rings: see [LICENSING.md](LICENSING.md).
|
||||
|
||||
<p align="center"><img src="assets/screens/editor-chop.png" alt="SLOOP web editor: CHOP" width="760"></p>
|
||||
|
||||
<p align="center"><sub>CHOP: a 20 s recording cut into 16 chops, 8 kept, fitted to the slot.</sub></p>
|
||||
|
||||
## Features
|
||||
|
||||
### Play it live: hold a button, touch a key
|
||||
|
||||
Every function button is a **layer**: hold it and the 16 white keys and the four knobs change job, and the screen shows how. Tap it and its pages open. Hold a layer button and tap HOME to **lock** it open, both hands free.
|
||||
|
||||
| Hold | The white keys | KNOB 1 · 2 · 3 · 4 |
|
||||
| --- | --- | --- |
|
||||
| **FX** — punch | 16 punch-in effects on the whole mix: loops 1/4–1/32, stutter, reverse, tape stop, half speed, filter sweeps, phone, bit crush, alias, gate, echo, tape wobble | FILTER · DUST · DUCK · the track's filter |
|
||||
| **EDIT** — erase | erase a sound or a note as the loop plays (stopped: from the whole pattern) | SHIFT · LENGTH ×2 / ½ · TRANSPOSE |
|
||||
| **ARP** — roll | note repeat on the grid, recorded as ratchets | RATE (1/8 … 1/64) |
|
||||
| **SEQ** — steps | the 16 steps of the page; a step held: a level, a ratchet, a nudge, parameter locks (PRESETS / ALGORITHM), a fill condition (OCT+) | SOUND / NOTE · DIV · SWING · LENGTH (a step held: SOUND / NOTE · LEVEL · RATCHET · NUDGE) |
|
||||
| **SEL** — key | the key of the song | CHORD · SCALE · KEYS · TRANSPOSE |
|
||||
| **GLO** — mix | 1–4 mute, 5–8 solo, 9 fill (held), 10 fill on the next bar, 16 tap tempo | the levels of tracks 1–4 |
|
||||
| **SAVE** — song | 1–4 play sections A–D (several tapped while held: a quick chain), 5–8 save the loop into them, 13 loop / song, 14 record the song, 16 the chain | — |
|
||||
|
||||
Keys 1, 5, 9 and 13 glow dimly while a layer is held: the first key of each row of the 4 × 4 grid on the screen. **EDIT + OCT− / OCT+** is undo / redo.
|
||||
|
||||
### Drums
|
||||
|
||||
- **16 sounds on the white keys**, kick to cowbell; a black key doubles the white key on its left (fast rolls with two fingers).
|
||||
- **Ghost and hard hits:** hold OCT− / OCT+ while you play. Every hit keeps its level (GHOST, SOFT, NORM, HARD) and a **ratchet** (x1–x4).
|
||||
- **37 kits**, all level-matched: a sampled acoustic kit in 5 treatments (CC0 studio recordings) and 32 synthesised kits — 808, 909, 606, 80s, vintage, trap, drill, boom bap, lo-fi, phonk, house, deep house, techno, minimal, electro, disco, UK garage, jungle, dubstep, reggaeton, amapiano, afrobeat, latin, tribal, synthwave, chiptune, arcade, glitch, industrial, hyperpop, ambient, jazz brushes. Each synthesised sound is built like on the classic machines; softer hits are darker as well as quieter. **Your own kits** too (2.4): KIT USR1–USR4 (or USR3+4, about 15 s) plays sample slots you fill in the editor's Drum kit page, a sound of yours per lane. And (2.5) **SYN1–SYN4**, synthesised kits you make in the editor's Drum synth page.
|
||||
- **Grid and kit pages** on the FM-1 (EDIT or SEQ on the drum track): on the grid, the keys are the steps of the sound you pick (and you hear it); a 16-lane grid in the web editor.
|
||||
|
||||
### Synths and sounds
|
||||
|
||||
- **Twelve engines:** analog, 4-op FM, **6-op FM with DX7 patches (FM6, 2.4)**, phase distortion, three-oscillator, tonewheel organ, formant voice, granular, lo-fi chip, sampler, **physical models (PHYS, 2.5)**, **noise (NOISE, 2.5)**.
|
||||
- **153 sounds, browsed by kind** — basses (sliding 808s, acid 303, reese, FM, bass guitar), guitars, sitar and koto (physical models), keys (Rhodes, a real Steinway grand, house and afro keys), organs and accordion, pads (string machine, granular clouds), leads (supersaw, talkbox, pan flute, harmonica), plucks and bells (harp, steel drum, glockenspiel, celesta, xylophone), stabs and dub chords — every one level-matched. **32 slots** for your own presets.
|
||||
- Envelopes (with a pitch punch for 808s), LFO, arpeggiator, glide and voice modes (POLY, MONO, LEGATO, UNISON), per-track drive and slicer, sends to a **stereo chorus**, a **tempo delay** (dotted 1/8 and 1/16 too) and a **stereo reverb**.
|
||||
- **Key and chords (SEL):** the key of the song for all synths, 16 scales, one-key chords (triad, 7th, 9th, sus4, power), keys snapped to the scale or the scale on the white keys.
|
||||
|
||||
### Recording and the sequencer
|
||||
|
||||
- **Records as you play, no click needed:** while it plays, REC records at once and every pass is added on top (overdub). Notes land where you heard them: the ~12 ms of the keys are taken back.
|
||||
- **The REC screen (2.3):** **mode** *free* — no tempo, no grid: play, press REC on the "1" after your last bar, and the loop's length sets the tempo — or *tempo* — record at the tempo you set; **length** 1, 2 or 4 bars; **start** on your first note, or after a one-bar **count-in**.
|
||||
- **Hold REC ~2 s** to clear a track; **undo / redo** brings it back.
|
||||
- **64 steps per track**, each track with its own length and division, 1/32 to two bars (polymeters stay in phase); chords up to 4 notes a step, ties, slide; **MPC swing**, 0 (straight) to 100; one sample-accurate clock for everything: no drift at any tempo.
|
||||
- **Parameter locks, micro timing and fills (2.4):** hold a step to give it its own value of any sound parameter, to nudge it off the grid, or to make it play only (or never) during a fill.
|
||||
- The PLAY light flashes on every beat (a visual metronome); an audible click is in GLO → GLOBAL → CLICK and is never recorded.
|
||||
|
||||
### Songs
|
||||
|
||||
Save up to four sections **A–D** (SAVE + keys 5–8), play them live on the next bar (SAVE + keys 1–4), and **record the song as you play it** (SAVE + key 14). Keep SAVE held and tap several sections for a **quick chain** (2.4). In song mode PLAY plays the whole chain. The SONG screen edits it by hand.
|
||||
|
||||
### Effects and master
|
||||
|
||||
- **16 punch-in effects** (FX + a key), locked to the tempo.
|
||||
- **Master:** **DUST** (an old sampler and a record: bits, rate, crackle), **DUCK** (the kick pumps the synths), **FILT** (a DJ filter: low-pass ← off → high-pass), and an output limiter.
|
||||
|
||||
### Your own samples
|
||||
|
||||
- **Four slots** (USR1–USR4) of about 7.4 s each, played by a synth track or as a drum kit (USR3+4: one kit of about 15 s); up to 16 WAV files per slot, each on its own key.
|
||||
- **CHOP** in the web editor: open or drop a recording (WAV, MP3, AIFF…) of **any length**, tap along while it plays (each tap snaps to its hit), or find the hits, a tempo grid, equal parts; keep the chops you want, shorten them or **Fit to slot**; send them to a slot, one per key, or download them as WAV files.
|
||||
|
||||
### MIDI
|
||||
|
||||
- **USB MIDI** in and out, class compliant.
|
||||
- **TRS MIDI IN** (the 3.5 mm jack, 2.3) for a keyboard or a pad controller.
|
||||
- **MIDI clock in** (USB or TRS): tempo, START, CONTINUE, STOP.
|
||||
- **MIDI CCs** (2.5): level, pan, filter, resonance, envelope, glide and the sends from a controller's knobs.
|
||||
- **MIDI out:** the keys always; the sequencer, the arp and the rolls too with GLO → SYSTEM → MIDI = SEQ (2.4).
|
||||
- Details: [MIDI and USB audio](#midi-and-usb-audio).
|
||||
|
||||
### USB audio (2.3)
|
||||
|
||||
The FM-1 is also a **USB audio input**: record its master output on a computer, no driver, over the same cable as MIDI and the editor. Details: [USB audio](#usb-audio-record-the-fm-1-on-a-computer).
|
||||
|
||||
### Lights for playing in the dark (2.3)
|
||||
|
||||
Every button can glow so its label is readable on a black FM-1; the C keys or every white key can glow too; the notes playing can light their keys. Details: [The menu](#the-menu-settings-of-the-fm-1).
|
||||
|
||||
### Memory and safety
|
||||
|
||||
- **Autosave:** stop and leave it 2.5 s, your work is kept; at power-on SLOOP comes back exactly as you left it.
|
||||
- **4 projects**, **32 user presets**, **27 FM6 patches**, **undo / redo**.
|
||||
- **Full backup and restore** from the web editor (2.3).
|
||||
- **Safe updates:** the installer checks the package (SHA-256) before writing it, the update loader checks it again (CRC) before starting it; an interrupted install finishes when you press Install again; **USB rescue** (OCT− at power-on).
|
||||
|
||||
## Install
|
||||
|
||||
### From the browser (recommended)
|
||||
|
||||
1. Open **[the SLOOP installer](https://isod89.github.io/sloop-fm1/)** in **Chrome or Edge** on a computer.
|
||||
2. Connect the FM-1 by USB — a **data** cable, directly (no hub).
|
||||
3. Press **INSTALL**, allow MIDI access, and wait for *Done*. The FM-1 restarts on the SLOOP logo.
|
||||
|
||||
Nothing to download or compile. Your projects, user presets, samples and settings are kept. After an install, **unplug and plug the FM-1 back in** once so the computer finds its USB audio input.
|
||||
|
||||
### Other ways
|
||||
|
||||
- **Python:** the `.fwsc` of a [release](../../releases) with `python tools/fm1_install.py sloop-2.4.fwsc` (needs `pip install mido python-rtmidi`).
|
||||
- **Build it yourself:** see [Building and tests](#building-and-tests); on Windows, `INSTALL-SLOOP.bat` builds SLOOP and opens the installer locally.
|
||||
|
||||
### Going back
|
||||
|
||||
- **To an earlier SLOOP:** install the `.fwsc` of its [release](../../releases) (for example [2.3](../../releases/tag/v2.3)). Your samples, user presets and settings stay. **Projects saved by 2.4** (format FUN5: locks, nudges, fills) **do not open in 2.3 or older** — 2.3 sees them as empty, and its autosave can write over the music in progress; a 2.4 backup restores into 2.4 only. **Save a backup before you go back**, and restore it once you are on 2.4 again.
|
||||
- **To the official firmware:** on the installer page, open **Return to the official firmware (V15)**. Save a backup with the editor first, download FM-1 V15 from m-vave.com and select its `FM-1.fwsc` — only that exact file is accepted. M-VAVE's updater, M-UPGRADE, works too. To come back, install SLOOP again and restore your backup.
|
||||
|
||||
### Rescue
|
||||
|
||||
- **The FM-1 no longer starts SLOOP:** hold **OCT−** alone while switching it on (*SLOOP USB RESCUE*), then install again.
|
||||
- **An install was cut off:** the FM-1 stays in update mode; press INSTALL again and it finishes.
|
||||
- If an FM-1 no longer starts at all, recovery needs [FM-1-transporter](https://github.com/kurogedelic/FM-1-transporter).
|
||||
|
||||
> Custom firmware is installed at your own risk. No warranty.
|
||||
|
||||
## Your first beat in 60 seconds
|
||||
|
||||
1. **ALGORITHM** to track **4** (orange, drums). The white keys are 16 drum sounds; **PRESETS** picks a kit (try *808* or *BOOMBAP*).
|
||||
2. Press **REC** and play a beat freely, at your own tempo. Hold **OCT−** while you hit for ghost notes, **OCT+** for hard ones.
|
||||
3. **Press REC on the "1" after your last bar.** The loop closes, its length sets the tempo, the hits snap to the grid and it plays at once. (Prefer a set tempo, or a count-in? Turn KNOB 1 and KNOB 3 on the REC screen before you start.)
|
||||
4. **REC** again while it plays: you record on top. Hold **ARP** and hold the hat key for a hat roll.
|
||||
5. **ALGORITHM** to track **1**, **REC**, play a bass line. Hold **SEL** and press the key of your song; on track 2, hold SEL and turn **KNOB 1** to *7TH*: every white key now plays a chord.
|
||||
6. Hold **FX** and press a white key for a punch-in effect; still holding FX, turn **KNOB 2** for DUST, **KNOB 3** for DUCK.
|
||||
7. A mistake? Hold **EDIT** and press **OCT−**: undo.
|
||||
|
||||
## The controls
|
||||
|
||||
| Control | What it does |
|
||||
| --- | --- |
|
||||
| **MASTER** | volume (and the USB audio level, if USB AUDIO is on MASTER) |
|
||||
| **SELECT** | on HOME and inside a layer: tempo · on a page: the previous / next page of its group · DRUMS: grid / kit |
|
||||
| **ALGORITHM** | the selected track: 1 · 2 · 3 (synths) · 4 (drums) |
|
||||
| **PRESETS** | the selected track's sound, or the drum kit |
|
||||
| **KNOB 1–4** | what the four dials at the bottom of the screen show, each in its colour |
|
||||
| **OCT− / OCT+** | octave (both: back to 0) · on the drum track, held: ghost / hard hits |
|
||||
| **FX · SEL · ENV · LFO · EDIT · GLO** (top row) | tap: their pages · hold FX, SEL, EDIT, GLO: a layer. **SEL** is the second button of the top row, between FX and ENV (not the SELECT knob) |
|
||||
| **HOME** | the TRACKS screen · on it: the full-screen visualiser (SELECT: 12 styles; HOME again closes it) · hold: the menu · tapped while a layer is held: lock it |
|
||||
| **SAVE** | on TRACKS: the SONG screen · elsewhere: the SAVE pages · hold: the song layer |
|
||||
| **ARP · SEQ** | tap: their pages · hold: note repeat · steps |
|
||||
| **PLAY** | start / stop all four tracks; its light flashes on every beat |
|
||||
| **REC** | playing: record now / stop · stopped: arm (the REC screen) · hold: clear the track |
|
||||
| **EDIT + OCT− / OCT+** | undo / redo |
|
||||
|
||||
Colours: **blue** track 1 and KNOB 1, **green** 2, **yellow** 3, **orange** 4 (drums). White is what you touch; red is recording.
|
||||
|
||||
## The menu: settings of the FM-1
|
||||
|
||||
Hold **HOME**. The menu is in four sections, as the pages are: **SCREEN** (COLOR, ZOOM), **LIGHTS** (LIGHTS, KEYS, NOTES), **AUDIO** (LOWCUT, USB AUDIO, USB SERIAL), **SYSTEM** (HARDWARE CALIBRATION, ABOUT). **SELECT** goes from one section to the next, **KNOB 1, 2, 3** set the section's rows (each row shows its knob's colour), **PRESETS** moves the cursor, **OCT+** steps the cursor's setting round or opens it (CALIBRATION, ABOUT), **OCT−** closes. These are settings of the FM-1, not of a project: loading a project or NEW PROJECT does not change them, and the backup keeps them.
|
||||
|
||||
| Item | Choices | What it does |
|
||||
| --- | --- | --- |
|
||||
| **COLOR** (SCREEN) | 5 palettes | the screen's colours |
|
||||
| **ZOOM** (SCREEN) | OFF / ON | a large readout of the value you turn |
|
||||
| **LIGHTS** (LIGHTS) | OFF / LOW / MID / HIGH | every button glows at that level; what is active stays at full light |
|
||||
| **KEYS** | OFF / C KEYS / WHITE KEYS / ALL KEYS | the C keys, every white key, or every key glow too |
|
||||
| **NOTES** | OFF / ON | the notes playing on the selected synth track light their keys (sequencer notes too, at least a tenth of a second each), on every page and in every layer |
|
||||
| **SPEAKER LOWCUT** (AUDIO) | OFF / ON | a low cut for the small built-in speaker |
|
||||
| **USB AUDIO** | MASTER / FULL | the level of the USB audio input: follows the MASTER knob, or a fixed full level |
|
||||
| **USB SERIAL** | OFF / ON | a serial console for developers; OFF (default) so macOS 13–15 show the USB audio input; at the next start |
|
||||
| **HARDWARE CALIBRATION** (SYSTEM) | | the panel table, if a key or a knob answers wrongly |
|
||||
| **ABOUT** | | the version (*SLOOP 2.4*) and its build date, the credits |
|
||||
|
||||
Two more settings of the FM-1 live elsewhere: **SYNC** (GLO → SYSTEM: INT, USB or TRS) and the REC screen's **mode** and **start**.
|
||||
|
||||
## MIDI and USB audio
|
||||
|
||||
### MIDI in
|
||||
|
||||
SLOOP takes MIDI from two places at once:
|
||||
|
||||
- **The MIDI IN jack** (3.5 mm TRS): a keyboard or a pad controller with a MIDI output, through a **TRS-to-DIN MIDI adapter**. If nothing plays, try the other adapter type (A / B).
|
||||
- **USB**, from a computer or a phone (a DAW, a MIDI routing app) or a USB MIDI host box.
|
||||
|
||||
| MIDI channel | Plays |
|
||||
| --- | --- |
|
||||
| 1, 2, 3 | synth tracks 1, 2, 3 |
|
||||
| 10 | the drum track (the nearest of its 16 sounds; GLO → DRUMS → CH changes the channel) |
|
||||
| 4–16 | the selected track: set your keyboard to channel 4 and it follows ALGORITHM |
|
||||
|
||||
A USB keyboard plugged **straight into the FM-1** cannot work: both are USB devices, and a USB link needs a host (a computer, a phone, or a USB MIDI host box). Bluetooth MIDI is not supported: SLOOP, like Felucca, never switches the radio on.
|
||||
|
||||
### MIDI out
|
||||
|
||||
What you play on the keys always goes out on USB MIDI, each track on its channel (1–3 the synths, 10 the drums). GLO → SYSTEM → **MIDI** = **SEQ** sends what the sequencer, the arp and the rolls play too: every note is ended, STOP ends whatever was still on, and notes that came in from a computer or the jack are never sent back. Record the FM-1's MIDI in a DAW and you get your pattern as notes.
|
||||
|
||||
### MIDI clock in
|
||||
|
||||
GLO → SYSTEM → **SYNC** = **USB** or **TRS** (INT: SLOOP's own tempo). START plays from the top, CONTINUE carries on, STOP stops; the tempo follows the master and the steps follow its 24 pulses a beat, so SLOOP never drifts. When the clock stops for half a second, PLAY on the FM-1 plays at its own tempo again.
|
||||
|
||||
**Clock only (2.4):** GLO → SYSTEM → **IN** = **CLOCK**: SLOOP follows the clock and ignores incoming notes (and CCs), handy when a DAW or a sequencer also sends notes to other gear.
|
||||
|
||||
### MIDI CCs (2.5)
|
||||
|
||||
The knobs of a MIDI controller set the sound, on the track the channel plays (as the notes: 1–3 the synths, 10 the drums, 4–16 the selected track). A CC sets its parameter as a knob would, 0–127 over its range. The standard map of Felucca 1.1.5:
|
||||
|
||||
| CC | Sets |
|
||||
| --- | --- |
|
||||
| 5 | GLIDE |
|
||||
| 7 | LEVEL (on the drum channel: GLO → DRUMS → LVL) |
|
||||
| 10 | PAN |
|
||||
| 71 | the engine's resonance (RES or Q: ANALOG, TRIO, VOICE, NOISE; the others ignore it) |
|
||||
| 72 · 73 · 75 | release · attack · decay |
|
||||
| 74 | the track's FILTER: 64 off, lower a low-pass, higher a high-pass (every engine, the drums too) |
|
||||
| 91 · 93 · 94 | the reverb, chorus and delay sends (on the drum channel 91 and 94 are GLO → DRUMS → REV and DLY) |
|
||||
|
||||
Other CCs (mod wheel, sustain…) are ignored.
|
||||
|
||||
### USB audio: record the FM-1 on a computer
|
||||
|
||||
On USB the FM-1 is also an **audio input named "Felucca"**: 44.1 or 48 kHz (2.5: phones and apps that only take 48 kHz), 16-bit stereo, class compliant — no driver on Windows, macOS or Linux. Choose it in your DAW or in Audacity and record: you get the master output, exactly what the headphones play (after DUST, DUCK and FILT). MIDI, the web editor and the installer keep working on the same cable.
|
||||
|
||||
- **The level:** HOME menu → **USB AUDIO**. **MASTER** (default): the recording follows the MASTER knob, as the headphones do — keep MASTER well up while you record. **FULL**: a fixed level, as with MASTER all the way up, kept from clipping by the limiter; MASTER then only sets the headphones (the right choice for an interface with no level control).
|
||||
- **The first time** (and after an install), the computer sets the FM-1 up again as a MIDI + audio device: unplug and plug it back in if the input does not show. The MIDI port keeps its name.
|
||||
- The audio input comes from Felucca 1.0.
|
||||
|
||||
## The web editor
|
||||
|
||||
Open it from the [installer page](https://isod89.github.io/sloop-fm1/) (or the [editor link](https://isod89.github.io/sloop-fm1/webapp/editor/)) in Chrome or Edge, with the FM-1 on USB, and press **Connect**. It follows the device live: turn a knob on the FM-1 and the editor moves.
|
||||
|
||||
- **Sound** — every parameter of the selected track, the engines and the presets; on an FM6 track the **FM6** panel: every operator, the bank, **Import / Export SysEx** (DX7 voices and banks).
|
||||
- **Sequencer** — the steps, as tiles or as a **piano roll**, and the track's length (1–64 steps); on the drum track a grid of 16 sounds × the steps, with levels and ratchets, and the kit. Click a step for its nudge, parameter locks and fill condition. **Export MIDI / Import MIDI**: the selected track as a MIDI file, and back.
|
||||
- **Tracks** — the four channel strips.
|
||||
- **Song** — the order of the sections A–D (the SONG screen): which section, how many bars, how many times, and whether the song starts again at the end.
|
||||
- **Library** — your user presets and preset files.
|
||||
- **Samples** — the three user slots, files and **CHOP**.
|
||||
- **Drum synth** (2.5) — your own synthesised kits SYN1–SYN4: every value of every drum sound, heard at once.
|
||||
- **Projects** — the four projects, and **Backup**: *Save a backup* writes everything on the FM-1 to one file (with the FM6 bank); *Restore from a file* puts it all back (stop playback first).
|
||||
- **Settings** — global, master (DUST, DUCK, FILT, ROLL), drums.
|
||||
|
||||
<p align="center"><img src="assets/screens/editor-backup.png" alt="SLOOP web editor: projects and backup" width="560"></p>
|
||||
|
||||
The protocol is documented in [web/EDITOR_PROTOCOL.md](web/EDITOR_PROTOCOL.md).
|
||||
|
||||
## Compatibility
|
||||
|
||||
| | |
|
||||
| --- | --- |
|
||||
| Device | M-VAVE FM-1 (the official firmware can be put back at any time) |
|
||||
| Installer and editor | **Chrome or Edge** on Windows, macOS or Linux (they use Web MIDI with SysEx) |
|
||||
| Cable | a USB **data** cable, plugged directly (no hub) |
|
||||
| USB audio | any computer that takes a class-compliant USB audio input (no driver) |
|
||||
| MIDI IN jack | 3.5 mm TRS, through a TRS-to-DIN MIDI adapter (type A or B) |
|
||||
| Not supported | Bluetooth MIDI; a USB keyboard plugged straight into the FM-1 |
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
**The installer or the editor does not find the FM-1.** Use Chrome or Edge, a data cable, no hub, and allow MIDI access. Close every other app or tab that uses MIDI (a DAW, M-UPGRADE, another editor tab), then reload the page.
|
||||
|
||||
**An install stopped half-way.** The FM-1 waits in update mode: press INSTALL again. If SLOOP no longer starts, hold **OCT−** alone while switching on (*SLOOP USB RESCUE*) and install again.
|
||||
|
||||
**The black keys make no sound on a synth track.** That track plays chords or the scale on the white keys (in chord mode the black keys change the chord: CHORD+): hold **SEL** (between FX and ENV) and set **KNOB 1 CHORD** to OFF and **KNOB 3 KEYS** to OFF. The drum track always uses the black keys.
|
||||
|
||||
**Nothing plays from the MIDI IN jack.** Try the other adapter type (A / B); check the keyboard's channel (1–3 synths, 10 drums, 4–16 the selected track).
|
||||
|
||||
**The USB audio input does not show.** Unplug the FM-1 and plug it back in (after an install the computer must find it again). On a Mac (macOS 13–15), check that HOME menu → **USB SERIAL** is OFF (the default), then restart the FM-1. In Audacity: Transport → Rescan Audio Devices. On Windows: Sound settings → Recording → show disabled devices.
|
||||
|
||||
**The USB recording is too quiet, or follows the volume knob.** Set HOME menu → **USB AUDIO** to **FULL**, or turn MASTER up.
|
||||
|
||||
**Recorded notes move to the grid.** SLOOP quantises what you record to the steps of the track (its **DIV**: 1/4 … 1/32, triplets). For finer timing, set DIV to 1/32, or hold the step and nudge it (KNOB 4); for groove, use SWING.
|
||||
|
||||
**Notes fade out on a dense part.** The processor is at its limit: SLOOP fades one voice at a time (never the bass or the lead) rather than glitching. Fewer held notes or a lighter engine help.
|
||||
|
||||
**An FM6 sound changed after loading a project.** A project keeps the track's patch slot (PTCH), not the patch itself: store a patch you edited in the bank (editor → FM6 → Store in bank) and set PTCH to it.
|
||||
|
||||
**The lights or SYNC went back to OFF / INT.** You went back to an earlier SLOOP, which does not keep them; set them again in 2.4.
|
||||
|
||||
Something else? [Open an issue](../../issues): what you did, what you expected, what happened, and the version shown in HOME menu → ABOUT.
|
||||
|
||||
## Specifications
|
||||
|
||||
| | |
|
||||
| --- | --- |
|
||||
| Tracks | 3 synth parts (8 voices shared) + drums (16 sounds, 6 voices) |
|
||||
| Sounds | 153 presets on 12 engines (browsed by kind, level-matched), 6-op FM with DX7 SysEx import and a 27-patch bank, 8 sampled sets (CC0), 4 slots for your own samples (USR1–USR4), 32 user presets |
|
||||
| Drum kits | 37 (5 sampled, 32 synthesised, 16 sounds each), level-matched, plus your own: USR1–USR4 and USR3+4 (about 15 s) |
|
||||
| Sequencer | 64 steps per track, own length and division each (1/32 to two bars); chords with a level and ratchet per note; drums with a level and ratchet per sound; ties, slide; per-step parameter locks (24 per track), micro timing (±½ step in 1/64) and fill conditions; swing 0 (straight) to 100 (MPC 75 %); one sample-accurate clock (no drift) |
|
||||
| Recording | live, quantised as heard (latency-compensated), overdub; free take (the tempo follows you) or the tempo set; start on the first note or a one-bar count-in; 1, 2 or 4 bars |
|
||||
| Performance | layers: punch-in FX, erase, note repeat, step entry, key / chords, mute / solo / fill / tap tempo, song sections and a quick chain of up to 8 |
|
||||
| Effects | 16 punch-in effects; master DUST, DUCK, DJ filter, limiter; per track drive, slicer, sends to a stereo chorus, a tempo delay (dotted 1/8 and 1/16 too) and a stereo reverb |
|
||||
| Memory | autosave, undo / redo, 4 projects, 32 user presets, 27 FM6 patches, song of 4 sections × 16 steps × 1–64 bars, full backup / restore (editor) |
|
||||
| Audio | 44.1 kHz, fixed-point DSP; USB audio input (the master output, 16-bit stereo at 44.1 or 48 kHz, class compliant) |
|
||||
| MIDI | USB class-compliant in / out (the keys, or the sequencer too); TRS MIDI IN (3.5 mm); MIDI clock in (USB or TRS), clock only if you like (IN = CLOCK) |
|
||||
| Lights | button backlight (3 levels), C keys / white keys, played notes |
|
||||
| Update | over USB from the browser (SHA-256 and CRC checked), USB rescue, return to the official V15 |
|
||||
|
||||
## Documentation
|
||||
|
||||
- [GUIDE.md](GUIDE.md) — **the complete guide**: every button, combination, layer, page, engine and editor page, with a one-page cheat sheet
|
||||
- [SLOOP.md](SLOOP.md) — the manual (every page, layer, sound and kit) and the history of each version
|
||||
- [DEMARRAGE-RAPIDE-FR.md](DEMARRAGE-RAPIDE-FR.md) — guide de démarrage en français
|
||||
- [BUILDING.md](BUILDING.md) — building, build options and tests
|
||||
- [web/EDITOR_PROTOCOL.md](web/EDITOR_PROTOCOL.md) — the editor's SysEx protocol
|
||||
- [LICENSING.md](LICENSING.md) — the licences of the code and the assets
|
||||
|
||||
## Building and tests
|
||||
|
||||
See [BUILDING.md](BUILDING.md). In short: the JieLi toolchain and three files of the AC79 SDK, then `./build.sh` (Linux / macOS) or `INSTALL-SLOOP.bat` (Windows with WSL), which builds the firmware and serves the installer and the editor on `http://localhost:8766`.
|
||||
|
||||
`tests/run_tests.sh` runs the host test suite with no hardware: audio renders against golden hashes, CPU budgets, the sequencer's timing (no drift, swing, ratchets, rolls, the REC modes and the count-in, MIDI clock), the UI pages and layers, the knobs, flash storage, the update loader, MIDI and USB audio, and the web pages (editor, backup, CHOP, installer).
|
||||
|
||||
## Contributing
|
||||
|
||||
- **Bugs and ideas:** [open an issue](../../issues) — what you did, what you expected, what happened, and the version in HOME menu → ABOUT.
|
||||
- **Pull requests** are welcome. Keep the style of the code around your change, add a host test when you can, and make sure `tests/run_tests.sh` passes. Contributions are credited in the release notes and the manual.
|
||||
- By contributing you agree that your code is released under GPL-3.0, like the rest of SLOOP.
|
||||
|
||||
## Credits and thanks
|
||||
|
||||
- **[Felucca](https://github.com/hugelton/Felucca)** by **Leo Kuroshita** (@kurogedelic) / **Hügelton Instruments** — the engines, the sequencer, the editor, the installer, in 2.3 the USB audio input, the MIDI clock, the knob reading and many fixes, and in 2.4 the FM6 engine and its DX7 patch editor (Felucca 1.0 / 1.0.1). Thank you.
|
||||
- **@renebohne** — the played-note key lights (pull request #11).
|
||||
- **ChanceTheMaker** and **keremimo** — the TRS MIDI input fix (Felucca Salt) and contributions to the MIDI clock.
|
||||
- **Everyone who installed SLOOP, made music with it, commented, reported a bug or asked for a feature** — most of 2.3 and 2.4 comes from your messages (parameter locks, DX7 patches, dotted delays, longer steps: you asked for them).
|
||||
- Samples: Versilian Studios VSCO-2 CE and VCSL, Sonic Pi (all CC0). Font: Terminus (SIL OFL 1.1). Icons: Fukiai (MIT, Hügelton Instruments). PHASE engine after CrispyZebra (GPL); VOICE after klattsch (MIT); FM6: msfa from Dexed by Google Inc. and Pascal Gauthier (Apache-2.0).
|
||||
- Interface ideas after teenage engineering's pocket operators and EP-133, Elektron's step entry and Akai's MPC (swing, note repeat, erase).
|
||||
|
||||
## Licence
|
||||
|
||||
Code: GPL-3.0-only (see [LICENSE](LICENSE), and [LICENSING.md](LICENSING.md) for the assets). No warranty. M-VAVE and FM-1 are trademarks of their owners; SLOOP is not affiliated with M-VAVE, teenage engineering, Elektron or Akai. Drum kit names describe styles, not products.
|
||||
M-VAVE and FM-1 are trademarks of their respective owners. Clipper is not affiliated with them.
|
||||
|
After Width: | Height: | Size: 35 KiB |
@@ -0,0 +1,19 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240" width="240" height="240" role="img" aria-label="Clipper">
|
||||
<rect width="240" height="240" fill="#000"/>
|
||||
<path d="M49.29 190.71 A100.00 100.00 0 1 1 190.71 190.71" fill="none" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<line x1="74.00" y1="60.00" x2="74.00" y2="170.00" stroke="#F2F2F2" stroke-width="8" stroke-linecap="round"/>
|
||||
<polygon points="57.00,139.00 91.00,139.00 93.00,158.00 55.00,158.00" fill="#FF621A"/>
|
||||
<polygon points="59.50,115.00 88.50,115.00 90.50,134.00 57.50,134.00" fill="#FFC618"/>
|
||||
<polygon points="62.00,91.00 86.00,91.00 88.00,110.00 60.00,110.00" fill="#1ECC70"/>
|
||||
<line x1="120.00" y1="34.00" x2="120.00" y2="170.00" stroke="#F2F2F2" stroke-width="8" stroke-linecap="round"/>
|
||||
<polygon points="103.00,132.50 137.00,132.50 139.00,158.00 101.00,158.00" fill="#FF621A"/>
|
||||
<polygon points="105.50,102.00 134.50,102.00 136.50,127.50 103.50,127.50" fill="#FFC618"/>
|
||||
<polygon points="108.00,71.50 132.00,71.50 134.00,97.00 106.00,97.00" fill="#1ECC70"/>
|
||||
<polygon points="110.50,41.00 129.50,41.00 131.50,66.50 108.50,66.50" fill="#287CFF"/>
|
||||
<line x1="166.00" y1="60.00" x2="166.00" y2="170.00" stroke="#F2F2F2" stroke-width="8" stroke-linecap="round"/>
|
||||
<polygon points="149.00,139.00 183.00,139.00 185.00,158.00 147.00,158.00" fill="#FF621A"/>
|
||||
<polygon points="151.50,115.00 180.50,115.00 182.50,134.00 149.50,134.00" fill="#FFC618"/>
|
||||
<polygon points="154.00,91.00 178.00,91.00 180.00,110.00 152.00,110.00" fill="#1ECC70"/>
|
||||
<line x1="68.00" y1="176.00" x2="172.00" y2="176.00" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<line x1="82.00" y1="190.00" x2="158.00" y2="190.00" stroke="#F2F2F2" stroke-width="8" stroke-linecap="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 52 KiB |
@@ -0,0 +1,31 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 761 260" width="761" height="260" role="img" aria-label="Clipper">
|
||||
<rect width="761" height="260" fill="#000"/>
|
||||
<path d="M59.29 200.71 A100.00 100.00 0 1 1 200.71 200.71" fill="none" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<line x1="84.00" y1="70.00" x2="84.00" y2="180.00" stroke="#F2F2F2" stroke-width="8" stroke-linecap="round"/>
|
||||
<polygon points="67.00,149.00 101.00,149.00 103.00,168.00 65.00,168.00" fill="#FF621A"/>
|
||||
<polygon points="69.50,125.00 98.50,125.00 100.50,144.00 67.50,144.00" fill="#FFC618"/>
|
||||
<polygon points="72.00,101.00 96.00,101.00 98.00,120.00 70.00,120.00" fill="#1ECC70"/>
|
||||
<line x1="130.00" y1="44.00" x2="130.00" y2="180.00" stroke="#F2F2F2" stroke-width="8" stroke-linecap="round"/>
|
||||
<polygon points="113.00,142.50 147.00,142.50 149.00,168.00 111.00,168.00" fill="#FF621A"/>
|
||||
<polygon points="115.50,112.00 144.50,112.00 146.50,137.50 113.50,137.50" fill="#FFC618"/>
|
||||
<polygon points="118.00,81.50 142.00,81.50 144.00,107.00 116.00,107.00" fill="#1ECC70"/>
|
||||
<polygon points="120.50,51.00 139.50,51.00 141.50,76.50 118.50,76.50" fill="#287CFF"/>
|
||||
<line x1="176.00" y1="70.00" x2="176.00" y2="180.00" stroke="#F2F2F2" stroke-width="8" stroke-linecap="round"/>
|
||||
<polygon points="159.00,149.00 193.00,149.00 195.00,168.00 157.00,168.00" fill="#FF621A"/>
|
||||
<polygon points="161.50,125.00 190.50,125.00 192.50,144.00 159.50,144.00" fill="#FFC618"/>
|
||||
<polygon points="164.00,101.00 188.00,101.00 190.00,120.00 162.00,120.00" fill="#1ECC70"/>
|
||||
<line x1="78.00" y1="186.00" x2="182.00" y2="186.00" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<line x1="92.00" y1="200.00" x2="168.00" y2="200.00" stroke="#F2F2F2" stroke-width="8" stroke-linecap="round"/>
|
||||
<path d="M328.98 149.28 A30.00 30.00 0 1 1 328.98 110.72" fill="none" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<line x1="364.00" y1="68.00" x2="364.00" y2="160.00" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<line x1="392.00" y1="100.00" x2="392.00" y2="160.00" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<circle cx="392.00" cy="72.00" r="6.60" fill="#F2F2F2"/>
|
||||
<circle cx="450.00" cy="130.00" r="30.00" fill="none" stroke="#F2F2F2" stroke-width="12"/>
|
||||
<line x1="420.00" y1="130.00" x2="420.00" y2="196.00" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<circle cx="538.00" cy="130.00" r="30.00" fill="none" stroke="#F2F2F2" stroke-width="12"/>
|
||||
<line x1="508.00" y1="130.00" x2="508.00" y2="196.00" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<path d="M648.98 149.28 A30.00 30.00 0 1 1 656.00 130.00" fill="none" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<line x1="596.00" y1="130.00" x2="656.00" y2="130.00" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<line x1="684.00" y1="100.00" x2="684.00" y2="160.00" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<path d="M684.00 130.00 A30.00 30.00 0 0 1 724.26 101.81" fill="none" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 27 KiB |
@@ -1,10 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240" width="240" height="240" role="img" aria-label="SLOOP">
|
||||
<rect width="240" height="240" fill="#000"/>
|
||||
<path d="M49.29 190.71 A100.00 100.00 0 1 1 190.71 190.71" fill="none" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<rect x="85.00" y="36.00" width="10" height="136.00" rx="5" fill="#F2F2F2"/>
|
||||
<polygon points="101.00,40.00 101.00,40.00 121.34,65.00 101.00,65.00" fill="#287CFF"/>
|
||||
<polygon points="101.00,71.00 126.22,71.00 146.56,96.00 101.00,96.00" fill="#1ECC70"/>
|
||||
<polygon points="101.00,102.00 151.44,102.00 171.78,127.00 101.00,127.00" fill="#FFC618"/>
|
||||
<polygon points="101.00,133.00 176.66,133.00 197.00,158.00 101.00,158.00" fill="#FF621A"/>
|
||||
<rect x="56.00" y="182.00" width="128" height="12" rx="6" fill="#F2F2F2"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 809 B |
|
Before Width: | Height: | Size: 49 KiB |
@@ -1,17 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 760 260" width="760" height="260" role="img" aria-label="SLOOP">
|
||||
<rect width="760" height="260" fill="#000"/>
|
||||
<path d="M59.29 200.71 A100.00 100.00 0 1 1 200.71 200.71" fill="none" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<rect x="95.00" y="46.00" width="10" height="136.00" rx="5" fill="#F2F2F2"/>
|
||||
<polygon points="111.00,50.00 111.00,50.00 131.34,75.00 111.00,75.00" fill="#287CFF"/>
|
||||
<polygon points="111.00,81.00 136.22,81.00 156.56,106.00 111.00,106.00" fill="#1ECC70"/>
|
||||
<polygon points="111.00,112.00 161.44,112.00 181.78,137.00 111.00,137.00" fill="#FFC618"/>
|
||||
<polygon points="111.00,143.00 186.66,143.00 207.00,168.00 111.00,168.00" fill="#FF621A"/>
|
||||
<rect x="66.00" y="192.00" width="128" height="12" rx="6" fill="#F2F2F2"/>
|
||||
<path d="M290.88 130.00 A14.88 15.00 0 1 1 304.37 108.66" fill="none" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<path d="M290.88 130.00 A14.88 15.00 0 1 1 277.39 151.34" fill="none" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<line x1="337.76" y1="68.00" x2="337.76" y2="160.00" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<circle cx="399.76" cy="130.00" r="30.00" fill="none" stroke="#F2F2F2" stroke-width="12"/>
|
||||
<circle cx="489.76" cy="130.00" r="30.00" fill="none" stroke="#F2F2F2" stroke-width="12"/>
|
||||
<circle cx="579.76" cy="130.00" r="30.00" fill="none" stroke="#F2F2F2" stroke-width="12"/>
|
||||
<line x1="549.76" y1="130.00" x2="549.76" y2="196.00" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 14 KiB |
@@ -0,0 +1,33 @@
|
||||
# Clipper 0.1: build the firmware, then open the browser installer.
|
||||
# Uses the same tools as SLOOP (WSL MinUI-Build, the JieLi toolchain) and the three AC79 SDK files in
|
||||
# build\deps\ac79 (copied from the SLOOP folder the first time if they are not here yet).
|
||||
# Port 8767 (SLOOP uses 8766): a SLOOP window left open does not get mixed up with this one.
|
||||
param([string]$Voices = "8")
|
||||
$ErrorActionPreference = 'Stop'
|
||||
Set-Location $PSScriptRoot
|
||||
Write-Host ""
|
||||
Write-Host " C L I P P E R 0.1 ($Voices voices)" -ForegroundColor White
|
||||
Write-Host " ---- ---- ---- ----" -ForegroundColor DarkGray
|
||||
if ($Voices -notin @("8", "12", "16")) { throw "Voices: 8, 12 or 16" }
|
||||
$sdk = "build\deps\ac79"
|
||||
if (-not (Test-Path "$sdk\cpu\wl82\tools\uboot.boot")) {
|
||||
$from = @($env:CLIPPER_SDK, "..\sloop-fm1\build\deps\ac79", "..\SLOOP\build\deps\ac79", "..\sloop\build\deps\ac79") |
|
||||
Where-Object { $_ -and (Test-Path "$_\cpu\wl82\tools\uboot.boot") } | Select-Object -First 1
|
||||
if (-not $from) { throw "No AC79 SDK files: copy build\deps\ac79 from your SLOOP folder into this folder (or set CLIPPER_SDK)" }
|
||||
Write-Host "== Copying the SDK files from $from" -ForegroundColor Cyan
|
||||
New-Item -ItemType Directory -Force -Path "build\deps" | Out-Null
|
||||
Copy-Item -Recurse -Force $from "build\deps\"
|
||||
}
|
||||
Write-Host "== Building the firmware (WSL MinUI-Build)" -ForegroundColor Cyan
|
||||
Remove-Item Env:FELUCCA_SLICE -ErrorAction SilentlyContinue
|
||||
python tools/build_windows.py --distro MinUI-Build --toolchain /root/fm1-codex-deps/jieli/toolchain --sdk $sdk --slice 0 --nvoice $Voices
|
||||
if ($LASTEXITCODE -ne 0) { throw "The build failed" }
|
||||
Write-Host "== Making the installer site" -ForegroundColor Cyan
|
||||
python web/make_site.py build/felucca.fwsc 0.1 build/clipper-site
|
||||
if ($LASTEXITCODE -ne 0) { throw "make_site failed" }
|
||||
Write-Host ""
|
||||
Write-Host "Installer: http://localhost:8767/webapp/installer/ (Chrome or Edge, FM-1 on USB)" -ForegroundColor Green
|
||||
Write-Host "Editor: http://localhost:8767/webapp/editor/" -ForegroundColor Green
|
||||
Write-Host "Keep this window open during the install. Ctrl+C stops the server."
|
||||
Start-Process "http://localhost:8767/webapp/installer/"
|
||||
python -m http.server 8767 --bind 127.0.0.1 --directory build/clipper-site
|
||||
@@ -1,21 +0,0 @@
|
||||
# SLOOP 2.5: build the firmware, then open the browser installer.
|
||||
# Uses the dependencies already prepared (WSL MinUI-Build, JieLi toolchain, SDK files in build/deps/ac79).
|
||||
# SLICE stays out (FELUCCA_SLICE=0): with its built-in BREAK the image does not fit the app slot.
|
||||
$ErrorActionPreference = 'Stop'
|
||||
Set-Location $PSScriptRoot
|
||||
Write-Host ""
|
||||
Write-Host " S L O O P 2.5" -ForegroundColor White
|
||||
Write-Host " ---- ---- ---- ----" -ForegroundColor DarkGray
|
||||
Write-Host "== Building the firmware (WSL MinUI-Build)" -ForegroundColor Cyan
|
||||
Remove-Item Env:FELUCCA_SLICE -ErrorAction SilentlyContinue
|
||||
python tools/build_windows.py --distro MinUI-Build --toolchain /root/fm1-codex-deps/jieli/toolchain --sdk build/deps/ac79 --slice 0
|
||||
if ($LASTEXITCODE -ne 0) { throw "The build failed" }
|
||||
Write-Host "== Making the installer site" -ForegroundColor Cyan
|
||||
python web/make_site.py build/felucca.fwsc 2.5 build/sloop-site
|
||||
if ($LASTEXITCODE -ne 0) { throw "make_site failed" }
|
||||
Write-Host ""
|
||||
Write-Host "Installer: http://localhost:8766/webapp/installer/ (Chrome or Edge, FM-1 on USB)" -ForegroundColor Green
|
||||
Write-Host "Editor: http://localhost:8766/webapp/editor/" -ForegroundColor Green
|
||||
Write-Host "Keep this window open during the install. Ctrl+C stops the server."
|
||||
Start-Process "http://localhost:8766/webapp/installer/"
|
||||
python -m http.server 8766 --bind 127.0.0.1 --directory build/sloop-site
|
||||
@@ -1 +0,0 @@
|
||||
<!doctype html><meta charset="utf-8"><title>SLOOP</title><meta http-equiv="refresh" content="0; url=webapp/installer/"><a href="webapp/installer/">SLOOP installer</a>
|
||||
@@ -0,0 +1,217 @@
|
||||
<p align="center"><img src="assets/logo/sloop-logo.png" alt="SLOOP" width="360"></p>
|
||||
|
||||
# SLOOP 2.5 — démarrage rapide
|
||||
|
||||
**SLOOP** transforme le M-VAVE FM-1 en groovebox à jouer en live, pour tous les styles : trois synthés et une batterie de 16 sons sur les touches blanches, 12 moteurs de synthèse (dont la FM à six opérateurs avec les patchs DX7, les modèles physiques et le bruit), 153 sons rangés par famille (basses, claviers, orgues, nappes, leads, plucks, stabs), 37 kits de batterie (808, 909, trap, phonk, house, techno, UK garage, jungle, amapiano, synthwave, chiptune, ambient…) et tes propres kits, tes propres samples, ghost notes et ratchets, verrous de paramètre, décalage des pas et fills, note repeat, accords sur une touche, 16 effets punch-in, et un écran à la teenage engineering qui montre toujours ce que tes mains peuvent faire. Aucun motif d'usine : tout ce que tu entends, tu le joues.
|
||||
|
||||
Le guide complet, chaque bouton, combinaison et page, avec un aide-mémoire d'une page (en anglais) : [GUIDE.md](GUIDE.md). Le manuel (en anglais) : [SLOOP.md](SLOOP.md).
|
||||
|
||||
**Nouveau dans la 2.5 :** deux moteurs de plus, **PHYS** (modèles physiques : guitares, koto, banjo, sitar et tanpura, harpe, cloches, vibraphone, steel pan, violoncelle à l'archet, tabla, conga, timbales…) et **NOISE** (vent, pluie, océan, vinyle, souffle, riser, bitcrush, radio…), et **153 sons** d'usine (77 nouveaux, tous au même volume). Ils ne prennent pas de mémoire en plus : GRAIN, FM6 et PHYS partagent la même place par piste. Le **swing** s'affiche de 0 (droit) à 100 (le plus fort) au lieu de 50–75 % : le swing lui-même ne change pas. La batterie a maintenant un **envoi delay** : GLO → DRUMS → **DLY** (à côté de REV). Sur la page DRUMS, le cadran **level** va de ghost (à gauche) à hard (à droite). Corrigés (le correctif 2.4.1, inclus) : les patchs DX7 importés avec de l'**AMS** ne font plus de bruit ; le **click** s'entend avec tous les kits, même batterie coupée ou une autre piste en solo ; en mode accord, une touche de la page **STEP** écrit l'accord entier. Les projets de la 2.4 se chargent tels quels.
|
||||
|
||||
**Nouveau dans la 2.4 :** le moteur **FM6** (FM à six opérateurs, import des patchs DX7 dans l'éditeur web), les **verrous de paramètre** et le **décalage** des pas, les **fills**, la **chaîne de sections**, le séquenceur vers la **sortie MIDI** (GLO → SYSTEM → MIDI = SEQ), des pas de **1/2, 1 ou 2 mesures**, les délais **pointés** (TIME = 1/8D, 1/16D), **KEYS = ALL KEYS** (toutes les touches éclairées), et avec **NOTES** les notes courtes du séquenceur allument enfin leur touche. Corrigés : un START MIDI pendant le décompte de REC démarre maintenant l'enregistrement ; le swing ne décale plus les triolets ; tourner DIV juste après PLAY ne saute plus de pas ; l'éditeur n'écrit plus en flash pendant la lecture. Les projets et sauvegardes de la 2.3 se chargent tels quels.
|
||||
|
||||
---
|
||||
|
||||
## Installer
|
||||
|
||||
1. Double-clique **`INSTALL-SLOOP.bat`** dans le dossier SLOOP : il compile le firmware et ouvre l'installateur sur `http://localhost:8766/webapp/installer/`.
|
||||
2. Dans **Chrome ou Edge**, branche le FM-1 en USB (câble de données, directement, sans hub).
|
||||
3. **INSTALL**, autorise le MIDI, attends *Done*. Garde la fenêtre noire ouverte jusque-là.
|
||||
|
||||
L'éditeur web : `http://localhost:8766/webapp/editor/` (ou **`OPEN-EDITOR.bat`**).
|
||||
|
||||
## Un beat en soixante secondes
|
||||
|
||||
1. **ALGORITHM** sur la piste **4** (orange, batterie). Les touches blanches jouent 16 sons : **F3 kick**, G3 kick 2, A3 snare, B3 clap, **C4 charley**… **PRESETS** choisit le kit : essaie *808* ou *BOOMBAP*.
|
||||
2. **REC** : *rec ready*. **Joue librement, à ton tempo** — pas de clic, pas de décompte. Garde **OCT−** enfoncé en frappant pour des ghost notes, **OCT+** pour des frappes fortes.
|
||||
3. **Appuie sur REC sur le « 1 » qui suit ta dernière mesure** : la boucle se ferme, sa durée fixe le tempo, les frappes se calent sur la grille et la boucle joue aussitôt.
|
||||
4. **REC** pendant la lecture : tu enregistres par-dessus (overdub). Maintiens **ARP** et garde la touche du charley : un roulement en 1/16, enregistré en ratchets.
|
||||
5. **ALGORITHM** sur la piste **1** (bleue, *808 BOOM*), **REC**, joue une basse. Maintiens **SEL** et appuie sur la tonalité du morceau (ex. ré) ; sur la piste 2, maintiens SEL et tourne **KNOB 1** sur *7TH* : chaque touche blanche joue un accord de la gamme.
|
||||
6. Maintiens **FX** + une touche blanche : un effet punch-in. Toujours FX enfoncé : **KNOB 2** = DUST (vinyle), **KNOB 3** = DUCK (pompe).
|
||||
7. Une erreur ? Maintiens **EDIT** et appuie sur **OCT−** : annuler.
|
||||
|
||||
## Les couleurs
|
||||
|
||||
| Couleur | Piste | Bouton |
|
||||
| --- | --- | --- |
|
||||
| **bleu** | 1 · synthé | KNOB 1 |
|
||||
| **vert** | 2 · synthé | KNOB 2 |
|
||||
| **jaune** | 3 · synthé | KNOB 3 |
|
||||
| **orange** | 4 · batterie | KNOB 4 |
|
||||
|
||||
Blanc = ce que tu touches. Rouge = enregistrement.
|
||||
|
||||
## Tapé ou maintenu : les calques
|
||||
|
||||
Chaque bouton de fonction a deux vies. **Tapé** (appuyé puis relâché sans rien toucher d'autre) : ses pages s'ouvrent, comme avant. **Maintenu** : un **calque** — les 16 touches blanches et les KNOB 1–4 changent de rôle, l'écran affiche les 16 touches en tuiles et les boutons en cadrans. Relâché : on rejoue.
|
||||
|
||||
**Repères lumineux :** les tuiles sont 4 rangées de 4 (touches 1–4, 5–8, 9–12, 13–16). Tant qu'un calque est maintenu, et sur la piste batterie, la première touche de chaque rangée (1, 5, 9, 13) s'allume faiblement ; ce qui est actif (un effet, un pas, un son) reste allumé à fond.
|
||||
|
||||
**Verrouiller un calque :** maintiens son bouton et tape **HOME** : le calque reste ouvert quand tu lâches le bouton, tes deux mains sont libres pour les touches et les potards (*LOCK* à l'écran, le bouton clignote). N'importe quel autre bouton le referme (HOME, son propre bouton, ENV…) ; PLAY, REC et OCT− / OCT+ continuent de marcher dedans.
|
||||
|
||||
| Maintenir | Touches | KNOB 1 · 2 · 3 · 4 |
|
||||
| --- | --- | --- |
|
||||
| **FX** — *punch* | effet punch-in tant que la touche est tenue | FILTRE · DUST · DUCK · filtre de la piste |
|
||||
| **EDIT** — *effacer* | efface ce son / cette note du motif | DÉCALER · LONGUEUR ×2 / ½ · TRANSPOSER · — |
|
||||
| **ARP** — *roll* | note repeat calé sur la grille | VITESSE · — · — · — |
|
||||
| **SEQ** — *pas* | les pas 1–16 de la page — un pas tenu : OCT+ sa condition de fill, OCT− efface décalage, verrous et condition | SON / NOTE · DIV · SWING · LONGUEUR — un pas tenu : SON / NOTE · NIVEAU · RATCHET · DÉCALAGE (PRESETS : le verrou, ALGORITHM : son paramètre) |
|
||||
| **SEL** — *tonalité* (le 2e bouton de la rangée du haut, entre FX et ENV ; pas le potard SELECT) | la tonalité du morceau | ACCORD · GAMME · TOUCHES · TRANSPOSER |
|
||||
| **GLO** — *mix* | 1–4 mute · 5–8 solo · 9 **fill** tant que tenue · 10 fill sur la mesure suivante · 16 tap tempo | volume des pistes 1 · 2 · 3 · 4 |
|
||||
| **SAVE** — *chanson* | 1–4 joue la section A–D (mesure suivante ; plusieurs tapées SAVE tenu : une chaîne de sections) · 5–8 sauve la boucle dans A–D · 13 boucle / chanson · 14 REC chanson · 16 l'écran SONG | — |
|
||||
|
||||
| Commande | Action |
|
||||
| --- | --- |
|
||||
| **PLAY** | lecture / arrêt des quatre pistes (marche aussi dans un calque) |
|
||||
| **REC** | en lecture : enregistre tout de suite / arrête · à l'arrêt : arme (la première note démarre) · prise libre : ferme la boucle |
|
||||
| **REC maintenu** | efface la piste choisie (un anneau se remplit, ~2 s ; relâche avant et rien ne se passe) |
|
||||
| **SAVE** | sur TRACKS : l'écran SONG · ailleurs : les pages SAVE |
|
||||
| **EDIT + OCT− / OCT+** | annuler / rétablir |
|
||||
| **ALGORITHM** | choisit la piste (sur toutes les pages) |
|
||||
| **PRESETS** | le son de la piste, ou le kit de batterie |
|
||||
| **SELECT** | sur HOME (et dans un calque) : le tempo · sur une page : la page d'avant / d'après du même groupe · écran DRUMS : grid / kit |
|
||||
| **OCT− / OCT+** | synthés : octave (les deux : retour à 0) · batterie, maintenus : ghost / fort |
|
||||
| **HOME** | l'écran TRACKS · tapé sur l'écran TRACKS : le visualiseur plein écran (SELECT : 12 styles, HOME encore : le ferme) · maintenu : le menu en sections (écran, lumières, audio / USB, système) · tapé pendant qu'un calque est maintenu : le verrouille |
|
||||
|
||||
## La batterie : 16 sons sur les touches blanches
|
||||
|
||||
| Touche | Son | Touche | Son | Touche | Son | Touche | Son |
|
||||
| --- | --- | --- | --- | --- | --- | --- | --- |
|
||||
| F3 | kick | C4 | charley fermé | G4 | snare 2 | D5 | ride |
|
||||
| G3 | kick 2 | D4 | charley ouvert | A4 | tom grave | E5 | shaker |
|
||||
| A3 | snare | E4 | charley pédale | B4 | tom aigu | F5 | conga |
|
||||
| B3 | clap | F4 | rim | C5 | crash | G5 | cloche |
|
||||
|
||||
Une touche noire joue le son de la touche blanche à sa gauche (deux doigts sur un son pour les roulements rapides). Chaque frappe a un **niveau** — GHOST, SOFT, NORM (comme jouée), HARD — et un **ratchet** x1–x4 (la frappe répétée dans son pas).
|
||||
|
||||
**Programmer aux touches (2.4) :** SEQ tapé sur la piste batterie ouvre la page **grid**. KNOB 1 choisit le son (on l'entend). Les touches blanches sont alors les 16 pas de ce son : appuie pour poser un pas (on l'entend), appuie encore pour l'effacer. Les quatre premières touches noires choisissent la page de pas (1–16, 17–32…). KNOB 2 se déplace de pas en pas et fait entendre ce que le pas contient. SELECT passe de grid à kit (sur kit, les touches jouent les pads).
|
||||
|
||||
## Enregistrer
|
||||
|
||||
| Quand | REC fait | Ensuite |
|
||||
| --- | --- | --- |
|
||||
| **En lecture** | enregistre la piste **tout de suite** | REC à nouveau arrête l'enregistrement, la boucle continue |
|
||||
| **À l'arrêt, projet avec des notes** | arme (*rec ready*) | **ta première note démarre la boucle et devient le pas 1** |
|
||||
| **À l'arrêt, projet vide** | arme (*play freely*) | une **prise libre** : la boucle suit ton jeu (ou, en mode *tempo*, comme avec des notes) |
|
||||
|
||||
**L'écran REC règle la façon d'enregistrer** (armé, avant la première note) :
|
||||
|
||||
- **KNOB 1 — mode** (projet vide seulement) : **free** = prise libre, le tempo suit ton jeu · **tempo** = enregistre au tempo réglé (SELECT).
|
||||
- **KNOB 2 — length** : la boucle de la piste, **1, 2 ou 4 mesures**.
|
||||
- **KNOB 3 — start** : **note** = ta première note démarre la boucle · **count** = appuie sur **PLAY** : une mesure de clics (4, 3, 2, 1 à l'écran), puis la boucle démarre et enregistre.
|
||||
|
||||
Le mode et le départ restent comme tu les as laissés (réglages de la FM-1). Avec des notes déjà dans le projet, pas de mode : on enregistre toujours au tempo réglé. Pendant le décompte, REC l'annule et PLAY revient à *rec ready*.
|
||||
|
||||
**Prise libre :** joue librement ; l'écran montre les secondes et la boucle que ça donnerait (*2 bars · 92 bpm*). **REC sur le « 1 » qui suit ta dernière mesure** : SLOOP choisit 1, 2 ou 4 mesures au tempo le plus proche, cale tes notes et lance la boucle. **PLAY** abandonne la prise.
|
||||
|
||||
Les notes vont au pas le plus proche **tel que tu l'as entendu** (la latence de ~12 ms est compensée). La lumière PLAY clignote à chaque temps : un métronome visuel. Clic audible : GLO → GLOBAL → CLICK.
|
||||
|
||||
**Swing** façon MPC : de 0 (droit) à 100 (le plus fort) — GLO → GLOBAL → SWING pour tout, SEQ maintenu + KNOB 3 par piste (ils s'additionnent).
|
||||
|
||||
## Les calques en détail
|
||||
|
||||
**FX — punch.** Les 16 touches blanches = les 16 effets (boucles 1/4 à 1/32, stutter, reverse, tape stop, demi-vitesse, filtres, téléphone, bit crush, alias, gate, écho, wobble), tant que la touche est tenue. KNOB 1 = filtre DJ (gauche passe-bas, droite passe-haut, centre OFF), KNOB 2 = DUST, KNOB 3 = DUCK, KNOB 4 = le même filtre sur la piste sélectionnée seulement (2.4 : aussi sur la page FX → FILTER, verrouillable sur un pas).
|
||||
|
||||
**EDIT — effacer.** EDIT + une touche : ce son (batterie) ou cette note (synthé) quitte le motif — **en lecture**, de chaque pas que la tête de lecture traverse tant que tu tiens la touche (façon MPC : garde le charley une mesure et les charleys de cette mesure disparaissent) ; **à l'arrêt**, de tout le motif. KNOB 1 décale le motif d'un pas, KNOB 2 le double (×2, copie) ou le coupe en deux, KNOB 3 transpose (synthés). **EDIT + OCT−** annule, **EDIT + OCT+** rétablit.
|
||||
|
||||
**ARP — roll (note repeat).** ARP + une touche tenue : elle se répète sur la grille à la vitesse de KNOB 1 (1/8, 1/16, 1/32, 32T, 1/64), toujours en rythme. En enregistrement, un roll s'écrit en ratchets.
|
||||
|
||||
**SEQ — pas (séquenceur pas à pas).** Les 16 touches blanches = les 16 pas de la page ; les quatre premières touches noires (F#3, G#3, A#3, C#4) ou OCT− / OCT+ = pages 1–4.
|
||||
- Pas vide : appuie, il est posé (batterie : avec le son affiché, le dernier pad frappé ou KNOB 1 ; synthé : avec la dernière note ou le dernier accord joué).
|
||||
- Pas posé : appuie et relâche, il s'efface (avec son décalage et ses verrous). Tiens-le et tourne un bouton : il est modifié et gardé — KNOB 1 son / note, **KNOB 2 niveau**, **KNOB 3 ratchet**, **KNOB 4 décalage** ; **PRESETS** un verrou de paramètre, **ALGORITHM** quel paramètre. Plusieurs pas tenus se modifient ensemble. **OCT−** avec un pas tenu efface son décalage et ses verrous.
|
||||
- Sans pas tenu : KNOB 2 = DIV (1/4 … 1/32, triolets, et depuis la 2.4 **1/2**, **1BAR**, **2BAR** : des pas d'une ou deux mesures, pour les nappes et les changements d'accords lents), KNOB 3 = swing de la piste (sans effet sur les triolets), KNOB 4 = longueur (1–64 pas ; chaque piste boucle sur sa longueur).
|
||||
|
||||
**Décalage (micro-timing).** Un pas tenu + KNOB 4 le sort de la grille : −32 … +31 en 1/64 de pas, moins = en avance (il joue avant son temps, dans le pas précédent), plus = en retard. Ses ratchets suivent ; l'enregistrement et le swing restent sur la grille. Sur la batterie, tout le pas se décale, tous les sons. Un pas décalé porte un point dans le coin de sa tuile.
|
||||
|
||||
**Verrous de paramètre.** Un pas tenu + **PRESETS** donne à un paramètre du son une autre valeur *pour ce pas seulement* — le paramètre verrouillé est d'abord le dernier bouton de son que tu as tourné sur une page (ENV, LFO, FX, EDIT, VOICE… ; *FLT* d'ENV DEST tant que tu n'en as tourné aucun), et **ALGORITHM** passe aux autres (en boucle) ; la ligne de titre l'affiche : *lock dst 14*, *lock flt --* (pas encore de verrou). Le premier cran de PRESETS crée le verrou à la valeur actuelle de la piste, les suivants le déplacent ; au pas suivant sans verrou, le paramètre revient à sa valeur (les notes qui sonnent encore suivent, façon Elektron). Un bouton tourné sur la page pendant qu'un verrou agit gagne : cette valeur devient la nouvelle base. Plusieurs verrous peuvent tenir sur un pas (un par paramètre), 24 par piste ; le motif, l'arpégiateur, la tonalité et le mode de voix ne se verrouillent pas. Un pas verrouillé porte le même point qu'un pas décalé ; OCT− avec le pas tenu efface les deux (annuler, EDIT + OCT−, concerne les pas : il ne rend pas les décalages ni les verrous). Décalages et verrous sont sauvés avec le projet et visibles dans l'éditeur web (onglet Séquenceur, détail du pas).
|
||||
|
||||
**SEL — tonalité et accords.** Une touche = la tonalité du morceau (la fondamentale des trois synthés). KNOB 1 = **ACCORD** de la piste : OFF, TRIAD, 7TH, 9TH (1-3-7-9, le voicing lo-fi / R&B), SUS4, POWER. Avec un accord, **les touches blanches parcourent la gamme à partir de C4** : C4 = l'accord du I, D4 du II, E4 du III… un doigt, un accord, enregistré comme tel. KNOB 2 = gamme (16 gammes), KNOB 3 = touches (OFF chromatique, SNAP arrondi à la gamme, WHITE gamme sur les blanches), KNOB 4 = transposition. Changer de son ne change jamais la tonalité, le motif ni le mix de la piste.
|
||||
|
||||
**CHORD+ (2.4, d'après HiChord et minichord) : les touches noires changent l'accord.** Avec un mode accord, tiens une touche noire en jouant une blanche — ou appuie-la pendant que l'accord est tenu, il change sous ton doigt : **F#** majeur ↔ mineur, **G#** ajoute la 7e, **A#** sus4, **C#** ajoute la 9e, **D#** un renversement (les deux octaves de noires ; tiens-en plusieurs pour les combiner ; la 7e et la 9e viennent de la gamme : en do majeur, G4 (l'accord du V, sol) avec G# donne G7, avec F# + G# Gm7). Ce que tu joues est enregistré tel que tu l'entends. Page **SEL 2** : **STRUM** égrène les notes de l'accord comme une guitare grattée (1 à 60 ms par note ; à droite du grave vers l'aigu, à gauche de l'aigu vers le grave), au clavier et sur les pas d'accord joués par le séquenceur ; **VLEAD** ON place chaque accord au plus près du précédent, pour qu'une suite d'accords glisse au lieu de sauter.
|
||||
|
||||
**Conditions de fill.** Un pas tenu + **OCT+** fait tourner sa condition : *normal* → **fill seulement** (il ne joue que pendant un fill) → **pas de fill** (il se tait pendant un fill) → normal. Le fill, c'est toi qui l'appelles en jouant : GLO tenu + touche blanche **9** (*fill*) tant que tu la tiens, ou touche **10** (*bar*) : toute la mesure suivante est un fill, puis c'est fini (rappuie avant la mesure pour annuler). Un pas sauté se tait entièrement (ni note, ni MIDI, ni ratchet, ni verrou : le son revient à sa base) ; le motif continue. Sur la batterie, la condition vaut pour tout le pas. La tuile d'un pas « fill seulement » porte un petit **F** en haut à gauche, celle d'un « pas de fill » un **×** (le point du décalage / verrou reste en haut à droite). OCT− avec le pas tenu remet la condition à normal avec le décalage et les verrous ; STOP coupe tout fill. Les conditions sont sauvées avec le projet et visibles dans l'éditeur web.
|
||||
|
||||
**GLO — mix.** Touches blanches 1–4 = mute des pistes 1–4, 5–8 = solo, **9 = fill** tant que la touche est tenue, **10 = fill** sur la mesure suivante, la dernière (G5) = **tap tempo**. KNOB 1–4 = volume des pistes 1–4.
|
||||
|
||||
## Annuler, effacer, sauvegarder
|
||||
|
||||
- **Annuler / rétablir :** EDIT + OCT− / OCT+ (un niveau : le dernier passage d'enregistrement, effacement, piste effacée, modification de pas ou de motif).
|
||||
- **Effacer une piste :** maintiens REC ; après 0,7 s un anneau se remplit ; tiens encore ~1,3 s. Relâche avant : rien. Annuler la ramène.
|
||||
- **Sauvegarder :** SAVE + touches 5–8 sauvent la boucle dans la section / le projet A–D (= SLOT 1–4).
|
||||
- **Sauvegarde automatique :** à l'arrêt, 2,5 s sans toucher (au plus toutes les 20 s), le projet en cours est gardé ; au rallumage, SLOOP revient comme tu l'as laissé.
|
||||
- **Nouveau projet :** SAVE → TOOLS → NEW (tourner sur GO).
|
||||
|
||||
## Le master : DUST, DUCK, FILT
|
||||
|
||||
- **DUST** : le mix dans un vieux sampler et sur un vinyle — saturation douce, fréquence d'échantillonnage réduite, moins de bits, passe-bas, et pendant la lecture un léger souffle et des craquements (à l'arrêt, silence).
|
||||
- **DUCK** : chaque kick fait « pomper » les synthés (sidechain), sur une croche, à tout tempo.
|
||||
- **FILT** : filtre DJ — à gauche passe-bas, à droite passe-haut, au centre OFF.
|
||||
|
||||
Réglables avec FX maintenu (KNOB 1–3) ou GLO → MASTER.
|
||||
|
||||
## Mode chanson
|
||||
|
||||
Une chanson enchaîne 4 sections, **A–D** (chacune garde les 4 pistes : sons, motifs, kit). Elle se construit en jouant :
|
||||
|
||||
1. Fais une boucle (le couplet). Maintiens **SAVE** et appuie sur la **5ᵉ touche blanche** (*save A*). Change la boucle (le refrain) et sauve-la dans **B** (6ᵉ touche), un pont dans **C**, une fin dans **D**. Sur une section déjà utilisée, rappuie dans les 3 s pour confirmer.
|
||||
2. **Jouer les sections en direct :** SAVE + touche blanche **1–4**. En lecture, la section démarre à la mesure suivante, toujours en rythme ; à l'arrêt, elle devient la boucle tout de suite.
|
||||
**Chaîne de sections :** garde SAVE tenu et tape d'autres touches de section — *A B B C*, dans l'ordre que tu veux, jusqu'à 8 — puis relâche : la première démarre à la mesure suivante comme d'habitude, puis chaque suivante quand la précédente a joué la longueur de son motif (la piste la plus longue : 32 pas en 1/16 = 2 mesures), en boucle. La ligne de titre affiche *chain A B B C*, la section qui joue est allumée, la suivante encadrée. Une seule touche de section, STOP ou PLAY en mode chanson arrête la chaîne. REC chanson enregistre ce que la chaîne joue.
|
||||
3. **Enregistrer la chanson en jouant :** SAVE + touche **14** (*rec*) : dès la mesure suivante, chaque section jouée et son nombre de mesures sont écrits dans la chanson. Rappuie (ou STOP) pour finir : *SONG PARTS 5*. Elle se sauvegarde toute seule une fois arrêtée.
|
||||
4. **La rejouer :** SAVE + touche **13** bascule *loop* / *song* ; en mode song, **PLAY** joue tout le morceau et s'arrête à la fin.
|
||||
|
||||
L'écran **SONG** (SAVE tapé sur TRACKS, ou SAVE + touche 16) montre la chaîne et permet de la retoucher aux boutons (KNOB 1 étape, 2 section, 3 mesures, 4 nombre d'étapes).
|
||||
|
||||
## FM6 : la FM à six opérateurs et les patchs DX7
|
||||
|
||||
**FM6** est le dixième moteur : la synthèse FM classique à six opérateurs, le son du DX7 (pianos électriques, cloches, nappes de verre, basses rondes, cuivres). C'est msfa, le cœur de Dexed, porté en calcul entier par Leo Kuroshita pour Felucca 1.0. Huit patchs d'usine sont dans la banque de sons (TINE EP, GLASS BELL, ROUND BASS, BRASS SECT, SOFT PAD, WOOD BARS, DRAWBARS, NYLON PICK). Sur la FM-1, les huit réglages **EDIT** agissent par-dessus le patch : **ALG** l'algorithme (PAT = celui du patch, 1–32 un autre), **FB** le feedback, **MLVL** la brillance, **MRAT** le ratio des modulateurs, **MEG** leurs enveloppes plus lentes ou plus rapides, **VMOD** la vélocité, **DTUN** l'élargissement, **PTCH** le patch : **F1–F8** ceux d'usine, **B1–B27** ta banque. Les enveloppes du patch font chaque note : l'ADSR de la piste ne sert pas ici.
|
||||
|
||||
Dans l'éditeur web, onglet **Sound**, le panneau **FM6** (quand la piste joue FM6) édite tout le patch : **Send to track** (ça joue tout de suite), **Store in bank** (B1–B27, sur la flash de la FM-1 ; arrête la lecture avant), et surtout **Import SysEx** : un fichier DX7 d'une voix ou une banque de 32 voix (choisis-en une) — les milliers de patchs DX7 et Dexed du web jouent sur la FM-1. Tu peux aussi glisser le fichier .syx sur le panneau. **Store cartridge in bank** (2.5) range toute une cartouche d'un coup : les 27 premières voix sont cochées (ou coche celles que tu veux, 27 au plus), et une seule écriture les met dans B1, B2… dans l'ordre ; l'éditeur demande avant de remplacer, le reste de la banque ne bouge pas. Avant d'envoyer, tu peux choisir de **les ajouter aussi aux user presets** (dans les slots libres, ou à partir d'un slot) : chaque voix devient un preset à son nom, et sur la FM-1 tu la choisis par son nom avec **PRESETS** ou **SELECT**, comme n'importe quel son. Sur la FM-1, choisis-les avec **PTCH** (B1–B27 après F1–F8). **Export SysEx** les réécrit pour Dexed ou un vrai DX7. Un projet garde le PTCH de la piste, pas le patch lui-même : range un patch envoyé dans la banque pour le retrouver avec le projet.
|
||||
|
||||
## L'éditeur web
|
||||
|
||||
Chrome ou Edge, FM-1 en USB, **Connect**. Il suit l'appareil en direct. Depuis la 2.4, il a l'allure de la FM-1 : écran noir, les quatre couleurs des pistes, sa police pixel. Les pages sont dans la barre de gauche (**Track** : Sound, Sequencer, Tracks ; **Sounds** : Library, Samples, Drum kit ; **Device** : Projects, Settings), les quatre pistes en haut (clique pour en éditer une). Les réglages sont rangés comme sur la machine : une carte par bouton (ENV, LFO, EDIT…), ses pages en rangées de quatre boutons colorés ; tire une valeur vers le haut ou le bas comme un bouton (Maj : fin).
|
||||
|
||||
- **Sequencer** sur la piste batterie : une grille 16 sons × pas, avec le **kit**. Choisis un **niveau** (GHOST, SOFT, NORM, HARD) et un **roll** (x1–x4), puis clique : une frappe ; reclique (même niveau et roll) : effacée ; Maj+clic : un niveau plus fort.
|
||||
- **Drum kit** (2.4) : **ta propre batterie**. 16 pads, un par son de la piste batterie (KICK, KICK 2, SNARE, CLAP, HAT, OPEN HAT, PEDAL, RIM, SNARE 2, LOW TOM, HI TOM, CRASH, RIDE, SHAKER, CONGA, COWBELL). Dépose un WAV sur un pad, ou choisis-en plusieurs : ils sont rangés d'après leur nom (*kick*, *bd*, *snare*, *hh*, *open*, *crash*…). Par pad : **Pitch** (±12 demi-tons), **Gain**, **Length** ; clique sur l'onde pour écouter. Puis **où va le kit** : **USR3+4**, le gros kit (environ 15 s, l'éditeur le répartit tout seul sur USR3 et USR4 ; USR1 et USR2 restent libres pour tes instruments), ou un seul slot, **USR1** à **USR4** (environ 7,4 s). Chaque choix montre ce qu'il contient et ce qui sera remplacé. Le compteur montre le temps utilisé ; trop long : raccourcis, ou **Fit the slot**. Donne un nom, **Send**, puis **Use … on the drum track** (ou KIT = USR3+4, le dernier de la liste). Tout marche comme avec les autres kits : pas, niveaux, ratchets, fills, la grille, MIDI canal 10, le hat fermé coupe l'ouvert. Un slot est soit un kit, soit un instrument (SAMPLE) : par exemple USR1 et USR2 pour tes instruments, et un gros kit sur USR3+4. Le slot **USR4** est nouveau dans la 2.4 (de la flash qui ne servait à rien). **Save as ZIP** / **Open ZIP** pour partager un kit.
|
||||
- **Drum synth** (2.5) : **tes propres kits synthétisés**, SYN1 à SYN4 (les derniers du KIT de la batterie). Choisis un kit (au départ : copies de 808, 909, TRAP, TECHNO ; **Start from** + **Copy** pour partir d'un des 32 kits), donne-lui un nom (l'écran DRUMS l'affiche), choisis un son (KICK, SNARE, CLAP…) et change tout : la forme d'onde et la chute de hauteur, le HOLD et le DECAY, la 2e harmonique, le CLICK, le bruit (WHITE, METAL du 808, CHIP, CLAP), le filtre, le DRIVE et le niveau ; le FM-1 joue chaque changement tout de suite. Double-clic sur une valeur : celle du kit de départ. **Store on the FM-1** les garde en mémoire (song arrêtée), **Use on the drum track** choisit le kit, **Save file / Open file** pour partager. Les sauvegardes les gardent aussi.
|
||||
- **Settings → MASTER** : DUST, DUCK, FILT, ROLL. **Tracks** : les quatre tranches (volume, pan, mute ; SOLO et REC affichés). **Samples** (refaite en 3 étapes) : ① choisis un slot (USR1 à USR4, chacun montre ce qu'il contient) ; ② fais le son, **depuis des fichiers** (un WAV par note, pour un instrument : le nom donne la note, `PIANO_C4.wav`, un clavier montre quelles touches jouent quel fichier) ou **en découpant un enregistrement** (CHOP) ; ③ **Send to USRn**, puis **Play this slot on track 1/2/3** règle la piste en SAMPLE avec SET = USRn. Le découpage CHOP (même un enregistrement de plus de 7 s : coche les chops à garder, raccourcis-les, ou **Fit to slot**).
|
||||
|
||||
## Clavier MIDI
|
||||
|
||||
- **Prise MIDI IN** (jack 3,5 mm TRS du FM-1) : un clavier ou des pads avec une sortie MIDI, via un adaptateur TRS ↔ DIN MIDI. Si rien ne joue, essaie l'autre type d'adaptateur (type A / type B).
|
||||
- **USB** : depuis un ordinateur ou un téléphone (DAW, appli de routage MIDI) ou un boîtier « USB MIDI host ». Un clavier USB branché directement sur le FM-1 ne peut pas marcher : ce sont deux appareils USB, il faut un hôte.
|
||||
- **Canaux :** 1, 2, 3 = pistes synth 1, 2, 3 · 10 = la batterie · 4 à 16 = **la piste sélectionnée** (règle ton clavier sur le canal 4 et il suit ALGORITHM).
|
||||
- **Horloge MIDI :** GLO → SYSTEM → **SYNC** = **USB** ou **TRS**. SLOOP suit le tempo, START, CONTINUE et STOP du maître, sans jamais dériver. Sans horloge pendant une demi-seconde, PLAY rejoue au tempo du FM-1. SYNC est un réglage de la FM-1 : il reste quand tu charges un projet.
|
||||
- **Horloge seule :** GLO → SYSTEM → **IN** = **CLOCK** : SLOOP suit l'horloge (et START / STOP) mais ignore les notes qui arrivent, pratique quand la DAW envoie aussi des notes à d'autres appareils. **NOTES** (par défaut) : notes et horloge. Un réglage de la FM-1, comme SYNC.
|
||||
- **Sortie MIDI :** ce que tu joues aux touches sort toujours en MIDI USB (chaque piste sur son canal, la batterie sur 10). GLO → SYSTEM → **MIDI** = **SEQ** envoie aussi ce que jouent le séquenceur, l'arpégiateur et les rolls : pilote un autre synthé, ou enregistre le motif en notes dans ta DAW. Les notes venues d'un ordinateur ou du jack ne sont jamais renvoyées (pas de boucle MIDI). C'est un réglage de la FM-1, comme SYNC.
|
||||
- **Les CC MIDI (2.5)** : les potards d'un contrôleur MIDI règlent le son de la piste que joue leur canal (comme les notes) : CC 7 volume, 10 panoramique, 74 le FILTRE de la piste (64 = coupé, en dessous passe-bas, au-dessus passe-haut), 71 résonance (ANALOG, TRIO, VOICE, NOISE), 73 / 75 / 72 attaque / decay / release, 5 glide, 91 / 93 / 94 les envois reverb / chorus / delay. Sur le canal de la batterie : 7, 91 et 94 = GLO → DRUMS → LVL, REV et DLY. Avec IN = CLOCK, les CC sont ignorés. La carte vient de Felucca 1.1.5.
|
||||
- Le MIDI Bluetooth n'est pas pris en charge (la radio reste éteinte).
|
||||
|
||||
## Le visualiseur
|
||||
|
||||
Sur l'écran TRACKS, tape **HOME** : tout l'écran devient un visualiseur de ce que SLOOP joue. **SELECT** passe d'un style à l'autre (le nom s'affiche une seconde ; le dernier choisi est gardé) : oscilloscope, spectre, spectrogramme, Lissajous, VU-mètres, cercle, tape, LCD, bounce, orbit, wires et le logo SLOOP vivant (les quatre bandes de la voile sont les pistes, le cadran le niveau du mix, le bateau tangue sur l'onde). **HOME** encore, ou n'importe quel bouton de page, le ferme. Les touches, PLAY, REC et les calques marchent comme d'habitude ; KNOB 1 à 4 ne font rien pendant ce temps, et le tempo se règle avec GLO + SELECT. Le visualiseur voit le son comme si **MASTER** était au maximum : il ne suit pas le volume, et même avec MASTER à 0 il bouge comme à plein volume. Ça ne coûte rien au son.
|
||||
|
||||
## Lumières (jouer dans le noir)
|
||||
|
||||
Maintiens **HOME** pour le menu. Il est rangé en quatre sections, comme les pages : **SCREEN** (COLOR, ZOOM), **LIGHTS** (LIGHTS, KEYS, NOTES), **AUDIO** (LOWCUT, USB AUDIO, USB SERIAL), **SYSTEM** (calibration, à propos). **SELECT** passe d'une section à l'autre, **KNOB 1, 2, 3** règlent directement les lignes de la section (chaque ligne a la couleur de son bouton), PRESETS déplace le curseur, OCT+ fait défiler le réglage du curseur ou l'ouvre, OCT− ferme. C'est sauvegardé avec les réglages de la FM-1, pas avec un projet : charger un projet ou NEW PROJECT n'y change rien.
|
||||
|
||||
- **LIGHTS** — OFF, LOW, MID, HIGH : tous les boutons s'éclairent à ce niveau, on lit les étiquettes dans le noir (illisibles sur un FM-1 noir quand ils sont éteints). Ce qui est actif (la page, PLAY, REC, l'octave) reste en pleine lumière et clignote comme avant.
|
||||
- **KEYS** — OFF, C KEYS, WHITE KEYS, ALL KEYS : les touches Do, toutes les touches blanches, ou toutes les touches s'éclairent aussi.
|
||||
- **NOTES** — ON : sur la piste synth sélectionnée, les notes qui sonnent allument leur touche, jouées au clavier ou par le séquenceur (par @renebohne). Depuis la 2.4, chaque note reste allumée au moins un dixième de seconde, comme un coup de batterie : les notes courtes du séquenceur se voient aussi. Ça marche sur toutes les pages et dans tous les calques : là où les touches jouent ou effacent des notes (EDIT, ARP, SAVE, SEL), les notes sont allumées ; là où les touches sont des tuiles (effets FX, pas SEQ, mute / solo GLO), les notes brillent faiblement et les tuiles gardent leur pleine lumière.
|
||||
|
||||
L'éclairage faible est une impulsion très courte à chaque balayage du panneau : pas de scintillement.
|
||||
|
||||
## Enregistrer la FM-1 sur l'ordinateur (audio USB)
|
||||
|
||||
Branchée en USB, la FM-1 est aussi une **entrée audio** nommée **Felucca** (44,1 ou 48 kHz, stéréo, sans pilote ; le 48 kHz depuis la 2.5, pour les téléphones et les applis qui ne prennent que ça). Dans ta DAW, dans Audacity ou dans une appli d'échantillonnage sur ton téléphone (câble ou adaptateur USB-C), choisis cette entrée et enregistre : tu as la sortie master, exactement ce qu'on entend au casque (avec DUST, DUCK et FILT). **Le niveau : menu HOME → USB AUDIO.** **MASTER** (par défaut) : l'enregistrement suit le bouton MASTER, comme le casque. **FULL** : niveau fixe, comme MASTER à fond, protégé de la saturation par le limiteur, quel que soit le bouton ; MASTER ne règle alors que le casque (le bon choix pour une carte son sans réglage de niveau). Le MIDI, l'éditeur et l'installateur marchent toujours sur le même câble. La première fois, l'ordinateur reconfigure l'appareil (MIDI + audio) ; le port MIDI garde son nom. Cette entrée vient de Felucca 1.0. **Sur Mac (macOS 13 à 15)**, laisse menu HOME → **USB SERIAL** sur OFF (par défaut) : avec la console série, ces Mac ne montrent pas l'entrée audio (un changement s'applique au prochain démarrage).
|
||||
|
||||
## Sauvegarde complète
|
||||
|
||||
Dans l'éditeur, onglet **Projects** → **Backup** : **Save a backup** enregistre tout le contenu de la FM-1 dans un seul fichier (le morceau en cours, les projets 1 à 4, les presets utilisateur, la banque FM6, les samples USR1 à USR4, les réglages). **Restore from a file** remet tout comme dans le fichier (ce qui est sur la FM-1 est remplacé). Arrête la lecture (PLAY) avant de restaurer.
|
||||
|
||||
## Secours
|
||||
|
||||
- **Secours USB :** maintiens **OCT−** seul à l'allumage (*SLOOP USB RESCUE*), puis réinstalle.
|
||||
- **Installation interrompue :** le FM-1 reste en mode mise à jour ; relance INSTALL et il termine. Un paquet abîmé est refusé et le FM-1 attend un paquet correct.
|
||||
- **Retour au firmware officiel :** sur la page d'installation, ouvre **Return to the official firmware (V15)** : fais d'abord une sauvegarde avec l'éditeur, télécharge FM-1 V15 sur m-vave.com, choisis son fichier FM-1.fwsc (seul ce fichier exact est accepté) et installe-le. M-UPGRADE de M-VAVE marche aussi (ferme les autres applis qui utilisent le MIDI).
|
||||
|
||||
SLOOP est libre (GPL-3.0), basé sur Felucca de Leo Kuroshita (Hügelton Instruments). M-VAVE et FM-1 sont des marques de leurs propriétaires ; SLOOP n'y est pas affilié.
|
||||
@@ -0,0 +1,430 @@
|
||||
<p align="center"><img src="assets/logo/sloop-logo.png" alt="SLOOP" width="420"></p>
|
||||
|
||||
<p align="center"><b>A live groovebox firmware for the M-VAVE FM-1 — for any style.</b><br>
|
||||
Free and open source (GPL-3.0), based on <a href="https://github.com/hugelton/Felucca">Felucca</a> by Leo Kuroshita / Hügelton Instruments.</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://isod89.github.io/sloop-fm1/"><b>Install from the browser</b></a> ·
|
||||
<a href="GUIDE.md">Complete guide</a> ·
|
||||
<a href="SLOOP.md">Manual</a> ·
|
||||
<a href="DEMARRAGE-RAPIDE-FR.md">Guide en français</a> ·
|
||||
<a href="https://isod89.github.io/sloop-fm1/webapp/editor/">Web editor</a> ·
|
||||
<a href="../../releases">Releases</a> ·
|
||||
<a href="../../issues">Report a bug</a>
|
||||
</p>
|
||||
|
||||
---
|
||||
|
||||
SLOOP turns the FM-1 into a four-track groovebox you play live: **three synths and a drum machine** with 16 sounds on the white keys, twelve synthesis engines, 153 sounds, 37 drum kits, your own samples, a song mode you play with your hands, USB audio, MIDI in on the jack and MIDI clock — and now **physical models** (guitars, sitar, bells, hand drums), a **noise** engine, **six-operator FM with DX7 patches**, **parameter locks**, **micro timing**, **fills**, a **quick chain** of sections and the **sequencer to MIDI out**. House, techno, hip-hop, trap, drum & bass, amapiano, synthwave, lo-fi, ambient, chiptune — it does not pick a style for you. No factory patterns, nothing to load: everything you hear, you play.
|
||||
|
||||
> **Status:** 2.5 (two new engines, PHYS and NOISE, 77 new sounds, a drum synth, DX7 cartridges in one go, MIDI CCs, 48 kHz USB audio, and the fixes of 2.4.1). Still a beta: install at your own risk, and please [report](../../issues) what you find. Your projects, presets, samples and settings are kept when you update, and you can go back at any time (see [Going back](#going-back)).
|
||||
|
||||
## Contents
|
||||
|
||||
1. [What's new in 2.5 and 2.4](#whats-new-in-25)
|
||||
2. [Screenshots](#screenshots)
|
||||
3. [Features](#features)
|
||||
4. [Install](#install)
|
||||
5. [Your first beat in 60 seconds](#your-first-beat-in-60-seconds)
|
||||
6. [The controls](#the-controls)
|
||||
7. [The menu: settings of the FM-1](#the-menu-settings-of-the-fm-1)
|
||||
8. [MIDI and USB audio](#midi-and-usb-audio)
|
||||
9. [The web editor](#the-web-editor)
|
||||
10. [Compatibility](#compatibility)
|
||||
11. [Troubleshooting](#troubleshooting)
|
||||
12. [Specifications](#specifications)
|
||||
13. [Documentation](#documentation)
|
||||
14. [Building and tests](#building-and-tests)
|
||||
15. [Contributing](#contributing)
|
||||
16. [Credits and thanks](#credits-and-thanks)
|
||||
17. [Licence](#licence)
|
||||
|
||||
---
|
||||
|
||||
## What's new in 2.5
|
||||
|
||||
- **PHYS: physical models.** An eleventh engine, from Felucca 1.0 (the models of DaisySP and Mutable Instruments Rings, by Emilie Gillet): plucked and struck strings, bars and bells, drum heads, and strings with sympathetic strings that ring along. Guitars (NYLON GTR, STEEL GTR, MUTED GTR), PLUCK BASS, KOTO, BANJO, SITAR and TANPURA, PHYS HARP, CHIMES, BIG BELL, VIBRA BAR, STEEL PAN, WOOD BLOCK, CELLO BOW, GLASS BOWL, TABLA, CONGA, TIMPANI and more: 26 sounds.
|
||||
- **NOISE.** A twelfth engine, from Felucca 1.0: noise from analogue to digital, through a resonant filter. WIND, RAIN, OCEAN, VINYL, HISS, RISER, NZ SNARE, BITCRUSH, RADIO, NZ ARCADE, NZ METAL.
|
||||
- **153 factory sounds** (76 in 2.4): 77 new, every one level-matched. Besides PHYS and NOISE: bass guitar, mono and saw basses, harp, steel drum, glockenspiel, celesta, xylophone, tubular bell, pan flute, harmonica, accordion, a 70s string machine (ENSEMBLE), an 80s poly synth, rock and chapel organs, granular clouds (STR CLOUD, SHIMMER, DRONE, PNO FREEZE, HORN CLOUD), chip sounds (NES BASS, CHIP CHORD, WAVE LEAD…), CZ lead / pad / reso, ROBOT and VOX PAD. See [the sound bank](SLOOP.md#the-sound-bank).
|
||||
- **Two engines, no memory more.** GRAIN, FM6 and PHYS keep their big per-track state in one shared area (a track plays one engine at a time), so the new engines cost no memory at all; the pitch table now takes 768 bytes instead of 8 KB. Every sound of 2.4 renders bit for bit as before.
|
||||
- **The web editor: piano roll, MIDI files, song.** On the **Sequencer** page: a **length** control (1–64 steps; the steps redraw at once), a **piano roll** to draw, delete and stretch notes and chords with the mouse, and **Export MIDI / Import MIDI** for the selected track (the drum track too, as GM drum notes), with a preview that says what moves or does not fit before anything is written. A new **Song** page edits the order of the sections A–D, as the FM-1's SONG screen does. Thanks to the viewer who suggested them!
|
||||
- **USB audio at 48 kHz too: record into your phone.** The FM-1's USB audio input now also runs at 48 kHz when the phone, tablet or app asks for it (many only take 48 kHz), resampled in the FM-1 (after Felucca 1.1.5). Plug it into your phone and record into a sampler app. At 44.1 kHz nothing changed.
|
||||
- **Drum synth: make your own drum kits.** A new page in the web editor changes every value of the synthesised drum sounds — the tone and its pitch drop, the click, the noise (white, the 808's metal, chip, clap), the filter, drive and level — and the FM-1 plays each change at once. Four kits of your own, **SYN1–SYN4**, after the others on the drum track's KIT, stored on the FM-1, in backups and as files.
|
||||
- **DX7 cartridges in one go.** Drop a .syx file on the editor's FM6 panel, tick up to 27 of its voices (the first 27 are ticked) and **Store cartridge in bank** puts them in B1, B2… in one write, asking before it replaces anything. Choose to add them to the user presets too, and the FM-1's PRESETS and SELECT find them by name; or pick them with PTCH. Thanks to the viewer who asked!
|
||||
- **A delay send for the drums.** GLO → DRUMS → **DLY** (next to REV) sends the drum track into the tempo delay: echoing hats, dub snares. CC 94 on the drum channel sets it too. Thanks to the viewer who asked!
|
||||
- **MIDI CCs (after Felucca 1.1.5).** A controller's knobs now set the sound: CC 7 level, 10 pan, 74 the track's filter, 71 resonance, 73 / 75 / 72 attack / decay / release, 5 glide, 91 / 93 / 94 the reverb, chorus and delay sends, on the track the channel plays (as the notes). Until now SLOOP ignored every CC.
|
||||
- **Swing reads 0 to 100.** 0 is straight, 100 the strongest (a step pair played 75 / 25, MPC's 75 %); it used to read 50–75 %. The swing itself and your projects did not change.
|
||||
- **SEL, as printed on the button.** The key / scale button between FX and ENV is now called SEL everywhere (its pages SEL and SEL 2, the calibration, the guides); it was written SCL. Not to be mixed up with the SELECT knob.
|
||||
- **The DRUMS page's level dial** goes from ghost on the left to hard on the right (its needle followed the wrong order; the levels were right).
|
||||
- **Fixed** (2.4.1, folded into 2.5): imported DX7 patches with **AMS** above 0 (about one in four) played noise and static: they now sound as on a DX7. The **click** (and the REC count-in) is heard again with your own drum kits and with the drum track muted or another track soloed: it has its own sound now. In chord mode, a key on the **STEP** page writes the whole chord it plays, not only its root.
|
||||
|
||||
Projects, autosaves and backups from 2.4 load as they are. Going back to 2.4: a track playing PHYS or NOISE opens with another engine there, and 2.4 does not keep the SYN kits (a drum track on SYN1–4 plays USR3+4 there), so keep a backup.
|
||||
|
||||
## What's new in 2.4
|
||||
|
||||
| | |
|
||||
| --- | --- |
|
||||
| **FM6: six-operator FM, DX7 patches** | A tenth engine: the classic 6-op FM of Dexed (msfa), as Felucca 1.0 ported it — 32 algorithms, a full patch per track, 8 factory patches, a bank of 27 on the FM-1. The web editor edits every operator, **imports DX7 SysEx** (one voice or a 32-voice bank) and stores a whole cartridge in the bank at once. |
|
||||
| **Parameter locks** | Hold a step: **PRESETS** gives one sound parameter another value for that step only, **ALGORITHM** picks which. 24 per track, several on one step. |
|
||||
| **Micro timing** | Hold a step: **KNOB 4** nudges it, half a step early to half a step late, in 1/64. |
|
||||
| **Fills** | Hold a step: **OCT+** makes it *fill only* or *no fill*. GLO + key **9** plays a fill while held, key **10** on the whole next bar. |
|
||||
| **Quick chain** | Hold SAVE and tap A B B C…: let go and the sections play in turn, each for its pattern's length, looped. |
|
||||
| **Clock only** | GLO → SYSTEM → **IN** = **CLOCK**: follow a DAW's clock and ignore its notes. |
|
||||
| **Sequencer to MIDI out** | GLO → SYSTEM → **MIDI** = **SEQ**: the steps, the arp and the rolls go out on USB MIDI — drive another synth, or record the notes in a DAW. |
|
||||
| **Your own drum kits** | A 4th sample slot (USR4). KIT USR1–USR4 or **USR3+4** (a big kit, about 15 s) on the drum track: 16 of your sounds, one per lane, built in the editor's new **Drum kit** page (drop WAVs on pads, sorted by name; pitch, gain, length; choose where; ZIP to share). |
|
||||
| **New web editor** | Rebuilt in the FM-1's own look (black, the four track colours, its pixel font): each button's pages as rows of four coloured knobs, values you drag like knobs, the steps as the device's tiles. |
|
||||
| **CHORD+** | In chord mode the black keys change the chord (major ↔ minor, 7th, sus4, 9th, inversion), even while it is held; STRUM strums the chords, VLEAD voices them smoothly. After HiChord and minichord. |
|
||||
| **The visualiser** | On the TRACKS screen, tap HOME: 12 full-screen styles (oscilloscope, spectrum, spectrogram, Lissajous, VU meters, circle, tape, LCD, bounce, orbit, wires, the SLOOP logo), SELECT to change. |
|
||||
| **A filter per track** | One knob, low-pass to the left, high-pass to the right, on each track and the drums: FX → FILTER, or FX held + KNOB 4. Lockable on a step. |
|
||||
| **Bigger values** | Pages without a graph (EDIT, VOICE, GLOBAL…) show their four values in large type in the middle of the screen. |
|
||||
| **SELECT turns the pages** | On a page (LFO, FX, EDIT…), SELECT goes to the next / previous page of its group. On HOME it is still the tempo. |
|
||||
| **Drums with the keys** | On the drum grid page, the keys are the steps of the sound you pick: press to set, again to clear. Picking a sound or a step plays it. |
|
||||
| **Longer steps, dotted delays** | DIV goes to **1/2**, **1 bar** and **2 bars**; the delay has **1/8 dotted** and **1/16 dotted**. |
|
||||
| **Fixes** | A MIDI START during the REC count-in records at once; swing leaves triplets alone; turning DIV right after PLAY no longer skips a step; the SEQ layer's DIV reaches 1/2, 1 bar, 2 bars; the editor never writes flash while the song plays; *12 kHz* reads in full. |
|
||||
|
||||
Projects, autosaves and backups from 2.3 load as they are. The full list, and what came before: [SLOOP.md](SLOOP.md#new-in-24).
|
||||
|
||||
## What's new in 2.3
|
||||
|
||||
| | |
|
||||
| --- | --- |
|
||||
| **USB audio** | On USB the FM-1 is also an audio input (*Felucca*, 44.1 or 48 kHz stereo, no driver): record it in your DAW, in Audacity or in a sampler app on your phone over the same cable. Its level follows the MASTER knob, or stays at a fixed full level (HOME menu → **USB AUDIO**). From Felucca 1.0. |
|
||||
| **MIDI keyboard on the jack** | The 3.5 mm TRS MIDI IN works: a keyboard or a pad controller through a TRS-to-DIN adapter. Channels 1–3 the synths, 10 the drums, 4–16 the selected track. No note left hanging. |
|
||||
| **MIDI clock in** | GLO → SYSTEM → **SYNC** = USB or TRS: SLOOP follows a DAW or a drum machine — tempo, START, CONTINUE, STOP — pulse by pulse, with no drift. |
|
||||
| **Record your way** | The REC screen has three dials: **mode** (*free*: the tempo follows your playing, or *tempo*: the tempo you set), **length** (1, 2 or 4 bars), **start** (your first note, or a one-bar **count-in** after PLAY). |
|
||||
| **Lights for playing in the dark** | HOME menu: **LIGHTS** (every button glows, LOW / MID / HIGH), **KEYS** (the C keys or every white key), **NOTES** (the notes playing light their keys, by @renebohne). |
|
||||
| **Backup and restore** | The web editor saves everything on the FM-1 in one file — the music in progress, projects, user presets, samples, settings — and puts it all back. |
|
||||
| **CHOP, any length** | A recording longer than a sample slot (about 7 s) works: keep the chops you want, shorten them, or **Fit to slot**. |
|
||||
| **Back to the official firmware** | From the installer page, with a backup first: select M-VAVE's FM-1 V15 file and install it. |
|
||||
| **Steadier** | Knobs that answer every click; no dropped notes over USB MIDI; one voice fades on overload, never the bass or the lead; keys a millisecond faster; no stuck note after a VOICE change; stricter checks of what is read back from flash. |
|
||||
|
||||
The full list, and what came in 2.0, 2.1 and 2.2: [SLOOP.md](SLOOP.md#new-in-23). Release notes: [Releases](../../releases).
|
||||
|
||||
## Screenshots
|
||||
|
||||
<p align="center"><img src="assets/screens/sloop-2.3-screens.png" alt="SLOOP 2.3 screens on the FM-1" width="760"></p>
|
||||
|
||||
<p align="center"><sub>The FM-1's screen in 2.3: the tracks, the REC screen and its count-in, the menu (lights and USB audio), MIDI clock, about.</sub></p>
|
||||
|
||||
<p align="center"><img src="assets/screens/screens.png" alt="SLOOP screens on the FM-1" width="760"></p>
|
||||
|
||||
<p align="center"><sub>Start-up, the four tracks (recording), the drum grid and the acoustic kit, the sounds by kind, the layers (punch-in FX, steps, key and chords, mix, erase), a free take, the FX sends.</sub></p>
|
||||
|
||||
<p align="center"><img src="assets/screens/editor-drums.png" alt="SLOOP web editor: the drum track" width="760"></p>
|
||||
|
||||
<p align="center"><sub>The web editor: the drum track as a 16-lane grid, with levels and ratchets.</sub></p>
|
||||
|
||||
<p align="center"><img src="assets/screens/editor-chop.png" alt="SLOOP web editor: CHOP" width="760"></p>
|
||||
|
||||
<p align="center"><sub>CHOP: a 20 s recording cut into 16 chops, 8 kept, fitted to the slot.</sub></p>
|
||||
|
||||
## Features
|
||||
|
||||
### Play it live: hold a button, touch a key
|
||||
|
||||
Every function button is a **layer**: hold it and the 16 white keys and the four knobs change job, and the screen shows how. Tap it and its pages open. Hold a layer button and tap HOME to **lock** it open, both hands free.
|
||||
|
||||
| Hold | The white keys | KNOB 1 · 2 · 3 · 4 |
|
||||
| --- | --- | --- |
|
||||
| **FX** — punch | 16 punch-in effects on the whole mix: loops 1/4–1/32, stutter, reverse, tape stop, half speed, filter sweeps, phone, bit crush, alias, gate, echo, tape wobble | FILTER · DUST · DUCK · the track's filter |
|
||||
| **EDIT** — erase | erase a sound or a note as the loop plays (stopped: from the whole pattern) | SHIFT · LENGTH ×2 / ½ · TRANSPOSE |
|
||||
| **ARP** — roll | note repeat on the grid, recorded as ratchets | RATE (1/8 … 1/64) |
|
||||
| **SEQ** — steps | the 16 steps of the page; a step held: a level, a ratchet, a nudge, parameter locks (PRESETS / ALGORITHM), a fill condition (OCT+) | SOUND / NOTE · DIV · SWING · LENGTH (a step held: SOUND / NOTE · LEVEL · RATCHET · NUDGE) |
|
||||
| **SEL** — key | the key of the song | CHORD · SCALE · KEYS · TRANSPOSE |
|
||||
| **GLO** — mix | 1–4 mute, 5–8 solo, 9 fill (held), 10 fill on the next bar, 16 tap tempo | the levels of tracks 1–4 |
|
||||
| **SAVE** — song | 1–4 play sections A–D (several tapped while held: a quick chain), 5–8 save the loop into them, 13 loop / song, 14 record the song, 16 the chain | — |
|
||||
|
||||
Keys 1, 5, 9 and 13 glow dimly while a layer is held: the first key of each row of the 4 × 4 grid on the screen. **EDIT + OCT− / OCT+** is undo / redo.
|
||||
|
||||
### Drums
|
||||
|
||||
- **16 sounds on the white keys**, kick to cowbell; a black key doubles the white key on its left (fast rolls with two fingers).
|
||||
- **Ghost and hard hits:** hold OCT− / OCT+ while you play. Every hit keeps its level (GHOST, SOFT, NORM, HARD) and a **ratchet** (x1–x4).
|
||||
- **37 kits**, all level-matched: a sampled acoustic kit in 5 treatments (CC0 studio recordings) and 32 synthesised kits — 808, 909, 606, 80s, vintage, trap, drill, boom bap, lo-fi, phonk, house, deep house, techno, minimal, electro, disco, UK garage, jungle, dubstep, reggaeton, amapiano, afrobeat, latin, tribal, synthwave, chiptune, arcade, glitch, industrial, hyperpop, ambient, jazz brushes. Each synthesised sound is built like on the classic machines; softer hits are darker as well as quieter. **Your own kits** too (2.4): KIT USR1–USR4 (or USR3+4, about 15 s) plays sample slots you fill in the editor's Drum kit page, a sound of yours per lane. And (2.5) **SYN1–SYN4**, synthesised kits you make in the editor's Drum synth page.
|
||||
- **Grid and kit pages** on the FM-1 (EDIT or SEQ on the drum track): on the grid, the keys are the steps of the sound you pick (and you hear it); a 16-lane grid in the web editor.
|
||||
|
||||
### Synths and sounds
|
||||
|
||||
- **Twelve engines:** analog, 4-op FM, **6-op FM with DX7 patches (FM6, 2.4)**, phase distortion, three-oscillator, tonewheel organ, formant voice, granular, lo-fi chip, sampler, **physical models (PHYS, 2.5)**, **noise (NOISE, 2.5)**.
|
||||
- **153 sounds, browsed by kind** — basses (sliding 808s, acid 303, reese, FM, bass guitar), guitars, sitar and koto (physical models), keys (Rhodes, a real Steinway grand, house and afro keys), organs and accordion, pads (string machine, granular clouds), leads (supersaw, talkbox, pan flute, harmonica), plucks and bells (harp, steel drum, glockenspiel, celesta, xylophone), stabs and dub chords — every one level-matched. **32 slots** for your own presets.
|
||||
- Envelopes (with a pitch punch for 808s), LFO, arpeggiator, glide and voice modes (POLY, MONO, LEGATO, UNISON), per-track drive and slicer, sends to a **stereo chorus**, a **tempo delay** (dotted 1/8 and 1/16 too) and a **stereo reverb**.
|
||||
- **Key and chords (SEL):** the key of the song for all synths, 16 scales, one-key chords (triad, 7th, 9th, sus4, power), keys snapped to the scale or the scale on the white keys.
|
||||
|
||||
### Recording and the sequencer
|
||||
|
||||
- **Records as you play, no click needed:** while it plays, REC records at once and every pass is added on top (overdub). Notes land where you heard them: the ~12 ms of the keys are taken back.
|
||||
- **The REC screen (2.3):** **mode** *free* — no tempo, no grid: play, press REC on the "1" after your last bar, and the loop's length sets the tempo — or *tempo* — record at the tempo you set; **length** 1, 2 or 4 bars; **start** on your first note, or after a one-bar **count-in**.
|
||||
- **Hold REC ~2 s** to clear a track; **undo / redo** brings it back.
|
||||
- **64 steps per track**, each track with its own length and division, 1/32 to two bars (polymeters stay in phase); chords up to 4 notes a step, ties, slide; **MPC swing**, 0 (straight) to 100; one sample-accurate clock for everything: no drift at any tempo.
|
||||
- **Parameter locks, micro timing and fills (2.4):** hold a step to give it its own value of any sound parameter, to nudge it off the grid, or to make it play only (or never) during a fill.
|
||||
- The PLAY light flashes on every beat (a visual metronome); an audible click is in GLO → GLOBAL → CLICK and is never recorded.
|
||||
|
||||
### Songs
|
||||
|
||||
Save up to four sections **A–D** (SAVE + keys 5–8), play them live on the next bar (SAVE + keys 1–4), and **record the song as you play it** (SAVE + key 14). Keep SAVE held and tap several sections for a **quick chain** (2.4). In song mode PLAY plays the whole chain. The SONG screen edits it by hand.
|
||||
|
||||
### Effects and master
|
||||
|
||||
- **16 punch-in effects** (FX + a key), locked to the tempo.
|
||||
- **Master:** **DUST** (an old sampler and a record: bits, rate, crackle), **DUCK** (the kick pumps the synths), **FILT** (a DJ filter: low-pass ← off → high-pass), and an output limiter.
|
||||
|
||||
### Your own samples
|
||||
|
||||
- **Four slots** (USR1–USR4) of about 7.4 s each, played by a synth track or as a drum kit (USR3+4: one kit of about 15 s); up to 16 WAV files per slot, each on its own key.
|
||||
- **CHOP** in the web editor: open or drop a recording (WAV, MP3, AIFF…) of **any length**, tap along while it plays (each tap snaps to its hit), or find the hits, a tempo grid, equal parts; keep the chops you want, shorten them or **Fit to slot**; send them to a slot, one per key, or download them as WAV files.
|
||||
|
||||
### MIDI
|
||||
|
||||
- **USB MIDI** in and out, class compliant.
|
||||
- **TRS MIDI IN** (the 3.5 mm jack, 2.3) for a keyboard or a pad controller.
|
||||
- **MIDI clock in** (USB or TRS): tempo, START, CONTINUE, STOP.
|
||||
- **MIDI CCs** (2.5): level, pan, filter, resonance, envelope, glide and the sends from a controller's knobs.
|
||||
- **MIDI out:** the keys always; the sequencer, the arp and the rolls too with GLO → SYSTEM → MIDI = SEQ (2.4).
|
||||
- Details: [MIDI and USB audio](#midi-and-usb-audio).
|
||||
|
||||
### USB audio (2.3)
|
||||
|
||||
The FM-1 is also a **USB audio input**: record its master output on a computer, no driver, over the same cable as MIDI and the editor. Details: [USB audio](#usb-audio-record-the-fm-1-on-a-computer).
|
||||
|
||||
### Lights for playing in the dark (2.3)
|
||||
|
||||
Every button can glow so its label is readable on a black FM-1; the C keys or every white key can glow too; the notes playing can light their keys. Details: [The menu](#the-menu-settings-of-the-fm-1).
|
||||
|
||||
### Memory and safety
|
||||
|
||||
- **Autosave:** stop and leave it 2.5 s, your work is kept; at power-on SLOOP comes back exactly as you left it.
|
||||
- **4 projects**, **32 user presets**, **27 FM6 patches**, **undo / redo**.
|
||||
- **Full backup and restore** from the web editor (2.3).
|
||||
- **Safe updates:** the installer checks the package (SHA-256) before writing it, the update loader checks it again (CRC) before starting it; an interrupted install finishes when you press Install again; **USB rescue** (OCT− at power-on).
|
||||
|
||||
## Install
|
||||
|
||||
### From the browser (recommended)
|
||||
|
||||
1. Open **[the SLOOP installer](https://isod89.github.io/sloop-fm1/)** in **Chrome or Edge** on a computer.
|
||||
2. Connect the FM-1 by USB — a **data** cable, directly (no hub).
|
||||
3. Press **INSTALL**, allow MIDI access, and wait for *Done*. The FM-1 restarts on the SLOOP logo.
|
||||
|
||||
Nothing to download or compile. Your projects, user presets, samples and settings are kept. After an install, **unplug and plug the FM-1 back in** once so the computer finds its USB audio input.
|
||||
|
||||
### Other ways
|
||||
|
||||
- **Python:** the `.fwsc` of a [release](../../releases) with `python tools/fm1_install.py sloop-2.4.fwsc` (needs `pip install mido python-rtmidi`).
|
||||
- **Build it yourself:** see [Building and tests](#building-and-tests); on Windows, `INSTALL-SLOOP.bat` builds SLOOP and opens the installer locally.
|
||||
|
||||
### Going back
|
||||
|
||||
- **To an earlier SLOOP:** install the `.fwsc` of its [release](../../releases) (for example [2.3](../../releases/tag/v2.3)). Your samples, user presets and settings stay. **Projects saved by 2.4** (format FUN5: locks, nudges, fills) **do not open in 2.3 or older** — 2.3 sees them as empty, and its autosave can write over the music in progress; a 2.4 backup restores into 2.4 only. **Save a backup before you go back**, and restore it once you are on 2.4 again.
|
||||
- **To the official firmware:** on the installer page, open **Return to the official firmware (V15)**. Save a backup with the editor first, download FM-1 V15 from m-vave.com and select its `FM-1.fwsc` — only that exact file is accepted. M-VAVE's updater, M-UPGRADE, works too. To come back, install SLOOP again and restore your backup.
|
||||
|
||||
### Rescue
|
||||
|
||||
- **The FM-1 no longer starts SLOOP:** hold **OCT−** alone while switching it on (*SLOOP USB RESCUE*), then install again.
|
||||
- **An install was cut off:** the FM-1 stays in update mode; press INSTALL again and it finishes.
|
||||
- If an FM-1 no longer starts at all, recovery needs [FM-1-transporter](https://github.com/kurogedelic/FM-1-transporter).
|
||||
|
||||
> Custom firmware is installed at your own risk. No warranty.
|
||||
|
||||
## Your first beat in 60 seconds
|
||||
|
||||
1. **ALGORITHM** to track **4** (orange, drums). The white keys are 16 drum sounds; **PRESETS** picks a kit (try *808* or *BOOMBAP*).
|
||||
2. Press **REC** and play a beat freely, at your own tempo. Hold **OCT−** while you hit for ghost notes, **OCT+** for hard ones.
|
||||
3. **Press REC on the "1" after your last bar.** The loop closes, its length sets the tempo, the hits snap to the grid and it plays at once. (Prefer a set tempo, or a count-in? Turn KNOB 1 and KNOB 3 on the REC screen before you start.)
|
||||
4. **REC** again while it plays: you record on top. Hold **ARP** and hold the hat key for a hat roll.
|
||||
5. **ALGORITHM** to track **1**, **REC**, play a bass line. Hold **SEL** and press the key of your song; on track 2, hold SEL and turn **KNOB 1** to *7TH*: every white key now plays a chord.
|
||||
6. Hold **FX** and press a white key for a punch-in effect; still holding FX, turn **KNOB 2** for DUST, **KNOB 3** for DUCK.
|
||||
7. A mistake? Hold **EDIT** and press **OCT−**: undo.
|
||||
|
||||
## The controls
|
||||
|
||||
| Control | What it does |
|
||||
| --- | --- |
|
||||
| **MASTER** | volume (and the USB audio level, if USB AUDIO is on MASTER) |
|
||||
| **SELECT** | on HOME and inside a layer: tempo · on a page: the previous / next page of its group · DRUMS: grid / kit |
|
||||
| **ALGORITHM** | the selected track: 1 · 2 · 3 (synths) · 4 (drums) |
|
||||
| **PRESETS** | the selected track's sound, or the drum kit |
|
||||
| **KNOB 1–4** | what the four dials at the bottom of the screen show, each in its colour |
|
||||
| **OCT− / OCT+** | octave (both: back to 0) · on the drum track, held: ghost / hard hits |
|
||||
| **FX · SEL · ENV · LFO · EDIT · GLO** (top row) | tap: their pages · hold FX, SEL, EDIT, GLO: a layer. **SEL** is the second button of the top row, between FX and ENV (not the SELECT knob) |
|
||||
| **HOME** | the TRACKS screen · on it: the full-screen visualiser (SELECT: 12 styles; HOME again closes it) · hold: the menu · tapped while a layer is held: lock it |
|
||||
| **SAVE** | on TRACKS: the SONG screen · elsewhere: the SAVE pages · hold: the song layer |
|
||||
| **ARP · SEQ** | tap: their pages · hold: note repeat · steps |
|
||||
| **PLAY** | start / stop all four tracks; its light flashes on every beat |
|
||||
| **REC** | playing: record now / stop · stopped: arm (the REC screen) · hold: clear the track |
|
||||
| **EDIT + OCT− / OCT+** | undo / redo |
|
||||
|
||||
Colours: **blue** track 1 and KNOB 1, **green** 2, **yellow** 3, **orange** 4 (drums). White is what you touch; red is recording.
|
||||
|
||||
## The menu: settings of the FM-1
|
||||
|
||||
Hold **HOME**. The menu is in four sections, as the pages are: **SCREEN** (COLOR, ZOOM), **LIGHTS** (LIGHTS, KEYS, NOTES), **AUDIO** (LOWCUT, USB AUDIO, USB SERIAL), **SYSTEM** (HARDWARE CALIBRATION, ABOUT). **SELECT** goes from one section to the next, **KNOB 1, 2, 3** set the section's rows (each row shows its knob's colour), **PRESETS** moves the cursor, **OCT+** steps the cursor's setting round or opens it (CALIBRATION, ABOUT), **OCT−** closes. These are settings of the FM-1, not of a project: loading a project or NEW PROJECT does not change them, and the backup keeps them.
|
||||
|
||||
| Item | Choices | What it does |
|
||||
| --- | --- | --- |
|
||||
| **COLOR** (SCREEN) | 5 palettes | the screen's colours |
|
||||
| **ZOOM** (SCREEN) | OFF / ON | a large readout of the value you turn |
|
||||
| **LIGHTS** (LIGHTS) | OFF / LOW / MID / HIGH | every button glows at that level; what is active stays at full light |
|
||||
| **KEYS** | OFF / C KEYS / WHITE KEYS / ALL KEYS | the C keys, every white key, or every key glow too |
|
||||
| **NOTES** | OFF / ON | the notes playing on the selected synth track light their keys (sequencer notes too, at least a tenth of a second each), on every page and in every layer |
|
||||
| **SPEAKER LOWCUT** (AUDIO) | OFF / ON | a low cut for the small built-in speaker |
|
||||
| **USB AUDIO** | MASTER / FULL | the level of the USB audio input: follows the MASTER knob, or a fixed full level |
|
||||
| **USB SERIAL** | OFF / ON | a serial console for developers; OFF (default) so macOS 13–15 show the USB audio input; at the next start |
|
||||
| **HARDWARE CALIBRATION** (SYSTEM) | | the panel table, if a key or a knob answers wrongly |
|
||||
| **ABOUT** | | the version (*SLOOP 2.4*) and its build date, the credits |
|
||||
|
||||
Two more settings of the FM-1 live elsewhere: **SYNC** (GLO → SYSTEM: INT, USB or TRS) and the REC screen's **mode** and **start**.
|
||||
|
||||
## MIDI and USB audio
|
||||
|
||||
### MIDI in
|
||||
|
||||
SLOOP takes MIDI from two places at once:
|
||||
|
||||
- **The MIDI IN jack** (3.5 mm TRS): a keyboard or a pad controller with a MIDI output, through a **TRS-to-DIN MIDI adapter**. If nothing plays, try the other adapter type (A / B).
|
||||
- **USB**, from a computer or a phone (a DAW, a MIDI routing app) or a USB MIDI host box.
|
||||
|
||||
| MIDI channel | Plays |
|
||||
| --- | --- |
|
||||
| 1, 2, 3 | synth tracks 1, 2, 3 |
|
||||
| 10 | the drum track (the nearest of its 16 sounds; GLO → DRUMS → CH changes the channel) |
|
||||
| 4–16 | the selected track: set your keyboard to channel 4 and it follows ALGORITHM |
|
||||
|
||||
A USB keyboard plugged **straight into the FM-1** cannot work: both are USB devices, and a USB link needs a host (a computer, a phone, or a USB MIDI host box). Bluetooth MIDI is not supported: SLOOP, like Felucca, never switches the radio on.
|
||||
|
||||
### MIDI out
|
||||
|
||||
What you play on the keys always goes out on USB MIDI, each track on its channel (1–3 the synths, 10 the drums). GLO → SYSTEM → **MIDI** = **SEQ** sends what the sequencer, the arp and the rolls play too: every note is ended, STOP ends whatever was still on, and notes that came in from a computer or the jack are never sent back. Record the FM-1's MIDI in a DAW and you get your pattern as notes.
|
||||
|
||||
### MIDI clock in
|
||||
|
||||
GLO → SYSTEM → **SYNC** = **USB** or **TRS** (INT: SLOOP's own tempo). START plays from the top, CONTINUE carries on, STOP stops; the tempo follows the master and the steps follow its 24 pulses a beat, so SLOOP never drifts. When the clock stops for half a second, PLAY on the FM-1 plays at its own tempo again.
|
||||
|
||||
**Clock only (2.4):** GLO → SYSTEM → **IN** = **CLOCK**: SLOOP follows the clock and ignores incoming notes (and CCs), handy when a DAW or a sequencer also sends notes to other gear.
|
||||
|
||||
### MIDI CCs (2.5)
|
||||
|
||||
The knobs of a MIDI controller set the sound, on the track the channel plays (as the notes: 1–3 the synths, 10 the drums, 4–16 the selected track). A CC sets its parameter as a knob would, 0–127 over its range. The standard map of Felucca 1.1.5:
|
||||
|
||||
| CC | Sets |
|
||||
| --- | --- |
|
||||
| 5 | GLIDE |
|
||||
| 7 | LEVEL (on the drum channel: GLO → DRUMS → LVL) |
|
||||
| 10 | PAN |
|
||||
| 71 | the engine's resonance (RES or Q: ANALOG, TRIO, VOICE, NOISE; the others ignore it) |
|
||||
| 72 · 73 · 75 | release · attack · decay |
|
||||
| 74 | the track's FILTER: 64 off, lower a low-pass, higher a high-pass (every engine, the drums too) |
|
||||
| 91 · 93 · 94 | the reverb, chorus and delay sends (on the drum channel 91 and 94 are GLO → DRUMS → REV and DLY) |
|
||||
|
||||
Other CCs (mod wheel, sustain…) are ignored.
|
||||
|
||||
### USB audio: record the FM-1 on a computer
|
||||
|
||||
On USB the FM-1 is also an **audio input named "Felucca"**: 44.1 or 48 kHz (2.5: phones and apps that only take 48 kHz), 16-bit stereo, class compliant — no driver on Windows, macOS or Linux. Choose it in your DAW or in Audacity and record: you get the master output, exactly what the headphones play (after DUST, DUCK and FILT). MIDI, the web editor and the installer keep working on the same cable.
|
||||
|
||||
- **The level:** HOME menu → **USB AUDIO**. **MASTER** (default): the recording follows the MASTER knob, as the headphones do — keep MASTER well up while you record. **FULL**: a fixed level, as with MASTER all the way up, kept from clipping by the limiter; MASTER then only sets the headphones (the right choice for an interface with no level control).
|
||||
- **The first time** (and after an install), the computer sets the FM-1 up again as a MIDI + audio device: unplug and plug it back in if the input does not show. The MIDI port keeps its name.
|
||||
- The audio input comes from Felucca 1.0.
|
||||
|
||||
## The web editor
|
||||
|
||||
Open it from the [installer page](https://isod89.github.io/sloop-fm1/) (or the [editor link](https://isod89.github.io/sloop-fm1/webapp/editor/)) in Chrome or Edge, with the FM-1 on USB, and press **Connect**. It follows the device live: turn a knob on the FM-1 and the editor moves.
|
||||
|
||||
- **Sound** — every parameter of the selected track, the engines and the presets; on an FM6 track the **FM6** panel: every operator, the bank, **Import / Export SysEx** (DX7 voices and banks).
|
||||
- **Sequencer** — the steps, as tiles or as a **piano roll**, and the track's length (1–64 steps); on the drum track a grid of 16 sounds × the steps, with levels and ratchets, and the kit. Click a step for its nudge, parameter locks and fill condition. **Export MIDI / Import MIDI**: the selected track as a MIDI file, and back.
|
||||
- **Tracks** — the four channel strips.
|
||||
- **Song** — the order of the sections A–D (the SONG screen): which section, how many bars, how many times, and whether the song starts again at the end.
|
||||
- **Library** — your user presets and preset files.
|
||||
- **Samples** — the three user slots, files and **CHOP**.
|
||||
- **Drum synth** (2.5) — your own synthesised kits SYN1–SYN4: every value of every drum sound, heard at once.
|
||||
- **Projects** — the four projects, and **Backup**: *Save a backup* writes everything on the FM-1 to one file (with the FM6 bank); *Restore from a file* puts it all back (stop playback first).
|
||||
- **Settings** — global, master (DUST, DUCK, FILT, ROLL), drums.
|
||||
|
||||
<p align="center"><img src="assets/screens/editor-backup.png" alt="SLOOP web editor: projects and backup" width="560"></p>
|
||||
|
||||
The protocol is documented in [web/EDITOR_PROTOCOL.md](web/EDITOR_PROTOCOL.md).
|
||||
|
||||
## Compatibility
|
||||
|
||||
| | |
|
||||
| --- | --- |
|
||||
| Device | M-VAVE FM-1 (the official firmware can be put back at any time) |
|
||||
| Installer and editor | **Chrome or Edge** on Windows, macOS or Linux (they use Web MIDI with SysEx) |
|
||||
| Cable | a USB **data** cable, plugged directly (no hub) |
|
||||
| USB audio | any computer that takes a class-compliant USB audio input (no driver) |
|
||||
| MIDI IN jack | 3.5 mm TRS, through a TRS-to-DIN MIDI adapter (type A or B) |
|
||||
| Not supported | Bluetooth MIDI; a USB keyboard plugged straight into the FM-1 |
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
**The installer or the editor does not find the FM-1.** Use Chrome or Edge, a data cable, no hub, and allow MIDI access. Close every other app or tab that uses MIDI (a DAW, M-UPGRADE, another editor tab), then reload the page.
|
||||
|
||||
**An install stopped half-way.** The FM-1 waits in update mode: press INSTALL again. If SLOOP no longer starts, hold **OCT−** alone while switching on (*SLOOP USB RESCUE*) and install again.
|
||||
|
||||
**The black keys make no sound on a synth track.** That track plays chords or the scale on the white keys (in chord mode the black keys change the chord: CHORD+): hold **SEL** (between FX and ENV) and set **KNOB 1 CHORD** to OFF and **KNOB 3 KEYS** to OFF. The drum track always uses the black keys.
|
||||
|
||||
**Nothing plays from the MIDI IN jack.** Try the other adapter type (A / B); check the keyboard's channel (1–3 synths, 10 drums, 4–16 the selected track).
|
||||
|
||||
**The USB audio input does not show.** Unplug the FM-1 and plug it back in (after an install the computer must find it again). On a Mac (macOS 13–15), check that HOME menu → **USB SERIAL** is OFF (the default), then restart the FM-1. In Audacity: Transport → Rescan Audio Devices. On Windows: Sound settings → Recording → show disabled devices.
|
||||
|
||||
**The USB recording is too quiet, or follows the volume knob.** Set HOME menu → **USB AUDIO** to **FULL**, or turn MASTER up.
|
||||
|
||||
**Recorded notes move to the grid.** SLOOP quantises what you record to the steps of the track (its **DIV**: 1/4 … 1/32, triplets). For finer timing, set DIV to 1/32, or hold the step and nudge it (KNOB 4); for groove, use SWING.
|
||||
|
||||
**Notes fade out on a dense part.** The processor is at its limit: SLOOP fades one voice at a time (never the bass or the lead) rather than glitching. Fewer held notes or a lighter engine help.
|
||||
|
||||
**An FM6 sound changed after loading a project.** A project keeps the track's patch slot (PTCH), not the patch itself: store a patch you edited in the bank (editor → FM6 → Store in bank) and set PTCH to it.
|
||||
|
||||
**The lights or SYNC went back to OFF / INT.** You went back to an earlier SLOOP, which does not keep them; set them again in 2.4.
|
||||
|
||||
Something else? [Open an issue](../../issues): what you did, what you expected, what happened, and the version shown in HOME menu → ABOUT.
|
||||
|
||||
## Specifications
|
||||
|
||||
| | |
|
||||
| --- | --- |
|
||||
| Tracks | 3 synth parts (8 voices shared) + drums (16 sounds, 6 voices) |
|
||||
| Sounds | 153 presets on 12 engines (browsed by kind, level-matched), 6-op FM with DX7 SysEx import and a 27-patch bank, 8 sampled sets (CC0), 4 slots for your own samples (USR1–USR4), 32 user presets |
|
||||
| Drum kits | 37 (5 sampled, 32 synthesised, 16 sounds each), level-matched, plus your own: USR1–USR4 and USR3+4 (about 15 s) |
|
||||
| Sequencer | 64 steps per track, own length and division each (1/32 to two bars); chords with a level and ratchet per note; drums with a level and ratchet per sound; ties, slide; per-step parameter locks (24 per track), micro timing (±½ step in 1/64) and fill conditions; swing 0 (straight) to 100 (MPC 75 %); one sample-accurate clock (no drift) |
|
||||
| Recording | live, quantised as heard (latency-compensated), overdub; free take (the tempo follows you) or the tempo set; start on the first note or a one-bar count-in; 1, 2 or 4 bars |
|
||||
| Performance | layers: punch-in FX, erase, note repeat, step entry, key / chords, mute / solo / fill / tap tempo, song sections and a quick chain of up to 8 |
|
||||
| Effects | 16 punch-in effects; master DUST, DUCK, DJ filter, limiter; per track drive, slicer, sends to a stereo chorus, a tempo delay (dotted 1/8 and 1/16 too) and a stereo reverb |
|
||||
| Memory | autosave, undo / redo, 4 projects, 32 user presets, 27 FM6 patches, song of 4 sections × 16 steps × 1–64 bars, full backup / restore (editor) |
|
||||
| Audio | 44.1 kHz, fixed-point DSP; USB audio input (the master output, 16-bit stereo at 44.1 or 48 kHz, class compliant) |
|
||||
| MIDI | USB class-compliant in / out (the keys, or the sequencer too); TRS MIDI IN (3.5 mm); MIDI clock in (USB or TRS), clock only if you like (IN = CLOCK) |
|
||||
| Lights | button backlight (3 levels), C keys / white keys, played notes |
|
||||
| Update | over USB from the browser (SHA-256 and CRC checked), USB rescue, return to the official V15 |
|
||||
|
||||
## Documentation
|
||||
|
||||
- [GUIDE.md](GUIDE.md) — **the complete guide**: every button, combination, layer, page, engine and editor page, with a one-page cheat sheet
|
||||
- [SLOOP.md](SLOOP.md) — the manual (every page, layer, sound and kit) and the history of each version
|
||||
- [DEMARRAGE-RAPIDE-FR.md](DEMARRAGE-RAPIDE-FR.md) — guide de démarrage en français
|
||||
- [BUILDING.md](BUILDING.md) — building, build options and tests
|
||||
- [web/EDITOR_PROTOCOL.md](web/EDITOR_PROTOCOL.md) — the editor's SysEx protocol
|
||||
- [LICENSING.md](LICENSING.md) — the licences of the code and the assets
|
||||
|
||||
## Building and tests
|
||||
|
||||
See [BUILDING.md](BUILDING.md). In short: the JieLi toolchain and three files of the AC79 SDK, then `./build.sh` (Linux / macOS) or `INSTALL-SLOOP.bat` (Windows with WSL), which builds the firmware and serves the installer and the editor on `http://localhost:8766`.
|
||||
|
||||
`tests/run_tests.sh` runs the host test suite with no hardware: audio renders against golden hashes, CPU budgets, the sequencer's timing (no drift, swing, ratchets, rolls, the REC modes and the count-in, MIDI clock), the UI pages and layers, the knobs, flash storage, the update loader, MIDI and USB audio, and the web pages (editor, backup, CHOP, installer).
|
||||
|
||||
## Contributing
|
||||
|
||||
- **Bugs and ideas:** [open an issue](../../issues) — what you did, what you expected, what happened, and the version in HOME menu → ABOUT.
|
||||
- **Pull requests** are welcome. Keep the style of the code around your change, add a host test when you can, and make sure `tests/run_tests.sh` passes. Contributions are credited in the release notes and the manual.
|
||||
- By contributing you agree that your code is released under GPL-3.0, like the rest of SLOOP.
|
||||
|
||||
## Credits and thanks
|
||||
|
||||
- **[Felucca](https://github.com/hugelton/Felucca)** by **Leo Kuroshita** (@kurogedelic) / **Hügelton Instruments** — the engines, the sequencer, the editor, the installer, in 2.3 the USB audio input, the MIDI clock, the knob reading and many fixes, and in 2.4 the FM6 engine and its DX7 patch editor (Felucca 1.0 / 1.0.1). Thank you.
|
||||
- **@renebohne** — the played-note key lights (pull request #11).
|
||||
- **ChanceTheMaker** and **keremimo** — the TRS MIDI input fix (Felucca Salt) and contributions to the MIDI clock.
|
||||
- **Everyone who installed SLOOP, made music with it, commented, reported a bug or asked for a feature** — most of 2.3 and 2.4 comes from your messages (parameter locks, DX7 patches, dotted delays, longer steps: you asked for them).
|
||||
- Samples: Versilian Studios VSCO-2 CE and VCSL, Sonic Pi (all CC0). Font: Terminus (SIL OFL 1.1). Icons: Fukiai (MIT, Hügelton Instruments). PHASE engine after CrispyZebra (GPL); VOICE after klattsch (MIT); FM6: msfa from Dexed by Google Inc. and Pascal Gauthier (Apache-2.0).
|
||||
- Interface ideas after teenage engineering's pocket operators and EP-133, Elektron's step entry and Akai's MPC (swing, note repeat, erase).
|
||||
|
||||
## Licence
|
||||
|
||||
Code: GPL-3.0-only (see [LICENSE](LICENSE), and [LICENSING.md](LICENSING.md) for the assets). No warranty. M-VAVE and FM-1 are trademarks of their owners; SLOOP is not affiliated with M-VAVE, teenage engineering, Elektron or Akai. Drum kit names describe styles, not products.
|
||||
@@ -1,23 +0,0 @@
|
||||
Fukiai icon font (fukiai.ttf), used by the Felucca web editor.
|
||||
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2026 Hügelton Instruments
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -1,578 +0,0 @@
|
||||
<!doctype html>
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only
|
||||
Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>SLOOP installer</title>
|
||||
<style>
|
||||
:root { --bg: #000; --fg: #f2f2f2; --dim: #8a8a92; --tile: #16161a; --line: #2a2a30;
|
||||
--blue: #287cff; --green: #1ecc70; --yellow: #ffc618; --orange: #ff621a; --red: #ff2c34; }
|
||||
:root[data-theme="light"] { --bg: #f4f4f2; --fg: #111; --dim: #666; --tile: #e6e6e2; --line: #d0d0cc; }
|
||||
* { box-sizing: border-box; }
|
||||
body { margin: 0; background: var(--bg); color: var(--fg);
|
||||
font: 15px/1.6 "Helvetica Neue", -apple-system, BlinkMacSystemFont, Arial, sans-serif; }
|
||||
main { max-width: 560px; margin: 0 auto; padding: 32px 16px 48px; }
|
||||
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
|
||||
.logo svg { display: block; width: 220px; height: auto; }
|
||||
.logo rect:first-child { fill: transparent; }
|
||||
.lang { font-size: 12px; color: var(--dim); cursor: pointer; text-decoration: underline; background: none;
|
||||
border: 0; padding: 0; text-transform: lowercase; }
|
||||
.strip { display: flex; height: 4px; margin: 20px 0 24px; }
|
||||
.strip i { flex: 1; } .strip i:nth-child(1) { background: var(--blue); } .strip i:nth-child(2) { background: var(--green); }
|
||||
.strip i:nth-child(3) { background: var(--yellow); } .strip i:nth-child(4) { background: var(--orange); }
|
||||
h1 { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin: 0 0 8px; }
|
||||
.lead { font-size: 20px; line-height: 1.35; margin: 0 0 24px; }
|
||||
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 28px; }
|
||||
.tile { background: var(--tile); padding: 10px 10px 12px; border-top: 3px solid var(--c); min-height: 92px; }
|
||||
.tile b { display: block; font-size: 22px; font-weight: 600; color: var(--c); line-height: 1.1; }
|
||||
.tile span { display: block; font-size: 12px; color: var(--dim); text-transform: lowercase; margin-top: 4px; }
|
||||
p { margin: 0 0 14px; }
|
||||
button#go { font: 600 15px/1 inherit; font-family: inherit; background: var(--orange); color: #000; border: 0;
|
||||
padding: 16px 0; width: 100%; cursor: pointer; letter-spacing: .08em; text-transform: uppercase; }
|
||||
button#go:disabled { background: var(--tile); color: var(--dim); cursor: default; }
|
||||
#status { margin-top: 14px; min-height: 1.6em; font-variant-numeric: tabular-nums; }
|
||||
.small { color: var(--dim); font-size: 12.5px; }
|
||||
.small a, a { color: inherit; }
|
||||
progress { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin-top: 16px; border: 0; background: var(--tile); }
|
||||
progress::-webkit-progress-bar { background: var(--tile); }
|
||||
progress::-webkit-progress-value { background: var(--orange); }
|
||||
progress::-moz-progress-bar { background: var(--orange); }
|
||||
pre { color: var(--dim); font-size: 11px; white-space: pre-wrap; margin-top: 12px; max-height: 160px; overflow: auto; }
|
||||
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0 18px; }
|
||||
.ed { display: inline-block; margin: 8px 0 0; padding: 10px 14px; background: var(--tile); text-decoration: none; }
|
||||
details { margin: 22px 0 0; } summary { cursor: pointer; font-weight: 600; }
|
||||
button#stock-go { font: 600 14px/1 inherit; font-family: inherit; background: var(--tile); color: var(--fg); border: 1px solid var(--line);
|
||||
padding: 12px 16px; cursor: pointer; }
|
||||
button#stock-go:disabled { color: var(--dim); cursor: default; }
|
||||
@media (max-width: 420px) { .tiles { grid-template-columns: repeat(2, 1fr); } .logo svg { width: 170px; } }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<div class="top"><div class="logo"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 760 260" width="760" height="260" role="img" aria-label="SLOOP">
|
||||
<rect width="760" height="260" fill="#000"/>
|
||||
<path d="M59.29 200.71 A100.00 100.00 0 1 1 200.71 200.71" fill="none" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<rect x="95.00" y="46.00" width="10" height="136.00" rx="5" fill="#F2F2F2"/>
|
||||
<polygon points="111.00,50.00 111.00,50.00 131.34,75.00 111.00,75.00" fill="#287CFF"/>
|
||||
<polygon points="111.00,81.00 136.22,81.00 156.56,106.00 111.00,106.00" fill="#1ECC70"/>
|
||||
<polygon points="111.00,112.00 161.44,112.00 181.78,137.00 111.00,137.00" fill="#FFC618"/>
|
||||
<polygon points="111.00,143.00 186.66,143.00 207.00,168.00 111.00,168.00" fill="#FF621A"/>
|
||||
<rect x="66.00" y="192.00" width="128" height="12" rx="6" fill="#F2F2F2"/>
|
||||
<path d="M290.88 130.00 A14.88 15.00 0 1 1 304.37 108.66" fill="none" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<path d="M290.88 130.00 A14.88 15.00 0 1 1 277.39 151.34" fill="none" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<line x1="337.76" y1="68.00" x2="337.76" y2="160.00" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<circle cx="399.76" cy="130.00" r="30.00" fill="none" stroke="#F2F2F2" stroke-width="12"/>
|
||||
<circle cx="489.76" cy="130.00" r="30.00" fill="none" stroke="#F2F2F2" stroke-width="12"/>
|
||||
<circle cx="579.76" cy="130.00" r="30.00" fill="none" stroke="#F2F2F2" stroke-width="12"/>
|
||||
<line x1="549.76" y1="130.00" x2="549.76" y2="196.00" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
</svg>
|
||||
</div><button class="lang" id="lang"></button></div>
|
||||
<div class="strip"><i></i><i></i><i></i><i></i></div>
|
||||
|
||||
|
||||
<h1>Firmware for the M-VAVE FM-1</h1>
|
||||
<p class="lead">A groovebox you play live: four tracks — three synths and a drum machine — 12 synth engines (with six-operator FM and DX7 patches), 153 sounds, 37 drum kits from 808 to techno, amapiano and ambient, your own samples and drum kits, 16 punch-in effects. House, techno, hip-hop, drum & bass, synthwave, lo-fi, ambient: make what you want. No factory patterns, nothing to load: everything you hear, you play.</p>
|
||||
<div class="tiles">
|
||||
<div class="tile" style="--c: var(--blue)"><b>153</b><span>sounds, 12 engines, your samples</span></div>
|
||||
<div class="tile" style="--c: var(--green)"><b>37</b><span>drum kits, 909 to afro, + your own</span></div>
|
||||
<div class="tile" style="--c: var(--yellow)"><b>16</b><span>punch-in fx: hold fx + key</span></div>
|
||||
<div class="tile" style="--c: var(--orange)"><b>rec</b><span>no click: the loop follows you</span></div>
|
||||
</div>
|
||||
<p data-t="intro"></p>
|
||||
<p data-t="warn"></p>
|
||||
<p><button id="go" disabled data-t="install"></button></p>
|
||||
<progress id="bar" max="100" value="0"></progress>
|
||||
<p id="status"></p>
|
||||
<pre id="log"></pre>
|
||||
<a class="ed" href="../editor/" data-t="editor"></a>
|
||||
<hr>
|
||||
<p class="small" data-t="direct"></p>
|
||||
<p class="small" data-t="beta"></p>
|
||||
<p class="small"><span data-t="brick"></span>
|
||||
<a href="https://github.com/kurogedelic/FM-1-transporter" target="_blank" rel="noopener">FM-1-transporter</a></p>
|
||||
<details>
|
||||
<summary data-t="stockTitle"></summary>
|
||||
<p class="small" data-t="stockHelp"></p>
|
||||
<p class="small"><a href="https://www.m-vave.com/download" target="_blank" rel="noopener">www.m-vave.com/download</a></p>
|
||||
<p class="small" data-t="stockBackup"></p>
|
||||
<p><a class="ed" href="../editor/" data-t="stockEditor"></a></p>
|
||||
<p class="small"><label><input id="stock-saved" type="checkbox"> <span data-t="stockSaved"></span></label></p>
|
||||
<p class="small"><label><span data-t="stockFile"></span><br><input id="stock-file" type="file" accept=".fwsc"></label></p>
|
||||
<p><button id="stock-go" disabled data-t="stockGo"></button></p>
|
||||
<p class="small" data-t="back"></p>
|
||||
</details>
|
||||
<p class="small">SLOOP is based on Felucca by Leo Kuroshita (@kurogedelic), <a href="https://hugelton.com" target="_blank" rel="noopener">Hügelton Instruments</a>.
|
||||
Hold OCT− alone while switching on for USB rescue.<br>
|
||||
Font: Terminus (Dimitar Toshkov Zhekov, SIL OFL 1.1). Samples: Versilian Studios VSCO-2 Community Edition and VCSL (CC0 1.0), and the Hügelton Sample Pack (© Hügelton Instruments, not CC0).<br>
|
||||
M-VAVE and FM-1 are trademarks of their respective owners; SLOOP is not affiliated with them.<br>
|
||||
<span data-t="license"></span> <a href="https://github.com/hugelton/Felucca" target="_blank" rel="noopener">github.com/hugelton/Felucca</a></p>
|
||||
</main>
|
||||
<script type="module">
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
// Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
|
||||
//
|
||||
// FM-1 .fwsc packages in the browser: the package identity and the image the
|
||||
// device reads during an update.
|
||||
|
||||
const BLOCKS = 20, BLK = 0x30, KEEP = 0x2F;
|
||||
|
||||
// the package identity ("FM-1_904"): one marker byte after each of the first 20 blocks
|
||||
function productOf(fwsc) {
|
||||
if (fwsc.length < BLOCKS * BLK) throw new Error("not an FM-1 package (too short)");
|
||||
let s = "";
|
||||
for (let i = 0; i < BLOCKS; i++) {
|
||||
const m = fwsc[i * BLK + KEEP];
|
||||
if (m !== 0x7D) s += String.fromCharCode((m - i - 1) & 0xFF);
|
||||
}
|
||||
return s;
|
||||
}
|
||||
|
||||
// the image the device addresses during an update: the .fwsc without the 20 marker bytes
|
||||
function logicalImage(fwsc) {
|
||||
const out = new Uint8Array(fwsc.length - BLOCKS);
|
||||
for (let i = 0; i < BLOCKS; i++) out.set(fwsc.subarray(i * BLK, i * BLK + KEEP), i * KEEP);
|
||||
out.set(fwsc.subarray(BLOCKS * BLK), BLOCKS * KEEP);
|
||||
return out;
|
||||
}
|
||||
|
||||
// The official FM-1 V15 (M-VAVE Downloads -> PC Firmware -> FM-1 V15, FM-1.fwsc), for the return to the
|
||||
// official firmware: only that exact file is accepted (its SHA-256 pins every byte: the loader, the app, the
|
||||
// layout; the name of the file proves nothing). The digest is the one Felucca 1.0 pins.
|
||||
const STOCK_V15_SHA256 = "db1642b2b6fa5c2cccb11ffd13878068bb28601678d3644049f99dc40e7edb8a";
|
||||
const STOCK_V15_SIZE = 699956;
|
||||
const STOCK_V15_PRODUCT = "FM-1_015";
|
||||
|
||||
async function sha256hex(bytes) {
|
||||
const d = await crypto.subtle.digest("SHA-256", bytes);
|
||||
return [...new Uint8Array(d)].map((x) => x.toString(16).padStart(2, "0")).join("");
|
||||
}
|
||||
|
||||
async function validateStockPackage(bytes) {
|
||||
if (bytes.length !== STOCK_V15_SIZE || await sha256hex(bytes) !== STOCK_V15_SHA256 || productOf(bytes) !== STOCK_V15_PRODUCT)
|
||||
throw new Error("select the unmodified official FM-1 V15 file (FM-1.fwsc)");
|
||||
return { product: STOCK_V15_PRODUCT, image: logicalImage(bytes) };
|
||||
}
|
||||
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
// Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments
|
||||
//
|
||||
// The FM-1 USB-MIDI update protocol (M-UPGRADE compatible) over WebMIDI.
|
||||
// Step 1: the running firmware reads parts of the package and stages the update
|
||||
// loader. Step 2: the loader reads the whole image and writes it. In both steps
|
||||
// the device sends cmd 0x30 read requests on the logical image and we answer.
|
||||
|
||||
const HS_QUERY = [0xF0, 0x00, 0x32, 0x45, 0x00, 0x00, 0x00, 0x40, 0x7F, 0xF7];
|
||||
const UPGRADE = [0xF0, 0x22, 0x24, 0x35, 0x7F, 0xF7];
|
||||
const MAXDATA = 512;
|
||||
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
|
||||
const IS_OTA = (id) => /^ota-/i.test(id.model);
|
||||
// the update loader of SLOOP / Felucca packages ("ota-FM-1_9XX"). A device left in the update mode of another
|
||||
// firmware (the stock updater's loader) is never written: its loader may lay the image out differently.
|
||||
const OUR_LOADER = (id) => /^ota-FM-1_9\d\d$/i.test(id.text);
|
||||
|
||||
// errors carry a code the pages translate: notfound, model, stopped, noloader, lost, noreturn,
|
||||
// mismatch (detail: the identity the device reports), badreq, foreign (detail: the loader's identity)
|
||||
function fail(code, msg, detail = "") { const e = new Error(msg); e.code = code; e.detail = detail; return e; }
|
||||
|
||||
function pack7(data) {
|
||||
const out = []; let acc = 0, nb = 0;
|
||||
for (const b of data) {
|
||||
acc |= b << nb; nb += 8;
|
||||
while (nb >= 7) { out.push(acc & 0x7F); acc >>>= 7; nb -= 7; }
|
||||
}
|
||||
if (nb) out.push(acc & 0x7F);
|
||||
return out;
|
||||
}
|
||||
|
||||
function unpack7(s) {
|
||||
const out = []; let acc = 0, nb = 0;
|
||||
for (const b of s) {
|
||||
acc |= (b & 0x7F) << nb; nb += 7;
|
||||
while (nb >= 8) { out.push(acc & 0xFF); acc >>>= 8; nb -= 8; }
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
function response(addr, data, fl = 0) {
|
||||
const len = data.length;
|
||||
const body = [0x00, 0x59, 0x30, (len + 8) & 0xFF, ((len + 8) >> 8) & 0xFF, 0, fl,
|
||||
addr & 0xFF, (addr >>> 8) & 0xFF, (addr >>> 16) & 0xFF, (addr >>> 24) & 0xFF,
|
||||
len & 0xFF, (len >> 8) & 0xFF, 0, ...data];
|
||||
let s = 0;
|
||||
for (let i = 6; i < body.length; i++) s += body[i];
|
||||
body.push(~s & 0xFF);
|
||||
return [0xF0, ...pack7(body), 0xF7];
|
||||
}
|
||||
|
||||
function parseRequest(pkt) {
|
||||
if (pkt[0] !== 0xF0 || pkt[pkt.length - 1] !== 0xF7) return null;
|
||||
const u = unpack7(pkt.slice(1, -1));
|
||||
if (u.length !== 15 || u[0] !== 0 || u[1] !== 0x59 || u[2] !== 0x30) return null;
|
||||
let s = 0;
|
||||
for (let i = 6; i < 14; i++) s += u[i];
|
||||
if ((~s & 0xFF) !== u[14]) return null;
|
||||
return { fl: u[6], addr: (u[7] | (u[8] << 8) | (u[9] << 16) | (u[10] << 24)) >>> 0, len: u[11] | (u[12] << 8) | (u[13] << 16) };
|
||||
}
|
||||
|
||||
function parseIdentity(pkt) {
|
||||
const d = unpack7(pkt.slice(1, -1));
|
||||
if (d.length !== 34 || d[0] !== 0 || d[1] !== 0x59 || d[2] !== 0x11) return null;
|
||||
const txt = String.fromCharCode(...d.slice(6, 33)).replace(/\0+$/, "");
|
||||
const m = /^([^_]+)_(\d+)$/.exec(txt);
|
||||
return m ? { text: txt, model: m[1], version: parseInt(m[2], 10) } : null;
|
||||
}
|
||||
|
||||
// one MIDI in/out pair with a SysEx queue
|
||||
class Link {
|
||||
constructor(input, output) {
|
||||
this.input = input; this.output = output; this.q = []; this.waiter = null;
|
||||
input.onmidimessage = (ev) => {
|
||||
if (ev.data[0] !== 0xF0) return;
|
||||
this.q.push(Array.from(ev.data));
|
||||
if (this.waiter) { const w = this.waiter; this.waiter = null; w(); }
|
||||
};
|
||||
}
|
||||
get lost() { return this.input.state === "disconnected" || this.output.state === "disconnected"; }
|
||||
// false when the port is gone (unplugged): WebMIDI throws on a disconnected output
|
||||
send(bytes) {
|
||||
try { this.output.send(bytes); return true; } catch (_) { return false; }
|
||||
}
|
||||
drain() { this.q.length = 0; }
|
||||
async read(ms) {
|
||||
if (!this.q.length) {
|
||||
let tm;
|
||||
await Promise.race([new Promise((r) => { this.waiter = r; }), new Promise((r) => { tm = setTimeout(r, ms); })]);
|
||||
clearTimeout(tm);
|
||||
this.waiter = null;
|
||||
}
|
||||
return this.q.shift() || null;
|
||||
}
|
||||
close() { this.input.onmidimessage = null; }
|
||||
}
|
||||
|
||||
async function handshake(link, tries = 3) {
|
||||
link.drain();
|
||||
for (let t = 0; t < tries; t++) {
|
||||
if (!link.send(HS_QUERY)) return null;
|
||||
const end = Date.now() + 1000;
|
||||
while (Date.now() < end) {
|
||||
const p = await link.read(end - Date.now());
|
||||
if (!p) break;
|
||||
const id = parseIdentity(p);
|
||||
if (id) return id;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
class Updater {
|
||||
constructor(access, log) {
|
||||
this.access = access;
|
||||
this.log = log || (() => {});
|
||||
}
|
||||
|
||||
// every in/out pair with the same port name that answers the handshake
|
||||
async find(filter) {
|
||||
const outs = [...this.access.outputs.values()];
|
||||
for (const input of this.access.inputs.values()) {
|
||||
if (input.state === "disconnected") continue;
|
||||
if (!/fm-1|felucca|ota|composite|sinco|usb-midi/i.test(input.name || "")) continue; // never probe other gear
|
||||
const output = outs.find((o) => o.name === input.name) || (outs.length === 1 ? outs[0] : null);
|
||||
if (!output) continue;
|
||||
try { await input.open(); await output.open(); } catch (_) { continue; }
|
||||
const link = new Link(input, output);
|
||||
const id = await handshake(link, 2);
|
||||
if (id && (!filter || filter(id))) return { link, id, name: input.name };
|
||||
link.close();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
async waitFor(filter, ms) {
|
||||
const end = Date.now() + ms;
|
||||
while (Date.now() < end) {
|
||||
const dev = await this.find(filter);
|
||||
if (dev) return dev;
|
||||
await sleep(1000);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
// serve read requests until the device asks for one of the finish addresses; stops early
|
||||
// when the port disappears (lost: true) instead of waiting out idleMs
|
||||
async serve(link, image, finishAddr, idleMs, onProgress) {
|
||||
let served = 0, last = Date.now();
|
||||
for (;;) {
|
||||
const pkt = await link.read(1000);
|
||||
if (!pkt) {
|
||||
if (link.lost) return { served, finished: false, lost: true };
|
||||
if (Date.now() - last > idleMs) return { served, finished: false };
|
||||
continue;
|
||||
}
|
||||
const r = parseRequest(pkt);
|
||||
if (!r) continue;
|
||||
last = Date.now();
|
||||
if (r.addr === 0xE0000000 || r.addr === 0xF0000000) {
|
||||
link.send(response(r.addr, [...new TextEncoder().encode("success"), 0]));
|
||||
if (r.addr === finishAddr) return { served, finished: true };
|
||||
continue;
|
||||
}
|
||||
if (r.len > MAXDATA || r.addr + r.len > image.length) throw fail("badreq", `bad request ${r.addr.toString(16)}+${r.len}`);
|
||||
await sleep(10);
|
||||
if (!link.send(response(r.addr, Array.from(image.subarray(r.addr, r.addr + r.len)), r.fl))) {
|
||||
return { served, finished: false, lost: true };
|
||||
}
|
||||
served++;
|
||||
if (onProgress) onProgress(served, r.addr);
|
||||
}
|
||||
}
|
||||
|
||||
// full install: running firmware -> loader -> new firmware
|
||||
async install(image, product, onStep) {
|
||||
const step = onStep || (() => {});
|
||||
const dev = await this.find((id) => !IS_OTA(id));
|
||||
if (!dev) throw fail("notfound", "FM-1 not found (USB cable, and no other app using it?)");
|
||||
const [model] = product.split("_");
|
||||
if (dev.id.model !== model) { dev.link.close(); throw fail("model", `the device is ${dev.id.text}, the package is for ${product}`); }
|
||||
step("start", dev.id.text);
|
||||
dev.link.send(UPGRADE);
|
||||
await sleep(2000);
|
||||
const s1 = await this.serve(dev.link, image, 0xE0000000, 8000, (n) => step("verify", n));
|
||||
dev.link.close();
|
||||
if (!s1.finished) throw fail(s1.lost ? "lost" : "stopped", `the device ${s1.lost ? "was disconnected" : "stopped"} after ${s1.served} requests: nothing was written`);
|
||||
step("loader");
|
||||
await sleep(3000);
|
||||
const ota = await this.waitFor(IS_OTA, 30000);
|
||||
if (!ota) throw fail("noloader", "the update loader did not appear. Replug the USB cable and press Install again: the device stays in update mode until it is finished.");
|
||||
const s2 = await this.write(ota, image, step);
|
||||
if (!s2.finished) throw fail(s2.lost ? "lost" : "stopped", `the loader ${s2.lost ? "was disconnected" : "stopped"} after ${s2.served} requests. Replug and press Install again to resume.`);
|
||||
step("reboot");
|
||||
await sleep(3000);
|
||||
const back = await this.waitFor((id) => !IS_OTA(id), 40000);
|
||||
if (!back) throw fail("noreturn", "the device did not come back: power-cycle it");
|
||||
back.link.close();
|
||||
if (back.id.text !== product) throw fail("mismatch", `installed, but the device reports ${back.id.text}`, back.id.text);
|
||||
step("done", back.id.text);
|
||||
return back.id.text;
|
||||
}
|
||||
|
||||
// step 2 with the loader found by find()/waitFor()
|
||||
async write(ota, image, step) {
|
||||
ota.link.send(UPGRADE);
|
||||
await sleep(2000);
|
||||
const s2 = await this.serve(ota.link, image, 0xF0000000, 180000, (n) => step("write", n));
|
||||
ota.link.close();
|
||||
return s2;
|
||||
}
|
||||
|
||||
// resume: the device is already in update mode (loader) -> true when the write finished. Only SLOOP's
|
||||
// own loader is resumed, except for the return to the official firmware (opts.product: the official
|
||||
// package, its identity checked once the FM-1 is back, after Felucca 1.0): that one is the official
|
||||
// loader's own image, as M-UPGRADE would write it
|
||||
async resume(image, onStep, opts = {}) {
|
||||
const ota = await this.find(IS_OTA);
|
||||
if (!ota) return false;
|
||||
if (!OUR_LOADER(ota.id) && !opts.product) {
|
||||
ota.link.close();
|
||||
throw fail("foreign", `the FM-1 is in the update mode of another firmware (${ota.id.text}): finish that update with its own updater`, ota.id.text);
|
||||
}
|
||||
const step = onStep || (() => {});
|
||||
if (!(await this.write(ota, image, step)).finished) return false;
|
||||
if (opts.product) {
|
||||
step("reboot");
|
||||
await sleep(3000);
|
||||
const back = await this.waitFor((id) => !IS_OTA(id), 40000);
|
||||
if (!back) throw fail("noreturn", "the FM-1 did not come back after the write: power-cycle it");
|
||||
back.link.close();
|
||||
if (back.id.text !== opts.product) throw fail("mismatch", `written, but the FM-1 reports ${back.id.text}`, back.id.text);
|
||||
step("done", back.id.text);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
const $ = (id) => document.getElementById(id);
|
||||
const TEXT = {
|
||||
ja: {
|
||||
intro: "FM-1 を USB で接続してください。(Chrome か Edge で使えます)",
|
||||
warn: "書き込み中は USB を抜かないでください。",
|
||||
install: "インストール", other: "English",
|
||||
editor: "エディタ(インストール後、パソコンから音色やシーケンスを編集)",
|
||||
direct: "USB ケーブルはパソコンに直接つないでください。Probe や Transporter などの機材は不要です。",
|
||||
brick: "万一インストールに失敗して起動しなくなった場合は、復旧に Transporter が必要です:",
|
||||
beta: "これはベータ版で、不安定な場合があります。このカスタムファームウェアを使ったことで FM-1 が壊れたり不具合が起きたりしても、作者は一切の責任を負いません。自己責任でお使いください。",
|
||||
back: "公式ファームウェアに戻すには、M-VAVE 公式のアップデーター M-UPGRADE(Downloads → PC Software → M-UPGRADE)と公式ファームウェア(PC Firmware → FM-1 V15)が必要です。",
|
||||
nomidi: "このブラウザでは使えません。Chrome か Edge で開いてください。", loadfail: "読み込めませんでした: ",
|
||||
start: "開始します", verify: "確認中", loader: "書き込みモードに切り替え中", write: "書き込み中",
|
||||
reboot: "再起動中", done: "完了しました", stopped: "途中で止まりました。USB を挿し直してもう一度押してください。",
|
||||
error: "エラー: ",
|
||||
denied: "MIDI(SysEx)の使用が許可されませんでした。アドレスバーのサイト設定で MIDI を許可して、もう一度押してください。",
|
||||
notfound: "FM-1 が見つかりません。USB ケーブル(データ通信用か)を確かめ、MIDI を使う他のアプリを閉じてから、もう一度押してください。",
|
||||
model: "接続されている機器は FM-1 ではありません。",
|
||||
lost: "USB の接続が切れました。挿し直してもう一度押してください。",
|
||||
noloader: "書き込みモードの FM-1 が見つかりません。USB を挿し直してもう一度押してください(終わるまで書き込みモードのままです)。",
|
||||
noreturn: "FM-1 が戻ってきません。電源を入れ直してください。",
|
||||
mismatch: "書き込みは終わりましたが、FM-1 が別のバージョンを報告しています: ",
|
||||
foreign: "FM-1 は別のファームウェアの書き込みモードです。そのアップデーター(M-UPGRADE)で書き込みを終えてから、もう一度インストールしてください: ",
|
||||
badpkg: "インストールするファイルが壊れています。ページを再読み込みしてください。",
|
||||
leave: "書き込み中です。ページを閉じないでください。",
|
||||
license: "GPL-3.0、無保証。ソース:",
|
||||
stockTitle: "公式ファームウェア(V15)に戻す",
|
||||
stockHelp: "M-VAVE のサイトから公式の FM-1 V15 をダウンロードし、中の FM-1.fwsc(変更していないもの)を選んでください。ファイルはこのブラウザの中で確認され、どこにも送られません。",
|
||||
stockBackup: "公式ファームウェアは SLOOP の曲・プロジェクト・サンプルを開けません。先にエディタでバックアップを保存してください(Projects → Backup)。SLOOP を入れ直せば、エディタから復元できます。",
|
||||
stockEditor: "エディタを開いてバックアップする", stockSaved: "バックアップをパソコンに保存しました",
|
||||
stockFile: "公式の FM-1.fwsc", stockGo: "公式 V15 をインストール",
|
||||
stockValid: "公式 V15 を確認しました", stockBad: "公式 V15 ではありません: ",
|
||||
stockConfirm: "FM-1 に公式 V15 をインストールします。SLOOP の曲は公式ファームウェアでは開けません。バックアップは保存しましたか?",
|
||||
stockFinish: "FM-1 は SLOOP の書き込みモードです。先に「インストール」で SLOOP の書き込みを終えてから、公式 V15 に戻してください。",
|
||||
back: "M-VAVE のアップデーター M-UPGRADE(Downloads → PC Software)でも戻せます。FM-1 が見つからない場合は、MIDI を使う他のアプリとブラウザのタブを閉じてください。",
|
||||
},
|
||||
en: {
|
||||
intro: "Connect the FM-1 by USB. (Works in Chrome or Edge.)",
|
||||
warn: "Do not unplug the USB cable while writing.",
|
||||
install: "Install", other: "日本語",
|
||||
editor: "Editor (after installing: edit sounds and sequences from the computer)",
|
||||
direct: "Connect the USB cable directly to the computer. No probe or Transporter is needed.",
|
||||
brick: "If an install fails and the FM-1 no longer starts, recovering it needs a Transporter:",
|
||||
beta: "This is a beta and may be unstable. The author accepts no responsibility if your FM-1 is damaged or misbehaves because of this custom firmware. Use it at your own risk.",
|
||||
back: "To go back to the official firmware you need M-VAVE's official updater, M-UPGRADE (Downloads → PC Software → M-UPGRADE), and the official firmware (PC Firmware → FM-1 V15).",
|
||||
nomidi: "This browser cannot do it. Open the page in Chrome or Edge.", loadfail: "Could not load: ",
|
||||
start: "Starting", verify: "Verifying", loader: "Switching to update mode", write: "Writing",
|
||||
reboot: "Restarting", done: "Done", stopped: "Stopped. Replug the USB cable and press Install again.",
|
||||
error: "Error: ",
|
||||
denied: "MIDI (SysEx) access was not allowed. Allow MIDI in the site settings (address bar) and press Install again.",
|
||||
notfound: "FM-1 not found. Check the USB cable (a data cable), close other apps that use MIDI, and press Install again.",
|
||||
model: "The connected device is not an FM-1.",
|
||||
lost: "The USB connection was lost. Replug it and press Install again.",
|
||||
noloader: "The FM-1 in update mode was not found. Replug the USB cable and press Install again (it stays in update mode until it is finished).",
|
||||
noreturn: "The FM-1 did not come back. Power-cycle it.",
|
||||
mismatch: "Written, but the FM-1 reports another version: ",
|
||||
foreign: "The FM-1 is in the update mode of another firmware. Finish that update with its own updater (M-UPGRADE), then press Install again: ",
|
||||
badpkg: "The file to install is damaged. Reload the page.",
|
||||
leave: "Writing. Do not close the page.",
|
||||
license: "GPL-3.0, no warranty. Source:",
|
||||
stockTitle: "Return to the official firmware (V15)",
|
||||
stockHelp: "Download the official FM-1 V15 from M-VAVE and select the FM-1.fwsc inside it, unmodified. The file is checked in this browser; it is not sent anywhere.",
|
||||
stockBackup: "The official firmware cannot open SLOOP's music, projects or samples. Save a backup with the editor first (Projects → Backup); reinstall SLOOP and restore it from the editor whenever you want them back.",
|
||||
stockEditor: "Open the editor to back up", stockSaved: "I saved a backup on this computer",
|
||||
stockFile: "The official FM-1.fwsc", stockGo: "Install the official V15",
|
||||
stockValid: "Official V15 verified", stockBad: "Not the official V15: ",
|
||||
stockConfirm: "Install the official V15 on the FM-1? The official firmware cannot open SLOOP's music. Did you save a backup?",
|
||||
stockFinish: "The FM-1 is in SLOOP's update mode. Press Install to finish the SLOOP update first, then return to the official V15.",
|
||||
back: "M-VAVE's own updater, M-UPGRADE (Downloads → PC Software), works too. If it does not find the FM-1, close every other app and browser tab that uses MIDI.",
|
||||
},
|
||||
};
|
||||
let lang = (navigator.language || "en").toLowerCase().startsWith("ja") ? "ja" : "en";
|
||||
const t = (k) => TEXT[lang][k];
|
||||
let lastKey = null, lastArg = "";
|
||||
function applyLang() {
|
||||
document.documentElement.lang = lang;
|
||||
document.querySelectorAll("[data-t]").forEach((e) => { e.textContent = t(e.dataset.t); });
|
||||
$("lang").textContent = t("other");
|
||||
if (lastKey) $("status").textContent = t(lastKey) + lastArg;
|
||||
}
|
||||
$("lang").addEventListener("click", () => { lang = lang === "ja" ? "en" : "ja"; applyLang(); });
|
||||
applyLang();
|
||||
const sayK = (k, arg = "") => { lastKey = k; lastArg = arg; $("status").textContent = t(k) + arg; };
|
||||
const say = (txt) => { lastKey = null; $("status").textContent = txt; };
|
||||
const log = (t) => { $("log").textContent += t + "\n"; };
|
||||
let image = null;
|
||||
const meta = {"version": "2.5", "product": "FM-1_900", "pkg": "../../firmware/sloop-2.5.fwsc", "sha256": "b23f95c40ab9ba9e3f3a1dbfc30f7f693d7ebe323b613c0f87d7b433048c741f"};
|
||||
|
||||
let writing = false, stock = null;
|
||||
const lockAll = (on) => {
|
||||
writing = on;
|
||||
$("go").disabled = on || !image;
|
||||
$("stock-go").disabled = on || !stock || !$("stock-saved").checked;
|
||||
$("stock-file").disabled = on;
|
||||
};
|
||||
window.addEventListener("beforeunload", (e) => { if (writing) { e.preventDefault(); e.returnValue = t("leave"); } });
|
||||
|
||||
(async () => {
|
||||
if (!navigator.requestMIDIAccess) { sayK("nomidi"); return; }
|
||||
try {
|
||||
const r = await fetch(meta.pkg);
|
||||
if (!r.ok) throw new Error(`${meta.pkg}: HTTP ${r.status}`);
|
||||
const pkg = new Uint8Array(await r.arrayBuffer());
|
||||
if (productOf(pkg) !== meta.product) { sayK("badpkg"); return; }
|
||||
if (meta.sha256 && self.crypto && crypto.subtle) { /* a damaged download is never offered (the loader checks its CRC too) */
|
||||
const h = [...new Uint8Array(await crypto.subtle.digest("SHA-256", pkg))].map((b) => b.toString(16).padStart(2, "0")).join("");
|
||||
if (h !== meta.sha256) { sayK("badpkg"); log(`sha256 ${h}, expected ${meta.sha256}`); return; }
|
||||
}
|
||||
image = logicalImage(pkg);
|
||||
say(`SLOOP ${meta.version}`);
|
||||
lockAll(writing);
|
||||
} catch (e) { sayK("loadfail", e.message); }
|
||||
})();
|
||||
|
||||
const total = 74 + 1179; /* reads: step 1, step 2 (head + app area, SLOOP 2.0 loader) */
|
||||
const step = (k, a) => {
|
||||
log(`${k} ${a ?? ""}`);
|
||||
if (k === "start") sayK("start");
|
||||
if (k === "verify") { sayK("verify"); $("bar").value = Math.min(100, (a / total) * 100); }
|
||||
if (k === "loader") sayK("loader");
|
||||
if (k === "write") { sayK("write"); $("bar").value = Math.min(100, ((74 + a) / total) * 100); }
|
||||
if (k === "reboot") sayK("reboot");
|
||||
if (k === "done") { $("bar").value = 100; sayK("done"); }
|
||||
};
|
||||
const failed = (e) => {
|
||||
if (e && e.code && TEXT[lang][e.code]) sayK(e.code, e.detail || "");
|
||||
else sayK("error", e && e.message);
|
||||
log(String(e && e.stack || e));
|
||||
};
|
||||
|
||||
$("go").addEventListener("click", async () => {
|
||||
if (writing) return;
|
||||
lockAll(true);
|
||||
let midi;
|
||||
try { midi = await navigator.requestMIDIAccess({ sysex: true }); }
|
||||
catch (e) { sayK("denied"); lockAll(false); return; }
|
||||
try {
|
||||
const up = new Updater(midi, log);
|
||||
const ota = await up.find((id) => /^ota-/i.test(id.model));
|
||||
if (ota) {
|
||||
ota.link.close();
|
||||
sayK((await up.resume(image, step)) ? "done" : "stopped");
|
||||
} else {
|
||||
await up.install(image, meta.product, step);
|
||||
}
|
||||
} catch (e) { failed(e); }
|
||||
lockAll(false);
|
||||
});
|
||||
|
||||
/* back to the official V15 (after Felucca 1.0): only the exact official file, a backup first (the editor),
|
||||
through the same update path as M-UPGRADE; a device left in the official updater's mode is finished */
|
||||
$("stock-saved").addEventListener("change", () => lockAll(writing));
|
||||
$("stock-file").addEventListener("change", async () => {
|
||||
const f = $("stock-file").files[0];
|
||||
stock = null;
|
||||
lockAll(writing);
|
||||
if (!f) return;
|
||||
try { stock = await validateStockPackage(new Uint8Array(await f.arrayBuffer())); sayK("stockValid"); }
|
||||
catch (e) { sayK("stockBad", e.message); }
|
||||
lockAll(writing);
|
||||
});
|
||||
$("stock-go").addEventListener("click", async () => {
|
||||
if (writing || !stock || !$("stock-saved").checked || !confirm(t("stockConfirm"))) return;
|
||||
lockAll(true);
|
||||
let midi;
|
||||
try { midi = await navigator.requestMIDIAccess({ sysex: true }); }
|
||||
catch (e) { sayK("denied"); lockAll(false); return; }
|
||||
try {
|
||||
const up = new Updater(midi, log);
|
||||
const ota = await up.find((id) => /^ota-/i.test(id.model));
|
||||
if (ota) {
|
||||
ota.link.close();
|
||||
if (OUR_LOADER(ota.id)) sayK("stockFinish"); /* SLOOP's loader: finish SLOOP first (Install) */
|
||||
else sayK((await up.resume(stock.image, step, { product: stock.product })) ? "done" : "stopped");
|
||||
} else {
|
||||
await up.install(stock.image, stock.product, step);
|
||||
}
|
||||
} catch (e) { failed(e); }
|
||||
lockAll(false);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -170,7 +170,9 @@ static inline void hsvf_coef(hsvf_t *c, int32_t cut, int32_t k) /* cut 0..127
|
||||
}
|
||||
static inline int32_t hy_damp(int32_t res) { return 8192 - clamp(res, 0, 127) * 7600 / 127; } /* 2.0 .. 0.145 */
|
||||
|
||||
/* one SVF stage over a buffer: one loop per output (the choice made once a block, not per sample) */
|
||||
/* one SVF stage over a buffer: one loop per output (the choice made once a block, not per sample). Inputs within
|
||||
* +-60000 (the mix is, by construction; hybrid_render bounds a filter's output going into another): with the states
|
||||
* clamped at +-150000 every product fits in 32 bits at any cutoff and resonance (checked over the whole table) */
|
||||
#define HSVF_LOOP(OUT) \
|
||||
for (i = 0; i < n; i++) { \
|
||||
int32_t in = x[i], v3 = in - ic2; \
|
||||
@@ -292,7 +294,7 @@ static int32_t hy_lfo(const hy_lfo_t *L, hy_voice_t *hv, uint32_t k, int32_t rat
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------- oscillators --- */
|
||||
/* the 90s supersaw (after A. Shore's analysis of the JP-8000): seven saws, their offsets at full detune
|
||||
/* the 90s supersaw (after Adam Szabo's analysis of the JP-8000): seven saws, their offsets at full detune
|
||||
* (Q16 of the frequency), the detune curve and the side saws' level against the centre's */
|
||||
static const int32_t SUPER_OFF[HY_SUPER - 1u] = {-7210, -4121, -1279, 1305, 4074, 7042};
|
||||
static int32_t super_detune(uint32_t shape) /* SHP 0..127 -> 0..65536, finer at the low end */
|
||||
@@ -371,7 +373,7 @@ static void hy_osc_run(const hy_osc_t *o, hy_voice_t *hv, uint32_t k, uint32_t i
|
||||
}
|
||||
case HO_SUPER: {
|
||||
int32_t d = super_detune((uint32_t)sh >> 8), dq = d >> 1; /* dq: 0..32768 */
|
||||
/* the centre saw's level falls and the side saws' rises with the detune (Shore's fits, simplified) */
|
||||
/* the centre saw's level falls and the side saws' rises with the detune (Szabo's fits, simplified) */
|
||||
int32_t cg = 32767 - mulq15(dq, 18000), sg = 2000 + mulq15(dq, 16000);
|
||||
uint32_t sinc[HY_SUPER - 1u], j;
|
||||
for (j = 0; j < HY_SUPER - 1u; j++)
|
||||
@@ -711,13 +713,13 @@ static void hybrid_render(track_t *t, voice_t *v, int32_t *out, uint32_t n, cons
|
||||
d[i] += mulq15(buf[k][i], g);
|
||||
}
|
||||
if (ring && P->osc[0].type && P->osc[1].type) {
|
||||
int32_t g = ring >> 2;
|
||||
int32_t g = ring >> 2; /* (the inputs bounded: a SUPER reaches ~2x full scale) */
|
||||
if (!na++)
|
||||
for (i = 0; i < n; i++)
|
||||
a[i] = mulq15(mulq15(buf[0][i], buf[1][i]), g);
|
||||
a[i] = mulq15(mulq15(clamp(buf[0][i], -32767, 32767), clamp(buf[1][i], -32767, 32767)), g);
|
||||
else
|
||||
for (i = 0; i < n; i++)
|
||||
a[i] += mulq15(mulq15(buf[0][i], buf[1][i]), g);
|
||||
a[i] += mulq15(mulq15(clamp(buf[0][i], -32767, 32767), clamp(buf[1][i], -32767, 32767)), g);
|
||||
}
|
||||
if (!na)
|
||||
for (i = 0; i < n; i++)
|
||||
@@ -751,16 +753,25 @@ static void hybrid_render(track_t *t, voice_t *v, int32_t *out, uint32_t n, cons
|
||||
bal = clamp((int32_t)P->fbal * 258 + md[HD_FBAL], 0, 32767);
|
||||
if (P->route == HR_SER) {
|
||||
hy_filter(P->flt[0].type, &fc[0], &fc2[0], a, n, hv->f[0]);
|
||||
hy_filter(P->flt[1].type, &fc[1], &fc2[1], a, n, hv->f[1]);
|
||||
if (P->flt[1].type) {
|
||||
if (P->flt[0].type) /* F1's output into F2: bounded (a resonant PEAK reaches ~5x; every
|
||||
* SVF product stays in 32 bits with inputs within +-60000) */
|
||||
for (i = 0; i < n; i++)
|
||||
a[i] = clamp(a[i], -60000, 60000);
|
||||
hy_filter(P->flt[1].type, &fc[1], &fc2[1], a, n, hv->f[1]);
|
||||
}
|
||||
} else {
|
||||
if (P->route == HR_PAR)
|
||||
for (i = 0; i < n; i++)
|
||||
b[i] = a[i];
|
||||
hy_filter(P->flt[0].type, &fc[0], &fc2[0], a, n, hv->f[0]);
|
||||
hy_filter(P->flt[1].type, &fc[1], &fc2[1], b, n, hv->f[1]);
|
||||
if (P->route == HR_PAR)
|
||||
for (i = 0; i < n; i++)
|
||||
a[i] += mulq15(b[i] - a[i], bal);
|
||||
if (P->route == HR_PAR) /* (resonant outputs reach ~+-300000: bounded, then the balance
|
||||
* at a quarter scale, every product in 32 bits) */
|
||||
for (i = 0; i < n; i++) {
|
||||
int32_t x = clamp(a[i], -65535, 65535), y = clamp(b[i], -65535, 65535);
|
||||
a[i] = x + (mulq15((y - x) >> 2, bal) << 2);
|
||||
}
|
||||
else
|
||||
for (i = 0; i < n; i++)
|
||||
a[i] += b[i];
|
||||
|
||||
@@ -385,7 +385,11 @@ static void mix_part(track_t *t, uint32_t n)
|
||||
int32_t lvl0 = t->lvl ? t->lvl : lvl, dl = (lvl - lvl0) >> CTL_LOG2; /* a new sound's trim: ramped */
|
||||
t->lvl = lvl;
|
||||
for (i = 0; i < n; i++) {
|
||||
#if NVOICE > 8 /* Clipper: 12 / 16 loud voices: one more bit of headroom */
|
||||
int32_t x = ((b[i] >> 3) * (lvl0 + dl * (int32_t)i)) >> 9, a;
|
||||
#else
|
||||
int32_t x = ((b[i] >> 2) * (lvl0 + dl * (int32_t)i)) >> 10, a; /* pre-shift: 8 loud voices */
|
||||
#endif
|
||||
int32_t xs, g = ga + (((gb - ga) * (int32_t)i) >> CTL_LOG2);
|
||||
if (g < 32767)
|
||||
x = (x >> 4) * (g >> 3) >> 8; /* (Q15 in two halves: no 32-bit overflow) */
|
||||
|
||||
@@ -59,7 +59,7 @@ static void recovery_main(void)
|
||||
flash_ok = FL_FAR(fl_jedec_ram)() == 0x856014u;
|
||||
lcd_init();
|
||||
lcd_fill(0, 0, 240, 240, C_BLACK);
|
||||
draw_text_box(0, 64, 240, &FONT_S, "SLOOP USB RESCUE", C_WHITE, 1);
|
||||
draw_text_box(0, 64, 240, &FONT_S, "CLIPPER USB RESCUE", C_WHITE, 1);
|
||||
draw_text_box(0, 96, 240, &FONT_S, "CONNECT USB", C_WHITE, 1);
|
||||
draw_text_box(0, 124, 240, &FONT_S,
|
||||
flash_ok ? "OPEN THE INSTALLER" : "UNKNOWN FLASH", C_WHITE, 1);
|
||||
|
||||
@@ -26,8 +26,8 @@ static void sloop_splash(void)
|
||||
lcd_fill(0, 0, 240, 240, C_BLACK);
|
||||
sloop_logo_draw(10);
|
||||
const char *v = FELUCCA_VERSION;
|
||||
if (v[0] == 'S' && v[1] == 'L' && v[5] == ' ')
|
||||
v += 6; /* "SLOOP 1.0" -> "1.0" under the wordmark */
|
||||
if (v[0] == 'C' && v[1] == 'L' && v[7] == ' ')
|
||||
v += 8; /* "CLIPPER 0.1" -> "0.1" under the wordmark */
|
||||
cv_begin(240, 36, C_BLACK);
|
||||
cv_text(120 - text_w(&FONT_S, v) / 2, 0, &FONT_S, v, RGB(196, 196, 204));
|
||||
cv_text(120 - text_w(&FONT_S, "based on felucca") / 2, 18, &FONT_S, "based on felucca", RGB(96, 96, 104));
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/* Felucca user interface. Four columns map to KNOB 1..4. Rendering is lazy:
|
||||
* every element remembers what it last drew and is redrawn only on change. */
|
||||
#ifndef FELUCCA_VERSION
|
||||
#define FELUCCA_VERSION "SLOOP 2.5" /* the beat machine firmware for the FM-1 (based on Felucca) */
|
||||
#define FELUCCA_VERSION "CLIPPER 0.1" /* the synthesizer firmware for the FM-1 (from SLOOP 2.5, based on Felucca) */
|
||||
#endif
|
||||
static void project_save(uint32_t slot);
|
||||
static void arrangement_save(void);
|
||||
|
||||
@@ -75,17 +75,17 @@ static void draw_menu(void)
|
||||
cv_begin(240, pass ? 95u : 124u, C_BLACK);
|
||||
cv_oy = pass ? -124 : 0;
|
||||
if (ui.menu == 2) {
|
||||
cv_text(4, 4, &FONT_L, "SLOOP", C_WHITE);
|
||||
cv_rect(96, 10, 8, 4, TE_COL[0]), cv_rect(96, 16, 12, 4, TE_COL[1]); /* the sail */
|
||||
cv_rect(96, 22, 16, 4, TE_COL[2]), cv_rect(96, 28, 20, 4, TE_COL[3]);
|
||||
cv_text(4, 36, &FONT_S, "BASED ON FELUCCA", C_AMB);
|
||||
cv_text(4, 4, &FONT_L, "CLIPPER", C_WHITE);
|
||||
cv_rect(128, 22, 6, 6, TE_COL[3]), cv_rect(136, 16, 6, 12, TE_COL[2]); /* the sails */
|
||||
cv_rect(144, 10, 6, 18, TE_COL[1]), cv_rect(152, 4, 6, 24, TE_COL[0]);
|
||||
cv_text(4, 36, &FONT_S, "FROM SLOOP, ON FELUCCA", C_AMB);
|
||||
cv_text(4, 54, &FONT_S, FELUCCA_VERSION, C_HI);
|
||||
cv_text(236 - text_w(&FONT_S, __DATE__), 54, &FONT_S, __DATE__, C_GRAY); /* build date */
|
||||
cv_text(cv_text(4, 72, &FONT_S, "LEO KUROSHITA", C_HI) + 8, 72, &FONT_S, "@KUROGEDELIC", C_AMB);
|
||||
cv_text(4, 88, &FONT_S, "H\xDCGELTON INSTRUMENTS", C_HI); /* Latin-1 U-umlaut */
|
||||
cv_text(4, 104, &FONT_S, "HUGELTON.COM", C_AMB);
|
||||
cv_text(4, 119, &FONT_S, "GPL-3.0, NO WARRANTY", C_HI);
|
||||
cv_text(4, 132, &FONT_S, "GITHUB.COM/ISOD89/SLOOP-FM1", C_AMB); /* (the source of this firmware) */
|
||||
cv_text(4, 132, &FONT_S, "GITHUB.COM/ISOD89/CLIPPER-FM1", C_AMB); /* (the source of this firmware) */
|
||||
cv_text(4, 146, &FONT_S, "FONT: TERMINUS (OFL)", C_DIM);
|
||||
cv_text(4, 159, &FONT_S, "SAMPLES: VERSILIAN (CC0)", C_DIM);
|
||||
cv_text(4, 172, &FONT_S, "+ SONIC PI (CC0)", C_DIM);
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* bands of 120 rows (the canvas holds 124): no cost to the audio. */
|
||||
#define VIS_N 12u
|
||||
static const char *const VIS_NAME[VIS_N] = {"OSCILLOSCOPE", "SPECTRUM", "SPECTROGRAM", "LISSAJOUS", "VU METERS",
|
||||
"CIRCLE", "TAPE", "LCD", "BOUNCE", "ORBIT", "WIRES", "SLOOP"};
|
||||
"CIRCLE", "TAPE", "LCD", "BOUNCE", "ORBIT", "WIRES", "CLIPPER"};
|
||||
/* vis_on, vis_shown_last, vis_name_t: ui_draw.c; vis_style: panel.c (kept with the settings) */
|
||||
#define VIS_FFT 512u
|
||||
#define VIS_SG_W 48u /* spectrogram: 48 columns of 5 px, 72 rows of 3 px */
|
||||
|
||||
@@ -164,14 +164,14 @@ preset/HYBRID/07_WOBBLE 039e5b96189d3d4a
|
||||
preset/HYBRID/08_REESE e7ced6f947cddb22
|
||||
preset/HYBRID/09_HOOVER c4b55b931c8f2fd2
|
||||
preset/HYBRID/10_BRASS 7f2ba0c17620b3e1
|
||||
preset/HYBRID/11_VOX 2ddb4ab2f49a136c
|
||||
preset/HYBRID/11_VOX 5492363158a3b0a0
|
||||
preset/HYBRID/12_PLUCK 75058f10e1771f70
|
||||
preset/HYBRID/13_RISER 2061a4898b138264
|
||||
preset/HYBRID/14_METAL 94a5e710511857c9
|
||||
preset/HYBRID/15_FOLD_BASS 07f0bec5451484a1
|
||||
preset/HYBRID/16_CHIP_LEAD 6626444baf6c21a5
|
||||
preset/HYBRID/17_GLASS_PAD 5d2b6de5246519ed
|
||||
preset/HYBRID/18_DRONE 8bb9f313ed46be64
|
||||
preset/HYBRID/18_DRONE ef5df56c69de0435
|
||||
preset/HYBRID/19_808_SUB eba0fe333cc82d58
|
||||
preset/HYBRID/20_TRANCE b3dc8757a78bd186
|
||||
preset/HYBRID/21_SAW_PLUCK 2e7909679efc6c55
|
||||
|
||||
@@ -20,6 +20,7 @@ def main():
|
||||
ap.add_argument('--skip-generate', action='store_true')
|
||||
ap.add_argument('--slice', choices=['0', '1'], help='FELUCCA_SLICE for the compile (the SLICE engine); '
|
||||
'the BREAK sample follows FELUCCA_SLICE in this process environment (tools/gen_samples.py)')
|
||||
ap.add_argument('--nvoice', choices=['8', '12', '16'], help='NVOICE for the compile (Clipper: the voices; default 8)')
|
||||
args = ap.parse_args()
|
||||
os.chdir(ROOT)
|
||||
import build
|
||||
@@ -31,6 +32,8 @@ def main():
|
||||
src, sdk = linux_path(ROOT), linux_path(args.sdk)
|
||||
code = 'import sys;sys.path.insert(0,"tools");import build;build.generate=lambda:None;sys.exit(build.main())'
|
||||
extra = ['FELUCCA_SLICE=' + args.slice] if args.slice else []
|
||||
if args.nvoice:
|
||||
extra.append('NVOICE=' + args.nvoice)
|
||||
subprocess.run(['wsl', '-d', args.distro, '--cd', src, '--exec', 'env',
|
||||
'JIELI_TOOLCHAIN=' + args.toolchain, 'AC79_SDK=' + sdk, *extra,
|
||||
'python3', '-c', code], check=True)
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
#!/usr/bin/env python3
|
||||
# SPDX-License-Identifier: GPL-3.0-only
|
||||
"""The SLOOP logo: a four-colour sail (the four tracks: blue, green, yellow, orange) on the
|
||||
mast of a 270-degree dial (the knobs of the UI), a hull, and a geometric monoline wordmark.
|
||||
"""The Clipper logo: a three-masted clipper, its square sails in the four track colours (blue, green, yellow,
|
||||
orange) inside a 270-degree dial (the knobs of the UI), a hull, and a geometric monoline wordmark "clipper"
|
||||
(the line of SLOOP's, from which Clipper comes).
|
||||
|
||||
tools/gen_logo.py OUT.h firmware boot splash (RLE, 16-colour palette, RGB565)
|
||||
tools/gen_logo.py --assets DIR sloop-logo.svg, sloop-logo.png, sloop-icon.svg/png, sloop-splash.png
|
||||
tools/gen_logo.py --assets DIR clipper-logo.svg/png, clipper-icon.svg/png, clipper-splash.png
|
||||
"""
|
||||
import math
|
||||
import sys
|
||||
@@ -15,167 +16,145 @@ from PIL import Image, ImageDraw
|
||||
BLUE, GREEN, YELLOW, ORANGE = (40, 124, 255), (30, 204, 112), (255, 198, 24), (255, 98, 26)
|
||||
WHITE, BLACK = (242, 242, 242), (0, 0, 0)
|
||||
HEX = lambda c: "#%02X%02X%02X" % c
|
||||
SAIL = [BLUE, GREEN, YELLOW, ORANGE]
|
||||
|
||||
# ---- geometry (units: the icon is 240 x 240, the wordmark x-height is 72) -------------------
|
||||
ICON = dict(r=106, w=12, mast_dx=-30, top=-80, bot=38, sail_w=96, gap=6, hull=64)
|
||||
XH, SW = 72, 12 # wordmark x-height, stroke
|
||||
XH, SW = 72, 12 # wordmark x-height, stroke (units: the icon is 240 x 240)
|
||||
|
||||
|
||||
def sail_bands(cx, cy, k):
|
||||
g = ICON
|
||||
mx, top, bot = cx + g["mast_dx"] * k, cy + g["top"] * k, cy + g["bot"] * k
|
||||
sx, h, wmax, gap = mx + 11 * k, bot - top, g["sail_w"] * k, g["gap"] * k
|
||||
bh = (h - 3 * gap) / 4
|
||||
out = []
|
||||
for i, c in enumerate(SAIL):
|
||||
y0 = top + i * (bh + gap)
|
||||
y1 = y0 + bh
|
||||
out.append((c, [(sx, y0), (sx + wmax * (y0 - top) / h, y0), (sx + wmax * (y1 - top) / h, y1), (sx, y1)]))
|
||||
return mx, top, bot, out
|
||||
class Pen:
|
||||
"""round-capped strokes and fills, drawn with PIL (k: scale, ox/oy: offset) or written as SVG"""
|
||||
|
||||
def __init__(self, d=None, k=1.0, ox=0.0, oy=0.0):
|
||||
self.d, self.k, self.ox, self.oy, self.svg = d, k, ox, oy, []
|
||||
|
||||
def P(self, x, y):
|
||||
return self.ox + x * self.k, self.oy + y * self.k
|
||||
|
||||
def dot(self, x, y, w, col):
|
||||
if self.d:
|
||||
(X, Y), r = self.P(x, y), w * self.k / 2
|
||||
self.d.ellipse([X - r, Y - r, X + r, Y + r], fill=col)
|
||||
|
||||
def line(self, x0, y0, x1, y1, w=SW, col=WHITE):
|
||||
if self.d:
|
||||
self.d.line([self.P(x0, y0), self.P(x1, y1)], fill=col, width=max(1, round(w * self.k)))
|
||||
self.dot(x0, y0, w, col)
|
||||
self.dot(x1, y1, w, col)
|
||||
else:
|
||||
self.svg.append(f'<line x1="{x0:.2f}" y1="{y0:.2f}" x2="{x1:.2f}" y2="{y1:.2f}" stroke="{HEX(col)}" '
|
||||
f'stroke-width="{w}" stroke-linecap="round"/>')
|
||||
|
||||
def arc(self, cx, cy, r, a0, a1, w=SW, col=WHITE, caps=True):
|
||||
"""an arc of radius r (the stroke's centre line), a0 -> a1 degrees clockwise on screen"""
|
||||
if self.d:
|
||||
(X, Y), R, W = self.P(cx, cy), (r + w / 2) * self.k, max(1, round(w * self.k))
|
||||
self.d.arc([X - R, Y - R, X + R, Y + R], start=a0, end=a1, fill=col, width=W)
|
||||
if caps:
|
||||
for a in (a0, a1):
|
||||
self.dot(cx + r * math.cos(math.radians(a)), cy + r * math.sin(math.radians(a)), w, col)
|
||||
else:
|
||||
p = (cx + r * math.cos(math.radians(a0)), cy + r * math.sin(math.radians(a0)))
|
||||
q = (cx + r * math.cos(math.radians(a1)), cy + r * math.sin(math.radians(a1)))
|
||||
if (a1 - a0) % 360 == 0:
|
||||
self.svg.append(f'<circle cx="{cx:.2f}" cy="{cy:.2f}" r="{r:.2f}" fill="none" stroke="{HEX(col)}" stroke-width="{w}"/>')
|
||||
return
|
||||
large = 1 if (a1 - a0) % 360 > 180 else 0
|
||||
self.svg.append(f'<path d="M{p[0]:.2f} {p[1]:.2f} A{r:.2f} {r:.2f} 0 {large} 1 {q[0]:.2f} {q[1]:.2f}" fill="none" '
|
||||
f'stroke="{HEX(col)}" stroke-width="{w}" stroke-linecap="{"round" if caps else "butt"}"/>')
|
||||
|
||||
def poly(self, pts, col):
|
||||
if self.d:
|
||||
self.d.polygon([self.P(x, y) for x, y in pts], fill=col)
|
||||
else:
|
||||
self.svg.append('<polygon points="' + " ".join(f"{x:.2f},{y:.2f}" for x, y in pts) + f'" fill="{HEX(col)}"/>')
|
||||
|
||||
|
||||
def rrect(d, box, r, fill):
|
||||
"""rounded rectangle (ImageDraw.rounded_rectangle needs Pillow 8.2)"""
|
||||
x0, y0, x1, y1 = box
|
||||
r = min(r, (x1 - x0) / 2, (y1 - y0) / 2)
|
||||
d.rectangle([x0 + r, y0, x1 - r, y1], fill=fill)
|
||||
d.rectangle([x0, y0 + r, x1, y1 - r], fill=fill)
|
||||
for cx, cy in ((x0 + r, y0 + r), (x1 - r, y0 + r), (x0 + r, y1 - r), (x1 - r, y1 - r)):
|
||||
d.ellipse([cx - r, cy - r, cx + r, cy + r], fill=fill)
|
||||
# ---- the icon: the dial, three masts with their sails, the hull ---------------------------------
|
||||
MASTS = [(-46, -58, 3), (0, -84, 4), (46, -58, 3)] # x from the centre, top, tiers of sails
|
||||
SAIL_COLS = [ORANGE, YELLOW, GREEN, BLUE] # from the lowest tier up
|
||||
BOT, HULL = 38, 52
|
||||
|
||||
|
||||
def draw_icon(d, ox, oy, k):
|
||||
g = ICON
|
||||
cx, cy, r, w = ox + 120 * k, oy + 120 * k, g["r"] * k, g["w"] * k
|
||||
d.arc([cx - r, cy - r, cx + r, cy + r], start=135, end=405, fill=WHITE, width=max(1, round(w)))
|
||||
for a in (135, 405):
|
||||
x = cx + (r - w / 2) * math.cos(math.radians(a))
|
||||
y = cy + (r - w / 2) * math.sin(math.radians(a))
|
||||
d.ellipse([x - w / 2, y - w / 2, x + w / 2, y + w / 2], fill=WHITE)
|
||||
mx, top, bot, bands = sail_bands(cx, cy, k)
|
||||
rrect(d, [mx - 5 * k, top - 4 * k, mx + 5 * k, bot + 14 * k], 5 * k, WHITE)
|
||||
for c, poly in bands:
|
||||
d.polygon(poly, fill=c)
|
||||
rrect(d, [cx - g["hull"] * k, bot + 24 * k, cx + g["hull"] * k, bot + 36 * k], 6 * k, WHITE)
|
||||
def icon(pen, ox, oy):
|
||||
cx, cy = ox + 120, oy + 120
|
||||
pen.arc(cx, cy, 100, 135, 405)
|
||||
for dx, top, n in MASTS:
|
||||
mx, y0, y1 = cx + dx, cy + top, cy + BOT
|
||||
pen.line(mx, y0 - 2, mx, y1 + 12, w=8)
|
||||
gap, h = 5, (y1 - y0 - 4 * 5) / 4 # tiers of the same height on every mast
|
||||
for i in range(n): # i = 0 the lowest
|
||||
b = y1 - i * (h + gap)
|
||||
t = b - h
|
||||
wb, wt = 19 - 2.5 * i, 17 - 2.5 * i # half widths: narrower up the mast
|
||||
pen.poly([(mx - wt, t), (mx + wt, t), (mx + wb, b), (mx - wb, b)], SAIL_COLS[i])
|
||||
pen.line(cx - HULL, cy + BOT + 18, cx + HULL, cy + BOT + 18, w=12)
|
||||
pen.line(cx - HULL + 14, cy + BOT + 32, cx + HULL - 14, cy + BOT + 32, w=8)
|
||||
|
||||
|
||||
def word_width(k):
|
||||
rx = 0.29 * XH
|
||||
return (2 * rx + 20 + SW + 20 + 3 * XH + 2 * 18) * k
|
||||
# ---- the wordmark "clipper": circles of the x-height, verticals, round ends -----------------------
|
||||
R = XH / 2 - SW / 2 # the bowls' centre-line radius
|
||||
GAP = 16
|
||||
|
||||
|
||||
def draw_word(d, ox, oy, k, col=WHITE):
|
||||
w, xh = SW * k, XH * k
|
||||
|
||||
def cap(x, y):
|
||||
d.ellipse([x - w / 2, y - w / 2, x + w / 2, y + w / 2], fill=col)
|
||||
|
||||
def line(x0, y0, x1, y1):
|
||||
d.line([(x0, y0), (x1, y1)], fill=col, width=max(1, round(w)))
|
||||
cap(x0, y0)
|
||||
cap(x1, y1)
|
||||
|
||||
base, x = oy + xh, ox
|
||||
ry, rx = (xh + w) / 4, 0.29 * xh
|
||||
b1, b2 = [x, oy, x + 2 * rx, oy + 2 * ry], [x, base - 2 * ry, x + 2 * rx, base]
|
||||
d.arc(b1, start=90, end=335, fill=col, width=max(1, round(w)))
|
||||
d.arc(b2, start=270, end=515, fill=col, width=max(1, round(w)))
|
||||
for b, a in ((b1, 335), (b2, 155)):
|
||||
cx, cy, a = (b[0] + b[2]) / 2, (b[1] + b[3]) / 2, math.radians(a)
|
||||
cap(cx + (rx - w / 2) * math.cos(a), cy + (ry - w / 2) * math.sin(a))
|
||||
x += 2 * rx + 20 * k
|
||||
line(x + w / 2, oy - 32 * k, x + w / 2, base - w / 2)
|
||||
x += w + 20 * k
|
||||
R = xh / 2
|
||||
for _ in range(3):
|
||||
d.ellipse([x, oy, x + 2 * R, oy + 2 * R], outline=col, width=max(1, round(w)))
|
||||
if _ < 2:
|
||||
x += 2 * R + 18 * k
|
||||
line(x + w / 2, oy + R, x + w / 2, base + 36 * k)
|
||||
def word_width():
|
||||
return word(Pen(), 0, 0) # (a dry run: where the r ends)
|
||||
|
||||
|
||||
def render(kind, W, H, k, bg=BLACK, ss=4):
|
||||
im = Image.new("RGB", (W * ss, H * ss), bg)
|
||||
def word(pen, ox, oy):
|
||||
x, mid, base, w = ox, oy + XH / 2, oy + XH, SW
|
||||
pen.arc(x + XH / 2, mid, R, 40, 320) # c
|
||||
x += XH + GAP
|
||||
pen.line(x + w / 2, oy - 32 + w / 2, x + w / 2, base - w / 2) # l
|
||||
x += w + GAP
|
||||
pen.line(x + w / 2, oy + w / 2, x + w / 2, base - w / 2) # i
|
||||
pen.dot(x + w / 2, oy - 22, w * 1.1, WHITE) if pen.d else pen.svg.append(
|
||||
f'<circle cx="{x + w / 2:.2f}" cy="{oy - 22:.2f}" r="{w * 0.55:.2f}" fill="{HEX(WHITE)}"/>')
|
||||
x += w + GAP
|
||||
for _ in range(2): # p p
|
||||
pen.arc(x + XH / 2, mid, R, 0, 360, caps=False)
|
||||
pen.line(x + w / 2, mid, x + w / 2, base + 36 - w / 2)
|
||||
x += XH + GAP
|
||||
pen.arc(x + XH / 2, mid, R, 40, 360) # e: the bowl open at the lower right, its bar
|
||||
pen.line(x + w / 2, mid, x + XH - w / 2, mid)
|
||||
x += XH + GAP
|
||||
pen.line(x + w / 2, oy + w / 2, x + w / 2, base - w / 2) # r
|
||||
pen.arc(x + w / 2 + R, mid, R, 180, 290)
|
||||
return x + w / 2 + 2 * R * 0.95 - ox
|
||||
|
||||
|
||||
def render(kind, W, H, k, ss=4):
|
||||
im = Image.new("RGB", (W * ss, H * ss), BLACK)
|
||||
d = ImageDraw.Draw(im)
|
||||
K = k * ss
|
||||
if kind == "h": # icon + wordmark side by side
|
||||
draw_icon(d, 10 * K, (H * ss - 240 * K) / 2, K)
|
||||
draw_word(d, 270 * K, H * ss / 2 - 36 * K, K)
|
||||
elif kind == "v": # icon over the wordmark (the boot splash)
|
||||
draw_icon(d, (W * ss - 240 * K) / 2, 0, K)
|
||||
draw_word(d, (W * ss - word_width(K)) / 2, 262 * K, K)
|
||||
if kind == "h": # icon + wordmark side by side
|
||||
icon(Pen(d, K, 10 * K, (H * ss - 240 * K) / 2), 0, 0)
|
||||
word(Pen(d, K, 270 * K, H * ss / 2 - 36 * K), 0, 0)
|
||||
elif kind == "v": # icon over the wordmark (the boot splash)
|
||||
icon(Pen(d, K, (W * ss - 240 * K) / 2, 0), 0, 0)
|
||||
word(Pen(d, K, (W * ss - word_width() * K) / 2, 270 * K), 0, 0)
|
||||
else:
|
||||
draw_icon(d, (W * ss - 240 * K) / 2, (H * ss - 240 * K) / 2, K)
|
||||
icon(Pen(d, K, (W * ss - 240 * K) / 2, (H * ss - 240 * K) / 2), 0, 0)
|
||||
return im.resize((W, H), Image.LANCZOS)
|
||||
|
||||
|
||||
# ---- SVG (stroke centred on the path) ---------------------------------------------------------
|
||||
def svg_icon(ox, oy):
|
||||
g, k = ICON, 1.0
|
||||
cx, cy, w = ox + 120, oy + 120, g["w"]
|
||||
r = g["r"] - w / 2
|
||||
a0, a1 = math.radians(135), math.radians(405)
|
||||
p0 = (cx + r * math.cos(a0), cy + r * math.sin(a0))
|
||||
p1 = (cx + r * math.cos(a1), cy + r * math.sin(a1))
|
||||
s = [f'<path d="M{p0[0]:.2f} {p0[1]:.2f} A{r:.2f} {r:.2f} 0 1 1 {p1[0]:.2f} {p1[1]:.2f}" fill="none" '
|
||||
f'stroke="{HEX(WHITE)}" stroke-width="{w}" stroke-linecap="round"/>']
|
||||
mx, top, bot, bands = sail_bands(cx, cy, k)
|
||||
s.append(f'<rect x="{mx - 5:.2f}" y="{top - 4:.2f}" width="10" height="{bot + 14 - top + 4:.2f}" rx="5" fill="{HEX(WHITE)}"/>')
|
||||
for c, poly in bands:
|
||||
s.append('<polygon points="' + " ".join(f"{x:.2f},{y:.2f}" for x, y in poly) + f'" fill="{HEX(c)}"/>')
|
||||
s.append(f'<rect x="{cx - g["hull"]:.2f}" y="{bot + 24:.2f}" width="{2 * g["hull"]}" height="12" rx="6" fill="{HEX(WHITE)}"/>')
|
||||
return s
|
||||
|
||||
|
||||
def svg_word(ox, oy):
|
||||
w, xh, col = SW, XH, HEX(WHITE)
|
||||
base, x = oy + xh, ox
|
||||
ry, rx = (xh + w) / 4 - w / 2, 0.29 * xh - w / 2
|
||||
c1 = (x + 0.29 * xh, oy + (xh + w) / 4)
|
||||
c2 = (x + 0.29 * xh, base - (xh + w) / 4)
|
||||
|
||||
def pt(c, a):
|
||||
a = math.radians(a)
|
||||
return c[0] + rx * math.cos(a), c[1] + ry * math.sin(a)
|
||||
s = []
|
||||
# top bowl 90 -> 335 (clockwise on screen), bottom bowl 270 -> 515
|
||||
for c, a, b in ((c1, 90, 335), (c2, 270, 515)):
|
||||
p, q = pt(c, a), pt(c, b)
|
||||
large = 1 if (b - a) > 180 else 0
|
||||
s.append(f'<path d="M{p[0]:.2f} {p[1]:.2f} A{rx:.2f} {ry:.2f} 0 {large} 1 {q[0]:.2f} {q[1]:.2f}" fill="none" '
|
||||
f'stroke="{col}" stroke-width="{w}" stroke-linecap="round"/>')
|
||||
x += 2 * 0.29 * xh + 20
|
||||
s.append(f'<line x1="{x + w / 2:.2f}" y1="{oy - 32 + w / 2:.2f}" x2="{x + w / 2:.2f}" y2="{base - w / 2:.2f}" '
|
||||
f'stroke="{col}" stroke-width="{w}" stroke-linecap="round"/>')
|
||||
x += w + 20
|
||||
R = xh / 2
|
||||
for i in range(3):
|
||||
s.append(f'<circle cx="{x + R:.2f}" cy="{oy + R:.2f}" r="{R - w / 2:.2f}" fill="none" stroke="{col}" stroke-width="{w}"/>')
|
||||
if i < 2:
|
||||
x += 2 * R + 18
|
||||
s.append(f'<line x1="{x + w / 2:.2f}" y1="{oy + R:.2f}" x2="{x + w / 2:.2f}" y2="{base + 36 - w / 2:.2f}" '
|
||||
f'stroke="{col}" stroke-width="{w}" stroke-linecap="round"/>')
|
||||
return s
|
||||
|
||||
|
||||
def svg(kind):
|
||||
pen = Pen()
|
||||
if kind == "h":
|
||||
W, H = 760, 260
|
||||
body = svg_icon(10, 10) + svg_word(270, H / 2 - 36)
|
||||
W, H = 270 + word_width() + 20, 260
|
||||
icon(pen, 10, 10)
|
||||
sub = Pen()
|
||||
word(sub, 270, H / 2 - 36)
|
||||
pen.svg += sub.svg
|
||||
else:
|
||||
W, H = 240, 240
|
||||
body = svg_icon(0, 0)
|
||||
return (f'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 {W} {H}" width="{W}" height="{H}" role="img" '
|
||||
f'aria-label="SLOOP">\n<rect width="{W}" height="{H}" fill="#000"/>\n' + "\n".join(body) + "\n</svg>\n")
|
||||
icon(pen, 0, 0)
|
||||
return (f'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 {W:.0f} {H}" width="{W:.0f}" height="{H}" role="img" '
|
||||
f'aria-label="Clipper">\n<rect width="{W:.0f}" height="{H}" fill="#000"/>\n' + "\n".join(pen.svg) + "\n</svg>\n")
|
||||
|
||||
|
||||
# ---- firmware splash ---------------------------------------------------------------------------
|
||||
SPLASH_W, SPLASH_H = 240, 188
|
||||
# the scale: the icon (240), the gap (22), the wordmark's x-height (72), the p's descender (36) and its round
|
||||
# end (6): 376 units in SPLASH_H rows. At 0.56 (before 2.4) the p's tail ran past row 188 and was cut
|
||||
SPLASH_K = 0.5
|
||||
assert (262 + 72 + 36 + 6) * SPLASH_K <= SPLASH_H, "the wordmark's p must fit the splash"
|
||||
SPLASH_K = 0.44
|
||||
assert (270 + 72 + 36 + 6) * SPLASH_K <= SPLASH_H, "the wordmark's p must fit the splash"
|
||||
assert word_width() * SPLASH_K <= SPLASH_W - 4, "the wordmark must fit the splash"
|
||||
|
||||
|
||||
def rgb565(c):
|
||||
@@ -205,7 +184,8 @@ def splash_header(path):
|
||||
j += 1
|
||||
rle.append(((j - i - 1) << 4) | px[i])
|
||||
i = j
|
||||
L = ["/* generated by tools/gen_logo.py: the SLOOP boot splash */", "#pragma once", "#include <stdint.h>",
|
||||
# (the names stay SLOOP_*: firmware/src/splash.c reads them)
|
||||
L = ["/* generated by tools/gen_logo.py: the Clipper boot splash */", "#pragma once", "#include <stdint.h>",
|
||||
f"#define SLOOP_SPLASH_W {SPLASH_W}", f"#define SLOOP_SPLASH_H {SPLASH_H}",
|
||||
"static const uint16_t SLOOP_SPLASH_PAL[16] = {" + ", ".join(f"0x{rgb565(c):04X}" for c in cols) + "};",
|
||||
f"static const uint8_t SLOOP_SPLASH_RLE[{len(rle)}] = {{"]
|
||||
@@ -219,11 +199,12 @@ def splash_header(path):
|
||||
def assets(out):
|
||||
out = Path(out)
|
||||
out.mkdir(parents=True, exist_ok=True)
|
||||
(out / "sloop-logo.svg").write_text(svg("h"))
|
||||
(out / "sloop-icon.svg").write_text(svg("i"))
|
||||
render("h", 1520, 520, 2.0).save(out / "sloop-logo.png")
|
||||
render("i", 512, 512, 512 / 240).save(out / "sloop-icon.png")
|
||||
render("v", SPLASH_W, SPLASH_H, SPLASH_K).resize((SPLASH_W * 2, SPLASH_H * 2), Image.NEAREST).save(out / "sloop-splash.png")
|
||||
(out / "clipper-logo.svg").write_text(svg("h"))
|
||||
(out / "clipper-icon.svg").write_text(svg("i"))
|
||||
W = int(270 + word_width() + 20)
|
||||
render("h", W * 2, 520, 2.0).save(out / "clipper-logo.png")
|
||||
render("i", 512, 512, 512 / 240).save(out / "clipper-icon.png")
|
||||
render("v", SPLASH_W, SPLASH_H, SPLASH_K).resize((SPLASH_W * 2, SPLASH_H * 2), Image.NEAREST).save(out / "clipper-splash.png")
|
||||
print(f"logo: assets in {out}")
|
||||
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>SLOOP Editor</title>
|
||||
<title>Clipper Editor</title>
|
||||
<style>
|
||||
/* SLOOP 2.4 editor: the FM-1's screen on a big display. Black, the four track colours, the device's own
|
||||
Terminus pixel font (tools/gen_webfont.py, inlined: the editor also runs from file://), 16 px and 32 px only
|
||||
@@ -440,22 +440,36 @@
|
||||
<body>
|
||||
<div class="app">
|
||||
<aside class="side">
|
||||
<a class="brand" href="#sound" aria-label="SLOOP">
|
||||
<svg viewBox="44 24 572 186" role="img" aria-hidden="true">
|
||||
<a class="brand" href="#sound" aria-label="Clipper">
|
||||
<svg viewBox="20 20 731 220" role="img" aria-hidden="true">
|
||||
<path d="M59.29 200.71 A100.00 100.00 0 1 1 200.71 200.71" fill="none" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<rect x="95" y="46" width="10" height="136" rx="5" fill="#F2F2F2"/>
|
||||
<polygon points="111,50 111,50 131.34,75 111,75" fill="#287CFF"/>
|
||||
<polygon points="111,81 136.22,81 156.56,106 111,106" fill="#1ECC70"/>
|
||||
<polygon points="111,112 161.44,112 181.78,137 111,137" fill="#FFC618"/>
|
||||
<polygon points="111,143 186.66,143 207,168 111,168" fill="#FF621A"/>
|
||||
<rect x="66" y="192" width="128" height="12" rx="6" fill="#F2F2F2"/>
|
||||
<path d="M290.88 130 A14.88 15 0 1 1 304.37 108.66" fill="none" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<path d="M290.88 130 A14.88 15 0 1 1 277.39 151.34" fill="none" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<line x1="337.76" y1="68" x2="337.76" y2="160" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<circle cx="399.76" cy="130" r="30" fill="none" stroke="#F2F2F2" stroke-width="12"/>
|
||||
<circle cx="489.76" cy="130" r="30" fill="none" stroke="#F2F2F2" stroke-width="12"/>
|
||||
<circle cx="579.76" cy="130" r="30" fill="none" stroke="#F2F2F2" stroke-width="12"/>
|
||||
<line x1="549.76" y1="130" x2="549.76" y2="196" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<line x1="84.00" y1="70.00" x2="84.00" y2="180.00" stroke="#F2F2F2" stroke-width="8" stroke-linecap="round"/>
|
||||
<polygon points="67.00,149.00 101.00,149.00 103.00,168.00 65.00,168.00" fill="#FF621A"/>
|
||||
<polygon points="69.50,125.00 98.50,125.00 100.50,144.00 67.50,144.00" fill="#FFC618"/>
|
||||
<polygon points="72.00,101.00 96.00,101.00 98.00,120.00 70.00,120.00" fill="#1ECC70"/>
|
||||
<line x1="130.00" y1="44.00" x2="130.00" y2="180.00" stroke="#F2F2F2" stroke-width="8" stroke-linecap="round"/>
|
||||
<polygon points="113.00,142.50 147.00,142.50 149.00,168.00 111.00,168.00" fill="#FF621A"/>
|
||||
<polygon points="115.50,112.00 144.50,112.00 146.50,137.50 113.50,137.50" fill="#FFC618"/>
|
||||
<polygon points="118.00,81.50 142.00,81.50 144.00,107.00 116.00,107.00" fill="#1ECC70"/>
|
||||
<polygon points="120.50,51.00 139.50,51.00 141.50,76.50 118.50,76.50" fill="#287CFF"/>
|
||||
<line x1="176.00" y1="70.00" x2="176.00" y2="180.00" stroke="#F2F2F2" stroke-width="8" stroke-linecap="round"/>
|
||||
<polygon points="159.00,149.00 193.00,149.00 195.00,168.00 157.00,168.00" fill="#FF621A"/>
|
||||
<polygon points="161.50,125.00 190.50,125.00 192.50,144.00 159.50,144.00" fill="#FFC618"/>
|
||||
<polygon points="164.00,101.00 188.00,101.00 190.00,120.00 162.00,120.00" fill="#1ECC70"/>
|
||||
<line x1="78.00" y1="186.00" x2="182.00" y2="186.00" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<line x1="92.00" y1="200.00" x2="168.00" y2="200.00" stroke="#F2F2F2" stroke-width="8" stroke-linecap="round"/>
|
||||
<path d="M328.98 149.28 A30.00 30.00 0 1 1 328.98 110.72" fill="none" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<line x1="364.00" y1="68.00" x2="364.00" y2="160.00" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<line x1="392.00" y1="100.00" x2="392.00" y2="160.00" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<circle cx="392.00" cy="72.00" r="6.60" fill="#F2F2F2"/>
|
||||
<circle cx="450.00" cy="130.00" r="30.00" fill="none" stroke="#F2F2F2" stroke-width="12"/>
|
||||
<line x1="420.00" y1="130.00" x2="420.00" y2="196.00" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<circle cx="538.00" cy="130.00" r="30.00" fill="none" stroke="#F2F2F2" stroke-width="12"/>
|
||||
<line x1="508.00" y1="130.00" x2="508.00" y2="196.00" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<path d="M648.98 149.28 A30.00 30.00 0 1 1 656.00 130.00" fill="none" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<line x1="596.00" y1="130.00" x2="656.00" y2="130.00" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<line x1="684.00" y1="100.00" x2="684.00" y2="160.00" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
<path d="M684.00 130.00 A30.00 30.00 0 0 1 724.26 101.81" fill="none" stroke="#F2F2F2" stroke-width="12" stroke-linecap="round"/>
|
||||
</svg>
|
||||
<span>editor</span>
|
||||
</a>
|
||||
@@ -708,7 +722,7 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<footer>SLOOP, based on Felucca by Leo Kuroshita (@kurogedelic), <a href="https://hugelton.com" target="_blank" rel="noopener">Hügelton Instruments</a>. GPL-3.0.<br>
|
||||
<footer>Clipper, from SLOOP, based on Felucca by Leo Kuroshita (@kurogedelic), <a href="https://hugelton.com" target="_blank" rel="noopener">Hügelton Instruments</a>. GPL-3.0.<br>
|
||||
<span data-t="foot"></span> M-VAVE and FM-1 are trademarks of their respective owners.<br>
|
||||
<a href="FUKIAI-LICENSE.txt" data-t="iconsCredit"></a> · <span data-t="fontCredit"></span></footer>
|
||||
</main>
|
||||
@@ -1747,7 +1761,7 @@ async function backupCapture(rq, info, progress = () => {}) {
|
||||
}
|
||||
/* a backup file -> {id: Uint8Array}; every object checked against its length and CRC */
|
||||
function backupObjects(file) {
|
||||
if (!file || file.format !== BK.FORMAT || !(file.version >= 1) || !Array.isArray(file.objects)) throw new BackupError("bkBad", "not a SLOOP backup");
|
||||
if (!file || file.format !== BK.FORMAT || !(file.version >= 1) || !Array.isArray(file.objects)) throw new BackupError("bkBad", "not a Clipper / SLOOP backup");
|
||||
const m = new Map();
|
||||
for (const o of file.objects) {
|
||||
const d = b64dec(o.data || "");
|
||||
@@ -2501,7 +2515,7 @@ function makeMockDevice(opt = {}) {
|
||||
b(0);
|
||||
break;
|
||||
case CMD.INFO:
|
||||
s(opt.legacy ? "FELUCCA 0.4 BETA (MOCK)" : opt.v3 ? "FELUCCA 0.8 (MOCK)" : "FELUCCA SLOOP 2.0 (MOCK)"); b(ENG.length); b(P_COUNT); b(G_COUNT); b(NSTEP); b(P_E0);
|
||||
s(opt.legacy ? "FELUCCA 0.4 BETA (MOCK)" : opt.v3 ? "FELUCCA 0.8 (MOCK)" : (opt.clipper ? "FELUCCA CLIPPER 0.1 (MOCK)" : "FELUCCA SLOOP 2.0 (MOCK)")); b(ENG.length); b(P_COUNT); b(G_COUNT); b(NSTEP); b(P_E0);
|
||||
ENG.forEach((e) => s(e.name));
|
||||
if (!opt.legacy) b(NTRK);
|
||||
if (v5) b(opt.noBackup ? 5 : opt.v7 ? 7 : opt.v8 ? 8 : opt.v9 ? 9 : opt.clipper ? 11 : 10); /* v10: SYN kits (v9: FM6 patches, v8: fill conditions, v7: nudges and locks, v6: backup) */
|
||||
@@ -3612,7 +3626,7 @@ const TEXT = {
|
||||
foot: "Chrome か Edge で使えます。", iconsCredit: "アイコン: Fukiai(MIT)Hügelton Instruments",
|
||||
nomidi: "このブラウザでは使えません。Chrome か Edge で開いてください。",
|
||||
denied: "MIDI(SysEx)の使用が許可されませんでした。",
|
||||
nodevice: "SLOOP が見つかりません。USB で接続して、もう一度押してください。",
|
||||
nodevice: "Clipper が見つかりません。USB で接続して、もう一度押してください。",
|
||||
connecting: "接続中", reading: "読み込み中 ", steploading: "ステップを読み込み中 ",
|
||||
ready: "接続しました", disconnected: "切断されました", lost: "FM-1 が外されました",
|
||||
noreply: "応答がありません", error: "エラー: ", busy: "処理中",
|
||||
@@ -3660,7 +3674,7 @@ const TEXT = {
|
||||
putDone: "本体に書き込みました: スロット ", storedSlot: "本体に保存しました: スロット ", erasedSlot: "消去しました: スロット ",
|
||||
loadedUser: "読み込みました: ", reloaded: "本体で音色が変わったので読み直しました", readingBank: "スロットを読み込み中",
|
||||
badEngine: "このファームウェアにないエンジンです: ", flashFail: "書き込みに失敗しました(rc {rc})",
|
||||
installer: "SLOOP インストーラー",
|
||||
installer: "Clipper インストーラー",
|
||||
tabSeq: "シーケンサー", tabTracks: "トラック", tabSettings: "設定",
|
||||
navTrack: "トラック", navSounds: "サウンド", navDevice: "本体", tabKits: "ドラムキット", fm1: "FM-1",
|
||||
stepList: "ステップ一覧(音名を入力)", stepsOf: "{n} ステップ", fontCredit: "フォント: Terminus(SIL OFL 1.1)",
|
||||
@@ -3691,7 +3705,7 @@ const TEXT = {
|
||||
bkTitle: "バックアップ", bkHelp: "FM-1 の中身をすべて 1 つのファイルに保存します: 今の曲、プロジェクト 1〜4(ソングのセクション A〜D)、ユーザープリセット、FM6 の音色バンク、サンプル USR1〜4、設定(色、キャリブレーション、ソング、ライト)。復元すると、本体はファイルの状態に戻ります(今の内容は上書きされます)。",
|
||||
bkSave: "バックアップを保存", bkLoad: "ファイルから復元", bkSaving: "バックアップ中 ", bkSaved: "バックアップを保存しました",
|
||||
bkRestoring: "復元中 ", bkRestored: "復元しました", bkConfirm: "FM-1 の今の内容をすべてこのバックアップで置き換えます。続けますか?",
|
||||
bkBad: "SLOOP のバックアップファイルではないか、壊れています: ", bkStop: "FM-1 の再生を止めてから、もう一度復元してください。",
|
||||
bkBad: "Clipper のバックアップファイルではないか、壊れています: ", bkStop: "FM-1 の再生を止めてから、もう一度復元してください。",
|
||||
bkStale: "本体の内容が途中で変わりました。もう一度バックアップしてください: ", bkRead: "読み取りエラー: ", bkWrite: "書き込みエラー: ", bkRc4: "フラッシュがありません",
|
||||
system: "システム", firmware: "ファームウェア", sync: "同期", tracksN: "トラック", stepsN: "ステップ数", enginesL: "エンジン",
|
||||
smpSlots: "サンプルスロット", userBank: "ユーザープリセット", none: "なし",
|
||||
@@ -3714,7 +3728,7 @@ const TEXT = {
|
||||
fm6CartTick: "バンクに入れる", fm6Cart: "カートリッジをバンクに保存({n} 音色 → {b})", fm6CartFirst: "最初の {n}", fm6CartNone: "なし",
|
||||
fm6CartFull: "バンクは最大", fm6CartAsk: "{x} の {n} 音色を {b} に保存します(バンクの残りはそのまま)。よろしいですか?",
|
||||
fm6CartOver: "そのうち {k} スロットは使用中で、置き換えられます。", fm6CartStop: "ソングを止めてから保存してください",
|
||||
fm6CartDone: "バンクに保存しました:", fm6CartOld: "この FM-1 のファームウェアではできません(SLOOP 2.4 以降)",
|
||||
fm6CartDone: "バンクに保存しました:", fm6CartOld: "この FM-1 のファームウェアではできません(新しいファームウェアが必要です)",
|
||||
fm6UpWhere: "ユーザープリセットにも追加(FM-1 の PRESETS / SELECT で名前から選べます):", fm6UpNone: "しない(PTCH で選ぶ)",
|
||||
fm6UpFree: "する: 空きスロットに(空き {k})", fm6UpFrom: "する: {u} から",
|
||||
fm6UpAsk: "ユーザープリセット {n} 個を {u} に作ります(各音色の名前で、FM6 の PTCH がそのスロットに)。",
|
||||
@@ -3739,7 +3753,7 @@ const TEXT = {
|
||||
kitNotePair: "{x}: キットを USR3 と USR4 の 2 スロットに分けて入れます(自動)。USR1 と USR2 は楽器(SAMPLE)用に空いたまま。",
|
||||
kitNoteOne: "{x}: キット全体を 1 スロットに(約 7 秒)。他のスロットは楽器用に空いたまま。",
|
||||
kitReplaces: "今の中身を置き換えます: {x}",
|
||||
kitNo4: "このファームウェアには USR4 がありません(SLOOP 2.4 以降)。",
|
||||
kitNo4: "このファームウェアには USR4 がありません(新しいファームウェアが必要です)。",
|
||||
kitStep3: "FM-1 に送る",
|
||||
kitWhereFM1: "FM-1 では: トラック 4(ドラム)→ KIT = {x}。保存したプロジェクトもこのキットを覚えています。",
|
||||
smpIntro: "FM-1 に入れる自分の音。スロットは 4 つ(USR1〜USR4)、各約 7 秒。スロットには楽器(トラック 1〜3 の SAMPLE エンジンで鳴らす)か、ドラムキット(「ドラムキット」ページで作る)が入ります。",
|
||||
@@ -3766,10 +3780,10 @@ const TEXT = {
|
||||
smpPlaying: "トラック",
|
||||
smpFull: "1 スロット 16 ファイルまで",
|
||||
chopSendBelow: "送信は下の 3 で。",
|
||||
/* SLOOP 2.5: DRUM SYNTH */
|
||||
/* Clipper 2.5: DRUM SYNTH */
|
||||
tabDrumSynth: "ドラムシンセ", dsTitle: "ドラムシンセ",
|
||||
dsHelp: "自分のシンセドラムキット SYN1〜SYN4(ドラムトラックの KIT の最後)。音を選び、値を変えると FM-1 ですぐ鳴ります。「FM-1 に保存」でフラッシュに残ります(ソングを止めて)。値をダブルクリック: 元のキットの値に戻す。",
|
||||
dsOld: "この FM-1 のファームウェアにはドラムシンセがありません(SLOOP 2.5 以降)。",
|
||||
dsOld: "この FM-1 のファームウェアにはドラムシンセがありません(新しいファームウェアが必要です)。",
|
||||
dsFrom: "元のキット:", dsCopy: "コピー", dsBits: "CRUSH", dsHoldS: "S&H", dsOff: "OFF",
|
||||
dsStore: "FM-1 に保存", dsUse: "ドラムトラックで使う", dsSave: "ファイルに保存", dsOpen: "ファイルを開く",
|
||||
dsPlay: "鳴らす", dsAuto: "変えたら鳴らす",
|
||||
@@ -3777,8 +3791,8 @@ const TEXT = {
|
||||
dsNotStored: "まだ保存していません", dsStored: "保存済み",
|
||||
dsBad: "FM-1 が受け付けませんでした", dsCopyAsk: "{k} を {x} のコピーにします。よろしいですか?", dsCopied: "コピーしました:",
|
||||
dsStop: "ソングを止めてから保存してください", dsFlash: "フラッシュに書けませんでした", dsSaved: "FM-1 に保存しました",
|
||||
dsFileBad: "SLOOP のドラムシンセキットではありません", dsOpenAsk: "{x} を {k} に読み込みます。よろしいですか?", dsOpened: "読み込みました:",
|
||||
/* SLOOP 2.5: length, piano roll, MIDI files, song */
|
||||
dsFileBad: "Clipper のドラムシンセキットではありません", dsOpenAsk: "{x} を {k} に読み込みます。よろしいですか?", dsOpened: "読み込みました:",
|
||||
/* Clipper 2.5: length, piano roll, MIDI files, song */
|
||||
lenLabel: "長さ(ステップ)", viewGrid: "グリッド", viewRoll: "ピアノロール",
|
||||
midiExport: "MIDI 書き出し", midiImportBtn: "MIDI 読み込み",
|
||||
rollLen: "音の長さ", rollUp: "オクターブ上", rollDown: "オクターブ下",
|
||||
@@ -3802,7 +3816,7 @@ const TEXT = {
|
||||
songAdd: "追加", songSum: "{n} / {max} 項目、{bars} 小節", songLoop: "最後まで来たら:",
|
||||
songLoopOff: "止まる", songLoopOn: "最初に戻る", songRead: "FM-1 から読む", songSend: "FM-1 に送る",
|
||||
songUp: "上へ", songDown: "下へ", songDel: "削除",
|
||||
songOld: "この FM-1 のファームウェアではソングを読めません(SLOOP 2.5 以降)。",
|
||||
songOld: "この FM-1 のファームウェアではソングを読めません(新しいファームウェアが必要です)。",
|
||||
songBad: "このソングは送れません(16 項目、1〜64 小節まで)", songRefused: "ソングを止めてから送ってください",
|
||||
songSent: "ソングを FM-1 に送りました",
|
||||
},
|
||||
@@ -3818,7 +3832,7 @@ const TEXT = {
|
||||
foot: "Works in Chrome or Edge.", iconsCredit: "Icons: Fukiai (MIT), Hügelton Instruments",
|
||||
nomidi: "This browser cannot do it. Open the page in Chrome or Edge.",
|
||||
denied: "MIDI (SysEx) access was not allowed.",
|
||||
nodevice: "SLOOP not found. Connect the FM-1 by USB and press Connect again.",
|
||||
nodevice: "Clipper not found. Connect the FM-1 by USB and press Connect again.",
|
||||
connecting: "Connecting", reading: "Reading ", steploading: "Reading steps ",
|
||||
ready: "Connected", disconnected: "Disconnected", lost: "The FM-1 was unplugged",
|
||||
noreply: "No reply from the device", error: "Error: ", busy: "Busy",
|
||||
@@ -3866,7 +3880,7 @@ const TEXT = {
|
||||
putDone: "Written to the device: slot ", storedSlot: "Stored on the device: slot ", erasedSlot: "Erased slot ",
|
||||
loadedUser: "Loaded ", reloaded: "The sound changed on the device: read again", readingBank: "Reading the slots",
|
||||
badEngine: "This firmware has no such engine: ", flashFail: "Write failed (rc {rc})",
|
||||
installer: "SLOOP installer",
|
||||
installer: "Clipper installer",
|
||||
tabSeq: "Sequencer", tabTracks: "Tracks", tabSettings: "Settings",
|
||||
navTrack: "Track", navSounds: "Sounds", navDevice: "Device", tabKits: "Drum kit", fm1: "FM-1",
|
||||
stepList: "Step list (type note names)", stepsOf: "{n} steps", fontCredit: "Font: Terminus (SIL OFL 1.1)",
|
||||
@@ -3877,7 +3891,7 @@ const TEXT = {
|
||||
kitUsed: "{s} s of {t} s", kitOver: "too long",
|
||||
kitEmptyPad: "Drop a WAV here\nor click", kitTune: "Pitch", kitGain: "Gain", kitLen: "Length",
|
||||
kitPlay: "Play", kitRemove: "Remove", kitNone: "Put a sound on a pad first.", kitSent: "Kit sent to ",
|
||||
kitUsing: "Drum track KIT: ", kitNoKit: "This firmware's drum track has no USR kits (SLOOP 2.4 and later).",
|
||||
kitUsing: "Drum track KIT: ", kitNoKit: "This firmware's drum track has no USR kits (a newer firmware).",
|
||||
kitConfirm: "Replace {x} with this kit?", kitAssigned: "Sorted: ",
|
||||
kitFull: "All 16 pads are taken", kitLoaded: "ZIP opened: ",
|
||||
needDevice: "Connect the FM-1 to edit.", smpNone: "This firmware has no user sample slots.",
|
||||
@@ -3897,7 +3911,7 @@ const TEXT = {
|
||||
bkTitle: "Backup", bkHelp: "Everything on the FM-1 in one file: the music you are working on, the projects 1–4 (the song sections A–D), the user presets, the FM6 patch bank, the samples USR1–USR4 and the settings (colours, calibration, the song, the lights). Restoring puts the FM-1 back as it was in the file (what is on it now is replaced).",
|
||||
bkSave: "Save a backup", bkLoad: "Restore from a file", bkSaving: "Backing up ", bkSaved: "Backup saved",
|
||||
bkRestoring: "Restoring ", bkRestored: "Restored", bkConfirm: "Replace everything on the FM-1 with this backup?",
|
||||
bkBad: "Not a SLOOP backup, or damaged: ", bkStop: "Stop the FM-1 (PLAY), then restore again.",
|
||||
bkBad: "Not a Clipper backup, or damaged: ", bkStop: "Stop the FM-1 (PLAY), then restore again.",
|
||||
bkStale: "The FM-1 changed during the backup; back up again: ", bkRead: "Read error: ", bkWrite: "Write error: ", bkRc4: "No flash",
|
||||
system: "System", firmware: "Firmware", sync: "Sync", tracksN: "Tracks", stepsN: "Steps", enginesL: "Engines",
|
||||
smpSlots: "Sample slots", userBank: "User presets", none: "none",
|
||||
@@ -3920,7 +3934,7 @@ const TEXT = {
|
||||
fm6CartTick: "Put in the bank", fm6Cart: "Store cartridge in bank ({n} → {b})", fm6CartFirst: "First {n}", fm6CartNone: "None",
|
||||
fm6CartFull: "The bank holds at most", fm6CartAsk: "Store {n} voice(s) of {x} in {b}? The rest of the bank stays as it is.",
|
||||
fm6CartOver: "Slots already in use (their patch will be replaced): {k}.", fm6CartStop: "Stop the song first, then store",
|
||||
fm6CartDone: "Stored in the bank:", fm6CartOld: "This FM-1's firmware cannot do it (SLOOP 2.4 or later)",
|
||||
fm6CartDone: "Stored in the bank:", fm6CartOld: "This FM-1's firmware cannot do it (a newer firmware)",
|
||||
fm6UpWhere: "Also add them to the user presets (pick them by name with PRESETS / SELECT on the FM-1):", fm6UpNone: "No (pick them with PTCH)",
|
||||
fm6UpFree: "Yes, in the free slots ({k} free)", fm6UpFrom: "Yes, from {u}",
|
||||
fm6UpAsk: "Also {n} user preset(s) in {u}, named after the voices (FM6, PTCH on their slot).",
|
||||
@@ -3945,7 +3959,7 @@ const TEXT = {
|
||||
kitNotePair: "{x}: the kit is shared out over the two slots USR3 and USR4 by itself. USR1 and USR2 stay free for your instruments (SAMPLE).",
|
||||
kitNoteOne: "{x}: the whole kit in one slot (about 7 s). The other slots stay free for instruments.",
|
||||
kitReplaces: "It replaces what is there now: {x}",
|
||||
kitNo4: "This firmware has no USR4 (SLOOP 2.4 and later).",
|
||||
kitNo4: "This firmware has no USR4 (a newer firmware).",
|
||||
kitStep3: "Send it to the FM-1",
|
||||
kitWhereFM1: "On the FM-1: track 4 (drums) → KIT = {x}. A project you save remembers the kit.",
|
||||
smpIntro: "Your own sounds on the FM-1. Four slots (USR1–USR4) of about 7 s each. A slot holds an instrument, played by a synth track with the SAMPLE engine, or a drum kit (made on the Drum kit page).",
|
||||
@@ -3972,10 +3986,10 @@ const TEXT = {
|
||||
smpPlaying: "Track",
|
||||
smpFull: "A slot takes 16 files at most",
|
||||
chopSendBelow: "Sending: step 3 below.",
|
||||
/* SLOOP 2.5: DRUM SYNTH */
|
||||
/* Clipper 2.5: DRUM SYNTH */
|
||||
tabDrumSynth: "Drum synth", dsTitle: "Drum synth",
|
||||
dsHelp: "Your own synthesised drum kits, SYN1 to SYN4 (the last kits of the drum track's KIT). Pick a sound, change its values: the FM-1 plays it at once. Store on the FM-1 keeps them in flash (stop the song first). Double-click a value: back to the kit it started from.",
|
||||
dsOld: "This FM-1's firmware has no drum synth (SLOOP 2.5 or later).",
|
||||
dsOld: "This FM-1's firmware has no drum synth (a newer firmware).",
|
||||
dsFrom: "Start from:", dsCopy: "Copy", dsBits: "CRUSH", dsHoldS: "S&H", dsOff: "OFF",
|
||||
dsStore: "Store on the FM-1", dsUse: "Use on the drum track", dsSave: "Save file", dsOpen: "Open file",
|
||||
dsPlay: "Play", dsAuto: "Play on change",
|
||||
@@ -3983,8 +3997,8 @@ const TEXT = {
|
||||
dsNotStored: "not stored yet", dsStored: "stored",
|
||||
dsBad: "The FM-1 refused it", dsCopyAsk: "Make {k} a copy of {x}?", dsCopied: "Copied:",
|
||||
dsStop: "Stop the song first, then store", dsFlash: "Could not write the flash", dsSaved: "Stored on the FM-1",
|
||||
dsFileBad: "Not a SLOOP drum synth kit", dsOpenAsk: "Load {x} into {k}?", dsOpened: "Loaded:",
|
||||
/* SLOOP 2.5: length, piano roll, MIDI files, song */
|
||||
dsFileBad: "Not a Clipper drum synth kit", dsOpenAsk: "Load {x} into {k}?", dsOpened: "Loaded:",
|
||||
/* Clipper 2.5: length, piano roll, MIDI files, song */
|
||||
lenLabel: "Length (steps)", viewGrid: "Grid", viewRoll: "Piano roll",
|
||||
midiExport: "Export MIDI", midiImportBtn: "Import MIDI",
|
||||
rollLen: "Note length", rollUp: "Octave up", rollDown: "Octave down",
|
||||
@@ -4008,7 +4022,7 @@ const TEXT = {
|
||||
songAdd: "Add", songSum: "{n} of {max} entries, {bars} bars", songLoop: "At the end:",
|
||||
songLoopOff: "stop", songLoopOn: "start again", songRead: "Read from the FM-1", songSend: "Send to the FM-1",
|
||||
songUp: "Up", songDown: "Down", songDel: "Remove",
|
||||
songOld: "This FM-1's firmware cannot share its song (SLOOP 2.5 or later).",
|
||||
songOld: "This FM-1's firmware cannot share its song (a newer firmware).",
|
||||
songBad: "This song cannot be sent (16 entries, 1–64 bars each)", songRefused: "Stop the song first, then send",
|
||||
songSent: "Song sent to the FM-1",
|
||||
},
|
||||
@@ -4168,7 +4182,7 @@ async function connect() {
|
||||
sayK("connecting");
|
||||
try {
|
||||
if (!access) {
|
||||
if (MOCK) { mock = makeMockDevice({ legacy: QS.get("legacy") === "1", clipper: QS.get("clipper") === "1" }); access = mock.access; }
|
||||
if (MOCK) { mock = makeMockDevice({ legacy: QS.get("legacy") === "1", clipper: QS.get("clipper") !== "0" }); access = mock.access; }
|
||||
else {
|
||||
try { access = await navigator.requestMIDIAccess({ sysex: true }); }
|
||||
catch (e) { sayK("denied"); return; }
|
||||
@@ -4958,7 +4972,7 @@ function midiExport() {
|
||||
const len = stepLen(), div = curDiv(), tr = dev.sel || 0, drum = isDrum();
|
||||
const notes = drum && drumGrid() && dev.dstepsOk ? SMF.fromDrums(dev.dsteps, len, div) : SMF.fromSteps(dev.steps, len, div);
|
||||
if (!notes.length) { sayK("midiEmpty"); return; }
|
||||
downloadBytes(`sloop-track${tr + 1}.mid`, SMF.write(notes, { bpm: gBpm(), ch: drum ? 9 : tr, name: `SLOOP track ${tr + 1}` }));
|
||||
downloadBytes(`clipper-track${tr + 1}.mid`, SMF.write(notes, { bpm: gBpm(), ch: drum ? 9 : tr, name: `Clipper track ${tr + 1}` }));
|
||||
sayK("midiSaved", String(notes.length));
|
||||
}
|
||||
let MI = null; /* the file being imported: {name, smf, src} */
|
||||
@@ -7555,7 +7569,7 @@ $("fm6bankexp").addEventListener("click", () => op(async () => {
|
||||
const r = parse[CMD.FM6_GET](await rq(req.fm6Get(FM6.TARGET.BANK, k)));
|
||||
out.push(r.rc ? null : FM6.unpack(r.packed));
|
||||
}
|
||||
downloadBytes(`sloop-fm6-bank-${today()}.syx`, FM6.bankSysex(out));
|
||||
downloadBytes(`clipper-fm6-bank-${today()}.syx`, FM6.bankSysex(out));
|
||||
sayK("fm6Exported");
|
||||
}));
|
||||
/* ---------------------------------------------------------------- HYBRID --- */
|
||||
@@ -7720,7 +7734,7 @@ function bkReport(e) {
|
||||
$("bk-save").addEventListener("click", () => op(async () => {
|
||||
try {
|
||||
const arc = await backupCapture(rq, dev.info, bkProgress("bkSaving"));
|
||||
download(`SLOOP-backup-${today()}.json`, arc);
|
||||
download(`Clipper-backup-${today()}.json`, arc);
|
||||
sayK("bkSaved");
|
||||
} catch (e) { bkReport(e); } finally { $("bk-prog").hidden = true; }
|
||||
}));
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>SLOOP installer</title>
|
||||
<title>Clipper installer</title>
|
||||
<style>
|
||||
:root { --bg: #000; --fg: #f2f2f2; --dim: #8a8a92; --tile: #16161a; --line: #2a2a30;
|
||||
--blue: #287cff; --green: #1ecc70; --yellow: #ffc618; --orange: #ff621a; --red: #ff2c34; }
|
||||
@@ -86,10 +86,10 @@
|
||||
<p><button id="stock-go" disabled data-t="stockGo"></button></p>
|
||||
<p class="small" data-t="back"></p>
|
||||
</details>
|
||||
<p class="small">SLOOP is based on Felucca by Leo Kuroshita (@kurogedelic), <a href="https://hugelton.com" target="_blank" rel="noopener">Hügelton Instruments</a>.
|
||||
<p class="small">Clipper comes from SLOOP and is based on Felucca by Leo Kuroshita (@kurogedelic), <a href="https://hugelton.com" target="_blank" rel="noopener">Hügelton Instruments</a>.
|
||||
Hold OCT− alone while switching on for USB rescue.<br>
|
||||
Font: Terminus (Dimitar Toshkov Zhekov, SIL OFL 1.1). Samples: Versilian Studios VSCO-2 Community Edition and VCSL (CC0 1.0), and the Hügelton Sample Pack (© Hügelton Instruments, not CC0).<br>
|
||||
M-VAVE and FM-1 are trademarks of their respective owners; SLOOP is not affiliated with them.<br>
|
||||
M-VAVE and FM-1 are trademarks of their respective owners; Clipper is not affiliated with them.<br>
|
||||
<span data-t="license"></span> <a href="https://github.com/hugelton/Felucca" target="_blank" rel="noopener">github.com/hugelton/Felucca</a></p>
|
||||
</main>
|
||||
<script type="module">
|
||||
@@ -122,12 +122,12 @@ const TEXT = {
|
||||
license: "GPL-3.0、無保証。ソース:",
|
||||
stockTitle: "公式ファームウェア(V15)に戻す",
|
||||
stockHelp: "M-VAVE のサイトから公式の FM-1 V15 をダウンロードし、中の FM-1.fwsc(変更していないもの)を選んでください。ファイルはこのブラウザの中で確認され、どこにも送られません。",
|
||||
stockBackup: "公式ファームウェアは SLOOP の曲・プロジェクト・サンプルを開けません。先にエディタでバックアップを保存してください(Projects → Backup)。SLOOP を入れ直せば、エディタから復元できます。",
|
||||
stockBackup: "公式ファームウェアは Clipper の曲・プロジェクト・サンプルを開けません。先にエディタでバックアップを保存してください(Projects → Backup)。Clipper を入れ直せば、エディタから復元できます。",
|
||||
stockEditor: "エディタを開いてバックアップする", stockSaved: "バックアップをパソコンに保存しました",
|
||||
stockFile: "公式の FM-1.fwsc", stockGo: "公式 V15 をインストール",
|
||||
stockValid: "公式 V15 を確認しました", stockBad: "公式 V15 ではありません: ",
|
||||
stockConfirm: "FM-1 に公式 V15 をインストールします。SLOOP の曲は公式ファームウェアでは開けません。バックアップは保存しましたか?",
|
||||
stockFinish: "FM-1 は SLOOP の書き込みモードです。先に「インストール」で SLOOP の書き込みを終えてから、公式 V15 に戻してください。",
|
||||
stockConfirm: "FM-1 に公式 V15 をインストールします。Clipper の曲は公式ファームウェアでは開けません。バックアップは保存しましたか?",
|
||||
stockFinish: "FM-1 は Clipper の書き込みモードです。先に「インストール」で Clipper の書き込みを終えてから、公式 V15 に戻してください。",
|
||||
back: "M-VAVE のアップデーター M-UPGRADE(Downloads → PC Software)でも戻せます。FM-1 が見つからない場合は、MIDI を使う他のアプリとブラウザのタブを閉じてください。",
|
||||
},
|
||||
en: {
|
||||
@@ -156,12 +156,12 @@ const TEXT = {
|
||||
license: "GPL-3.0, no warranty. Source:",
|
||||
stockTitle: "Return to the official firmware (V15)",
|
||||
stockHelp: "Download the official FM-1 V15 from M-VAVE and select the FM-1.fwsc inside it, unmodified. The file is checked in this browser; it is not sent anywhere.",
|
||||
stockBackup: "The official firmware cannot open SLOOP's music, projects or samples. Save a backup with the editor first (Projects → Backup); reinstall SLOOP and restore it from the editor whenever you want them back.",
|
||||
stockBackup: "The official firmware cannot open Clipper's music, projects or samples. Save a backup with the editor first (Projects → Backup); reinstall Clipper and restore it from the editor whenever you want them back.",
|
||||
stockEditor: "Open the editor to back up", stockSaved: "I saved a backup on this computer",
|
||||
stockFile: "The official FM-1.fwsc", stockGo: "Install the official V15",
|
||||
stockValid: "Official V15 verified", stockBad: "Not the official V15: ",
|
||||
stockConfirm: "Install the official V15 on the FM-1? The official firmware cannot open SLOOP's music. Did you save a backup?",
|
||||
stockFinish: "The FM-1 is in SLOOP's update mode. Press Install to finish the SLOOP update first, then return to the official V15.",
|
||||
stockConfirm: "Install the official V15 on the FM-1? The official firmware cannot open Clipper's music. Did you save a backup?",
|
||||
stockFinish: "The FM-1 is in Clipper's update mode. Press Install to finish the Clipper update first, then return to the official V15.",
|
||||
back: "M-VAVE's own updater, M-UPGRADE (Downloads → PC Software), works too. If it does not find the FM-1, close every other app and browser tab that uses MIDI.",
|
||||
},
|
||||
};
|
||||
@@ -203,7 +203,7 @@ window.addEventListener("beforeunload", (e) => { if (writing) { e.preventDefault
|
||||
if (h !== meta.sha256) { sayK("badpkg"); log(`sha256 ${h}, expected ${meta.sha256}`); return; }
|
||||
}
|
||||
image = logicalImage(pkg);
|
||||
say(`SLOOP ${meta.version}`);
|
||||
say(`Clipper ${meta.version}`);
|
||||
lockAll(writing);
|
||||
} catch (e) { sayK("loadfail", e.message); }
|
||||
})();
|
||||
@@ -266,7 +266,7 @@ $("stock-go").addEventListener("click", async () => {
|
||||
const ota = await up.find((id) => /^ota-/i.test(id.model));
|
||||
if (ota) {
|
||||
ota.link.close();
|
||||
if (OUR_LOADER(ota.id)) sayK("stockFinish"); /* SLOOP's loader: finish SLOOP first (Install) */
|
||||
if (OUR_LOADER(ota.id)) sayK("stockFinish"); /* Clipper's loader: finish Clipper first (Install) */
|
||||
else sayK((await up.resume(stock.image, step, { product: stock.product })) ? "done" : "stopped");
|
||||
} else {
|
||||
await up.install(stock.image, stock.product, step);
|
||||
|
||||
@@ -47,15 +47,15 @@ def main(pkg, version, out):
|
||||
html = (HERE / "index_pkg.html").read_text(encoding="utf-8")
|
||||
lib = strip_module((HERE / "fm1pkg.js").read_text(encoding="utf-8")) + "\n" + \
|
||||
strip_module((HERE / "fm1ota.js").read_text(encoding="utf-8"))
|
||||
name = f"sloop-{re.sub(r'[^A-Za-z0-9.-]', '-', version)}.fwsc"
|
||||
name = f"clipper-{re.sub(r'[^A-Za-z0-9.-]', '-', version)}.fwsc"
|
||||
meta = json.dumps({"version": version, "product": product, "pkg": "../../firmware/" + name,
|
||||
"sha256": hashlib.sha256(raw).hexdigest()}) # the page checks the download against it
|
||||
for mark in ("/*LIB*/", "/*META*/"):
|
||||
if html.count(mark) != 1:
|
||||
raise SystemExit(f"index_pkg.html must contain {mark} once; update make_site.py")
|
||||
html = html.replace("/*LIB*/", lib).replace("/*META*/", meta)
|
||||
logo = HERE.parent / "assets" / "logo" / "sloop-logo.svg" # the SLOOP logo, inline
|
||||
html = html.replace("<!--LOGO-->", logo.read_text(encoding="utf-8") if logo.exists() else "<b>SLOOP</b>")
|
||||
logo = HERE.parent / "assets" / "logo" / "clipper-logo.svg" # the Clipper logo, inline
|
||||
html = html.replace("<!--LOGO-->", logo.read_text(encoding="utf-8") if logo.exists() else "<b>Clipper</b>")
|
||||
inst, ed, fw = out / "webapp" / "installer", out / "webapp" / "editor", out / "firmware"
|
||||
for d in (inst, ed, fw):
|
||||
d.mkdir(parents=True, exist_ok=True)
|
||||
@@ -70,7 +70,7 @@ def main(pkg, version, out):
|
||||
notes = HERE / "beta_banner.html"
|
||||
banner = notes.read_text(encoding="utf-8") if notes.exists() else "<p><b>BETA</b></p>"
|
||||
html = html.replace("<!--BANNER-->", banner)
|
||||
for old in list(fw.glob("felucca-*.fwsc")) + list(fw.glob("sloop-*.fwsc")): # one package: the current one
|
||||
for old in list(fw.glob("felucca-*.fwsc")) + list(fw.glob("sloop-*.fwsc")) + list(fw.glob("clipper-*.fwsc")): # one package: the current one
|
||||
old.unlink()
|
||||
(inst / "index.html").write_text(html, encoding="utf-8")
|
||||
shutil.copy(pkg, fw / name)
|
||||
@@ -79,9 +79,9 @@ def main(pkg, version, out):
|
||||
if (HERE / f).exists():
|
||||
shutil.copy(HERE / f, ed / f)
|
||||
(out / "index.html").write_text(
|
||||
'<!doctype html><meta charset="utf-8"><title>SLOOP</title>'
|
||||
'<!doctype html><meta charset="utf-8"><title>Clipper</title>'
|
||||
'<meta http-equiv="refresh" content="0; url=webapp/installer/">'
|
||||
'<a href="webapp/installer/">SLOOP installer</a>\n', encoding="utf-8")
|
||||
'<a href="webapp/installer/">Clipper installer</a>\n', encoding="utf-8")
|
||||
print(f"site: {out}: webapp/installer ({len(html)} B), webapp/editor, firmware/{name} ({len(raw)} B, {product})")
|
||||
|
||||
|
||||
|
||||