2

I am trying to send an UDP message from Pure Data on Windows, but I am unable to install or use libraries.

I put the library files in "C:/Program/common files/Pd", but Pd doesn't recognize when I type "import libraryName" in a object and leaves it undetermined.

Does someone know how to use Pure Data libraries on Windows ?

Edit : The problem is not the syntax, you can find it in google. In fact, I found that you need to download a specific .dll to use libraries on windows.

But thanks to Umläute, I simply used the built in functions and now it works.

1 Answers1

3

If you want to do udp communication, then you don't need any externals:

  • [netsend -u] will send FUDI messages over UDP
  • [netsend -u -b] will send any message over UDP (the -b is for binary, so you just pass it the raw list of bytes you want to transmit)
  • [oscformat] will create an OSC-message (as raw bytes) from a Pd-message

You will need Pd>=0.46 for this (which you want anyhow)

umläute
  • 28,885
  • 9
  • 68
  • 122
  • So eventually there is no library issue at all, because there is none needed. I deleted my answer and will fix the question accordingly. – Max N Jan 10 '17 at 20:16
  • @MaxN well yes and no; just because the problem at hand could be solved without libraries, doesn't mean that it's not interesting on it's own to be able to load libraries. i would recommend to undelete your answer. – umläute Jan 10 '17 at 21:18
  • Two unrelated issues in one question is not really stackoverflow style conform. I am quite confident there will be a question about library loading coming up soon. – Max N Jan 10 '17 at 21:26