chanceci wrote: ↑
Sun Mar 22, 2020 14:15
I'm trying to build a website to control Resolume with OSC.
It looks like OSC signals can be sent in html pages using socket.io, node.js, and OSC.js. I've been trying to get this to work over the last few days but I haven't made any functional progress. I'm just trying to put together the pieces if this is even possible, and if so, how.
Does anyone know how to control Resolume using web interfaces or locally hosted websites?
If you are curious why I want to do this, I use Resolume to control my LED sculptures. I want to build a complicated interface on a touch screen for people to control the art. I can make this interface in html/css, but I need the site to send OSC signals to Resolume to make this plan work.
I haven't delved into the OSC & MIDI of Resolume yet.
As for embedding OSC into websites two projects come to mind: Open Stage Control & NexusOSC. As you mentioned there is also MIDI.
Internally, within the same computer MIDI has been used not only for control surfaces but also to pass information between software applications as long as they both have MIDI.
With OSC, Artnet, SACN, MIDI over IP, & other network based protocols a virtual network port is used, AKA, a loopback adapter. In Windows 10 this is enabled by installing a driver via the hardware wizard, called Microsoft KM-Test. By internally routing OSC you can link two software programs together, like Resolume & something like Max/MSP or Touchdesigner, or a configuration utility like Showcockpit which has a profile for Resolume. The latest release of Touchdesigner, for example added web based features.
There is the Web MIDI Api, MIDI MPE which is expressive, the recently approved MIDI 2.0 which surpasses OSC in it's feature set and then there is also the Web Audio Api. Then of course there are apps like the widely used TouchOSC. Browser support for MIDI on iOS web browser might not be available yet.
Open Stage Control & NexusOSC are both oriented towards audio, as most of these projects seem to be.
A sound oriented OSC browser & server method
Internal MIDI loopback driver: see loopMIDI
How to install
Showcockpit utility for control methods
By the way, supposedly WIFI 6 routers offer better handling of multiple devices but it helps if all the devices are WIFI 6 compatible.