(for anyone else who takes this path)
If index.js reads like this from lines 27 to 42, then sliders as well as all the rest of the nexus ui widgets will be received in libpd using the vanilla netreceive, oscparse and route objects:
socket.on('nx', data => {
sendOSC({
address : '/nexus-ui',
args : [
{
type : 'string',
value : data.oscName
},
{
type : '*',
value : data.value
}
]
});
});
});
...then in index,html nx.sendsTo("node"); covers all objects, no need for:
slider1.on('*', data => socket.emit('slider', {id:1, value: data.value}) );
Thank you Giulio and Liam.
Over and Out!!!