0.0.5 • Published 5 months ago
@diegovdc/superdirt-socket v0.0.5
superDirtSocket
Tiny thing to listen on a WebSocket and forward OSC-over-UDP events to SuperDirt
How to use
NPM
- Install in an npm initialized project.
npm install @diegovdc/superdirt-socket- Run
npx superDirtSocket --superCollider 57120 -v- If you want to add custom superdirt args beyond the already registered. Create a file that defines the args:
// ./customSuperDirtArgs.js
module.exports = { cc20: "i" };Run this command:
npx superDirtSocket --superCollider 57120 -v --superDirtArgs ./customSuperDirtArgs.jsCloning
- Clone it somewhere useful (just one-time):
cd ~
git clone https://github.com/Piraran/superDirtSocket.gitInstall node.js, SuperCollider and SuperDirt (just one-time)
Install node modules used by this thing (just one-time):
cd ~/superDirtSocket
npm install- To make it go, run it with node:
cd ~/superDirtSocket
node superDirtSocket.js --superCollider 57120- Finally, launch SuperDirt, open a browser and connect to a running Estuary deployment somewhere. Check the SuperDirt checkbox at the top of Estuary to connect, through the superDirtSocket, to SuperDirt.