a port of mlr for the web (just chromium-based browsers for now e.g. chrome, edge).
svemlr has been tested on the latest monome grid 128 and a walnut 64.
it also requires that serialosc is disabled. on macos open terminal and execute:
launchctl unload /library/launchagents/org.monome.serialosc.plist
to re-enable:
launchctl load /library/launchagents/org.monome.serialosc.plist
requires nodejs.
git clone https://github.com/taperinstruments/svemlr.git
cd svemlr
npm i
npm run dev
svemlr is built using svelte as it simplifies writing reactive javascript. it makes heavy (/unconventional?) use of svelte stores because application state is largely manipulated using external devices (rather than browser ui). most of the application logic is contained within models
, which often contain of svelte stores.
routes define the conditions for handling monome grid button presses. they map button presses to controller actions. the router listens out for button presses, looks for a route that matches a given press, then calls the associated controller actions . controller actions access models and manipulate the state as needed.