diff --git a/.github/workflows/emulator.yml b/.github/workflows/emulator.yml index e25603c1..20420d5b 100644 --- a/.github/workflows/emulator.yml +++ b/.github/workflows/emulator.yml @@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-3.0-only -# The browser emulator (web/emu) on GitHub Pages: the firmware's sources compiled to WebAssembly, on every push to +# The site on GitHub Pages: the front page (web/landing) at the root and the browser emulator (web/emu) under emu/: the firmware's sources compiled to WebAssembly, on every push to # main. Needs Settings > Pages > Source: "GitHub Actions" once. The emulator needs only the generated headers; the # installer (webapp/installer) and the editor (webapp/editor) need the package, built with JieLi's toolchain (downloaded). # (JIANT 0.6.61) Two channels: the emulator and preview/webapp/installer are main as it is now (to check before anyone @@ -101,9 +101,19 @@ jobs: gradle -p android/probe assembleDebug --no-daemon mkdir -p build/emu/app cp android/probe/app/build/outputs/apk/debug/app-debug.apk build/emu/app/jiant-probe.apk + # (JIANT 0.8.1) the site's front page (web/landing: what JIANT is, install / try / edit, what comes next) at the + # root, for people who just want to play; the emulator moves to emu/ (its links go up one level) + - name: the front page and the emulator under emu/ + run: | + mkdir -p build/pages/emu + for f in index.html worklet.js stems.js fm1backup.js felucca.wasm fonts; do + if [ -e "build/emu/$f" ]; then mv "build/emu/$f" build/pages/emu/; fi + done + cp -r build/emu/. build/pages/ + cp web/landing/index.html build/pages/index.html - uses: actions/upload-pages-artifact@v3 with: - path: build/emu + path: build/pages deploy: needs: build runs-on: ubuntu-24.04 diff --git a/README.md b/README.md index a47d91e7..6e20e502 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ **Bio-synthetic operating system for the M-VAVE FM-1** — synthesis, sequencing, mutation, performance. [![License: GPL-3.0-only](https://img.shields.io/badge/license-GPL--3.0--only-blue.svg)](LICENSE) -[![Emulator](https://img.shields.io/badge/try%20it-in%20the%20browser-ff7a00.svg)](https://juanjiant-bit.github.io/JIANT/) +[![Emulator](https://img.shields.io/badge/try%20it-in%20the%20browser-ff7a00.svg)](https://juanjiant-bit.github.io/JIANT/emu/) ![JIANT FM: the signature, the screens and what's new: song ideas, ARRANGE, undo, TRACKS and LOAD](docs/jiant-hero.png) @@ -11,7 +11,7 @@ JIANT FM is an alternative firmware for the **M-VAVE FM-1**, made for playing li a computer. It is a fork of [Felucca](https://github.com/hugelton/Felucca) 1.1.5.1 by Hügelton Instruments (GPL-3.0) and takes its song system from [SLOOP](https://github.com/isod89/sloop-fm1). -**▶ [Try it in the browser](https://juanjiant-bit.github.io/JIANT/)** · **[Web installer](https://juanjiant-bit.github.io/JIANT/webapp/installer/)** · **[Web editor](https://juanjiant-bit.github.io/JIANT/webapp/editor/)**: the emulator runs the same code as +**▶ [Try it in the browser](https://juanjiant-bit.github.io/JIANT/emu/)** · **[Web installer](https://juanjiant-bit.github.io/JIANT/webapp/installer/)** · **[Web editor](https://juanjiant-bit.github.io/JIANT/webapp/editor/)**: the emulator runs the same code as the FM-1, with sound, and is played with your computer keyboard or the mouse. The emulator, the installer and the editor update themselves with every change merged into `main`. @@ -437,8 +437,9 @@ web/emu/build.sh # browser emulator: build/emu tests/run_tests.sh # host, web editor and emulator tests ``` -Every change is tested in the emulator first. The published version -([juanjiant-bit.github.io/JIANT](https://juanjiant-bit.github.io/JIANT/)) is built by +Every change is tested in the emulator first. The published site +([juanjiant-bit.github.io/JIANT](https://juanjiant-bit.github.io/JIANT/): the front page, web/landing, with the installer, +the editor and the emulator under [emu/](https://juanjiant-bit.github.io/JIANT/emu/)) is built by [.github/workflows/emulator.yml](.github/workflows/emulator.yml) on every push to `main` (in the repository: Settings → Pages → Source: **GitHub Actions**, once). @@ -451,7 +452,7 @@ Settings → Pages → Source: **GitHub Actions**, once). it straight over another custom firmware has bricked an FM-1. From official V15 or an earlier JIANT, install directly from the **[web installer](https://juanjiant-bit.github.io/JIANT/webapp/installer/)** (Chrome or Edge, the FM-1 connected by USB straight to the computer). It checks the FM-1 first and writes only over official V15 or JIANT. It offers the **approved** version only: every change merged into `main` goes first to the - [emulator](https://juanjiant-bit.github.io/JIANT/) (and a preview installer for testing), is checked there, and only + [emulator](https://juanjiant-bit.github.io/JIANT/emu/) (and a preview installer for testing), is checked there, and only then reaches this installer ([web/STABLE](web/STABLE.md)). Offline: `python3 tools/fm1_install.py build/felucca.fwsc`. 3. **Since 0.6.71 JIANT uses both cores** ([details](#both-cores-dual-core)). If your FM-1 crashes, freezes or clicks more than before, hold **REC** while switching it on (one core) and tell us what MENU > ABOUT says. diff --git a/docs/MANUAL.es.md b/docs/MANUAL.es.md index 3ce478c8..984086f2 100644 --- a/docs/MANUAL.es.md +++ b/docs/MANUAL.es.md @@ -1389,7 +1389,7 @@ Probe (su prueba 7). Las tres funcionan en el navegador y se actualizan solas con cada cambio del firmware. -### Emulador — +### Emulador — El mismo código que el FM-1, con sonido, en el navegador. Tocalo con el mouse o con el teclado de la computadora: las filas **Z–'** y **Q–O** son las teclas, **1** a **=** los botones de FX a REC, **[ ]** OCT− / OCT+, **↑ ↓** SELECT, diff --git a/docs/MANUAL.md b/docs/MANUAL.md index 38679f47..85ff9520 100644 --- a/docs/MANUAL.md +++ b/docs/MANUAL.md @@ -1310,7 +1310,7 @@ only some of a USB device's channels to apps). Test version: the app is JIANT Pr All three run in the browser and update themselves with every change to the firmware. -### Emulator — +### Emulator — The same code as the FM-1, with sound, in the browser. Play it with the mouse or the computer keyboard: **Z–'** and **Q–O** rows are the keys, **1** to **=** the buttons from FX to REC, **[ ]** OCT− / OCT+, **↑ ↓** SELECT, **← →** diff --git a/web/emu/index.html b/web/emu/index.html index ed15c89b..b77f9aee 100644 --- a/web/emu/index.html +++ b/web/emu/index.html @@ -115,8 +115,8 @@ footer small { font-size: 11px; opacity: .8; } diff --git a/web/landing/index.html b/web/landing/index.html new file mode 100644 index 00000000..0ac650fb --- /dev/null +++ b/web/landing/index.html @@ -0,0 +1,428 @@ + + + + + +JIANT FM + + + + + + + + + + + + + +
+
+ JIANT / FM · M-VAVE FM-1 + free · open source · GPL-3.0 +
+ + +
+
+ +
+
+

