-
j-loe
Hi,
I'm receiving some raw data from another application via TCP, and it's encoded as float64.
As an example:
>>>: 128 27 41 91 36 181 44 192
Is there a simple way to decode this?
Ta,
J
-
j-loe
Hi,
I would ordinarily use local_max for this, but this only updates the value after a change.
Is there a simple way to store the max value of an incoming stream, without waiting for a change?Thanks!
J
-
j-loe
Hi all,
It's been a long time since I posted here but I'm working on a new project and I'm having a few issues in GEM.
Basically I'm performing colour changes in the GEM window at a very fast rate (say, 30 times per second). I'm triggering the changes at multiples of the framerate (which is 60 to coincide with the refresh rate of my screen) to avoid dropouts, but they still occur. I'm using delay objects to set the timed changes, but is there a better way, perhaps to sync the changes with the framerate with the system clock? Basically dropouts or jitter makes my patch unusable.
I've attached a simple example of what I'm doing.
Thanks in advance,
J
-
j-loe
Hi all,
I'm confused by my application of the change object, although I understand the principle. I have a number box of values changing from 0 -> 1 and back and want to create a bang only when the value changes from 0 -> 1.
In max I would use...
[num box]
|
[change 0 +]
|
[bang]But in pd it generates a bang for increments and decrements.
Am I missing something?
Thanks
J -
j-loe
Hi,
I could really do a bit of simple help here! I've done a few searches on this forum but can find nothing so far...
I'm building a patch and am struggling with the logic in a small section which I've attached .
I'm using a radio selector in the GUI to select values, and as you can see in the patch they aren't coming up correctly when you select at different points in the radio.
The thing is I'm using the same principle elsewhere in my patch and it works fine. I'm guessing it's to do with sending the radio msg to all the bangs??Any help would be greatly appreciated!!
Thanks
J
-
j-loe
Thanks sebfumaster, I thought it wasn't going to be straightforward. Yes, by decode I mean convert into a number to use in pd.
I need to do some reading as I don't fully understand what I need to do but I'll start with those links.
Thanks
J
-
-
j-loe
OK, so I've tried this and it still results in regular jittering. Is this the gemwin not updating precisely enough? or could it be a graphics card performance issue? I'm on OSX 10.7 with an i5 and nothing's maxxing out in activity monitor so I don't think it's that.
Here's an example if anyone can run it, just turning a square on and off at the rendering rate. Here I see noticeable dropouts and irregularities.
http://www.pdpatchrepo.info/hurleur/time_intervals_testing.pd
-
-
j-loe
@dwan said:
[gemhead]
|
[t b]
|
[whatever changes your color]?
Thanks Dwan. What is the rate it is rendering at? It doesn't seem to be affected by changing the gemwin framerate
-
j-loe
ah, thanks sonofsol!
never heard of [edge] before, but that's solved it, cheers MaelstromJ
-
j-loe
So, I figured out I'm trying to get the Hradio to act as a Hdial... now sorted.
Confusion!