Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pd prototype vs [netreceive] vs Windows #51

Open
jamshark70 opened this issue May 28, 2021 · 3 comments
Open

Pd prototype vs [netreceive] vs Windows #51

jamshark70 opened this issue May 28, 2021 · 3 comments

Comments

@jamshark70
Copy link

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);
  • Linux: The Prototype module happily displays "received message test 123." (Same if I use a broadcast address: n = NetAddr("255.255.255.255", 7878); NetAddr.broadcastFlag = true; and send a message -- of course I'm changing the message contents every time, to see that the display changed.)

  • Windows: Nothing happens. If I have the Pd patch open in Pure Data as well as the Prototype module, Pd prints the message in its console (whether the Windows machine originates the message, or another machine on the LAN, both work). If I add a cvOSCcv module to the Rack patch and send '/ch/1' messages to it (again, from localhost or a remote machine), then the output voltage changes -- so I know that Windows Firewall is not blocking messages into Rack. But the Prototype module fails to respond.

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
Copy link
Collaborator

mxa commented May 28, 2021

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

@mxa
Copy link
Collaborator

mxa commented May 28, 2021

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.

LDFLAGS += -lws2_32

@jamshark70
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants