Site: the editor and the installer as an app that works without internet (Android too): sw.js, manifest, Install the app; firmware unchanged (2.6)

This commit is contained in:
isod89 committed 2026-10-11 14:58:33 -04:00
1 parent 4365a1d007
commit cb6dedcec2
22 files changed
+480 -24

No files matched your search

+9 -4
View File
@@ -8,6 +8,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>SLOOP Editor</title>
<style>
/* SLOOP 2.4 editor: the FM-1's screen on a big display. Black, the four track colours, the device's own
Terminus pixel font (tools/gen_webfont.py, inlined: the editor also runs from file://), 16 px and 32 px only
@@ -470,8 +471,7 @@
<span id="mock" hidden data-t="mock"></span>
<button id="connect" class="pri" data-t="connect" data-ic="port_usb_c"></button>
<div class="links"><a class="dim" href="https://isod89.github.io/sloop-fm1/webapp/installer/" target="_blank" rel="noopener" data-t="installer"></a><button class="lang" id="lang"></button></div>
</div>
</div>
</aside>
<main class="main">
@@ -3567,7 +3567,8 @@ const TEXT = {
loadedUser: "読み込みました: ", reloaded: "本体で音色が変わったので読み直しました", readingBank: "スロットを読み込み中",
badEngine: "このファームウェアにないエンジンです: ", flashFail: "書き込みに失敗しました(rc {rc})",
installer: "SLOOP インストーラー",
offline: "エディタをダウンロード(オフライン用:Chrome / Edge で開く)",
offline: "エディタをダウンロード(パソコンでオフライン用:Chrome / Edge で開く)",
install: "アプリとしてインストール(オフラインで使える・Android も)",
tabSeq: "シーケンサー", tabTracks: "トラック", tabSettings: "設定",
navTrack: "トラック", navSounds: "サウンド", navDevice: "本体", tabKits: "ドラムキット", fm1: "FM-1",
stepList: "ステップ一覧(音名を入力)", stepsOf: "{n} ステップ", fontCredit: "フォント: Terminus(SIL OFL 1.1)",
@@ -3767,7 +3768,8 @@ const TEXT = {
loadedUser: "Loaded ", reloaded: "The sound changed on the device: read again", readingBank: "Reading the slots",
badEngine: "This firmware has no such engine: ", flashFail: "Write failed (rc {rc})",
installer: "SLOOP installer",
offline: "Download the editor (offline: open it in Chrome or Edge)",
offline: "Download the editor (offline on a computer: open it in Chrome or Edge)",
install: "Install the app (works offline, Android too)",
tabSeq: "Sequencer", tabTracks: "Tracks", tabSettings: "Settings",
navTrack: "Track", navSounds: "Sounds", navDevice: "Device", tabKits: "Drum kit", fm1: "FM-1",
stepList: "Step list (type note names)", stepsOf: "{n} steps", fontCredit: "Font: Terminus (SIL OFL 1.1)",
@@ -7602,6 +7604,9 @@ showTab(tab);
libInit();
if (!MOCK && !navigator.requestMIDIAccess) sayK("nomidi");
})();
/* the site without internet (SLOOP 2.6, webapp/sw.js): opened once online, the editor and the installer work
* offline too, still on https (Android: a downloaded file opens as content://, where Chrome refuses MIDI) */
</script>
</body>
</html>