Sa firmware for the M-VAVE FM-1

+

JIANTFM

+

bio·synthetic · operating · system

+

A free firmware that turns the FM-1 into a complete instrument: six tracks, eight synthesis engines, a deep sequencer and effects, all inside the little keyboard. Install it from your browser in a couple of minutes, and go back to the official firmware whenever you want.

+ +

Current version: v0.8.1

+
+
+
FM-1 · 240×240HOME
+ +
6 TRACKS♩ 118
+
+
+ +
+
+

Start here

+

Three steps, no coding

+

Everything runs in the browser. You don't need to install any program, and you can try JIANT before touching your FM-1.

+
+
+
+ 01 +

Try it in the browser

+

The emulator runs the real firmware on your computer or phone. Play with the keyboard, load a song, hear every engine.

+
  • No FM-1 needed
  • Renders the stems of a song from your backup
+ Open the emulator +
+
+ 02 +

Install it on your FM-1

+

Open the installer in Chrome or Edge, connect the FM-1 with a USB data cable, press Install and wait without unplugging.

+
  • The installer checks your FM-1 first and saves a backup
  • Coming from another custom firmware? Return to official V15 first, with the installer's button
+ Open the installer +
+
+ 03 +

Edit and back up

+

The web editor shows your sounds and settings on the computer screen while the FM-1 keeps playing.

