-
lukasz
I keep getting this message: TuioClient: could not bind to UDP port 3333
any idea why this would be? This is standard port for TUIO, so I cannot change it.
-
lukasz
I have figured out how to get multiple fiducial going all at once on reactivison because they produce ID's what I am confused about is how blob detection works for multi touch since there is no ID that is output. I am getting Pd to communicate to flash and have to somehow give each blob an ID, is this even possible? or how would you even do this? IDs are the only way I can imagine.
also looked into using CCV (tbeta) alongside reacTIVision, but this will require an extra program in the chain running, seems a bit unnecessary.
if there isn't something out there, is there a way I could just make it myself? apparently CCV is TUIO compatible, I dont know much about it but I think that is how reactivison works too.
-
lukasz
is there a way to clear the cache? It tries to pull up a file that was last loaded and it seems to be crashing the program as soon as it loads.
-
lukasz
I am working with someone who is receiving data via UDP and using mrpeach to send a string, but for some reason it is sending a weird character instead of the actual string. any ideas?
here is what my patch looks like. p.s. I think my rounding method probably isn't the best way of doing it because Tuio outputs floats and apparently you can't send floats over UDP? so I converted it to an int
http://localhostr.com/files/nWn1iuX/Screen+Shot+2012-01-23+at+9.17.23+AM.jpg
-
lukasz
is there a way set a [%] to stop at a number, so even if an output goes over 127 it stays at 127
for example output is 200 and [% 127] stays at 127 then when it goes to 0 it stays at 0
-
lukasz
trying to make a grid for reactivition where each block is a unique output. since I get a X and Y output, possibly even a Z for rotation, but no idea how to even start with that.
here is a visualization (i didn't fill it in all because I think you get the basic idea): http://localhostr.com/files/jhmQnUl/Screen+shot+2011-11-25+at+10.08.34+AM.jpg
in normal programing language doesn't seem too hard. you set up conditions, if (y1, x1) then [output]. but this would get REALLY messy in pd and seems really inefficient. anyone have suggestions on how to set this up? I basically want a unique output for each of the squares lets say a bang if (x,y) matches. I saw something on tables once, not sure if this is best way to approach this problem.
-
lukasz
I am using moses to do some conditional logic, problem is there is a LOT of data coming in, and it send out string every time the data comes in. is there a way to send only a single output only when the threshold is crossed?
-
lukasz
I got basic instance of reacTIVision working and getting lists out of it. I want to create a vector object that will follow the "amebas" on screen. what would be the best way of doing this, GEM?
any good tutorials suggestions?
-
lukasz
I am really confused as to the difference between the two. created a basic metronome and they use hot and cold inlets like a lot of pd projects, but I've no idea what they do. any suggested readings or maybe quick explanations?
-
lukasz
I want to get into making user interfaces with pd, maybe something like reading feedback of a person touching a glass panel with web cam or something similar. No idea where to start though.any suggestions? Or interacting with video from web cam feedback would be awesome to.
I've played with max msp and they have something for this, but idea with pd if it's even possible..
-
lukasz
for some reason Reactivation stops either sending data or pd stops processing it at some point. Other times just the UI wont update the number atoms that are receiving the (x, y) position, but it does still actually get data because it affects the output (which is going to ableton live)
anyone know why this happens?
-
lukasz
found out what causes it. seems like TUIO freezes Pd once in a while and assuming this is the problem it doesn't allow port to close.
if i restart it says "listening to port 3333" then it freezes and I force close, then reopen and it gives me "TuioClient: could not bind to UDP port 3333"
-
lukasz
seems like if I restart it works. but after a while it just shuts down itself.
-
-
-
lukasz
@sunji said:
why not use sockets? With [netsend] and [netreceive] you can communicate with udp or tcp. They both allow string passing, which can have an int or float or list or hash embedded.
wow, that was extremely easy. exactly what I was looking for. thanks!
-
lukasz
I'm a little confused I guess. I looked at the patch and it sort of works. I am simply trying to communicate between pd and flash. we built a udp (and tcp to see if that was the problem) air app that receives tcp/udp messages. all I really need is for the message to send to the air app every time one of the number atoms update. do I even need packOSC? I was confused when I was first told to use this because I was under impression it was only for midi. I just simply want to send a string over udp/tcp
do you have any good references for tcp or udpsend? I cannot seem to ever find good resources don't want to have to keep bugging you guys. rather learn it properly.
-
lukasz
I am on lion. that worked perfect! thanks, I didn't see anything on this when I did a search.
-
lukasz
here it is. thanks a ton! there is some extra stuff in there, ignore that. it's mostly info coming out of TUIO client that I need to send out.
http://www.pdpatchrepo.info/hurleur/video_to_midi_with_grid.pd
-
lukasz
oh ok. I have it sending correctly now. however it doesn't seem to allow me to send a list, would I use the bundle thing? the readme is really vague and I can't find anything online about it sorry I'm mr 1000 questions
in faq it says: packOSC is like sendOSC except that it outputs a list of floats instead of directly connecting to the network
can I just send a bunch of floats into the inlet and it packs them up for me and sends them? I want it to send every time any of the floats changes.