I currently attend CalArts as a Music Technology major. I've currently thought up an idea that I'd like to take a stab at, though it's become a bit more complex as I've gotten into it. I know there are easier ways to do this, but I want to do this to say I could. The idea is that I might use a premade node chat server or maybe write one myself, and link it into ChucK (a programming language developed at princeton). The idea is that when buttons are pressed or return is hit, it'll send a signal to ChucK and tell it to play a sound (via the "Sndbuf" function).
My issue is that ChucK is based on C/C++ and Node is Javascript based. I'm not sure how I could get the two languages to communicate. I know ChucK has the ability to listen on ports for web server requests but I'm not a TCP/IP expert.
I'm aware some of this might not exist and that I might need to write a lot of it on my own. "It" being anything from a framework to a server. Any advise on how to make them communicate with each other would be much appreciated.