A tiny audio-visual synth built with Web Audio + OffscreenCanvas, bundled by Vite, run with Bun. Desktop = play with your QWERTY keyboard; Mobile = on-screen piano.
bun run dev # Runs vite dev server
bun run build # Builds production bundle to ./dist/
bun run preview # Serves the site from ./dist locallyindex.html— main synthabout.html— info + favorite patches
- The build outputs to
dist/(multi-page). - Example Caddyfile:
www.synesthetic.io { redir https://synesthetic.io{uri} }
synesthetic.io {
root * /var/www/synesthetic/current
encode zstd gzip
try_files {path} {path}.html /index.html
file_server
}
The GitHub Action builds with Bun, rsyncs dist/ to /var/www/synesthetic/releases/$TS/, and updates current symlink.
- Desktop: A S D F G H J (white) + W E T Y U (black).
- Mobile: bottom piano (multi-touch), plus an Audio Unlock button if needed.
- Envelopes are click-safe (min A/R, smooth ramps); visuals run in a worker.
Made with Bun v1.2.22 and Vite.