A small web app that turns a phone's microphone and motion into sound, in the browser. Open the link, tap once, and tilting the phone or making sound drives the audio. It runs a Cycling '74 RNBO patch when one is provided, and otherwise plays a built-in WebAudio fallback so it is always playable.
This is an early prototype for testing interaction and feel. It is not optimized for audio latency.
The export/ folder is empty by default, so the built-in fallback runs. To use
a real patch, export a Web patch from Max (RNBO) into export/:
export/patch.export.json(required)export/dependencies.json+ samples (only if the patch uses buffers)
The patch should expose these named params (each 0..1; the patch does the
musical rescaling): accelX accelY accelZ tilt shake gain, plus an in~ for
the mic. Missing params simply no-op.
python3 -m http.server 8000
# open http://localhost:8000 (mic works on localhost; motion sensors need HTTPS on a phone)For on-device testing, motion needs HTTPS: use a tunnel
(cloudflared tunnel --url http://localhost:8000) or the deployed site.
Settings -> Pages -> Deploy from branch main / root. All paths are relative,
so it works under the project subpath. Open the HTTPS URL on a phone with the
ringer ON (the iPhone mute switch silences web audio), and tap once to grant
audio, motion, and microphone.