diff --git a/GUIDE.md b/GUIDE.md index 3f7f6c8..a7b26df 100644 --- a/GUIDE.md +++ b/GUIDE.md @@ -154,9 +154,9 @@ The layers are **FX** (punch-in effects), **EDIT** (erase), **ARP** (note repeat | **LFO** | LFO pages (LFO, LFO DEST) | — | | **FX** | FX pages (FX, FILTER, SLICER, DLY, REV/CHO) | punch-in layer | | **SEL** | SEL pages (SEL, SEL 2) | key / chord layer | -| **EDIT** | EDIT pages (EDIT 1, EDIT 2, VOICE, VOICE 2) · on TRACKS with the drum track: the **DRUMS** screen · on DRUMS: grid ↔ kit · on the STEP page: clear the step | erase layer | +| **EDIT** | EDIT pages (EDIT 1, EDIT 2, VOICE, VOICE 2) · on TRACKS with the drum track: the **DRUMS** screen · on DRUMS: grid ↔ kit · on the NOTES page: delete the note | erase layer | | **ARP** | ARP pages (ARP, ARP 2) | note-repeat layer | -| **SEQ** | SEQ pages (STEP, PATTERN, SONG) · on TRACKS with the drum track: the **DRUMS** screen · on DRUMS: grid ↔ kit | step layer | +| **SEQ** | SEQ pages (STEP, PATTERN, SONG) · with the drum track: the **DRUMS** screen (2.7.1: from any page; it opened STEP from ARP's) · on DRUMS: grid ↔ kit | step layer | | **GLO** | GLO pages (GLOBAL, MASTER, SYSTEM, DRUMS) | mix layer | | **OCT− / OCT+** | synth track: octave down / up (−3 … +3) · both together: octave 0 | drum track: **ghost** (OCT−) / **hard** (OCT+) hits while held | | **ALGORITHM** | select track 1–4, on every screen (inside a layer it waits; not during a free take, on the SONG screen or in the menu) | — | @@ -198,7 +198,7 @@ The layers are **FX** (punch-in effects), **EDIT** (erase), **ARP** (note repeat ### Velocity and levels -The FM-1's keys have no velocity: on the drum track every hit has one of four **levels** — **GHOST**, **SOFT**, **NORM** (as played), **HARD** — chosen with OCT− / OCT+ as you play, or later in the step sequencer. On synth tracks a step can carry an **accent** (STEP page, FLAG). +The FM-1's keys have no velocity: on the drum track every hit has one of four **levels** — **GHOST**, **SOFT**, **NORM** (as played), **HARD** — chosen with OCT− / OCT+ as you play, or later in the step sequencer. On synth tracks a note has a **FORCE** too, and a step an **accent** (NOTES page, KNOB 4). --- @@ -240,12 +240,13 @@ Open it with **EDIT** or **SEQ** tapped on the TRACKS screen while the drum trac | Control | Does | | --- | --- | -| KNOB 1 **sound** | picks the sound (lane) — you hear it | -| KNOB 2 **step** | moves to a step — you hear what it holds | +| KNOB 1 **sound** | picks the sound (lane); (2.7.1) heard only with MENU → SEQ → **DRUM PREVIEW ON** (OFF by default, quiet for live) | +| KNOB 2 **step** | moves to a step (DRUM PREVIEW ON: you hear what it holds) | | KNOB 3 **hit** | right: a hit of that sound on that step (NORM) · left: clear it | | KNOB 4 **level** | the hit's level up / down (GHOST, SOFT, NORM, HARD) | -| **white keys** | the 16 steps of the sound KNOB 1 picks: press to set the step (you hear it), again to clear it; the keys light that sound's steps | -| **first four black keys** | the page of steps: 1–16, 17–32, 33–48, 49–64 | +| **white keys** | the 16 steps of the sound picked: press to set the step, again to clear it (2.7.1: silent, the pattern plays it); the keys light that sound's steps | +| **black keys** (2.7.1) | pick the sound, silently: F#3 KICK / KICK 2 · G#3 SNARE / SNARE 2 · A#3 RIM · C#4 CLAP · D#4 HAT / PEDAL · F#4 OPEN HAT · G#4 LOW TOM / HI TOM · A#4 CRASH · C#5 RIDE · D#5 SHAKER / CONGA · F#5 COWBELL (the same key again: the other sound of its pair); the black key of the sound picked is lit | +| **OCT− / OCT+** (2.7.1) | the page of steps: 1–16, 17–32, 33–48, 49–64 (round; up to the track's length). Up to 2.7: the first four black keys | | **PRESETS** | the kit | | **SAVE** | the SONG screen | | **HOME** | back to TRACKS | @@ -270,7 +271,7 @@ While the song plays in song mode, the grid's hit and level knobs wait (*STOP TH ## 8. Recording -SLOOP records live and layers every pass on top of the last (overdub). Notes go to the nearest step **as you heard it**: the ~12 ms between a key and its sound are taken back, so what you play on the beat lands on the beat. Chords are kept on the synth tracks whose VOICE is POLY (up to 4 notes a step; a MONO, LEGATO or UNISON sound, as most basses and leads, plays and records one note at a time); held notes become ties. The TRACKS page draws one mark a step; the STEP page shows a chord's other notes (*+1*, *+2*…). +SLOOP records live and layers every pass on top of the last (overdub). Notes go to the nearest step **as you heard it**: the ~12 ms between a key and its sound are taken back, so what you play on the beat lands on the beat. Chords are kept on the synth tracks whose VOICE is POLY (up to 4 notes a step; a MONO, LEGATO or UNISON sound, as most basses and leads, plays and records one note at a time); held notes become ties. (2.7.1) On a POLY track each held note goes on until its own key is let go, even while other notes start and end over it: hold a note, play others on top, and it keeps sounding in the pattern (up to 4 at once). (2.7.2) On a MONO, LEGATO or UNISON track, a note played while the one before is still held is recorded **legato** and plays back as you played it: with LEGATO the sound goes on into the new note without a new attack (it glides only with GLIDE or a SLIDE), where before the sequencer ended the note and started the next one again. It works from the FM-1's keys and from a MIDI controller alike. Let go of the second note while the first is still held: the pattern does not go back to the first one (the live sound does). The TRACKS page draws one mark a step; the NOTES page shows a chord's notes one by one (*2/3*…). **Over held notes (2.7).** On a POLY track, a note you record while held notes of the pattern ring (a pad tied over the bar) no longer cuts them: they go on under it, and your note ends where you let it go. Up to 4 notes sound at once on a track (a fifth makes the oldest held one end there). Entering steps by hand (SEQ + key) still replaces what plays, so a long note can be cut on purpose. On SLOOP 2.6 such a pattern plays the held notes again where a note was laid over them. @@ -386,12 +387,13 @@ The 16 white keys are the 16 steps of the current page; the lit ones play. | **SEQ + empty step** | sets it at once — drums: with the sound shown (KNOB 1, or the last pad you hit); synths: with the note or chord you played last (on the keys, or a MIDI keyboard: 2.6) | | **SEQ + set step (tap)** | clears it (with its nudge, locks and fill condition) | | **SEQ + several step keys held** | edit them together | -| **SEQ + first four black keys** or **SEQ + OCT− / OCT+** (no step held) | the page: steps 1–16, 17–32, 33–48, 49–64 (up to the track's length) | -| **SEQ + KNOB 1** (no step held) | the **sound** (drums, you hear it) / **note** to set | +| **SEQ + first four black keys** or **SEQ + OCT− / OCT+** (no step held) | the page: steps 1–16, 17–32, 33–48, 49–64 (up to the track's length). (2.7.1) The drum track: OCT− / OCT+ only, the black keys pick the sound | +| **SEQ + a black key** (drum track, 2.7.1) | the **sound** the steps are for, silently, as on the DRUMS grid (F#3 KICK / KICK 2 … F#5 COWBELL; the same key again: its pair). With **SEQ + HOME** (locked) both hands are free: black keys the sound, white keys its steps | +| **SEQ + KNOB 1** (no step held) | the **sound** (drums; heard with DRUM PREVIEW ON, 2.7.1) / **note** to set | | **SEQ + KNOB 2** | **DIV**: 1/4, 1/8, 1/16, 1/32, 8T, 16T, 1/2, 1BAR, 2BAR | | **SEQ + KNOB 3** | **SWING** of the track | | **SEQ + KNOB 4** | **LENGTH**: 1–64 steps | -| **SEQ + step + KNOB 1** | drums: which **sound** of the step LEVEL and RATCHET edit (you hear it) · synths: the step's **note** (every note of a chord moves together) | +| **SEQ + step + KNOB 1** | drums: which **sound** of the step LEVEL and RATCHET edit (heard with DRUM PREVIEW ON) · synths: the step's **note** (every note of a chord moves together) | | **SEQ + step + KNOB 2** | drums: **LEVEL**: ghost, soft, norm, hard · synths (2.6): **VEL**, the step's velocity 1–127 (every note of the step; an accent is taken off, as it would play at 127) | | **SEQ + step + KNOB 3** | **RATCHET**: x1–x4 | | **SEQ + step + KNOB 4** | **NUDGE**: −32 … +31 (in 1/64 of a step) | @@ -452,18 +454,23 @@ There are three ways to enter steps: 1. **Live** — REC and play (see [Recording](#8-recording)). 2. **The SEQ layer** — hold SEQ, the white keys are steps (all tracks; see [SEQ — steps](#seq--steps)). -3. **The STEP page** (synth tracks) — tap **SEQ**: the step under the cursor is written from the keys, acid style: +3. **The NOTES page** (synth tracks, 2.7.2; the STEP page before) — tap **SEQ**: the pattern as a **piano roll**, each note a bar as long as it lasts, the one you edit outlined in white with its name over it, the beats ruled, the C rows named on the left and the playhead a line. A note's **FORCE** shows as its fill: GHOST dark, SOFT hollow, NORM and HARD full, ACC a white cap; a SLIDE a dash to the next note. -| STEP page | Does | +| NOTES page | Does | | --- | --- | -| **keys** | the keys pressed together become the cursor's step (POLY: up to 4 notes; MONO, LEG and UNI: the last one); in chord mode a key writes its whole chord, CHORD+ changes included; let go of all keys and the cursor moves on · **a MIDI keyboard** too (2.6): the notes it plays together on the selected track (the track its channel plays, GLO → MIDI) become the step, as they sound; on another track's channel, stopped, the screen says *MIDI PLAYS TRACK n* (and when you record: see REC) | -| KNOB 1 **STEP** | moves the cursor | -| KNOB 2 **NOTE** | transposes the step (an empty step gets your last note) | -| KNOB 3 **TIME** / **LEN** | on an empty step, a TIE or a REST: **NOTE**, **TIE** (holds the previous note on) or **REST** · on a note (2.6): **LEN**, how many steps the note lasts: longer turns the steps after it into TIEs (it stops at the next step that has notes, and at the pattern's end: *NOTE AHEAD*, *END OF PATTERN*), shorter turns its last TIEs back into RESTs | -| KNOB 4 **FLAG** | **–**, **ACC** (accent), **SLD** (slide to the next note), **A+S** (both) | -| **EDIT (tap)** | clears the cursor's step and moves on | +| **keys** | the keys pressed together become the step under edit (POLY: up to 4 notes; MONO, LEG and UNI: the last one); in chord mode a key writes its whole chord, CHORD+ changes included; let go of all keys and it moves on to the next step (2.7.1: MENU → SEQ → **STEP ADVANCE OFF**: it stays, and the next keys write the same step again, for a chord tried twice) · **a MIDI keyboard** too (2.6): the notes it plays together on the selected track (the track its channel plays, GLO → MIDI) become the step, as they sound; on another track's channel, stopped, the screen says *MIDI PLAYS TRACK n* (and when you record: see REC) | +| KNOB 1 **NOTE** | goes from note to note: a chord's notes one by one, then the next step (the empty ones too, to put a note there); the TIEs of a note are its length, not stops | +| KNOB 2 **PITCH** | that note's pitch (a chord's others stay); an empty step gets your last note | +| KNOB 3 **LEN** | how many steps the note lasts: longer turns the steps after it into TIEs (it stops at the next step that has notes, and at the pattern's end: *NOTE AHEAD*, *END OF PATTERN*), shorter turns its last TIEs back into RESTs | +| KNOB 4 **FORCE** | **GHOST**, **SOFT**, **NORM**, **HARD**, then **ACC** (the accent: the step's, for its whole chord) | +| **PRESETS** | the zoom: 8, 16 (as it opens), 32 or 64 steps on the screen (the page with the note under edit) | +| **EDIT (tap)** | deletes the note under edit (a chord keeps its others; its last note takes the step and its TIEs) | +| **OCT−** / **OCT+** (tap) | the keys' octave, as everywhere | +| **OCT+ held** (0.4 s) | the note's **sheet**: KNOB 1 picks a row, KNOB 2 sets it, OCT+ does it, OCT− closes it — **SLIDE** (ON / OFF; OCT+ too), **NUDGE** (the step's micro timing, −32 … +31), **FILL** (NORMAL, FILL only, NO FILL), **MOVE** (KNOB 2: a step each detent, with its TIEs, nudge, fill and locks; not over another note: *NO ROOM*), **COPY** (OCT+: a copy just after it, picked, and MOVE next to place it), **DELETE** (OCT+) | -Not while recording or armed (the keys record live then). On the drum track, the STEP page shows *DRUM TRACK*: use the DRUMS grid or the SEQ layer. +EDIT + OCT− / OCT+ undo and redo the edits, as before. Not while recording or armed (the keys record live then). On the drum track, the NOTES page shows *DRUM TRACK*: use the DRUMS grid or the SEQ layer. + +**The DRUMS grid has the same sheet** (2.7.2): on the grid, **OCT+ held** opens it for the hit of KNOB 1's sound on KNOB 2's step: **RATCHET** (x1 … x4), **NUDGE** and **FILL** (the step's: every sound in it), **MOVE** (KNOB 2), **COPY** (OCT+: to the next step), **DELETE** (OCT+); OCT− closes it. OCT+ tapped still turns the page of steps. The **PATTERN** page (tap SEQ again) holds the track's **LEN**, **DIV**, **SWG** (swing) and **GATE** (how long each note lasts). @@ -670,7 +677,7 @@ Tap a button to open its first page (or the last one you used); **tap it again** | | **LFO 2** (2.6) | SYNC: OFF, 4BAR, 2BAR, 1BAR, 1/2, 1/4, 1/8, 8T, 1/16, 16T, 1/32 | TRIG: NOTE / FREE | POL: BI / UNI | — | | | **LFO DEST** | PIT: vibrato | FLT: filter wobble | SHP: shape | AMP: tremolo | | **FX** | **FX** (sends) | DST drive | CHO chorus send | DLY delay send | REV reverb send | -| | **FILTER** | FILT: one-knob filter of the track — left LP, right HP, centre OFF | — | — | — | +| | **FILTER** | FILT: one-knob filter of the track — left LP, right HP, centre OFF (the drum track too; 2.7.2: its page no longer greyed) | — | — | — | | | **SLICER** | SLCR: OFF, GATE, STUT (stutter) | PAT: pattern 1–16 | RATE: 1/8, 1/16, 1/32, 8T, 16T, 32T | DEPTH | | | **INSERT** (2.6) | INSRT: OFF, SOFT, HARD, FOLD, FUZZ, CRUSH, PHASR, FLANG, CHOR | A | B | C (what A B C are depends on the type: see [Per track](#per-track)) | | | **INSERT 2** (2.6) | MIX: dry / wet | — | — | — | @@ -711,7 +718,7 @@ Notes: - **ARP modes** (2.7, after Felucca 1.4 / 1.5.1). With C, E and G held: **UP** C E G · **DN** G E C · **UPDN** C E G E · **DNUP** G E C E · **RND** at random · **ORD** in the order you pressed them · **REPEAT** the last note you pressed, again and again (OCT ignored) · **UP+8** C E G C' (the first note again an octave above the top) · **CONV** C G E (from the outside in) · **DIVG** E G C (from the inside out) · **PINKY** C G E G (the top note between the others) · **THUMB** C E C G (the bottom note between the others) · **WALK** one step up or down at random, from the bottom · **CHORD** the held notes together (the first four), on every step, an octave higher each step through OCT. OCT spreads the list over 1–4 octaves; ARP 2 ORD PLAY keeps the order you played for the other modes. Until 2.6, ORD played as UP unless ARP 2 ORD was PLAY: now it always follows the order you pressed. - **KBD HOLD** (2.7): ARP 2 → **HOLD ON** with ARP → **MODE OFF** holds the notes you play, without an arpeggio: let go and they go on sounding (a pad, a drone, a chord to play over with one hand). The next note you play with no key down **replaces** them (a new chord); notes played while keys are still down **join** them. The keys' MIDI note-offs wait too, so gear played from the FM-1 holds with it. **HOLD OFF** (or ARP on, another project, NEW) ends them; loading another sound ends the held notes too, but HOLD stays ON. Projects saved before 2.7 open with HOLD OFF when their arp is OFF (it did nothing then), so nothing hangs by surprise. It works for MIDI notes too. Recorded as you hear it: a held note ends where it is replaced. Up to 2.6, HOLD did nothing with the arp OFF. - **ARP SWG** (2.7): the arp's swing also works with the sequencer stopped (the odd steps late), as it does while playing; until 2.6 it only worked while playing. -- **ARP and sounds** (2.7): while the arpeggiator runs (MODE not OFF), loading another sound (a preset or a user preset) keeps the arp: its settings (both ARP pages) and the notes it holds or latches go on with the new sound. With the arp OFF, a preset that has an arp of its own (8BIT ARP…) brings it, as before. +- **ARP and sounds** (2.7): while the arpeggiator runs (MODE not OFF), loading another sound (a preset or a user preset) keeps the arp: its settings (both ARP pages) and the notes it holds or latches go on with the new sound. With the arp OFF, a preset that has an arp of its own (8BIT ARP…) brings it, as before. (2.7.1) An arp that came with the sound (8BIT ARP, a user preset saved with its arp) and that you did not change goes with it: the next sound brings its own (most often OFF). Change one of its settings and it is yours: it goes on with the next sounds. - **ENV SYNC** (ENV DEST → ESYNC ON, 2.6): ATK, DEC and REL become note values of the tempo, from 0 through 1/64T … 1/4, 1/2 … to 4BAR, with triplets and dotted values; at 120 BPM an ATK of 1/4 lasts half a second, at 60 a whole one. They follow the tempo as it changes. OFF: times in milliseconds, as before. - **LFO 2** (2.6): **SYNC** locks the LFO's cycle to a note value of the tempo (RATE is then ignored; OFF: RATE, as before) · **TRIG** NOTE restarts the LFO at PHS on each new phrase (as before), FREE lets it run on · **POL** BI swings above and below the value, UNI only above it (a tremolo that only lowers the level, a wobble that only opens). - **FILTER** (EDIT, ANALOG only, 2.6): the ANALOG engine's filter as a **low-pass** (as before), **band-pass** or **high-pass**; CUT, RES and KTR are the same values as on EDIT 2. @@ -749,7 +756,7 @@ Each engine's eight parameters are on **EDIT 1** (KNOB 1–4) and **EDIT 2** (KN | **DIGITAL** | 4-operator FM | ALG algorithm 1–8 · R2 · R3 · R4 (operator ratios) | IDX FM amount · MDEC modulator decay · FB feedback · — | | **PHASE** | phase distortion (CZ style) | WAVE · WAVE2 (a second wave, or –) · DCW (the distortion amount) · ENV (its envelope) | DTN detune · LINE: MIX / RING · SUB sub-oscillator · — | | **LOFI** | 8-bit chip | CHIP: 4BIT, 4B/2, 8BIT, 1BIT, STEP · WAVE: PLS, TRI, SAW, NOIS, WRAM · DUTY (pulse width / wave table) · CRSH crush (DCY on STEP) | SWP pitch sweep · VIB vibrato · ARP: OFF, OCT, MAJ, MIN (chip arpeggio) · TONE | -| **SAMPLE** | sampler | SET: PIANO, BASS, VIBES, HORNS, STRGS, FLUTE, SCRCH, PERC, **USR1–USR4** · TUNE ±24 · BITS (bit reduction) · LOOP: OFF / ON | CUT (tone) · — · DRV drive · — | +| **SAMPLE** | sampler | SET: PIANO, BASS, VIBES, HORNS, STRGS, FLUTE, SCRCH (2.7.2: one scratch over the whole keyboard), PERC, **USR1–USR4** · TUNE ±24 · BITS (bit reduction) · LOOP: OFF / ON | CUT (tone) · — · DRV drive · — | | **VOICE** | formant voice (choirs, talkbox) | VOWL vowel · VOWL2 second vowel · TALK (time from one to the other) · SHIFT formant shift ±12 | BUZZ · BRTH breath · Q · RAND | | **TRIO** | three oscillators | WAVE (16 combinations) · INT2 · INT3 (intervals of oscillators 2 and 3, ±24) · DTN | MODE: LP, BP, HP, NOT (filter type) · CUT · RES · PW pulse width | | **WHEEL** | tonewheel organ | REG (16 drawbar registrations: FLUTE, MELLO, HOLLW, SMOOT, 3BAR, BLUES, GOSPL, ROCK…) · SUB · BODY · TOP (drawbar groups ±8) | PERC: OFF, 2ND, 3RD, 2SOFT, 3SOFT, 2SLOW, 3SLOW · CLICK · DRV · ROTR: OFF, SLOW, FAST (rotary speaker) | @@ -760,6 +767,19 @@ Each engine's eight parameters are on **EDIT 1** (KNOB 1–4) and **EDIT 2** (KN The **SAMPLE** sets are free recordings (CC0: Versilian Studios VSCO-2 CE and VCSL, Sonic Pi), coloured like a record through an old sampler. **GRAND PNO** is a Steinway recorded note by note; long notes fade as on the real one. +### Polyphony + +The three synth tracks **share one pool of 8 voices**; the drum track has its own 6. Played on its own, each engine's maximum polyphony is: + +| Voices | Engines | +| --- | --- | +| **8** | ANALOG, DIGITAL, PHASE, LOFI, SAMPLE, TRIO, WHEEL, NOISE | +| **6** | FM6 | +| **4** | VOICE | +| **3** | GRAIN, PHYS (SYMP model: **2**) | + +In **MONO** or **LEGATO** a track plays one note at a time; **UNISON** stacks detuned voices within the same cap. When more than one synth track sounds at once, the 8-voice pool is split between them: a part that needs a voice takes the oldest sounding one. + ### FM6 and DX7 patches **FM6** is msfa, the synthesis core of Dexed, as Felucca 1.0 ported it: six operators with their own four-stage envelopes, keyboard scaling, velocity, ratio or fixed frequency and detune; 32 algorithms, feedback, LFO, pitch envelope; six voices per track. The eight EDIT values above are **macros on top of the patch**; the track's FLT moves MLVL (so LFO → FLT still brightens it), SHP the feedback, PIT the pitch. @@ -875,13 +895,14 @@ The visualiser sees the mix **as if MASTER were all the way up**: with MASTER tu ## 20. The HOME menu and the lights -**Hold HOME** (0.7 s) to open the menu; hold it again to close it. The menu is in four sections: +**Hold HOME** (0.7 s) to open the menu; hold it again to close it. The menu is in five sections (2.7.1: SEQ): | Section | KNOB 1 | KNOB 2 | KNOB 3 | KNOB 4 | | --- | --- | --- | --- | --- | | **SCREEN** | **COLOR**: the screen palette (GREEN, AMBER, CYAN, RED, MONO, then [your theme](#your-theme) once you sent one) | **ZOOM**: ON shows the value you touch large and white | **KNOB ACCEL** (2.7): ON (the default) a fast turn sweeps wider; OFF one value a detent | — | | **LIGHTS** | **LIGHTS**: OFF, LOW, MID, HIGH | **KEYS**: OFF, C KEYS, WHITE KEYS, ALL KEYS | **NOTES**: OFF / ON | — | | **AUDIO** | **SPEAKER LOWCUT**: ON cuts the lows the small speaker cannot play (~110 Hz) | **USB AUDIO**: MASTER / FULL | **USB RATE** (2.7): AUTO / 44.1 KHZ / 48 KHZ (takes effect at the next start) | — | +| **SEQ** (2.7.1) | **STEP ADVANCE**: ON (the default) the NOTES page moves on when you let go of the keys; OFF it stays, so a chord you missed is played again on the same step (KNOB 1 moves the cursor) | **DRUM PREVIEW**: OFF (the default) a drum sound picked with a knob (DRUMS screen, SEQ layer) is not heard, quiet for live; ON you hear it, as up to 2.7 | — | — | | **SYSTEM** | **2ND CORE** (2.7): **ON** (the default) / OFF. ON, the sound is computed on both of the FM-1's cores: about twice the room before the CPU runs out (many voices, INSERT effects on several tracks), the same sound. ON takes effect at the next power-on; ABOUT then says *2 CORES* (*1 CORE*: the second core did not answer and SLOOP runs on one, as before). OFF: one core, as in 2.6 | **HARDWARE CALIBRATION** (the knob selects it, OCT+ opens it) | **MIDI LEARN CLEAR** (2.6): how many CCs are learned; OCT+ forgets them all | **ABOUT**, the version (the knob selects it, OCT+ opens it) | **The knobs (2.7).** A slow turn is fine tuning, one value a detent. Turn faster and the value sweeps wider, progressively (x2 up to x16 on the widest values); turning back to correct is always one value a detent, and lists of names never jump. MENU → SCREEN → KNOB ACCEL OFF keeps one value a detent everywhere. **LEVEL and PAN glide** over about 3 ms instead of stepping at each detent, on every track and the drums: no zipper on a held note. Both after JIANT FM by juanjiant-bit. @@ -966,6 +987,8 @@ The knobs of a MIDI controller set the sound (the standard CC map of Felucca 1.1 | 5 | GLIDE | | 7 | LEVEL (on the drum channel: GLO → DRUMS → LVL) | | 10 | PAN | +| 11 | (2.7.1) **EXPRESSION**: a volume pedal over the track's LEVEL (on the drum channel: over DRUMS LVL), 127 full, 0 silent, as on a GM synth. It does not change LEVEL (your mix and what you save stay as they are). Full again at power-on, when a project or section is loaded, and with CC 121 | +| 121 | (2.7.1) RESET ALL CONTROLLERS: the expression full again | | 71 | the engine's resonance (RES or Q: ANALOG, TRIO, VOICE, NOISE; the others ignore it) | | 72 · 73 · 75 | release · attack · decay | | 74 | (2.7) the engine's own cutoff or brightness, dark to bright: ANALOG / SAMPLE CUT, TRIO CUT, PHASE DCW, LOFI / GRAIN TONE, FM6 MLVL, PHYS BRIT, NOISE FREQ. DIGITAL, VOICE, WHEEL and the drum track: the track's FILTER (64 off, lower a low-pass, higher a high-pass), as before | @@ -997,7 +1020,7 @@ On USB the FM-1 is also an audio input named **Felucca**: 44.1 or 48 kHz (the co - **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. Best for a computer input with no level control of its own. -The first time, the computer sees the FM-1 as a slightly different device (MIDI + audio) and sets it up again. On macOS 13–15, keep **USB SERIAL** OFF (the default) or the audio input may not show (2.6; from 2.7 the FM-1's build has no serial console and no USB SERIAL: the flash is full, and it was a developer's tool). +The first time, the computer sees the FM-1 as a slightly different device (MIDI + audio) and sets it up again. On macOS 13–15, keep **USB SERIAL** OFF (the default) or the audio input may not show (2.6; from 2.7 the FM-1's build has no serial console and no USB SERIAL: the flash is full, and it was a developer's tool). (2.7.2) On macOS 15 and older, SLOOP up to 2.7.1 showed MIDI but no audio input: Apple's audio driver there stopped reading SLOOP's USB description before the audio part (after Felucca 1.5.1, the audio is now listed first). The FM-1 also reports a new USB version, so the Mac sets it up fresh. **HOME menu → AUDIO → USB RATE** (2.7), KNOB 3: the rates the FM-1 offers. It takes effect at the next start: turn the FM-1 off and on (the menu shows *RESTART* until then). @@ -1315,7 +1338,7 @@ On the installer page, open **Return to the official firmware (V15)**: save a ba | a track's effect (INSERT) | FX → INSERT, INSERT 2 | | tempo-synced envelope / LFO | ENV DEST → ESYNC · LFO → LFO 2 → SYNC | | ANALOG band-pass / high-pass | EDIT → FILTER → TYPE | -| a note's length in steps | SEQ → STEP page, KNOB 3 on the note (LEN) | +| a note's length in steps | SEQ → NOTES page, KNOB 3 on the note (LEN) | | drum mutes | EDIT + a black key, then the sounds' keys | | lights, colours, USB audio level | hold HOME (menu) | | the version | hold HOME → SYSTEM → ABOUT | diff --git a/README.md b/README.md index 6aa65db..9a0899d 100644 --- a/README.md +++ b/README.md @@ -463,7 +463,7 @@ The protocol is documented in [web/EDITOR_PROTOCOL.md](web/EDITOR_PROTOCOL.md). **Nothing plays from the MIDI IN jack.** Try the other adapter type (A / B); check the keyboard's channel (1–3 synths, 10 drums, the others the selected track; 2.6: GLO → MIDI sets them). -**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) with 2.6, 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 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 with macOS 15 or older, SLOOP up to 2.7.1 shows MIDI but no audio input (Apple's driver there read SLOOP's USB description badly): update to 2.7.2, then plug the FM-1 in again. With 2.6, also 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. @@ -483,6 +483,7 @@ Something else? [Open an issue](../../issues): what you did, what you expected, | --- | --- | | 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 | +| Polyphony | 8 voices shared across the synth tracks; per engine played alone: **8** (ANALOG, DIGITAL, PHASE, LOFI, SAMPLE, TRIO, WHEEL, NOISE), **6** (FM6), **4** (VOICE), **3** (GRAIN, PHYS — SYMP model 2); MONO / LEGATO play one note at a time; drums 6 | | 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 | diff --git a/build-sloop.ps1 b/build-sloop.ps1 index 0d833b5..066574b 100644 --- a/build-sloop.ps1 +++ b/build-sloop.ps1 @@ -1,17 +1,17 @@ -# SLOOP 2.7.1: build the firmware, then open the browser installer. +# SLOOP 2.8: 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.7.1" -ForegroundColor White +Write-Host " S L O O P 2.8" -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.7.1 build/sloop-site +python web/make_site.py build/felucca.fwsc 2.8 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 diff --git a/docs/firmware/sloop-2.7.1.fwsc b/docs/firmware/sloop-2.7.1.fwsc deleted file mode 100644 index e299867..0000000 Binary files a/docs/firmware/sloop-2.7.1.fwsc and /dev/null differ diff --git a/docs/firmware/sloop-2.8.fwsc b/docs/firmware/sloop-2.8.fwsc new file mode 100644 index 0000000..5d4f578 Binary files /dev/null and b/docs/firmware/sloop-2.8.fwsc differ diff --git a/docs/webapp/editor/index.html b/docs/webapp/editor/index.html index 8e80fa6..78234ea 100644 --- a/docs/webapp/editor/index.html +++ b/docs/webapp/editor/index.html @@ -890,7 +890,7 @@
- + @@ -2966,6 +2966,7 @@ function makeMockDevice(opt = {}) { E("DR MAP", ["GM", "1-16"], 0), /* GLO > MIDI 3 (2.7): MIDI notes -> drum sounds */ E("REMOTE", ["OFF", ...Array.from({ length: 16 }, (_, i) => String(i + 1))], 0), /* GLO > MIDI 3 (2.7): the buttons */ E("CLOCK", ["OFF", "OUT"], 0), /* GLO > MIDI 3 (2.7): MIDI clock, START / STOP out on USB */ + D("FADE", F.INT, 0, 15, 0), /* GLO > MASTER 2 (2.7.2): the punch-in FX fade (punch.c) */ ]; /* the drum track's P_E0: its kit (drums.c DRUM_KIT_NAMES; 5 = 808, the power-on kit) */ const KIT = E("KIT", ["ACOUSTIC", "DEEP", "TIGHT", "BRIGHT", "DUST", "808", "909", "606", "80S", "VINTAGE", "TRAP", "DRILL", "BOOMBAP", "LO-FI", "PHONK", "HOUSE", "D.HOUSE", "TECHNO", "MINIMAL", "ELECTRO", "DISCO", "GARAGE", "JUNGLE", "DUBSTEP", "DEMBOW", "AMAPIANO", "AFRO", "LATIN", "TRIBAL", "SYNTHWV", "CHIP", "ARCADE", "GLITCH", "INDUSTR", "HYPER", "AMBIENT", "JAZZ", "USR1", "USR2", "USR3", "USR4", "USR3+4", "SYN1", "SYN2", "SYN3", "SYN4"], 0); @@ -5905,7 +5906,7 @@ const stepEdit = new Map(); /* index -> time of the last edit */ /* parameter ids (firmware/src/core.h); used only when P_COUNT / G_COUNT match */ /* pcount 71 / pe0 63: 2.6's INSERT, filter TYPE, ENV SYNC, LFO 2 (P_ITYPE 53 .. P_LPOL 62, after Felucca 1.4 / 1.5) */ -const EXPECT = { pcount: [61, 71], gcount: [32, 33, 45, 46, 47, 48, 49], pe0: [53, 63] }; /* gcount 33: 2.5's drum DLY (G_DRDLY); 45: 2.6's GLO > MIDI, TEXTURE, BEND; 46: 2.7's FX CH; 47: DR MAP; 48: REMOTE; 49: CLK OUT */ +const EXPECT = { pcount: [61, 71], gcount: [32, 33, 45, 46, 47, 48, 49, 50], pe0: [53, 63] }; /* gcount 33: 2.5's drum DLY (G_DRDLY); 45: 2.6's GLO > MIDI, TEXTURE, BEND; 46: 2.7's FX CH; 47: DR MAP; 48: REMOTE; 49: CLK OUT; 50: 2.7.2's FX FADE */ const P = { LEVEL: 0, SLEN: 29, CHORD: 49 }; const LAYOUT = (pe0) => { const v251 = pe0 >= 63; /* (2.6: the pages the device has for the new parameters) */ diff --git a/docs/webapp/editor/sloop-editor.html b/docs/webapp/editor/sloop-editor.html index 9123238..24e69e2 100644 --- a/docs/webapp/editor/sloop-editor.html +++ b/docs/webapp/editor/sloop-editor.html @@ -2964,6 +2964,7 @@ function makeMockDevice(opt = {}) { E("DR MAP", ["GM", "1-16"], 0), /* GLO > MIDI 3 (2.7): MIDI notes -> drum sounds */ E("REMOTE", ["OFF", ...Array.from({ length: 16 }, (_, i) => String(i + 1))], 0), /* GLO > MIDI 3 (2.7): the buttons */ E("CLOCK", ["OFF", "OUT"], 0), /* GLO > MIDI 3 (2.7): MIDI clock, START / STOP out on USB */ + D("FADE", F.INT, 0, 15, 0), /* GLO > MASTER 2 (2.7.2): the punch-in FX fade (punch.c) */ ]; /* the drum track's P_E0: its kit (drums.c DRUM_KIT_NAMES; 5 = 808, the power-on kit) */ const KIT = E("KIT", ["ACOUSTIC", "DEEP", "TIGHT", "BRIGHT", "DUST", "808", "909", "606", "80S", "VINTAGE", "TRAP", "DRILL", "BOOMBAP", "LO-FI", "PHONK", "HOUSE", "D.HOUSE", "TECHNO", "MINIMAL", "ELECTRO", "DISCO", "GARAGE", "JUNGLE", "DUBSTEP", "DEMBOW", "AMAPIANO", "AFRO", "LATIN", "TRIBAL", "SYNTHWV", "CHIP", "ARCADE", "GLITCH", "INDUSTR", "HYPER", "AMBIENT", "JAZZ", "USR1", "USR2", "USR3", "USR4", "USR3+4", "SYN1", "SYN2", "SYN3", "SYN4"], 0); @@ -5903,7 +5904,7 @@ const stepEdit = new Map(); /* index -> time of the last edit */ /* parameter ids (firmware/src/core.h); used only when P_COUNT / G_COUNT match */ /* pcount 71 / pe0 63: 2.6's INSERT, filter TYPE, ENV SYNC, LFO 2 (P_ITYPE 53 .. P_LPOL 62, after Felucca 1.4 / 1.5) */ -const EXPECT = { pcount: [61, 71], gcount: [32, 33, 45, 46, 47, 48, 49], pe0: [53, 63] }; /* gcount 33: 2.5's drum DLY (G_DRDLY); 45: 2.6's GLO > MIDI, TEXTURE, BEND; 46: 2.7's FX CH; 47: DR MAP; 48: REMOTE; 49: CLK OUT */ +const EXPECT = { pcount: [61, 71], gcount: [32, 33, 45, 46, 47, 48, 49, 50], pe0: [53, 63] }; /* gcount 33: 2.5's drum DLY (G_DRDLY); 45: 2.6's GLO > MIDI, TEXTURE, BEND; 46: 2.7's FX CH; 47: DR MAP; 48: REMOTE; 49: CLK OUT; 50: 2.7.2's FX FADE */ const P = { LEVEL: 0, SLEN: 29, CHORD: 49 }; const LAYOUT = (pe0) => { const v251 = pe0 >= 63; /* (2.6: the pages the device has for the new parameters) */ diff --git a/docs/webapp/editor/sloop-preview.wasm b/docs/webapp/editor/sloop-preview.wasm index 1058ead..0723478 100644 Binary files a/docs/webapp/editor/sloop-preview.wasm and b/docs/webapp/editor/sloop-preview.wasm differ diff --git a/docs/webapp/installer/index.html b/docs/webapp/installer/index.html index 9e04362..8bbe050 100644 --- a/docs/webapp/installer/index.html +++ b/docs/webapp/installer/index.html @@ -90,24 +90,15 @@ - +SLOOP is based on Felucca by Leo Kuroshita (@kurogedelic), Hügelton Instruments.
Hold OCT− alone while switching on for USB rescue.
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).
@@ -258,6 +249,11 @@ class Link {
}
return this.q.shift() || null;
}
+ // detach the callback only; do NOT close the MIDI ports. find()/probe() reuse the same input across
+ // several output candidates (e.g. the always-present "Microsoft GS Wavetable Synth" is probed before
+ // the FM-1's own output), and closing the input between candidates raced its re-open and broke the
+ // handshake with a device that is present ("FM-1 not found" with the port listed). Leaving ports open
+ // is the long-standing behaviour.
close() { this.input.onmidimessage = null; }
}
@@ -282,14 +278,16 @@ class Updater {
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 (!FM1_PORT.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;
+ // one input against its candidate outputs: the matching port first (same name, or one name contains
+ // the other, so input "Felucca" pairs with output "MIDIOUT2 (Felucca)" without probing unrelated
+ // outputs like "Microsoft GS Wavetable Synth"), then (the fallback) any live output. A pair counts
+ // only when it answers the FM-1 handshake and passes the filter.
+ async probe(input, outs, filter) {
+ if (input.state === "disconnected") return null;
+ const live = outs.filter((o) => o.state !== "disconnected");
+ const nm = input.name || "";
+ const named = live.filter((o) => o.name === nm || (nm && o.name && (o.name.includes(nm) || nm.includes(o.name))));
+ for (const output of (named.length ? named : live)) {
try { await input.open(); await output.open(); } catch (_) { continue; }
const link = new Link(input, output);
const id = await handshake(link, 2);
@@ -299,16 +297,40 @@ class Updater {
return null;
}
+ // the FM-1 (or its update loader) among the MIDI ports. Named ports first (fast, and other gear is
+ // never touched). With deep=true (hunting the re-enumerated update loader only), if no named port
+ // matched, the remaining ports are probed too and accepted SOLELY when they answer the FM-1 handshake
+ // (other gear returns no valid identity). Windows often names the update loader generically (e.g.
+ // "USB MIDI Device"), so a name filter alone misses it and the loader seems to "not appear": this
+ // handshake fallback is what makes the loader reliably found, without probing other gear when looking
+ // for the running firmware (which always names itself).
+ async find(filter, deep = false) {
+ const outs = [...this.access.outputs.values()];
+ const inputs = [...this.access.inputs.values()].filter((i) => i.state !== "disconnected");
+ for (const input of inputs)
+ if (FM1_PORT.test(input.name || "")) {
+ const dev = await this.probe(input, outs, filter);
+ if (dev) return dev;
+ }
+ if (deep)
+ for (const input of inputs)
+ if (!FM1_PORT.test(input.name || "")) {
+ const dev = await this.probe(input, outs, filter);
+ if (dev) return dev;
+ }
+ return null;
+ }
+
// the MIDI inputs there are, for the "not found" message: " (MIDI: a, b)" (a port the installer skipped shows)
seen() {
const names = [...this.access.inputs.values()].filter((p) => p.state !== "disconnected").map((p) => p.name || "?");
return names.length ? ` (MIDI: ${names.join(", ")})` : " (MIDI: none)";
}
- async waitFor(filter, ms) {
+ async waitFor(filter, ms, deep = false) {
const end = Date.now() + ms;
while (Date.now() < end) {
- const dev = await this.find(filter);
+ const dev = await this.find(filter, deep);
if (dev) return dev;
await sleep(1000);
}
@@ -359,13 +381,13 @@ class Updater {
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 ota = await this.waitFor(IS_OTA, 60000, true);
+ 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.", this.seen());
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);
+ const back = await this.waitFor((id) => !IS_OTA(id), 60000);
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);
@@ -387,7 +409,7 @@ class Updater {
// 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);
+ const ota = await this.find(IS_OTA, true);
if (!ota) return false;
if (!OUR_LOADER(ota.id) && !opts.product) {
ota.link.close();
@@ -398,7 +420,7 @@ class Updater {
if (opts.product) {
step("reboot");
await sleep(3000);
- const back = await this.waitFor((id) => !IS_OTA(id), 40000);
+ const back = await this.waitFor((id) => !IS_OTA(id), 60000);
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);
@@ -444,7 +466,7 @@ const TEXT = {
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 を使う他のアプリとブラウザのタブを閉じてください。",
+ back: "公式ファームウェアに戻すには、M-VAVE 公式のアップデーター M-UPGRADE(Downloads → PC Software → M-UPGRADE)と公式ファームウェアを使ってください。FM-1 が見つからない場合は、MIDI を使う他のアプリとブラウザのタブを閉じてください。",
},
en: {
intro: "Connect the FM-1 by USB. (Works in Chrome or Edge.)",
@@ -480,7 +502,7 @@ const TEXT = {
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.",
+ back: "To return to the official firmware, use M-VAVE's own updater, M-UPGRADE (Downloads → PC Software → M-UPGRADE), with the official firmware from M-VAVE. 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";
@@ -514,14 +536,12 @@ const sayK = (k, arg = "") => { lastKey = k; lastArg = arg; $("status").textCont
const say = (txt) => { lastKey = null; $("status").textContent = txt; };
const log = (t) => { $("log").textContent += t + "\n"; };
let image = null;
-const meta = {"version": "2.7.1", "product": "FM-1_900", "pkg": "../../firmware/sloop-2.7.1.fwsc", "sha256": "7c9d269d15d1c1a48e0ebada7ffa2c2aa196c19d51056fd3f760d322322b335f"};
+const meta = {"version": "2.8", "product": "FM-1_900", "pkg": "../../firmware/sloop-2.8.fwsc", "sha256": "fb69b4311790eb7ec09498be16ae2b71bd681840e221c0d8cfdb26fb5f9a2928"};
-let writing = false, stock = null;
+let writing = false;
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"); } });
@@ -574,7 +594,7 @@ $("go").addEventListener("click", async () => {
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));
+ const ota = await up.find((id) => /^ota-/i.test(id.model), true);
if (ota) {
ota.link.close();
sayK((await up.resume(image, step)) ? "done" : "stopped");
@@ -585,37 +605,8 @@ $("go").addEventListener("click", async () => {
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);
-});
+/* Returning to the official firmware is done with M-VAVE's own updater (M-UPGRADE): the in-browser
+ revert was removed because it is not reliable on every system. The note under "stockTitle" points there. */