Published
Edited
Mar 31, 2022
OSC message as uniforms example
Receive OSC from PureData on local network
Insert cell
Insert cell
Insert cell
osc = {
const osc = new OSC();
osc.open();
return osc;
}
Insert cell
amp = Generators.observe((notify) => {
osc.on("/amp", (msg) => {
notify(msg);
});
})
Insert cell
freq = Generators.observe((notify) => {
osc.on("/frec", (msg) => {
notify(msg);
});
})
Insert cell
OSC = require('osc-js@2.3.0/lib/osc.js')
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more