anyone have some experience with flosc and PD?
just trying out the newly released externals from http://barely.a.live.fm/pd/OSC/
i seem to have this problem that when i just want to listen to port 3024 using dumpOSC 3024
a.) if i start pd first with the dumpOSC and then flosc with ( Gateway 3024 3023 ) ....dumpOSC starts fine, but flosc gives me this error: Server error...Stopping UDP OSC server java.lang.NullPointerException at OscServer.killServer(OscServer.java) at OscServer.run(OscServer.java) [6/30/2002 19:46:19] TCP XML/Flash server started on port: 3023
b.) if i do it the other way around...starting flosc first and then dumpOSC, dumpOSC can't create itself with this error: bind: Address already in use (98) dumpOSC 3024 ... couldn't create dumpOSC.pd 1 0 0 0 (text->print) connection failed dumpOSC.pd 1 0 2 0 (text->send) connection failed
im not much of a socket guru, but i can imagine that one needs to be the listener and the other the sender.
any hints?
thanks - august.
does anybody know if it's possible to integrate openGL with pd? for
that matter, how about the STL? i need to make a 2500 space multi-dimensional array or some other sort of data structure. is that easy to do in pd?
scott
"640K ought to be enough for anybody." -- Bill Gates, 1981
http://www.danks.org/mark/GEM/
----- Original Message ----- From: "J. Scott Hildebrand" jshildebrand@ucdavis.edu To: pd-list@iem.kug.ac.at Sent: Tuesday, July 30, 2002 10:18 PM Subject: [PD] openGL
does anybody know if it's possible to integrate openGL with pd? for
that matter, how about the STL? i need to make a 2500 space multi-dimensional array or some other sort of data structure. is that easy to do in pd?
scott
"640K ought to be enough for anybody." -- Bill Gates, 1981
what i'm trying to do is take a 3-dimensional array in C, or a
list of numbers, and turn it into a 3-D array in pd. can i use C and C++ arrays in pd if i'm not using them for input and output except inside an external? if not then i need to know how to do it the pd way, and convert my current array to a pd version and include it in a header file. any instructions about input and ouput and syntax is much appreciated!
scott
"640K ought to be enough for anybody." -- Bill Gates, 1981
for archives' sake, i've finally figured it out.
its like this.
there are at least three ports involved, 2 for flosc and 1 (or even 2) for pd.
if you start flosc on machine <flosc.org> with: java Gateway 3001 3002 you then have flosc listening to port 3001 for udp clients and listening to 3002 for XMLsocket cleints (from flash).
you can start pd on <anymachine.org> with: dumpOSC 5555 my mistake was i tried to start pd on the same machine <flosc.org> using the same port, 3001, thinking it would be a client listening to packets from flosc.
then with the flash stuff, you just open and XML socket on <flosc.org> port 3002 and send commands aimed at <anymachine.org> port 5555
additionally, you could then use sendOSC in pd with [connect flosc.org 3001] to send osc packets back to all your flash clients
thats it. seems basic enough, but i f*cked it up - august.
jup.
oscport is the port flosc is listening for _incoming osc messages on. so no matter which one you start first, the 2nd 1 will get a "socket already in use" if they both get the same port argument.
i havent used it to send from flash to OSC yet, but your setup below seems to be it, i.e. you specifiy from the sending flash client, where the msg should go to (host:port), whereas _all incoming osc mesages are broadcast to _all connected flash clients.
[august]->[Re: [PD] flosc]->[02-07-31 11:19]
| | |for archives' sake, i've finally figured it out. | |its like this. | |there are at least three ports involved, 2 for flosc and 1 (or even 2) for |pd. | | |if you start flosc on machine <flosc.org> with: java Gateway 3001 3002 | you then have flosc listening to port 3001 for udp clients | and listening to 3002 for XMLsocket cleints (from flash). | |you can start pd on <anymachine.org> with: dumpOSC 5555 |my mistake was i tried to start pd on the same machine <flosc.org> using |the same port, 3001, thinking it would be a client listening to packets |from flosc. | |then with the flash stuff, you just open and XML socket on <flosc.org> |port 3002 and send commands aimed at <anymachine.org> port 5555 | | |additionally, you could then use sendOSC in pd with |[connect flosc.org 3001] to send osc packets back to all your flash |clients | | |thats it. seems basic enough, but i f*cked it up - august. |