Forums > MaxMSP

zl group with metro

January 25, 2012 | 4:59 pm

The following is a solution that was suggested on this forum to "downsample" some x/y coords. It does exactly what I want, but unfortunately the metro makes the group consist of nothing but the last input, which is useless. What can I do about this?

Thanks much in advance

Joe

– Pasted Max Patch, click to expand. –

January 25, 2012 | 10:33 pm

What’s the output you’re looking for? Something that downsamples x/y coords would look like this, I guess, but I doubt that’s what you’re looking for?

– Pasted Max Patch, click to expand. –

January 26, 2012 | 4:12 am

Reg is nice, but I went this way;

– Pasted Max Patch, click to expand. –

I guess I misexpressed myself by calling it downsampling? what is the right term?

Thanks again

Joe


January 26, 2012 | 4:32 am

did you look at speedlim?


January 26, 2012 | 4:48 am

Very tasty, Mr Chris, but where shall I put it? After the lcd, or the bang that outputs the int, or later still?

Thanks again

Joe


January 26, 2012 | 6:15 am

Wetterberg: Compare the two lcds in the image. Notice how the one on the right is "smoother" than the one on the left. This is basically what I'm looking for, except obviously not for the random line coming from offscreen (this always shows up, no idea why yet). What I'm doing is driving a gesture handler that requires a minimum of 16 points for successful recognition. I'd like to smooth out the input somewhat while still maintaining "vertex" points. See my previous post for an abstract graphical example

Thanks again

Joe

[attachment=183372,3250]

Attachments:
  1. stars.JPG

January 26, 2012 | 7:01 am

I’m not really sure what you’re going for, but:

– Pasted Max Patch, click to expand. –

January 26, 2012 | 2:24 pm

That’s it exactly chris, many thanks

But – still that diagonal line. I’m assuming the first point should not be lineto but rather moveto. How to do this?


January 26, 2012 | 7:26 pm

Post your entire patch.


Viewing 9 posts - 1 through 9 (of 9 total)