the ultimate vocal synthesizer - sing, speak, beatbox, and more
Rust
more contrast
Evan R3e224215087e
diff --git a/src/ui/App.tsx b/src/ui/App.tsxindex 1a770f0..8f8da74 100644--- a/src/ui/App.tsx+++ b/src/ui/App.tsx@@ -228,7 +228,7 @@ export function App() {function Wall() {const mode = useStore((s) => s.mode);return (- <div className={`app mode-${mode}`}>+ <div className={`app text-colors mode-${mode}`}><TopBar /><main className={`wall wall-${mode}`}><LeftScreen />diff --git a/src/ui/colors.ts b/src/ui/colors.tsindex 013bd48..e35f9ce 100644--- a/src/ui/colors.ts+++ b/src/ui/colors.ts@@ -17,6 +17,11 @@ export const V = {};/** the four control slots, in order */export const SLOTS = [V.green, V.red, V.pink, V.white] as const;+/** brighter canvas text, kept separate from the vector line palette */+export const TEXT = {+ primary: "#effbff",+ secondary: "#e2f5fc",+} as const;/** mix two #rrggbb colours */export function mix(hex: string, to: string, u: number): string {diff --git a/src/ui/components/CreatureTubes.tsx b/src/ui/components/CreatureTubes.tsxindex 99c5816..92b9ff6 100644--- a/src/ui/components/CreatureTubes.tsx+++ b/src/ui/components/CreatureTubes.tsx@@ -2,7 +2,7 @@ import { usePhosphor } from "../usePhosphor.ts";import { useStore } from "../store.ts";import { creatureById } from "../../wasm/engine.ts";import { liveTelemetry, previewTelemetry } from "../creatureLive.ts";-import { V, heat, pressureLevel } from "../colors.ts";+import { TEXT, V, heat, pressureLevel } from "../colors.ts";import { beam, beamPts, label, type Pt } from "../render/vector.ts";const a2d = (A: number) => 2 * Math.sqrt(Math.max(0, A) / Math.PI);@@ -24,7 +24,8 @@ export function CreatureTubes() {lanes.forEach((l, li) => {const data = tele.tubes[l.tube];const y = 3 + laneH * (li + 0.5);- label(ctx, (l.label ?? l.tube).toUpperCase(), 14, y + 3, { size: 9, color: V.blueMid, ls: 0.16 });+ label(ctx, (l.label ?? l.tube).toUpperCase(), 14, y + 3, { size: 9, color: TEXT.secondary, ls: 0.16 });+ label(ctx, (l.label ?? l.tube).toUpperCase(), 14, y + 3, { size: 9, color: TEXT.secondary, ls: 0.16 });const n = data.areas.length;const x0 = labelW, x1 = w - 14;const dx = (x1 - x0) / n;diff --git a/src/ui/components/CreatureView.tsx b/src/ui/components/CreatureView.tsxindex 2bdc936..f9b8860 100644--- a/src/ui/components/CreatureView.tsx+++ b/src/ui/components/CreatureView.tsx@@ -4,7 +4,7 @@ import { useStore } from "../store.ts";import { creatureById } from "../../wasm/engine.ts";import type { CreatureDef } from "../../wasm/types.ts";import { liveTelemetry, previewTelemetry } from "../creatureLive.ts";-import { V, SLOTS, heat, pressureLevel } from "../colors.ts";+import { TEXT, V, SLOTS, heat, pressureLevel } from "../colors.ts";import { beamPts, dot, hfont, label, labelWidth, ring, seg, wrapLabel, type Pt } from "../render/vector.ts";type P = [number, number];@@ -141,7 +141,7 @@ export function CreatureView() {}if (tg.label && tg.inView) {const m = S(pointAt(tg, tg.length * 0.5));- labels.push({ text: tg.label.toUpperCase(), x: m[0] + 12, y: m[1] - 12, color: V.blueMid });+ labels.push({ text: tg.label.toUpperCase(), x: m[0] + 12, y: m[1] - 12, color: TEXT.secondary });}}@@ -187,8 +187,8 @@ export function CreatureView() {}// like a map's title: the name, the latin name, and what it is doing- label(ctx, fit(ctx, def.name.toUpperCase(), w - 32, compact ? 18 : 24, 0.18), 16, compact ? 30 : 34, { size: compact ? 18 : 24, color: V.blue, ls: 0.18 });- label(ctx, fit(ctx, def.latin.toUpperCase(), w - 34, 10, 0.16), 18, compact ? 48 : 54, { size: 10, color: V.blueMid, ls: 0.16 });+ label(ctx, fit(ctx, def.name.toUpperCase(), w - 32, compact ? 18 : 24, 0.18), 16, compact ? 30 : 34, { size: compact ? 18 : 24, color: TEXT.primary, ls: 0.18 });+ label(ctx, fit(ctx, def.latin.toUpperCase(), w - 34, 10, 0.16), 18, compact ? 48 : 54, { size: 10, color: TEXT.secondary, ls: 0.16 });const state = live ? (live.call ? (def.calls.find((c) => c.id === live.call)?.name ?? live.call) : live.gate > 0.05 ? "Sustaining" : "At rest") : "Not started";const pitchText = pp ? (() => { const f = fmtParam(pitch, pp); return `${f.value} ${f.unit}`.trim().toUpperCase(); })() : "";if (compact) {@@ -203,7 +203,7 @@ export function CreatureView() {seg(ctx, 18, by, 18 + unit * sc, by, V.blueMid, 1.2);seg(ctx, 18, by - 4, 18, by + 4, V.blueMid, 1.2);seg(ctx, 18 + unit * sc, by - 4, 18 + unit * sc, by + 4, V.blueMid, 1.2);- label(ctx, `${unit} CM`, 26 + unit * sc, by + 3, { size: 9, color: V.blueMid, ls: 0.14 });+ label(ctx, `${unit} CM`, 26 + unit * sc, by + 3, { size: 9, color: TEXT.secondary, ls: 0.14 });// the first four parameters, OP-1 style, across the bottom (the encoders on the right share the colours)const params = def.params.slice(0, 4);diff --git a/src/ui/components/PianoRoll.tsx b/src/ui/components/PianoRoll.tsxindex 37d7716..bbf8784 100644--- a/src/ui/components/PianoRoll.tsx+++ b/src/ui/components/PianoRoll.tsx@@ -3,7 +3,7 @@ import { usePhosphor } from "../usePhosphor.ts";import { engine } from "../../audio/AudioEngine.ts";import { useStore } from "../store.ts";import { roll, tickSinging } from "../singing.ts";-import { V } from "../colors.ts";+import { TEXT, V } from "../colors.ts";import { beam, beamPts, label, seg, type Pt } from "../render/vector.ts";import { nearestBody } from "../body.ts";@@ -69,7 +69,8 @@ export function PianoRoll() {}if (pc === 0) {seg(ctx, left, yc + rowH / 2, w, yc + rowH / 2, V.frame, 1);- label(ctx, `${NAMES[pc]}${Math.floor(m / 12) - 1}`, 6, yc + 3, { size: 9, color: V.blueMid, ls: 0.1 });+ label(ctx, `${NAMES[pc]}${Math.floor(m / 12) - 1}`, 6, yc + 3, { size: 9, color: TEXT.secondary, ls: 0.1 });+ label(ctx, `${NAMES[pc]}${Math.floor(m / 12) - 1}`, 6, yc + 3, { size: 9, color: TEXT.secondary, ls: 0.1 });}}beam(ctx, dotted, V.frame, 1, { dash: [1, 5] });@@ -94,6 +95,7 @@ export function PianoRoll() {}beam(ctx, r, V.green, live ? 1.6 : 1.2, { alpha: live ? 1 : future ? 0.38 : 0.62, hot: live });if (n.text && n.text !== "~") label(ctx, n.text.toUpperCase(), x0 + 1, yc - barH / 2 - 4, { size: 10, color: live ? V.white : V.blueMid, ls: 0.12, alpha: future ? 0.6 : 1 });+ if (n.text && n.text !== "~") label(ctx, n.text.toUpperCase(), x0 + 1, yc - barH / 2 - 4, { size: 10, color: live ? V.white : TEXT.secondary, ls: 0.12, alpha: future ? 0.6 : 1 });}// the pitch actually sungdiff --git a/src/ui/components/ScoreView.tsx b/src/ui/components/ScoreView.tsxindex b90679e..4b7a315 100644--- a/src/ui/components/ScoreView.tsx+++ b/src/ui/components/ScoreView.tsx@@ -3,7 +3,7 @@ import { usePhosphor } from "../usePhosphor.ts";import { engine } from "../../audio/AudioEngine.ts";import { currentPlan, onPlan, type SpokenPlan } from "../speech.ts";import { activation, type Gesture } from "../../wasm/engine.ts";-import { V } from "../colors.ts";+import { TEXT, V } from "../colors.ts";import { beam, beamPts, blockLineH, label, labelBlock, seg, wrapLabel, type Pt } from "../render/vector.ts";/** rows of the score, coloured like the articulators on the face (lips pink, tongue green, soft palate white, glottis amber) */@@ -49,7 +49,8 @@ export function ScoreView() {const bh = wrapLabel(ctx, msg, right - left - 16, { size: 10, ls: 0.12 }).length * blockLineH(10) + 8;ctx.fillStyle = "#000";ctx.fillRect(left, cy - bh / 2, right - left, bh);- labelBlock(ctx, msg, left + 8, cy, right - left - 16, { size: 10, color: V.blueMid, ls: 0.12 });+ labelBlock(ctx, msg, left + 8, cy, right - left - 16, { size: 10, color: TEXT.secondary, ls: 0.12 });+ labelBlock(ctx, msg, left + 8, cy, right - left - 16, { size: 10, color: TEXT.secondary, ls: 0.12 });return;}const plan = sp.plan;@@ -99,6 +100,7 @@ export function ScoreView() {const on = now >= s.t0 && now < s.t1;seg(ctx, X(s.t0), bottom + 2, X(s.t0), bottom + 6, V.blueDim, 1);label(ctx, s.ipa, x, h - 8, { size: 12, color: on ? V.white : V.blue, align: "center", ls: 0 });+ label(ctx, s.ipa, x, h - 8, { size: 12, color: on ? V.white : TEXT.primary, align: "center", ls: 0 });}// playheadif (now >= T0 && now <= T1) {diff --git a/src/ui/components/Spectrogram.tsx b/src/ui/components/Spectrogram.tsxindex 7e09e92..d83c7db 100644--- a/src/ui/components/Spectrogram.tsx+++ b/src/ui/components/Spectrogram.tsx@@ -2,7 +2,7 @@ import { useRef } from "react";import { usePhosphor } from "../usePhosphor.ts";import { engine } from "../../audio/AudioEngine.ts";import { useStore } from "../store.ts";-import { V, mix } from "../colors.ts";+import { TEXT, V, mix } from "../colors.ts";import { beam, label, seg } from "../render/vector.ts";const FMIN = 60, FMAX = 12000;@@ -79,11 +79,11 @@ export function Spectrogram() {for (const [f, t] of [[100, "100"], [1000, "1K"], [10000, "10K"]] as const) {const x = left + (Math.log(f / FMIN) / Math.log(FMAX / FMIN)) * frontW;seg(ctx, x, base, x, base + 4, V.blueDim, 1);- label(ctx, t, x, base + 15, { size: 9, color: V.blueMid, align: "center", ls: 0.1 });+ label(ctx, t, x, base + 15, { size: 9, color: TEXT.secondary, align: "center", ls: 0.1 });}- label(ctx, "NOW", left + frontW + 6, base + 3, { size: 9, color: V.blueMid, ls: 0.14 });- label(ctx, `${(SLICES * EVERY).toFixed(0)} S AGO`, right + 4, base - depthY + 3, { size: 9, color: V.blueDim, ls: 0.14 });- if (!started) label(ctx, "START AUDIO TO SEE THE SOUND", left, 24, { size: 9, color: V.blueMid, ls: 0.16 });+ label(ctx, "NOW", left + frontW + 6, base + 3, { size: 9, color: TEXT.secondary, ls: 0.14 });+ label(ctx, `${(SLICES * EVERY).toFixed(0)} S AGO`, right + 4, base - depthY + 3, { size: 9, color: TEXT.secondary, ls: 0.14 });+ if (!started) label(ctx, "START AUDIO TO SEE THE SOUND", left, 24, { size: 9, color: TEXT.secondary, ls: 0.16 });});return <canvas ref={ref} className="instrument-canvas" aria-label="Waterfall spectrogram of the last two seconds of output" role="img" />;}diff --git a/src/ui/components/SpectrumView.tsx b/src/ui/components/SpectrumView.tsxindex 6a846be..2f35064 100644--- a/src/ui/components/SpectrumView.tsx+++ b/src/ui/components/SpectrumView.tsx@@ -5,7 +5,7 @@ import { sameBody } from "../body.ts";import { useStore } from "../store.ts";import { useModel } from "../useModel.ts";import { VoiceModel } from "../analysis.ts";-import { V } from "../colors.ts";+import { TEXT, V } from "../colors.ts";import { beam, beamPts, label, seg, type Pt } from "../render/vector.ts";const FMIN = 60, FMAX = 8000;@@ -33,11 +33,11 @@ export function SpectrumView(props: { ring?: boolean }) {for (const f of [100, 200, 500, 1000, 2000, 5000]) {seg(ctx, fx(f), top, fx(f), bot, V.frame, 1);- if (!(f0 && Math.abs(fx(f) - fx(f0)) < 40)) label(ctx, f >= 1000 ? `${f / 1000}K` : String(f), fx(f), h - 6, { size: 9, color: V.blueMid, align: "center", ls: 0.1 });+ if (!(f0 && Math.abs(fx(f) - fx(f0)) < 40)) label(ctx, f >= 1000 ? `${f / 1000}K` : String(f), fx(f), h - 6, { size: 9, color: TEXT.secondary, align: "center", ls: 0.1 });}for (const db of [-20, -40]) {seg(ctx, left, dbY(db), right, dbY(db), V.frame, 1, { dash: [2, 4] });- label(ctx, String(db), left - 6, dbY(db) + 3, { size: 8, color: V.blueDim, align: "right", ls: 0.05 });+ label(ctx, String(db), left - 6, dbY(db) + 3, { size: 8, color: TEXT.secondary, align: "right", ls: 0.05 });}seg(ctx, left, bot, right, bot, V.blueDim, 1);if (ringRef.current) {diff --git a/src/ui/components/Stroboscope.tsx b/src/ui/components/Stroboscope.tsxindex f519c7e..2280a8a 100644--- a/src/ui/components/Stroboscope.tsx+++ b/src/ui/components/Stroboscope.tsx@@ -3,7 +3,7 @@ import { usePhosphor } from "../usePhosphor.ts";import { engine } from "../../audio/AudioEngine.ts";import { sameBody } from "../body.ts";import { useStore } from "../store.ts";-import { V } from "../colors.ts";+import { TEXT, V } from "../colors.ts";import { beam, beamPts, label, labelBlock, ring, seg, type Pt } from "../render/vector.ts";/**@@ -57,15 +57,15 @@ export function Stroboscope() {epi.moveTo(cx - R * 0.42, cy - R * 0.62);epi.quadraticCurveTo(cx, cy - R * 0.98, cx + R * 0.42, cy - R * 0.62);beam(ctx, epi, V.blueMid, 1.2);- label(ctx, "FRONT", cx, cy - R - 8, { size: 8, color: V.blueDim, align: "center", ls: 0.18 });+ label(ctx, "FRONT", cx, cy - R - 8, { size: 8, color: TEXT.secondary, align: "center", ls: 0.18 });// waveformsconst tx0 = cx + R + 22, tx1 = w - 12;if (tx1 - tx0 < 40) return;const bandH = Math.max(12, (h - 52) / 2);const yA0 = 16, yA1 = yA0 + bandH, yF0 = yA1 + 18, yF1 = yF0 + bandH;- label(ctx, "AREA", tx1, yA0 - 4, { size: 9, color: V.blueMid, align: "right", ls: 0.18 });- label(ctx, "FLOW", tx1, yF0 - 4, { size: 9, color: V.blueMid, align: "right", ls: 0.18 });+ label(ctx, "AREA", tx1, yA0 - 4, { size: 9, color: TEXT.secondary, align: "right", ls: 0.18 });+ label(ctx, "FLOW", tx1, yF0 - 4, { size: 9, color: TEXT.secondary, align: "right", ls: 0.18 });seg(ctx, tx0, yA1, tx1, yA1, V.frame, 1);seg(ctx, tx0, yF1, tx1, yF1, V.frame, 1);if (area && flow && n > 1) {@@ -85,11 +85,11 @@ export function Stroboscope() {seg(ctx, px, yA0, px, yF1, V.white, 1, { alpha: 0.55, dash: [2, 3] });let opened = 0;for (let i = 0; i < n; i++) if (area[i] > minA + 0.002) opened++;- label(ctx, `OPEN ${Math.round((opened / n) * 100)}%`, tx0, h - 4, { size: 9, color: V.blueMid, ls: 0.16 });- label(ctx, `${(a * 100).toFixed(1)} MM²`, tx1, h - 4, { size: 9, color: V.blueMid, align: "right", ls: 0.12 });+ label(ctx, `OPEN ${Math.round((opened / n) * 100)}%`, tx0, h - 4, { size: 9, color: TEXT.secondary, ls: 0.16 });+ label(ctx, `${(a * 100).toFixed(1)} MM²`, tx1, h - 4, { size: 9, color: TEXT.secondary, align: "right", ls: 0.12 });} else {// in the area band, clear of the FLOW label below it- labelBlock(ctx, "START AUDIO TO SEE THEM VIBRATE", tx0, (yA0 + yA1) / 2, tx1 - tx0, { size: 9, color: V.blueMid, ls: 0.16 });+ labelBlock(ctx, "START AUDIO TO SEE THEM VIBRATE", tx0, (yA0 + yA1) / 2, tx1 - tx0, { size: 9, color: TEXT.secondary, ls: 0.16 });}});return <canvas ref={ref} className="instrument-canvas" aria-label="Vocal folds seen from above, replayed slowly, with the glottal area and flow" role="img" />;diff --git a/src/ui/components/TubeView.tsx b/src/ui/components/TubeView.tsxindex 2421529..8cae28e 100644--- a/src/ui/components/TubeView.tsx+++ b/src/ui/components/TubeView.tsx@@ -4,7 +4,7 @@ import { sameBody } from "../body.ts";import { useStore } from "../store.ts";import { useModel } from "../useModel.ts";import { VoiceModel } from "../analysis.ts";-import { V, heat, pressureLevel } from "../colors.ts";+import { TEXT, V, heat, pressureLevel } from "../colors.ts";import { beam, beamPts, label, seg, type Pt } from "../render/vector.ts";/**@@ -87,7 +87,7 @@ export function TubeView() {if (lx < lastRight + 8) continue;lastRight = lx + tw;seg(ctx, x, h - 26, x, h - 21, V.blueDim, 1);- label(ctx, name, lx, h - 9, { size: 9, color: V.blueMid, ls: 0.16 });+ label(ctx, name, lx, h - 9, { size: 9, color: TEXT.secondary, ls: 0.16 });}});return <canvas ref={ref} className="instrument-canvas" aria-label="Area function of the simulated tube, lit by sound pressure" role="img" />;diff --git a/src/ui/components/VowelMap.tsx b/src/ui/components/VowelMap.tsxindex 63b9d3b..7687e04 100644--- a/src/ui/components/VowelMap.tsx+++ b/src/ui/components/VowelMap.tsx@@ -5,7 +5,7 @@ import { useStore } from "../store.ts";import { blendLog, sameBody, type BodyMix } from "../body.ts";import { useModel } from "../useModel.ts";import { VoiceModel } from "../analysis.ts";-import { V } from "../colors.ts";+import { TEXT, V } from "../colors.ts";import { beamPts, handle, ipaGlyph, label, seg, type Pt } from "../render/vector.ts";import { nearestVowel } from "./AnatomyView.tsx";@@ -55,7 +55,7 @@ export function VowelMap() {for (const v of m.vowels) {if (v.ipa === near && live) continue;const p = toXY(v.F1, v.F2, w, h);- ipaGlyph(ctx, p.x, p.y + 5, v.ipa, 15, V.blueMid);+ ipaGlyph(ctx, p.x, p.y + 5, v.ipa, 15, TEXT.secondary);}if (live) {// where the tongue has been: a trail of the last 1.5 s, fading with age@@ -70,8 +70,8 @@ export function VowelMap() {handle(ctx, live.x, live.y, V.green, 8);ipaGlyph(ctx, live.x + 20, live.y - 8, near, 17, V.green);}- label(ctx, "F2", w - 6, h - 5, { size: 9, color: V.blueDim, align: "right", ls: 0.1 });- label(ctx, "F1", 4, h - 5, { size: 9, color: V.blueDim, ls: 0.1 });+ label(ctx, "F2", w - 6, h - 5, { size: 9, color: TEXT.secondary, align: "right", ls: 0.1 });+ label(ctx, "F1", 4, h - 5, { size: 9, color: TEXT.secondary, ls: 0.1 });});const apply = (e: React.PointerEvent) => {diff --git a/src/ui/styles.css b/src/ui/styles.cssindex 0304535..de3dedc 100644--- a/src/ui/styles.css+++ b/src/ui/styles.css@@ -41,9 +41,9 @@--amber: #ffb340;--glow-blue: 0 0 1.5px rgba(79, 182, 242, 0.9), 0 0 6px rgba(79, 182, 242, 0.4);/* older names, remapped so screens not yet redrawn sit on black in blue and amber */- --black: #000000;- --console: #000000;- --inset: #000000;+ --black: #020406;+ --console: #0d171f;+ --inset: #182833;--line: var(--frame);--text: var(--blue);--text-dim: var(--blue-mid);@@ -55,6 +55,12 @@color-scheme: dark;}+.text-colors {+ --text: #effbff;+ --text-dim: #e2f5fc;+ color: var(--text);+}+* {box-sizing: border-box;}@@ -227,7 +233,7 @@ button.primary.large {.anatomy .no-webgl {margin: 24px;- color: var(--blue-dim);+ color: var(--text-dim);font-size: 12px;letter-spacing: 0.12em;text-transform: uppercase;@@ -246,6 +252,15 @@ button.primary.large {gap: 4px;font-size: 13px;font-stretch: 87%;++/* Keep UI copy brighter without recolouring vector strokes or borders. */+.text-colors :is(button:not(.primary), p, h1, h2, h3, h4, label, output, a, .screen-title) {+ color: var(--text);+}++.text-colors :is(.tagline, .load, .volume, .screen-sub, .dim, .midi-status, .seq-label, .creature-blurb, .duet-time, .duet-msg) {+ color: var(--text-dim);+}color: var(--text-dim);}@@ -1207,7 +1222,7 @@ body {font-size: 10px;letter-spacing: 0.18em;text-transform: uppercase;- color: var(--blue-dim);+ color: var(--text-dim);}.segmented {@@ -1226,11 +1241,11 @@ body {font-size: 12px;letter-spacing: 0.18em;text-transform: uppercase;- color: var(--blue-dim);+ color: var(--text-dim);}.segmented button:hover {- color: var(--blue-mid);+ color: var(--text);}.segmented button.on {@@ -1290,12 +1305,12 @@ body {font-size: 10px;letter-spacing: 0.16em;text-transform: uppercase;- color: var(--blue-dim);+ color: var(--text-dim);}.repo-link {display: inline-flex;- color: var(--blue-dim);+ color: var(--text-dim);transition: color 120ms, filter 120ms;}@@ -1312,7 +1327,7 @@ button.ghost,background: transparent;border: 1px solid var(--frame);border-radius: 0;- color: var(--blue-mid);+ color: var(--text);padding: 5px 11px;font-family: var(--font);font-weight: 300;@@ -1419,7 +1434,7 @@ button.ghost:hover,font-size: 10px;letter-spacing: 0.16em;text-transform: uppercase;- color: var(--blue-mid);+ color: var(--text-dim);white-space: nowrap;overflow: hidden;text-overflow: ellipsis;@@ -1496,7 +1511,7 @@ button.ghost:hover,font-size: 9px;letter-spacing: 0.16em;text-transform: uppercase;- color: var(--blue-dim);+ color: var(--text-dim);cursor: pointer;}@@ -1525,12 +1540,12 @@ button.ghost:hover,.start-prompt p {font-size: 12px;line-height: 1.6;- color: var(--blue-mid);+ color: var(--text-dim);}.start-prompt .hint {font-size: 11px;- color: var(--blue-dim);+ color: var(--text-dim);}.start-prompt .error {@@ -1560,7 +1575,7 @@ button.ghost:hover,appearance: none;background: transparent;border: 1px solid var(--frame);- color: var(--blue-dim);+ color: var(--text-dim);padding: 2px 7px;font-family: var(--font);font-size: 9px;@@ -1735,7 +1750,7 @@ button.midi {font-size: 9px;letter-spacing: 0.1em;text-transform: uppercase;- color: var(--blue-dim);+ color: var(--text-dim);}button.midi.on {@@ -2008,7 +2023,7 @@ input[type="range"]::-moz-range-thumb {font-weight: 300;letter-spacing: 0.1em;text-transform: uppercase;- color: var(--blue-dim);+ color: var(--text-dim);padding: 1px 3px;white-space: nowrap;text-align: center;@@ -2167,7 +2182,7 @@ input[type="range"]::-moz-range-thumb {background: transparent;border: 1px solid var(--frame);border-radius: 0;- color: var(--blue-mid);+ color: var(--text);padding: 2px 7px;font-family: var(--font);font-size: 10px;@@ -2177,7 +2192,7 @@ input[type="range"]::-moz-range-thumb {}.syl.sung {- color: var(--blue-dim);+ color: var(--text-dim);border-color: rgba(19, 57, 84, 0.6);}@@ -2202,7 +2217,7 @@ input[type="range"]::-moz-range-thumb {}.breath-mark {- color: var(--blue-mid);+ color: var(--text-dim);margin-left: 2px;}@@ -2280,7 +2295,7 @@ input[type="range"]::-moz-range-thumb {font-size: 9px;letter-spacing: 0.14em;text-transform: uppercase;- color: var(--blue-dim);+ color: var(--text-dim);white-space: nowrap;overflow: hidden;}@@ -2402,7 +2417,7 @@ input[type="range"]::-moz-range-thumb {font-size: 8px;letter-spacing: 0.12em;text-transform: uppercase;- color: var(--blue-dim);+ color: var(--text-dim);}.s-pads .pad-key {@@ -2410,7 +2425,7 @@ input[type="range"]::-moz-range-thumb {top: 3px;right: 5px;font-size: 8px;- color: var(--blue-dim);+ color: var(--text-dim);}/* transport */@@ -2480,7 +2495,7 @@ input[type="range"]::-moz-range-thumb {font-size: 8px;letter-spacing: 0.14em;text-transform: uppercase;- color: var(--blue-dim);+ color: var(--text-dim);white-space: nowrap;overflow: hidden;text-overflow: ellipsis;@@ -2604,7 +2619,7 @@ input[type="range"]::-moz-range-thumb {background: transparent;border: 1px solid transparent;border-radius: 0;- color: var(--blue-mid);+ color: var(--text);cursor: pointer;}@@ -2640,7 +2655,7 @@ input[type="range"]::-moz-range-thumb {font-style: normal;letter-spacing: 0.1em;text-transform: uppercase;- color: var(--blue-dim);+ color: var(--text-dim);white-space: nowrap;overflow: hidden;text-overflow: ellipsis;@@ -2668,7 +2683,7 @@ input[type="range"]::-moz-range-thumb {border: 1px solid var(--frame);border-radius: 0;padding: 4px 10px;- color: var(--blue-mid);+ color: var(--text);text-align: left;cursor: pointer;}@@ -2713,7 +2728,7 @@ input[type="range"]::-moz-range-thumb {font-size: 8px;letter-spacing: 0.14em;text-transform: uppercase;- color: var(--blue-dim);+ color: var(--text-dim);margin-right: 4px;}@@ -2727,7 +2742,7 @@ input[type="range"]::-moz-range-thumb {font-size: 10px;line-height: 1.5;letter-spacing: 0.04em;- color: var(--blue-dim);+ color: var(--text-dim);}.cparams-role {@@ -2736,7 +2751,7 @@ input[type="range"]::-moz-range-thumb {line-height: 1.5;letter-spacing: 0.14em;text-transform: uppercase;- color: var(--blue-mid);+ color: var(--text-dim);}.s-cparams .enc-label {@@ -2799,7 +2814,7 @@ input[type="range"]::-moz-range-thumb {font-size: 12px;letter-spacing: 0.2em;text-transform: uppercase;- color: var(--blue-mid);+ color: var(--text-dim);}.duet-heads {@@ -2828,7 +2843,7 @@ input[type="range"]::-moz-range-thumb {.duet-time {flex: none;font-variant-numeric: tabular-nums;- color: var(--blue-mid);+ color: var(--text-dim);}.duet-bar input[type="range"] {@@ -2840,7 +2855,7 @@ input[type="range"]::-moz-range-thumb {margin: auto;padding: 24px;text-align: center;- color: var(--blue-mid);+ color: var(--text);}.duet-msg.error {