zl group with metro

jamesson's icon

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

Max Patch
Copy patch and select New From Clipboard in Max.

Joe

Wetterberg's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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?

jamesson's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Reg is nice, but I went this way;

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

Thanks again

Joe

Chris Muir's icon

did you look at speedlim?

jamesson's icon

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

jamesson's icon

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

3250.stars.JPG
JPG
Chris Muir's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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

jamesson's icon

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?

Chris Muir's icon

Post your entire patch.