From 9d48edf7e0d5f6867dec093c32d6d22eebc35014 Mon Sep 17 00:00:00 2001 From: Me Here Date: Tue, 26 May 2026 09:45:58 -0500 Subject: [PATCH] =?UTF-8?q?Rename=20as-built=20=E2=86=92=20stage.html;=20a?= =?UTF-8?q?dd=20micro.html=20(minimal=20home-practice=20unit)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Rename player-asbuilt.html → stage.html (the pedalboard build). Update build.sh + deploy.sh (deploy now also removes the old player-asbuilt.html from the web root) and the cross-links in player.html / stage.html. - New /micro.html — a stripped-down home-practice metronome on the same RP2040 firmware. Hardware is just: ONE depressable scroll/rotary encoder, a red 7-segment LED display, a speaker, and USB-C for power. The encoder does everything: spin = tempo, press = start/stop, hold + spin = switch track (the LED shows the track number, with BPM / TRACK / ▶ indicators). Tracks = the editor's seed grooves flattened (23). Shares src/engine.js, setlists.js, base.css; synth-only; steady practice loop (ramps/bars ignored). Co-Authored-By: Claude Opus 4.7 (1M context) --- build.sh | 6 +- deploy.sh | 7 +- micro.html | 241 ++++++++++++++++++++++++++++++ player.html | 3 +- player-asbuilt.html => stage.html | 5 +- 5 files changed, 254 insertions(+), 8 deletions(-) create mode 100644 micro.html rename player-asbuilt.html => stage.html (99%) diff --git a/build.sh b/build.sh index b6326a8..b0fe1f9 100755 --- a/build.sh +++ b/build.sh @@ -30,7 +30,7 @@ def build(name): out.write_text(src) return out.stat().st_size -i = build("index.html"); p = build("player.html"); a = build("player-asbuilt.html") -print("built dist/index.html (%dKB) + dist/player.html (%dKB) + dist/player-asbuilt.html (%dKB)" - % (i // 1024, p // 1024, a // 1024)) +i = build("index.html"); p = build("player.html"); a = build("stage.html"); u = build("micro.html") +print("built index.html (%dKB) + player.html (%dKB) + stage.html (%dKB) + micro.html (%dKB)" + % (i // 1024, p // 1024, a // 1024, u // 1024)) PY diff --git a/deploy.sh b/deploy.sh index 93f068a..91d6227 100755 --- a/deploy.sh +++ b/deploy.sh @@ -43,8 +43,11 @@ sed "s|const APP_VERSION = \"[^\"]*\";|const APP_VERSION = \"$BUILD\";|" "$DIST_ echo "deployed v$BUILD ($(stat -c '%s' "$DEST_DIR/index.html") bytes) -> $DEST_DIR" sed "s|const APP_VERSION = \"[^\"]*\";|const APP_VERSION = \"$BUILD\";|" "$DIST_DIR/player.html" > "$DEST_DIR/player.html" echo "deployed player.html ($(stat -c '%s' "$DEST_DIR/player.html") bytes)" -sed "s|const APP_VERSION = \"[^\"]*\";|const APP_VERSION = \"$BUILD\";|" "$DIST_DIR/player-asbuilt.html" > "$DEST_DIR/player-asbuilt.html" -echo "deployed player-asbuilt.html ($(stat -c '%s' "$DEST_DIR/player-asbuilt.html") bytes)" +sed "s|const APP_VERSION = \"[^\"]*\";|const APP_VERSION = \"$BUILD\";|" "$DIST_DIR/stage.html" > "$DEST_DIR/stage.html" +echo "deployed stage.html ($(stat -c '%s' "$DEST_DIR/stage.html") bytes)" +sed "s|const APP_VERSION = \"[^\"]*\";|const APP_VERSION = \"$BUILD\";|" "$DIST_DIR/micro.html" > "$DEST_DIR/micro.html" +echo "deployed micro.html ($(stat -c '%s' "$DEST_DIR/micro.html") bytes)" +rm -f "$DEST_DIR/player-asbuilt.html" # renamed to stage.html # If real audio samples are added later (see the plan's GM-sample note), # sync that directory too. diff --git a/micro.html b/micro.html new file mode 100644 index 0000000..866de95 --- /dev/null +++ b/micro.html @@ -0,0 +1,241 @@ + + + + + +VARASYS PM‑µ — micro (home practice) + + + + + + + +
+ VARASYS PM‑µ · micro (home practice) + + + Stage ↗ + Editor ↗ + +
+ +
+
+
PM‑µ Micro
+
PWR
+
+ +
+
+
BPM
+
Track
+
+
+ +
+ +
+
USB‑C (power)
+
+ +
Spin the dial = tempo · press = start / stop · hold & spin = switch track
+ + + + diff --git a/player.html b/player.html index 8137873..363aa5f 100644 --- a/player.html +++ b/player.html @@ -199,7 +199,8 @@ - As‑built ↗ + Stage ↗ + Micro ↗ Open editor ↗ diff --git a/player-asbuilt.html b/stage.html similarity index 99% rename from player-asbuilt.html rename to stage.html index 86574e7..2b9bf7d 100644 --- a/player-asbuilt.html +++ b/stage.html @@ -3,7 +3,7 @@ -VARASYS PM‑1 — as‑built (real components) +VARASYS PM‑1 — stage (pedalboard build)