VCVRack / VCV-Prototype

Other
130 stars 22 forks source link

Pd prototype vs [netreceive] vs Windows #51

Open jamshark70 opened 3 years ago

jamshark70 commented 3 years ago

I haven't been able to get [netreceive] to work in a Pd patch loaded into VCV Prototype in Windows. It works fine in Linux.

Simple test Pd patch:

pd-simple-rack-test

In Rack, I create a Prototype module and load this patch into it.

Then, in SuperCollider, I do:

n = NetAddr("127.0.0.1", 7878);
n.sendMsg(\test, 123);

I do see a comment "I'm not sure where pure data uses the Winsock library. I guess for OSC and other networking?" So it may be that Pd networking has been accidentally disabled (but for Windows only)...?

mxa commented 3 years ago

Could you quickly confirm that it works on Windows when opening the patch in Vanilla Pd?

mxa commented 3 years ago

I do see a comment "I'm not sure where pure data uses the Winsock library. I guess for OSC and other networking?" So it may be that Pd networking has been accidentally disabled (but for Windows only)...?

I don't think that this has anything to do with it since the Winsock flag is set in the build. https://github.com/VCVRack/VCV-Prototype/blob/6980f0f0aca2517ea4a44e749515fe868d4ff532/Makefile#L221

jamshark70 commented 3 years ago

Could you quickly confirm that it works on Windows when opening the patch in Vanilla Pd?

Information already provided: "If I have the Pd patch open in Pure Data as well as the Prototype module, Pd prints the message in its console." (Of course I tested this -- I had to be sure that it wasn't a case of blocked network messages.) It is definitively: Pd responds, VCV doesn't.