+
  • Send DX7 banks to FM6, manage presets
  • Back up every project with one click
+ Open the editor +
+
+

Needs: Chrome or Edge on a computer (WebUSB and Web MIDI) · a USB cable that carries data, not only charge.

+
+ +
+
+

What's inside

+

One organism, six creatures

+

Each track is a creature on the HOME screen: its species is its engine, its shape comes from its knobs, and it swells with its own audio.

+
+
+
Aengines

8 synthesis engines

ANALOG, FM6 (six operators, 32 algorithms, DX7 banks), PHASE, LOFI, VOICE, WHEEL, NOISE and DRUM-X. No samples: everything is synthesized.

+
Bheart

DRUM-X

A drum kit of eight synthesized sounds, each with two sides. The MORPH knob moves the whole kit from one to the other, live.

+
Cnervous system

64-step sequencer

A piano roll per track, chords, probability, ratchets, extra playheads, and MUTATE, which transforms sound and pattern every few bars.

+
Dmembrane

Effects and master

Delay, five reverbs (SHIMMER, RESO, CLOUD…), chorus, slicer, live punch-in effects, and a master with limiter, clip and punch.

+
Ememory

Songs and the generator

Four sections per project, an ARRANGE page to chain them, and a generator that writes a whole song idea from a genre.

+
Froots

USB audio and MIDI

The FM-1 becomes an audio interface: every track on its own channel into your DAW (STEMS). MIDI over USB, Bluetooth and TRS.

+
+
+ +
+
+

Coming next

+

Future upgrades

+

What is being built and tested in the lab right now. Dates depend on testing on real FM-1s.

+
+ +
+ +
+
+

Support

+

JIANT is free. If it makes music with you, buy me a coffee.

+

JIANT is made by Juan Jiant, a muralist and visual artist from Buenos Aires. Every contribution pays for development hours and keeps the firmware free for everyone.

+
+ +
+ +
+
+

FAQ

+

Before you install

+
+
+
Can I go back to the official firmware?

Yes. The installer has a button to return to the official V15 firmware (you choose the official FM-1.fwsc from M-VAVE). It saves a complete backup first.

+
Which browser do I need?

Chrome or Edge on a computer, for the installer and the editor: they talk to the FM-1 over USB. The emulator also works in other browsers and on phones.

+
Will I lose my sounds or projects?

Back them up with the editor before installing or changing version. The installer can also install earlier versions, but a project saved by a newer version may not open right in an older one.

+
The installer doesn't find my FM-1.

Use a USB cable that carries data (many cables only charge), connect it straight to the computer without a hub, and close other programs that use the FM-1 over MIDI.

+
Where is the manual?

The full manual, in English and Spanish, is on GitHub: English · Español.

+
+
+ +
+ JIANT FM · Juan Jiant · Buenos Aires + GitHub · GPL-3.0 · preview installer (untested builds) + Built on Felucca by Hügelton Instruments. M-VAVE and FM-1 are trademarks of their respective owners; JIANT is not affiliated with or endorsed by them, nor with Hügelton Instruments. +
+
+ + + + +