-
squidtantrum
Heya
It's critical that I be able to keep the .0 in my floats, but pd seems to drop them if I send it through anything. How can I prevent this?
My patch:
[6.0 7.0(
|
|
[send /any $1 $2(
|
|
[packOSC]
|
|
[udpsend]If I connect a [print] after [send /any $1 $2(, I can see that the .0's have been dropped from my original message.
Same thing happens if I connect [6.0 7.0( straight to the [print] object.
-
squidtantrum
Is there any way to load an image from a URL into pd, to be mapped onto pix_image or something of the sort?
I've spent a lot of time looking around, and I've only found info on sending and receiving strings. -
squidtantrum
Hi
So I'm using the arduino_test patch to test a photoresistor hooked up to the analog port 2 on my arduino. But the readings aren't very responsive... I get a new reading every half-second.
Is there a way to increase the sample rate of these readings? When I use the serial communication in the Arduino environment the readings are much faster, which leads me to believe that it's happening in puredata itself.... -
squidtantrum
Hi
Is it possible to translate individual corners of a square?
thanks
-
squidtantrum
Hello-
I want to (by the means of conditional logic) reset a playing video while it's still playing with a bang. Any idea of how to do that? I thought that maybe I could set it up so that a bang sent the video to frame 1, but I can't figure out how to get it to play after that.
sorry for the noobery
-
squidtantrum
Thanks Maelstorm! I needed the .0 because the data is being sent to Processing, and a bare 1 is recognized as an int (which triggers a failure).
I may just seperate the int's from floats in pd and send them with different typetags to processing, and from there convert the ints to float using float().
-
squidtantrum
That's a great idea. After trying the wget command through shell, I got no result. Using popen at least got me a result in a print, but the image was never downloaded (works when I do it straight from a shell). No idea why. Super frustrating.
Heres my patch:
[wget -nd -P ~/desktop/crawl_test -H -p -r http://a0.twimg.com/profile_images/3365275252/7704a443ac1299704c23abd4e43ce449_normal.jpeg(
|
|
[popen]
| |
| [print done]
[print]And the debug monitor says:
sending wget -nd -P ~/desktop/crawl_test -H -p -r http://a0.twimg.com/profile_images/3365275252/7704a443ac1299704c23abd4e43ce449_normal.jpeg
done: bangbut my designated save folder is still empty
-
squidtantrum
The posted link is dead, and I'm having big problems with this exact issue. The only information I can find about communicating with pure data via syphon gives a syphonOSC patch that listens on UDP port 5001. But pd won't let me create that object.
Is there any way to get video into pure data via syphon?