Files
fmini-1/web/site_fmini.html
T
Claude 8dd0ab9662 FMini-1 v1.10.0: SEQ with 64 notes on an 8x8 grid; installer without the return to official firmware
- firmware: the SEQUENCER records up to 64 notes (NSTEP); the pop-up shows
  them as an 8x8 grid of squares: dark gray empty, red recorded, orange the
  step playing now, cream blinking on the next slot while REC is armed.
  The 4x4 note-name grid and fa_note_name are gone. The patch signature
  covers all 64 steps. Version v1.10.0.
- tests: the take of 16 becomes a take of 64 (ends by itself at 64, step 63
  is note 113); HOLD REC TO CLEAR checks all 64 steps.
- web: the installer no longer offers to return to the official firmware
  (the stock block, its texts and handlers are removed; the fm1*.js
  libraries and their tests stay). Site text says 64 notes. Splash, SEQ
  screenshots and the emulator/installer are regenerated.
- docs: CLAUDE.md suite heading now 1.10.0.

Not tested on a real FM-1.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
2026-10-27 17:03:29 -03:00

831 lines
62 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!doctype html>
<!-- SPDX-License-Identifier: GPL-3.0-only
FMini-1 site + installer. The installer logic is the Felucca installer's (Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments) -->
<html lang="pt">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="dark">
<meta name="description" content="FMini-1: a Minimoog emulation firmware for the M-Vave FM-1, mono and polyphonic. Analog Circuit Modelling, 3 oscillators, ladder filter, 100 presets, arpeggiator, sequencer, MIDI.">
<title>FMini-1 — a Minimoog emulation for the M-Vave FM-1</title>
<style>
:root {
--bg: #0d0c10; --surface: #15131a; --surface2: #1c1922; --line: #2a2631; --fg: #f4f0ea; --dim: #a29cab; --mute: #6f6a78;
--or: #ff7a1a; --or2: #ff9a4d; --ok: #7bd88f; --bad: #ff7a6a;
--sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
--mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; color: var(--fg); font: 17px/1.65 var(--sans); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--or2); }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.announce { background: var(--or); color: #1a0e05; text-align: center; font-size: 13.5px; font-weight: 600; padding: 9px 16px; }
.announce .ver { display: inline-block; font: 700 12px/1 var(--mono); background: #1a0e05; color: var(--or2); border-radius: 4px; padding: 3px 6px; margin-left: 6px; }
header.nav { position: sticky; top: 0; z-index: 20; background: rgba(13,12,16,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header.nav .wrap { display: flex; align-items: center; gap: 18px; height: 60px; }
.brand { font-weight: 900; font-style: italic; letter-spacing: -.04em; font-size: 23px; color: var(--fg); text-decoration: none; }
.brand i { color: var(--or); }
header.nav nav { display: flex; gap: 2px; margin-left: auto; }
header.nav nav a { color: var(--dim); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
header.nav nav a:hover { color: var(--fg); background: var(--surface2); }
header.nav nav a.keep { color: #1a0e05; background: var(--or); font-weight: 700; margin-left: 6px; }
header.nav nav a.keep:hover { background: var(--or2); }
.lang { font: 600 12px/1 var(--mono); color: var(--dim); background: transparent; border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; cursor: pointer; }
.lang:hover { color: var(--fg); border-color: var(--mute); }
header.nav nav a.try .ts { display: none; }
/* a phone: the section links go, the emulator's ("Try in browser") and Install stay; on a narrow one the short label */
@media (max-width: 720px) {
header.nav nav a:not(.keep):not(.try) { display: none; }
header.nav .wrap { gap: 10px; }
header.nav nav a { padding: 8px 9px; font-size: 13px; }
header.nav nav a.keep { margin-left: 2px; }
header.nav nav a.try { color: var(--fg); border: 1px solid var(--line); }
}
@media (max-width: 430px) { header.nav nav a.try .tl { display: none; } header.nav nav a.try .ts { display: inline; } }
/* hero */
.hero { padding: 72px 0 0; }
.logo { margin: 0; font-weight: 900; font-style: italic; letter-spacing: -.05em; line-height: .92;
font-size: clamp(64px, 13vw, 132px); font-family: "Montserrat", "Inter", "Helvetica Neue", Arial, sans-serif; }
.logo .f { color: var(--or); }
.by { margin: 14px 0 0; font-size: clamp(18px, 3vw, 24px); font-weight: 600; color: var(--dim); }
.tag { margin: 28px 0 0; max-width: 700px; font-size: clamp(22px, 3.4vw, 32px); line-height: 1.25; font-weight: 600; letter-spacing: -.015em; }
.sub { margin: 16px 0 0; max-width: 640px; color: var(--dim); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }
.btn { display: inline-block; text-decoration: none; font: 700 15px/1 var(--sans); border-radius: 10px; padding: 16px 24px; cursor: pointer; border: 0; }
.btn.pri { color: #1a0e05; background: var(--or); }
.btn.pri:hover { background: var(--or2); }
.btn.sec2 { color: var(--fg); background: var(--surface2); border: 1px solid var(--line); }
.btn.sec2:hover { border-color: var(--mute); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.tags li { font: 500 12.5px/1 var(--mono); color: var(--dim); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; }
.photo { margin: 52px 0 0; border-radius: 20px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.photo img { display: block; width: 100%; height: auto; }
/* hero: the Minimoog beside the title, then it shrinks into the FM-1's screen as the page scrolls */
.hero2 { position: relative; height: calc(100svh - 60px); }
.stage { position: relative; height: 100%; overflow: hidden; }
.copy1 { position: absolute; z-index: 3; left: max(24px, calc((100% - 1032px) / 2)); top: 50%; transform: translateY(-50%); width: min(500px, 46%); will-change: opacity, transform; }
.kick { margin: 0 0 18px; font: 500 13px/1.4 var(--mono); color: var(--dim); }
.kick .ver { display: inline-block; margin-left: 8px; font: 700 11.5px/1 var(--mono); background: var(--or); color: #1a0e05; border-radius: 4px; padding: 4px 6px; }
.copy1 .logo { font-size: clamp(56px, 8.4vw, 118px); }
.copy1 .tag { font-size: clamp(20px, 2.4vw, 28px); margin-top: 22px; }
.copy1 .sub { font-size: 16px; }
.copy1 .cta { margin-top: 26px; }
.cta-ver { margin: 10px 0 0; font: 500 11px/1 var(--mono); color: var(--mute); letter-spacing: .03em; }
.copy2 .cta-ver { text-align: center; }
.mm { position: absolute; z-index: 2; left: 0; top: 0; width: 100px; height: auto; max-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 88%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 88%, transparent); mask-composite: intersect; will-change: left, top, width, opacity; pointer-events: none; }
.fm { position: absolute; z-index: 1; margin: 0; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }
.fm .body { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)); }
.fm .lcd { position: absolute; left: 30.73%; top: 15.23%; width: 16.76%; height: 28.3%; background: #000; overflow: hidden; border-radius: 1.5%; opacity: 0;
box-shadow: 0 0 18px rgba(255,122,26,.18); cursor: pointer; }
.fm .lcd #scr { position: absolute; inset: 0; }
.fm .lcd img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: opacity .6s ease; }
.copy2 { position: absolute; z-index: 3; left: 0; right: 0; text-align: center; opacity: 0; pointer-events: none; padding: 0 24px; }
.copy2 h2 { margin: 0 auto; font-size: clamp(26px, 4vw, 40px); }
.copy2 p { margin: 10px auto 0; color: var(--dim); max-width: 560px; }
.copy2 .cta { justify-content: center; margin-top: 20px; }
.hint { position: absolute; z-index: 3; pointer-events: none; left: 0; right: 0; bottom: 14px; text-align: center; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.hint i { display: block; width: 1px; height: 26px; margin: 8px auto 0; background: linear-gradient(var(--mute), transparent); animation: hint 1.6s ease-in-out infinite; }
@keyframes hint { 50% { transform: translateY(6px); opacity: .4; } }
@media (max-width: 820px) {
.copy1 { top: 18px; transform: none; width: auto; right: 24px; left: 24px; }
.copy1 .sub, .copy1 .tags, .copy1 .by { display: none; }
.copy1 .kick { margin-bottom: 10px; }
.copy1 .logo { font-size: clamp(48px, 15vw, 80px); }
.copy1 .tag { margin-top: 12px; font-size: 19px; }
.copy1 .cta { margin-top: 18px; }
}
body.rm .hint { display: none; }
/* sections */
section.s { padding: 104px 0 0; }
video.adv { display: block; width: 100%; margin-top: 28px; border-radius: 16px; border: 1px solid var(--line); background: #000; }
.eyebrow { font: 600 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--or); margin: 0 0 14px; }
h2 { margin: 0; font-size: clamp(30px, 5vw, 46px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; max-width: 760px; }
.lead { margin: 16px 0 0; color: var(--dim); max-width: 700px; font-size: 18px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin-top: 48px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.feat { border-top: 1px solid var(--line); padding: 20px 0 36px; }
.feat .n { font: 600 13px/1 var(--mono); color: var(--or); }
.feat h3 { margin: 12px 0 8px; font-size: 19px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.feat p { margin: 0; color: var(--dim); font-size: 15.5px; line-height: 1.6; }
/* screens */
.viewer { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: 56px; align-items: center; margin-top: 48px; }
@media (max-width: 820px) { .viewer { grid-template-columns: 1fr; gap: 28px; } }
.glass { background: #000; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1; box-shadow: 0 30px 80px rgba(255,122,26,.07); }
.glass img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; }
.tabs button { font: 600 12.5px/1 var(--mono); color: var(--dim); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; cursor: pointer; }
.tabs button:hover { color: var(--fg); border-color: var(--mute); }
.tabs button[aria-selected=true] { color: #1a0e05; background: var(--or); border-color: var(--or); }
.viewer h3 { margin: 0 0 10px; font-size: clamp(22px, 3.4vw, 30px); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
.viewer p { margin: 0 0 14px; color: var(--dim); }
.viewer ul { margin: 0; padding-left: 18px; color: var(--dim); font-size: 15.5px; }
.viewer li { margin: 6px 0; }
.viewer li::marker { color: var(--or); }
.pops { display: grid; grid-template-columns: repeat(3, minmax(0, 290px)); justify-content: space-between; gap: 36px 28px; margin-top: 72px; }
@media (max-width: 900px) { .pops { grid-template-columns: repeat(2, minmax(0, 290px)); } }
@media (max-width: 560px) { .pops { grid-template-columns: minmax(0, 320px); justify-content: center; } }
.pop figure { margin: 0; }
.pop h4 { margin: 16px 0 6px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.pop p { margin: 0; color: var(--dim); font-size: 15px; line-height: 1.55; font-style: italic; }
/* presets */
.presets { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 44px 0 20px; padding: 0; list-style: none; }
@media (max-width: 900px) { .presets { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .presets { grid-template-columns: repeat(2, 1fr); } }
.presets li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px; font: 600 14px/1.2 var(--mono); color: var(--fg); }
.presets li b { display: block; color: var(--or); font-size: 12px; margin-bottom: 6px; font-weight: 600; }
.groups { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.groups li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; color: var(--dim); }
.groups li b { color: var(--fg); font-weight: 600; margin-right: 4px; }
/* buttons list */
.keys { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin-top: 48px; }
@media (max-width: 700px) { .keys { grid-template-columns: 1fr; } }
.keys div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline; border-top: 1px solid var(--line); padding: 13px 0; }
.keys b { font: 700 13px/1.2 var(--mono); color: var(--or); }
.keys span { color: var(--dim); font-size: 15px; line-height: 1.5; }
h3.sub2 { margin: 72px 0 0; font-size: 24px; letter-spacing: -.02em; font-weight: 800; }
/* install */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; margin-top: 44px; }
@media (max-width: 560px) { .card { padding: 20px; } }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; margin: 0 0 30px; padding: 0; }
.steps b { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.steps b i { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--or); color: #1a0e05; font: 800 13px/1 var(--sans); font-style: normal; }
.steps span.d { display: block; color: var(--dim); font-size: 14.5px; line-height: 1.5; margin-top: 8px; }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; gap: 18px; } }
#go { width: 100%; font: 800 18px/1 var(--sans); color: #1a0e05; border: 0; border-radius: 12px; padding: 22px 20px; cursor: pointer; background: var(--or); transition: transform .08s, background .15s; }
#go small { font: 600 .62em/1 var(--mono); opacity: .75; margin-left: 4px; }
#go:hover:not(:disabled) { background: var(--or2); }
#go:active:not(:disabled) { transform: translateY(1px); }
#go:disabled { cursor: default; background: var(--surface2); color: var(--mute); }
dialog.portpick { width: min(440px, calc(100vw - 32px)); padding: 22px; border: 1px solid var(--or); border-radius: 16px; background: var(--surface); color: var(--fg); font-size: 14.5px; line-height: 1.5; }
dialog.portpick::backdrop { background: rgba(0,0,0,.7); }
dialog.portpick b { font-size: 17px; }
dialog.portpick p { color: var(--dim); margin: 8px 0 0; }
.portpick select { height: auto; }
.portpick button.ghost { background: transparent; color: var(--dim); border: 1px solid var(--line); font-weight: 600; }
.portpick select, .portpick button { display: block; width: 100%; margin-top: 10px; font: 600 14px/1 var(--sans); padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface2); color: var(--fg); }
.portpick button { background: var(--or); color: #1a0e05; border: 0; font-weight: 800; cursor: pointer; }
.busywarn { display: none; margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--or); background: rgba(255,122,26,.12); color: var(--fg); font-size: 15px; line-height: 1.45; }
.busywarn b { display: block; color: var(--or2); font-size: 16px; margin-bottom: 4px; }
body.busy .busywarn { display: block; }
body.busy #go { background: var(--surface2); color: var(--or2); }
.prog { margin-top: 22px; }
.meter { position: relative; height: 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.fill { height: 100%; width: 0; border-radius: 999px; background: var(--or); transition: width .25s ease; position: relative; }
body.busy .fill::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.25) 0 10px, rgba(255,255,255,0) 10px 22px);
background-size: 44px 100%; animation: slide 1s linear infinite; }
@keyframes slide { to { background-position: 44px 0; } }
body.finished .fill { background: var(--ok); }
.row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; gap: 12px; }
#pct { font: 700 24px/1 var(--mono); font-variant-numeric: tabular-nums; }
#status { color: var(--fg); font-size: 15px; text-align: right; min-height: 1.5em; }
body.bad #status { color: var(--bad); }
body.finished #status { color: var(--ok); font-weight: 700; }
#phases { display: flex; list-style: none; padding: 0; margin: 16px 0 0; gap: 6px; }
#phases li { flex: 1; text-align: center; font-size: 12px; color: var(--mute); padding-top: 10px; position: relative; }
#phases li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; background: var(--line); }
#phases li.now { color: var(--or2); font-weight: 700; }
#phases li.now::before { background: var(--or); }
#phases li.done { color: var(--dim); }
#phases li.done::before { background: #7a4a22; }
body.finished #phases li.done::before { background: var(--ok); }
.note { color: var(--dim); font-size: 14.5px; margin: 18px 0 0; }
.note.warn { color: #ffb37a; }
details { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
summary { cursor: pointer; color: var(--dim); font-size: 14.5px; }
summary:hover { color: var(--fg); }
details p { color: var(--dim); font-size: 14px; margin: 10px 0; }
details button { font: 600 14px/1 var(--sans); color: var(--fg); background: var(--surface2); border: 1px solid var(--line); border-radius: 8px; padding: 11px 16px; cursor: pointer; }
details button:disabled { opacity: .35; cursor: default; }
input[type=file] { color: var(--dim); font-size: 13px; max-width: 100%; }
pre { color: var(--mute); font-size: 12px; white-space: pre-wrap; margin: 10px 0 0; max-height: 220px; overflow: auto; }
footer { color: var(--mute); font-size: 12.5px; line-height: 1.7; margin-top: 120px; padding: 36px 0 48px; border-top: 1px solid var(--line); }
footer a { color: var(--dim); }
footer .credits { color: var(--dim); font-size: 13.5px; }
footer .mk { font: 900 italic 24px/1 "Montserrat", "Inter", Arial, sans-serif; letter-spacing: -.04em; color: var(--fg); margin-bottom: 14px; display: block; }
footer .mk i { color: var(--or); font-style: italic; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .fill::after { animation: none !important; } }
</style>
</head>
<body>
<header class="nav">
<div class="wrap">
<a class="brand" href="#top" aria-label="FMini-1"><i>FM</i>ini-<i>1</i></a>
<nav>
<a href="#features" data-t="nav_f"></a>
<a href="#screens" data-t="nav_s"></a>
<a href="#feat" data-t="nav_ft"></a>
<a href="editor/" data-t="nav_ed"></a>
<a href="emu/" class="try"><span class="tl" data-t="nav_try"></span><span class="ts" data-t="nav_try_s"></span></a>
<a href="#install" class="keep" data-t="nav_i"></a>
</nav>
<button class="lang" id="lang" aria-label="Language"></button>
</div>
</header>
<main>
<section class="hero2" id="top">
<div class="stage" id="stage">
<div class="copy1" id="copy1">
<p class="kick"><span data-t="announce"></span><span class="ver" id="ver">v1.1.0</span></p>
<h1 class="logo"><span class="f">FM</span>ini-<span class="f">1</span></h1>
<p class="by">by Ruppert</p>
<p class="tag" data-t="tagline"></p>
<p class="sub" data-t="sub"></p>
<div class="cta">
<a class="btn pri" href="#install" data-t="cta_install"></a>
<a class="btn sec2" href="#screens" data-t="cta_screens"></a>
</div>
<p class="cta-ver curver"></p>
<ul class="tags"><li>3 OSC</li><li data-t="chip_f"></li><li data-t="chip_p"></li><li>ARP</li><li>SEQ</li><li>MIDI</li></ul>
</div>
<img class="mm" id="mm" alt="Minimoog" src="/*HERO*/">
<figure class="fm" id="fm">
<img class="body" id="fm-body" alt="M-VAVE FM-1" src="">
<div class="lcd" id="lcd"><div id="scr"><img id="lcd-a" alt=""><img id="lcd-b" alt=""></div></div>
</figure>
<div class="copy2" id="copy2">
<h2 data-t="hero2_t"></h2>
<p data-t="hero2_s"></p>
<div class="cta">
<a class="btn pri" href="#install" data-t="cta_install"></a>
<a class="btn sec2" href="#screens" data-t="cta_screens"></a>
</div>
<p class="cta-ver curver"></p>
</div>
<div class="hint" id="hint" aria-hidden="true"><span data-t="hint"></span><i></i></div>
</div>
</section>
<section class="s wrap" id="video">
<p class="eyebrow" data-t="e_video"></p>
<h2 data-t="h_video"></h2>
<video class="adv" controls playsinline preload="metadata" poster="fmini-ad-poster.jpg"><source src="fmini-ad.mp4" type="video/mp4"></video>
</section>
<section class="s wrap" id="features">
<p class="eyebrow" data-t="e_sound"></p>
<h2 data-t="h_sound"></h2>
<p class="lead" data-t="l_sound"></p>
<div class="grid">
<article class="feat"><span class="n">01</span><h3 data-t="f1t"></h3><p data-t="f1d"></p></article>
<article class="feat"><span class="n">02</span><h3 data-t="f2t"></h3><p data-t="f2d"></p></article>
<article class="feat"><span class="n">03</span><h3 data-t="f3t"></h3><p data-t="f3d"></p></article>
<article class="feat"><span class="n">04</span><h3 data-t="f4t"></h3><p data-t="f4d"></p></article>
<article class="feat"><span class="n">05</span><h3 data-t="f5t"></h3><p data-t="f5d"></p></article>
<article class="feat"><span class="n">06</span><h3 data-t="f6t"></h3><p data-t="f6d"></p></article>
</div>
</section>
<section class="s wrap" id="screens">
<p class="eyebrow" data-t="e_screens"></p>
<h2 data-t="h_screens"></h2>
<p class="lead" data-t="l_screens"></p>
<div class="viewer">
<div class="glass"><img id="v-img" alt=""></div>
<div>
<div class="tabs" role="tablist" id="v-tabs"></div>
<h3 id="v-t"></h3>
<p id="v-d"></p>
<ul id="v-l"></ul>
</div>
</div>
<div class="pops" id="pops"></div>
</section>
<section class="s wrap" id="feat">
<p class="eyebrow" data-t="e_feat"></p>
<h2 data-t="h_feat"></h2>
<p class="lead" data-t="l_feat"></p>
<div class="grid">
<article class="feat"><span class="n">01</span><h3 data-t="ft1t"></h3><p data-t="ft1d"></p></article>
<article class="feat"><span class="n">02</span><h3 data-t="ft2t"></h3><p data-t="ft2d"></p></article>
<article class="feat"><span class="n">03</span><h3 data-t="ft3t"></h3><p data-t="ft3d"></p></article>
<article class="feat"><span class="n">04</span><h3 data-t="ft4t"></h3><p data-t="ft4d"></p></article>
<article class="feat"><span class="n">05</span><h3 data-t="ft5t"></h3><p data-t="ft5d"></p></article>
<article class="feat"><span class="n">06</span><h3 data-t="ft6t"></h3><p data-t="ft6d"></p></article>
<article class="feat"><span class="n">07</span><h3 data-t="ft7t"></h3><p data-t="ft7d"></p></article>
<article class="feat"><span class="n">08</span><h3 data-t="ft8t"></h3><p data-t="ft8d"></p></article>
<article class="feat"><span class="n">09</span><h3 data-t="ft9t"></h3><p data-t="ft9d"></p></article>
</div>
</section>
<section class="s wrap" id="install">
<p class="eyebrow" data-t="e_install"></p>
<h2 data-t="h_install"></h2>
<p class="lead" data-t="l_install"></p>
<div class="card">
<ol class="steps">
<li><b><i>1</i><span data-t="step1"></span></b><span class="d" data-t="s1"></span></li>
<li><b><i>2</i><span data-t="step2"></span></b><span class="d" data-t="s2"></span></li>
<li><b><i>3</i><span data-t="step3"></span></b><span class="d" data-t="s3"></span></li>
</ol>
<button id="go" disabled><span data-t="install"></span> <small class="curver-b"></small></button>
<dialog class="portpick" id="portpick"><b data-t="pick_t"></b><p data-t="pick_d"></p><select id="portsel" size="5" aria-label="MIDI"></select><button id="portgo" type="button" data-t="pick_b"></button><button id="portno" type="button" class="ghost" data-t="pick_c"></button></dialog>
<div class="busywarn" role="alert"><b data-t="busy_t"></b><span data-t="busy_d"></span></div>
<div class="prog">
<div class="meter" id="bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0"><div class="fill" id="fill"></div></div>
<div class="row"><span id="pct">0%</span><span id="status" aria-live="polite"></span></div>
<ul id="phases">
<li data-t="ph_verify"></li><li data-t="ph_loader"></li><li data-t="ph_write"></li><li data-t="ph_reboot"></li><li data-t="ph_done"></li>
</ul>
</div>
<p class="note" data-t="intro"></p>
<p class="note warn" data-t="warn"></p>
<p class="note" data-t="direct"></p>
<p class="note" data-t="beta"></p>
<p class="note"><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="logT"></summary>
<pre id="log"></pre>
</details>
</div>
</section>
</main>
<footer>
<div class="wrap">
<span class="mk"><i>FM</i>ini-<i>1</i> <small style="font-weight:600;font-size:13px;letter-spacing:0;color:var(--dim)">by Ruppert</small></span>
<span class="credits"><span data-t="cr_made"></span> <a href="https://github.com/hugelton/Felucca" target="_blank" rel="noopener">Felucca</a><span data-t="cr_made2"></span><br><span data-t="cr_moog"></span><br><span data-t="cr_ai"></span></span><br><br>
FMini-1 by Ruppert, a custom firmware based on Felucca by Leo Kuroshita (@kurogedelic), <a href="https://hugelton.com" target="_blank" rel="noopener">Hügelton Instruments</a>, with its CrispyZebra waveforms, drum voices, Sample Pack and Fukiai icons (MIT).<br>
Font: Inter Tight (The Inter Project Authors, SIL OFL 1.1). Samples: Versilian Studios VSCO-2 Community Edition and VCSL (CC0 1.0).<br>
FM6 engine: msfa from Dexed (Google Inc., Pascal Gauthier, Apache-2.0). The package also holds three JieLi AC79 SDK files, uboot.boot, cfg_tool.bin and eq_cfg_hw.bin (JieLi Technology, Apache-2.0). Licences: <a href="https://github.com/hugelton/Felucca/blob/main/LICENSING.md">LICENSING</a>, <a href="https://github.com/hugelton/Felucca/blob/main/LICENSE">GPL-3.0</a>, <a href="https://github.com/hugelton/Felucca/tree/main/LICENSES/">all</a>.<br>
M-VAVE and FM-1 are trademarks of their respective owners.<br>
<span data-t="license"></span> <a href="https://github.com/hugelton/Felucca" target="_blank" rel="noopener">github.com/hugelton/Felucca</a>
</div>
</footer>
<script type="module">
/*LIB*/
const $ = (id) => document.getElementById(id);
const TEXT = {
pt: {
intro: "Conecte o FM-1 por USB. (Funciona no Chrome ou no Edge.)",
warn: "Não desconecte o cabo USB durante a gravação.",
install: "Instalar", other: "English",
editor: "Editor",
direct: "Ligue o cabo USB direto no computador. Não precisa de Probe nem de Transporter.",
brick: "Se a instalação falhar e o FM-1 não ligar mais, recuperá-lo exige um Transporter:",
beta: "O FMini-1 é uma versão experimental. O autor não se responsabiliza se o seu FM-1 for danificado ou se comportar de forma estranha por causa deste firmware personalizado. Use por sua conta e risco.",
nomidi: "Este navegador não consegue. Abra a página no Chrome ou no Edge.", loadfail: "Não foi possível carregar: ",
start: "Iniciando", verify: "Verificando", loader: "Entrando no modo de atualização", write: "Gravando",
reboot: "Reiniciando", done: "Pronto! O FM-1 agora é um FMini-1", stopped: "Interrompido. Desconecte e reconecte o USB e aperte Instalar de novo.",
error: "Erro: ",
denied: "O acesso ao MIDI (SysEx) não foi permitido. Permita o MIDI nas configurações do site (barra de endereço) e aperte Instalar de novo.",
notfound: "FM-1 não encontrado. Confira o cabo USB (precisa ser de dados), feche outros apps que usam MIDI e aperte Instalar de novo.",
model: "O aparelho conectado não é um FM-1.",
lost: "A conexão USB caiu. Reconecte e aperte Instalar de novo.",
noloader: "O FM-1 em modo de atualização não foi encontrado. Reconecte o USB e aperte Instalar de novo (ele fica em modo de atualização até terminar).",
noreturn: "O FM-1 não voltou. Desligue e ligue de novo.",
mismatch: "Gravado, mas o FM-1 informa outra versão: ",
badpkg: "O arquivo a instalar está danificado. Recarregue a página.",
leave: "Gravando. Não feche a página.",
pick_t: "Qual destes é o seu FM-1?", pick_d: "Não achei o FM-1 pelo nome: outro firmware personalizado pode dar outro nome ao USB. Escolha na lista o dispositivo MIDI que é o FM-1 (com o USB dele conectado):", pick_b: "Instalar neste dispositivo", pick_c: "Cancelar",
busy_t: "Instalação em andamento: não feche esta página!", busy_d: "Não troque de aba ou de janela, não minimize o navegador, não desconecte o USB nem desligue o FM-1 até aparecer \"Pronto\". A tela do FM-1 pode ficar apagada ou reiniciar durante o processo: é normal.",
license: "GPL-3.0, sem garantia. Código-fonte:",
ready: "Pronto. Conecte o FM-1 e aperte Instalar.",
step1: "Conectar", step2: "Instalar", step3: "Tocar",
s1: "Ligue o FM-1 ao computador com um cabo USB de dados.", s2: "Aperte Instalar e mantenha o cabo conectado até aparecer Pronto.", s3: "O FM-1 reinicia como FMini-1, com a tela de abertura.",
ph_verify: "Verificar", ph_loader: "Modo de atualização", ph_write: "Gravar", ph_reboot: "Reiniciar", ph_done: "Pronto",
tagline: "Emulação do Minimoog para o FM-1 (mono/poly)",
feat: "3 osciladores · filtro ladder · 100 presets · arpejador · MIDI",
risk: "Use por sua conta e risco", logT: "Detalhes", fw: "Firmware",
},
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: "Português",
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: "FMini-1 is an experimental release. The author accepts no responsibility if your FM-1 is damaged or misbehaves because of this custom firmware. Use it at your own risk.",
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: ",
badpkg: "The file to install is damaged. Reload the page.",
leave: "Writing. Do not close the page.",
pick_t: "Which one is your FM-1?", pick_d: "I could not find the FM-1 by name: another custom firmware may name its USB device differently. Pick the MIDI device that is the FM-1 from the list (with its USB connected):", pick_b: "Install on this device", pick_c: "Cancel",
busy_t: "Installing: do not close this page!", busy_d: "Do not switch tabs or windows, minimize the browser, unplug the USB cable or power off the FM-1 until it says Done. The FM-1 screen may go blank or restart meanwhile: that is normal.",
license: "GPL-3.0, no warranty. Source:",
ready: "Ready. Connect your FM-1 and press Install.",
step1: "Connect", step2: "Install", step3: "Play",
s1: "Plug the FM-1 into the computer with a USB data cable.", s2: "Press Install and keep the cable connected until it says Done.", s3: "The FM-1 restarts as FMini-1 with its splash screen.",
ph_verify: "Verify", ph_loader: "Update mode", ph_write: "Write", ph_reboot: "Restart", ph_done: "Done",
tagline: "A Minimoog emulation for the M-Vave FM-1 (mono/poly)",
feat: "3 oscillators · ladder filter · 100 presets · arpeggiator · MIDI",
risk: "Use at your own risk", logT: "Details", fw: "Firmware",
},
};
/* ---- the site: texts (PT / EN / JA) and the parts it draws itself ---- */
const SITE = {
pt: {
nav_f: "Som", nav_s: "Telas", nav_ft: "Features", nav_ed: "Editor", nav_i: "Instalar",
sub: "Um firmware aberto que transforma o M-VAVE FM-1 em um sintetizador monofônico e polifônico. O FMini-1 usa a técnica de Analog Circuit Modelling, criada a partir dos esquemas reais do Minimoog para reproduzir com precisão o comportamento do instrumento original: três osciladores, filtro ladder, contornos, efeitos e tudo ao alcance dos botões do FM-1.",
chip_f: "Filtro ladder", chip_p: "100 presets",
cta_install: "Instalar agora", cta_screens: "Ver as telas",
h_sound: "O som", l_sound: "Cada bloco do painel do Minimoog tem seu lugar na tela de 240 × 240 do FM-1, com quatro knobs físicos para tocar de verdade.",
f1t: "Banco de osciladores", f1d: "Três osciladores com faixas de LO a 2', forma de onda individual, ajuste fino (detune) independente nos osciladores 2 e 3 e uma leve deriva de afinação, como a dos VCOs analógicos.",
f2t: "Filtro ladder", f2d: "Ladder de 4 polos, 24 dB/oitava, com saturação em cada estágio e o atraso de realimentação do circuito do Minimoog. Com a ênfase a partir de 8 o filtro auto-oscila numa senoide pura que acompanha o teclado em 1 V/oitava. O corte é lido de −5 a +5, como no painel.",
f3t: "Contornos", f3d: "Dois contornos (filtro e volume) com ataque, decaimento e sustentação. O ataque é exponencial, como o do circuito original. Glide, LFO e modulação completam a seção.",
f4t: "100 presets", f4d: "Dez grupos de dez: uma vitrine de estilos, hard leads, soft leads, baixos, pads e cordas, metais, plucks, teclas, atmosferas e efeitos sonoros. Cerca de um quarto já vem com o arpejador ligado. Salve os seus em 32 posições de usuário.",
f5t: "Arpejador e sequenciador", f5d: "Um toque no ARP liga e desliga; segurar ativa o HOLD. O sequenciador grava até 64 notas (REC) e toca (PLAY). Os LEDs das teclas acendem junto com as notas.",
f6t: "Efeitos por preset", f6d: "Reverb, delay, chorus e drive, cada preset com a sua própria combinação, para que baixos, leads e pads tenham ambientes bem diferentes.",
h_screens: "As telas", l_screens: "O painel foi desenhado para a tela do FM-1, com knobs estriados, chaves vermelhas e azuis e gráficos de filtro e contornos. Escolha uma página:",
views: [
{ t: "CTRL · Controladores", d: "A página inicial. Afinação geral, glide, quantidade de modulação e velocidade do LFO.", l: ["Quatro knobs: TUNE, GLIDE, MOD MIX e LFO RATE", "Chaves MOD OSC, MOD FLT, GLIDE e LFO SQR"] },
{ t: "OSC · Banco de osciladores", d: "Os três osciladores: faixa de oitava, forma de onda e detune dos osciladores 2 e 3.", l: ["Faixas LO, 32', 16', 8', 4' e 2'", "Seis formas de onda, desenhadas nas caixas da tela"] },
{ t: "MIX · Mixer", d: "O nível de cada oscilador e do ruído, com as chaves azuis para ligar e desligar cada fonte.", l: ["OSC 1, OSC 2, OSC 3 e NOISE", "Cada fonte tem o seu nível e a sua chave"] },
{ t: "FILT · Filtro", d: "Corte, ênfase, quantidade de contorno e controle pelo teclado, com o gráfico da resposta do filtro ladder.", l: ["CUTOFF, EMPHASIS, CONTOUR e KBD CTRL", "O gráfico mostra a resposta do filtro e a frequência em que ele auto-oscila"] },
{ t: "F.ENV · Contorno do filtro", d: "Ataque, decaimento, sustentação e quantidade do contorno que abre e fecha o filtro.", l: ["Gráfico do envelope que acompanha os knobs", "Ataque exponencial para o \"pluc\" clássico"] },
{ t: "A.ENV · Contorno de volume", d: "O envelope do volume: ataque, decaimento, sustentação e nível de saída.", l: ["ATTACK, DECAY, SUSTAIN e LEVEL", "Da percussão curta ao pad lento"] },
{ t: "FX · Efeitos", d: "Reverb, delay, chorus e drive: o nível de cada um (MIX, e GAIN no drive) em cima e, embaixo, um botão EDIT que abre os quatro parâmetros do efeito.", l: ["Cada preset guarda o seu mix e os seus ajustes", "Com o knob no zero o efeito desliga por completo e não gasta processamento"] },
],
pops: [
{ i: "arp", t: "Arpejador", d: "Modo, velocidade, oitavas, gate, HOLD e tempo. Toque no botão ARP para ligar; segure para o HOLD. O quadro fecha sozinho em 4 s." },
{ i: "seq", t: "Sequenciador", d: "64 posições para notas. REC arma a gravação, PLAY toca e para, e o tempo se ajusta com o encoder." },
{ i: "save", t: "Salvar preset", d: "Escolha a posição U01–U32, escreva o nome com os encoders e aperte SAVE. Suas versões ficam junto dos 100 presets de fábrica." },
{ i: "fxrev", t: "FX · Editar reverb", d: "O botão EDIT abre quatro knobs: MIX, TYPE (room, hall, plate, spring e cloud, longo e denso), DECAY e TONE. Todos os reverbs são estéreo. Apertar FX de novo passa para o delay, o chorus e o drive." },
{ i: "fxdly", t: "FX · Editar delay", d: "MIX, TYPE (analog, digital, tape, ping-pong, multi-tap, slapback e reverse), TIME e FEEDBACK. O botão SCL marca o tempo (tap tempo). O chorus tem Stereo (inspirado no CE-2), Juno e Multi; o drive, Soft e Tube." },
{ i: "glo", t: "Global", d: "Entrada MIDI (USB, MIDI ou todas), canal, clock MIDI do ARP e do SEQ (OFF, USB ou TRS), faixa do pitch bend e a lista de controles MIDI." },
{ i: "cc", t: "Lista de MIDI CC", d: "50 controles do painel, cada um com o seu número de CC. Gire o encoder para trocar ou envie um CC do seu teclado para aprender." },
{ i: "preset", t: "Troca de preset", d: "Ao trocar de preset aparece o número e o nome em letras grandes, por 1,5 s, e some." },
],
l_feat: "As funcionalidades, em resumo.",
ft1t: "100 presets e 32 de usuário", ft1d: "100 presets de fábrica, de leads a efeitos sonoros, e 32 posições (U01–U32) para salvar os seus.",
ft2t: "Mono e 12 vozes", ft2d: "Monofônico como o Minimoog, ou polifônico com 12 vozes.",
ft3t: "Emulação perfeita", ft3d: "Três osciladores, mixer com saturação suave e filtro ladder de 24 dB/oitava com auto-oscilação, modelados no Minimoog Model D.",
ft4t: "Efeitos", ft4d: "5 reverbs (Room, Hall, Plate, Spring, Cloud), 7 delays (Analog, Digital, Tape, Ping-Pong, Multi, Slap, Reverse), 3 chorus (Stereo, Juno, Multi) e drive (Soft, Tube).",
ft5t: "MIDI CC para controladores", ft5d: "50 controles com CC próprio, que você pode trocar, e o FMini-1 aprende o CC que o controlador enviar. Entrada USB e TRS, filtro de canal, pitch bend e roda de modulação.",
ft6t: "Sequenciador de 64 notas", ft6d: "Grave até 64 notas (REC) e toque (PLAY).",
ft7t: "Arpegiador", ft7d: "Um toque liga e desliga, segurar ativa o HOLD. Cerca de um quarto dos presets já vem com o arpejador ligado.",
ft8t: "Editor web", ft8d: "Edite sons e presets pelo navegador, ligado ao FM-1 por USB-MIDI.",
ft9t: "Emulador online", ft9d: "Experimente o FMini-1 no navegador, sem instalar nada.",
h_install: "Instalar", l_install: "O instalador roda aqui mesmo, no navegador, e grava o firmware no FM-1 pelo cabo USB.",
},
en: {
nav_f: "Sound", nav_s: "Screens", nav_ft: "Features", nav_ed: "Editor", nav_i: "Install",
sub: "An open firmware that turns the M-VAVE FM-1 into a monophonic and polyphonic synth. FMini-1 uses Analog Circuit Modelling, built from the actual Minimoog schematics to accurately reproduce the behaviour of the real instrument: three oscillators, a ladder filter, contours and effects, all within reach of the FM-1's buttons.",
chip_f: "Ladder filter", chip_p: "100 presets",
cta_install: "Install now", cta_screens: "See the screens",
h_sound: "The sound", l_sound: "Each block of the Minimoog panel has its place on the FM-1's 240 × 240 screen, with four real knobs to play it for real.",
f1t: "Oscillator bank", f1d: "Three oscillators with ranges from LO to 2', a waveform each, independent detune on oscillators 2 and 3 and a touch of pitch drift, like analog VCOs.",
f2t: "Ladder filter", f2d: "A four-pole ladder, 24 dB/octave, with saturation in every stage and the feedback lag of the Minimoog circuit. From emphasis 8 up it self-oscillates as a pure sine that follows the keyboard at 1 V/octave. Cutoff reads -5 to +5, as on the panel.",
f3t: "Contours", f3d: "Two contours (filter and loudness) with attack, decay and sustain. The attack is exponential, like the original circuit. Glide, LFO and modulation complete the section.",
f4t: "100 presets", f4d: "Ten groups of ten: a showcase of styles, hard leads, soft leads, basses, pads and strings, brass, plucks, keys, atmospheres and sound effects. About a quarter comes with the arpeggiator already on. Save your own in 32 user slots.",
f5t: "Arpeggiator and sequencer", f5d: "One tap on ARP turns it on and off; holding it sets HOLD. The sequencer records up to 64 notes (REC) and plays them (PLAY). The key LEDs light with the notes.",
f6t: "Effects per preset", f6d: "Reverb, delay, chorus and drive, each preset with its own combination, so basses, leads and pads live in very different spaces.",
h_screens: "The screens", l_screens: "The panel is drawn for the FM-1's screen, with fluted knobs, red and blue rocker switches and graphs of the filter and contours. Pick a page:",
views: [
{ t: "CTRL · Controllers", d: "The home page. Master tune, glide, modulation amount and LFO speed.", l: ["Four knobs: TUNE, GLIDE, MOD MIX and LFO RATE", "Switches MOD OSC, MOD FLT, GLIDE and LFO SQR"] },
{ t: "OSC · Oscillator bank", d: "The three oscillators: octave range, waveform and detune for oscillators 2 and 3.", l: ["Ranges LO, 32', 16', 8', 4' and 2'", "Six waveforms, drawn in the boxes on the screen"] },
{ t: "MIX · Mixer", d: "The level of each oscillator and of the noise, with the blue switches that turn each source on and off.", l: ["OSC 1, OSC 2, OSC 3 and NOISE", "Each source has its own level and switch"] },
{ t: "FILT · Filter", d: "Cutoff, emphasis, contour amount and keyboard control, with a graph of the ladder filter's response.", l: ["CUTOFF, EMPHASIS, CONTOUR and KBD CTRL", "The graph shows the filter's response and the pitch where it self-oscillates"] },
{ t: "F.ENV · Filter contour", d: "Attack, decay, sustain and amount of the contour that opens and closes the filter.", l: ["An envelope graph that follows the knobs", "Exponential attack for the classic pluck"] },
{ t: "A.ENV · Loudness contour", d: "The volume envelope: attack, decay, sustain and output level.", l: ["ATTACK, DECAY, SUSTAIN and LEVEL", "From short percussion to slow pads"] },
{ t: "FX · Effects", d: "Reverb, delay, chorus and drive: the level of each (MIX, and GAIN on the drive) on top and, below, an EDIT button that opens the effect's four parameters.", l: ["Each preset stores its own mix and settings", "A knob at zero turns the effect completely off and spends no processing"] },
],
pops: [
{ i: "arp", t: "Arpeggiator", d: "Mode, rate, octaves, gate, HOLD and tempo. Tap the ARP button to turn it on; hold it for HOLD. The box closes by itself after 4 s." },
{ i: "seq", t: "Sequencer", d: "64 slots for notes. REC arms recording, PLAY starts and stops, and the tempo is set with an encoder." },
{ i: "save", t: "Save preset", d: "Pick the slot U01–U32, type the name with the encoders and press SAVE. Your versions sit next to the 100 factory presets." },
{ i: "fxrev", t: "FX · Edit reverb", d: "EDIT opens four knobs: MIX, TYPE (room, hall, plate, spring and cloud, long and dense), DECAY and TONE. Every reverb is stereo. Pressing FX again moves on to the delay, the chorus and the drive." },
{ i: "fxdly", t: "FX · Edit delay", d: "MIX, TYPE (analog, digital, tape, ping-pong, multi-tap, slapback and reverse), TIME and FEEDBACK. The SCL button taps the tempo. The chorus has Stereo (after the CE-2), Juno and Multi; the drive, Soft and Tube." },
{ i: "glo", t: "Global", d: "MIDI input (USB, MIDI or all), channel, MIDI clock for the ARP and SEQ (OFF, USB or TRS), pitch bend range and the list of MIDI controls." },
{ i: "cc", t: "MIDI CC list", d: "50 panel controls, each with its CC number. Turn the encoder to change it, or send a CC from your keyboard to learn it." },
{ i: "preset", t: "Preset change", d: "When the preset changes, its number and name appear in big letters for 1.5 s, then vanish." },
],
l_feat: "The features at a glance.",
ft1t: "100 presets and 32 user slots", ft1d: "100 factory presets, from leads to sound effects, and 32 slots (U01–U32) for your own.",
ft2t: "Mono and 12 voices", ft2d: "Monophonic like the Minimoog, or polyphonic with 12 voices.",
ft3t: "Minimoog model", ft3d: "Three oscillators, a mixer that overloads softly and a 24 dB/oct ladder filter that self-oscillates, modelled on the Minimoog Model D.",
ft4t: "Effects", ft4d: "5 reverbs (Room, Hall, Plate, Spring, Cloud), 7 delays (Analog, Digital, Tape, Ping-Pong, Multi, Slap, Reverse), 3 choruses (Stereo, Juno, Multi) and drive (Soft, Tube).",
ft5t: "MIDI CC for controllers", ft5d: "50 controls with their own CC, which you can change, and the FMini-1 learns the CC your controller sends. USB and TRS input, channel filter, pitch bend and mod wheel.",
ft6t: "64-note sequencer", ft6d: "Record up to 64 notes (REC) and play them back (PLAY).",
ft7t: "Arpeggiator", ft7d: "One tap turns it on and off, holding it enables HOLD. About a quarter of the presets come with the arpeggiator on.",
ft8t: "Web editor", ft8d: "Edit sounds and presets in the browser, connected to the FM-1 over USB-MIDI.",
ft9t: "Online emulator", ft9d: "Try the FMini-1 in your browser, with nothing to install.",
h_install: "Install", l_install: "The installer runs right here, in the browser, and writes the firmware to the FM-1 over the USB cable.",
},
};
for (const l in SITE) Object.assign(TEXT[l], SITE[l]);
const SITE2 = {
pt: { announce: "Firmware gratuito e de código aberto para o M-VAVE FM-1", e_sound: "Som", h_sound: "Três osciladores, um filtro ladder e muito corpo", e_screens: "Telas", h_screens: "Cada página, uma seção do painel",
e_feat: "Features", h_feat: "Tudo o que o FMini-1 faz", e_install: "Instalar", h_install: "Instale direto do navegador" },
en: { announce: "Free, open-source firmware for the M-VAVE FM-1", e_sound: "Sound", h_sound: "Three oscillators, a ladder filter and plenty of body", e_screens: "Screens", h_screens: "Every page, one section of the panel",
e_feat: "Features", h_feat: "Everything the FMini-1 does", e_install: "Install", h_install: "Install straight from the browser" },
};
for (const l in SITE2) Object.assign(TEXT[l], SITE2[l]);
const SITE3 = {
pt: { hero2_t: "Um clássico dentro do FM-1.", hero2_s: "Firmware gratuito. Instale direto do navegador e volte ao original quando quiser.", hint: "Role" },
en: { hero2_t: "A classic, inside the FM-1.", hero2_s: "Free firmware. Install straight from the browser and go back to the original whenever you like.", hint: "Scroll" },
};
for (const l in SITE3) Object.assign(TEXT[l], SITE3[l]);
const SITE4 = {
pt: { nav_try: "Testar no navegador", nav_try_s: "Testar", e_video: "Vídeo", h_video: "Veja o FMini-1 em ação", cr_made: "O FMini-1 foi feito por Guilherme Ruppert, com base no projeto", cr_made2: ", de Leo Kuroshita (Hügelton Instruments).", cr_moog: "Minimoog é uma marca registrada da Moog Music Inc. e da inMusic MMI Acquisition. Os autores deste projeto não têm qualquer afiliação com essas empresas, mas são clientes orgulhosos de seus produtos e gratos pelo legado do Minimoog.", cr_ai: "Aviso sobre IA: este projeto foi realizado com o auxílio do Claude, um modelo de IA da Anthropic." },
en: { nav_try: "Try in browser", nav_try_s: "Try", e_video: "Video", h_video: "See FMini-1 in action", cr_made: "FMini-1 was made by Guilherme Ruppert, based on the", cr_made2: " project by Leo Kuroshita (Hügelton Instruments).", cr_moog: "Minimoog is a registered trademark of Moog Music Inc. and inMusic MMI Acquisition. The authors of this project have no affiliation with these companies, but they are proud customers of their products and grateful for the legacy of the Minimoog.", cr_ai: "AI disclaimer: this project was developed with the assistance of Claude, an AI model by Anthropic." },
};
for (const l in SITE4) Object.assign(TEXT[l], SITE4[l]);
const IMG = /*IMGS*/{};
const VIEW_IMG = ["ctrl", "osc", "mix", "filt", "fenv", "aenv", "fx"], VIEW_TAB = ["CTRL", "OSC", "MIX", "FILT", "F.ENV", "A.ENV", "FX"];
const PRESET_NAMES = /*PRESETS*/[];
let viewIdx = 0;
function renderView() {
const v = TEXT[lang].views[viewIdx];
$("v-img").src = IMG[VIEW_IMG[viewIdx]]; $("v-img").alt = v.t;
$("v-t").textContent = v.t; $("v-d").textContent = v.d;
$("v-l").innerHTML = ""; v.l.forEach((s) => { const li = document.createElement("li"); li.textContent = s; $("v-l").appendChild(li); });
[...$("v-tabs").children].forEach((b, i) => b.setAttribute("aria-selected", String(i === viewIdx)));
}
let viewHold = 0; /* the pages of the panel change by themselves, once a second */
(() => {
const box = $("screens"), vw = box.querySelector(".viewer");
let inView = false;
new IntersectionObserver((en) => { inView = en[0].isIntersecting; }, { threshold: 0.3 }).observe(vw);
let paused = false;
box.querySelector(".viewer").addEventListener("pointerenter", () => { paused = true; });
box.querySelector(".viewer").addEventListener("pointerleave", () => { paused = false; });
setInterval(() => {
if (!inView || paused || performance.now() < viewHold || !$("v-tabs").children.length) return;
viewIdx = (viewIdx + 1) % VIEW_TAB.length; renderView();
}, 1000);
})();
function renderSite() {
if (!$("v-tabs").children.length) {
VIEW_TAB.forEach((n, i) => { const b = document.createElement("button"); b.type = "button"; b.setAttribute("role", "tab"); b.textContent = n;
b.addEventListener("click", () => { viewIdx = i; viewHold = performance.now() + 8000; renderView(); }); $("v-tabs").appendChild(b); });
}
renderView();
$("pops").innerHTML = "";
TEXT[lang].pops.forEach((p) => {
const f = document.createElement("div"); f.className = "pop";
f.innerHTML = '<figure><div class="glass"><img alt=""></div><h4></h4><p></p></figure>';
f.querySelector("img").src = IMG[p.i]; f.querySelector("img").alt = p.t; f.querySelector("h4").textContent = p.t; f.querySelector("p").textContent = p.d;
$("pops").appendChild(f);
});
}
const nl = (navigator.language || "en").toLowerCase();
let lang = nl.startsWith("pt") ? "pt" : "en";
const LANGS = ["pt", "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 = lang === "pt" ? "PT" : "EN";
if (lastKey) $("status").textContent = t(lastKey) + lastArg;
renderSite();
}
$("lang").addEventListener("click", () => { lang = LANGS[(LANGS.indexOf(lang) + 1) % LANGS.length]; applyLang(); });
applyLang();
const sayK = (k, arg = "") => { lastKey = k; lastArg = arg; $("status").textContent = t(k) + arg; document.body.classList.toggle("bad", ["error","denied","notfound","model","lost","noloader","noreturn","mismatch","badpkg","stopped","loadfail","nomidi"].includes(k)); };
const say = (txt) => { lastKey = null; $("status").textContent = txt; };
const log = (t) => { $("log").textContent += t + "\n"; };
const PHASES = ["verify", "loader", "write", "reboot", "done"];
function setBar(pct, phase) {
pct = Math.max(0, Math.min(100, pct));
$("fill").style.width = pct + "%";
$("pct").textContent = Math.round(pct) + "%";
$("bar").setAttribute("aria-valuenow", String(Math.round(pct)));
const at = PHASES.indexOf(phase);
document.querySelectorAll("#phases li").forEach((li, i) => {
li.classList.toggle("done", at > i || phase === "done");
li.classList.toggle("now", at === i && phase !== "done");
});
document.body.classList.toggle("busy", phase && phase !== "done");
document.body.classList.toggle("finished", phase === "done");
}
// the write phase: the requests take the bar from 6 % to 78 %; from there (the last block, or no request for 1.5 s) +1 %
// every 0.7 s up to 99 % while the device finishes, whatever it still asks for; 100 % as soon as the write is finished (the reboot step)
let crawl = null, wLast = 0, wTick = 0, wPct = 6, wCap = false;
function writeBar(n) {
const now = Date.now();
if (!crawl) { wPct = 6; wCap = false; wTick = now; }
wLast = now;
wCap = wCap || n >= 1167;
wPct = Math.max(wPct, 6 + 72 * Math.min(1, n / 1167));
setBar(wPct, "write");
if (!crawl) crawl = setInterval(() => {
const t = Date.now();
if (!writing) { stopCrawl(); return; }
if ((wCap || t - wLast > 1500) && t - wTick >= 700 && wPct < 99) { wTick = t; wPct = Math.min(99, wPct + 1); setBar(wPct, "write"); }
}, 100);
}
function stopCrawl() { if (crawl) clearInterval(crawl); crawl = null; }
let image = null;
const meta = /*META*/;
document.querySelectorAll(".curver").forEach((e) => { e.textContent = "v" + meta.version; });
document.querySelectorAll(".curver-b").forEach((e) => { e.textContent = "(v" + meta.version + ")"; });
let writing = false;
let wake = null;
const keepAwake = async (on) => { try { if (on && navigator.wakeLock) wake = await navigator.wakeLock.request("screen"); else if (wake) { await wake.release(); wake = null; } } catch (_) {} };
const lockInstaller = (on) => { keepAwake(on); writing = on; $("go").disabled = on || !image; };
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; }
image = logicalImage(pkg);
say(t("ready"));
$("go").disabled = false;
setBar(0, null);
} catch (e) { sayK("loadfail", e.message); }
})();
async function runInstall(portName) {
if (writing) return;
if ($("portpick").open) $("portpick").close();
lockInstaller(true);
let midi;
try { midi = await navigator.requestMIDIAccess({ sysex: true }); }
catch (e) { sayK("denied"); lockInstaller(false); return; }
try {
const up = new Updater(midi, log);
up.portName = portName || null;
const total = 74 + 1167;
const step = (k, a) => {
log(`${k} ${a ?? ""}`);
if (k === "start") sayK("start");
if (k === "start") setBar(0, "verify");
if (k === "verify") { sayK("verify"); setBar((a / total) * 100, "verify"); }
if (k === "loader") { sayK("loader"); setBar(6, "loader"); }
if (k === "write") { sayK("write"); writeBar(a); }
if (k === "reboot") { stopCrawl(); sayK("reboot"); setBar(100, "reboot"); }
if (k === "done") { stopCrawl(); setBar(100, "done"); sayK("done"); }
};
const ota = await up.find((id) => /^ota-/i.test(id.model));
if (ota) {
ota.link.close();
sayK((await up.resume(image, step, meta.product)) ? "done" : "stopped");
} else {
await up.install(image, meta.product, step);
}
} catch (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));
if (e && e.code === "notfound") offerPorts(midi);
}
lockInstaller(false);
}
// not found by name (another custom firmware may name its USB device differently): the player picks the MIDI port
function offerPorts(midi) {
const names = [...new Set([...midi.inputs.values()].filter((i) => i.state !== "disconnected").map((i) => i.name).filter(Boolean))];
const sel = $("portsel");
sel.innerHTML = "";
for (const n of names) { const o = document.createElement("option"); o.value = o.textContent = n; sel.appendChild(o); }
sel.selectedIndex = 0;
if (names.length && $("portpick").showModal) $("portpick").showModal();
}
$("portgo").addEventListener("click", () => { const n = $("portsel").value; $("portpick").close(); if (n) runInstall(n); });
$("portno").addEventListener("click", () => $("portpick").close());
$("go").addEventListener("click", () => runInstall(null));
/* ---- hero: the Minimoog goes into the FM-1's screen as the page scrolls (reduced motion: the finished picture) ---- */
(() => {
const hero = $("top"), stage = $("stage"), mm = $("mm"), fm = $("fm"), lcd = $("lcd"), copy1 = $("copy1"), copy2 = $("copy2"), hint = $("hint");
const A = $("lcd-a"), B = $("lcd-b");
$("fm-body").src = IMG.fm1;
const ROT = ["splash", "ctrl", "osc", "mix", "filt", "fenv", "aenv", "fx"];
const rm = matchMedia("(prefers-reduced-motion: reduce)").matches;
if (rm) document.body.classList.add("rm");
A.src = IMG.splash; A.style.opacity = 1; B.style.opacity = 0;
const clamp = (x, a = 0, b = 1) => Math.max(a, Math.min(b, x));
const ease = (x) => x * x * (3 - 2 * x);
let prog = 0, W = 0, H = 0, fmW = 0, fmH = 0, fmX = 0, fmY = 0, mmW0 = 0, mmX0 = 0, mmY0 = 0, p = -1, rot = 0, rotAt = 0;
const MR = 452 / 900, FR = 512 / 859;
function layout() {
W = stage.clientWidth; H = stage.clientHeight;
const mob = W < 820;
const c2h = copy2.offsetHeight || 200, gap = mob ? 22 : 30;
fmY = mob ? H * 0.2 : Math.max(18, H * 0.05);
fmW = Math.min(W * (mob ? 0.94 : 0.86), 980, (H * (mob ? 0.5 : 0.62)) / FR, (H - fmY - c2h - gap - 28) / FR);
fmH = fmW * FR; fmX = (W - fmW) / 2;
fm.style.width = fmW + "px"; fm.style.left = fmX + "px"; fm.style.top = fmY + "px";
copy2.style.top = fmY + fmH + gap + "px";
mmW0 = mob ? W * 1.5 : Math.min(W * 0.98, 1500);
mmX0 = mob ? -W * 0.2 : Math.max(W * 0.5, W - 1.0 * mmW0 * 0.62);
mmY0 = mob ? H * 0.52 : (H - mmW0 * MR) / 2;
p = -1; draw(prog);
}
function draw(np) {
if (np === undefined) np = p < 0 ? prog : p;
if (Math.abs(np - p) < 0.0004) return;
p = np;
const q = ease(clamp((p - 0.08) / 0.72));
const mob = W < 820;
const sc = 0.9 + 0.1 * q;
fm.style.opacity = clamp(q / 0.35);
fm.style.transform = "scale(" + sc + ")";
/* where the screen is now, in the stage */
const cx = fmX + fmW * (0.3073 + 0.0838), cy = fmY + fmH * (0.1523 + 0.1415);
const tw = fmW * 0.1676 * sc * 1.02;
const ex = fmX + fmW / 2 + (cx - fmX - fmW / 2) * sc, ey = fmY + fmH / 2 + (cy - fmY - fmH / 2) * sc;
const w = mmW0 + (tw - mmW0) * q, h = w * MR;
const sx = mmX0 + mmW0 / 2, sy = mmY0 + mmW0 * MR / 2;
const mx = sx + (ex - sx) * q, my = sy + (ey - sy) * q;
mm.style.width = w + "px"; mm.style.left = mx - w / 2 + "px"; mm.style.top = my - h / 2 + "px";
mm.style.opacity = 1 - clamp((q - 0.88) / 0.12);
lcd.style.opacity = 1;
$("scr").style.opacity = clamp((p - 0.9) / 0.1);
copy1.style.opacity = 1 - clamp((p - 0.04) / 0.16);
copy1.style.transform = (mob ? "" : "translateY(-50%) ") + "translateX(" + (-clamp(p / 0.2) * 40) + "px)";
copy1.style.pointerEvents = p > 0.12 ? "none" : "";
copy2.style.opacity = clamp((p - 0.84) / 0.12);
copy2.style.pointerEvents = p > 0.9 ? "auto" : "none";
hint.style.opacity = 1 - clamp(p / 0.05);
}
/* the first scroll down plays the film by itself; scrolling up at the top plays it backwards */
const DUR = 1400;
if (rm) prog = 1;
let state = rm ? 2 : 0, t0 = 0, dir = 1; /* 0 start picture, 1 playing forward, 2 finished, 3 playing backwards */
const hold = (e) => { if (state === 1 || state === 3) e.preventDefault(); };
function done() {
prog = 1; state = 2; draw(1);
A.src = IMG.splash; A.style.opacity = 1; B.style.opacity = 0; rot = 0; rotAt = performance.now();
}
function home() { prog = 0; state = 0; draw(0); }
function frame(now) {
if (state !== 1 && state !== 3) return;
const x = clamp((now - t0) / DUR);
prog = dir > 0 ? x : 1 - x; draw(prog);
if (x >= 1) { if (dir > 0) done(); else home(); } else requestAnimationFrame(frame);
}
function play(d) {
dir = d; state = d > 0 ? 1 : 3; t0 = performance.now() - (d > 0 ? prog : 1 - prog) * DUR;
scrollTo({ top: 0, behavior: "instant" });
requestAnimationFrame(frame);
setTimeout(() => { if (state === 1) done(); else if (state === 3) home(); }, DUR + 1500); /* never leave the page held */
}
let arriveT = 0, prevY = scrollY; /* a flick that lands on the top must not bounce straight into the film */
const atTop = () => scrollY < 8;
const wantDown = () => { if (state === 0 && atTop()) { play(1); return true; } return false; };
const wantUp = () => { if (state === 2 && atTop() && !rm && performance.now() - arriveT > 450) { play(-1); return true; } return false; };
addEventListener("wheel", (e) => { if ((e.deltaY > 0 && wantDown()) || (e.deltaY < 0 && wantUp())) e.preventDefault(); else hold(e); }, { passive: false });
let ty = 0;
addEventListener("touchstart", (e) => { ty = e.touches[0].clientY; }, { passive: true });
addEventListener("touchmove", (e) => { const dy = ty - e.touches[0].clientY; if ((dy > 8 && wantDown()) || (dy < -8 && wantUp())) e.preventDefault(); else hold(e); }, { passive: false });
addEventListener("keydown", (e) => {
if (/INPUT|TEXTAREA|SELECT/.test(e.target.tagName)) return;
if (["ArrowDown", "PageDown", " ", "End"].includes(e.key)) { if (wantDown()) e.preventDefault(); else hold(e); }
else if (["ArrowUp", "PageUp", "Home"].includes(e.key)) { if (wantUp()) e.preventDefault(); else hold(e); }
});
addEventListener("scroll", () => { if (scrollY < 1 && prevY >= 1) arriveT = performance.now(); prevY = scrollY; if (state === 0 && scrollY > 8) play(1); else if ((state === 1 || state === 3) && scrollY > 0) scrollTo({ top: 0, behavior: "instant" }); }, { passive: true });
document.querySelectorAll('a[href^="#"]').forEach((a) => a.addEventListener("click", () => { if (state !== 2) done(); }));
addEventListener("resize", layout);
if ((!rm && location.hash.length > 1) || scrollY > 40) { state = 2; prog = 1; } /* a reload further down, or a link to a section: the finished picture */
/* the finished FM-1 shows the real screens, one after the other */
function show(i) {
const on = A.style.opacity === "1" ? A : B, off = on === A ? B : A;
off.src = IMG[ROT[i]]; off.style.opacity = 1; on.style.opacity = 0;
}
const next = () => { rot = rot + 1 >= ROT.length ? 1 : rot + 1; show(rot); rotAt = performance.now(); };
lcd.addEventListener("click", next);
if (!rm) setInterval(() => { if (state === 2 && performance.now() - rotAt >= 1000) next(); }, 100);
layout();
})();
</script>
</body>
</html>