Embedding SuperCollider GUI into WordPress


#1

Is it possible to embed SuperCollider GUI into a WordPress website? Like, if I were to upload a GUI, could I have other people interact with that GUI and the sounds it produces?


#2

I don’t believe so - there are two components missing here. First - Wordpress has its own way of generating layout, buttons, etc. SuperCollider’s sclang does this with Qt.
Second - you’d have to have a server / synthesis process that is NOT embedded into your web view or anything. So - your GUI has nothing to talk to that is making sound.

I hope that makes sense!


#3

I guess a very determined user could come up with a way to run supercollider on a server somewhere, driven by OSC messages from a javascript/html5 UI, and then broadcast its sound over the internet back to all different user’s browsers but that woudl not be trivial to set up (at least I’d have to dig deep into the different components that are needed to pull it off). Also there could be latencies between changing parameters and hearing the effect that - depending on the use case you had in mind - might ruin the experience.

So: Possible? Yes, to some extent. Easy? Probably not.