atom-supercollider icon indicating copy to clipboard operation
atom-supercollider copied to clipboard

using OSCdef/ OSCFunc

Open tatecarson opened this issue 7 years ago • 2 comments

I've been having issues for a while trying to use either of these in atom and i'm wondering if it's because atom is using the default port 57120 and making it difficult for the OSCdef to use it. Basically I'll start up the code from opening atom and it will work fine, then I'll make a change and reload it it won't work. After tracing the OSCFunc I realized that on reloading everything the Func changes the recvPort to 57121 because i'm assuming atom is already using 57120. My fix was to force recvPort to another number. Have you run into this problem/ have another solution? It's not that big of a deal but if this is the case maybe it should be in the readme?

tatecarson avatar Oct 29 '16 23:10 tatecarson

you have a reproducer?

LFSaw avatar Apr 23 '17 10:04 LFSaw

If you are running suoercollider with the IDE and atom suoercollider at the same time then you have two sclang both using default ports. So yes this could cause problems. The same will happen if you open two suoercollider.app or run two suoercollider.js

You can use a custom config. I do this for electron apps

crucialfelix avatar Apr 23 '17 10:04 crucialfelix