zl group with metro

Jan 25, 2012 at 4:59pm

zl group with metro

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. –
#61452
Jan 25, 2012 at 10:33pm

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. –
#221695
Jan 26, 2012 at 4:12am

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

#221696
Jan 26, 2012 at 4:32am

did you look at speedlim?

#221697
Jan 26, 2012 at 4:48am

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

#221698
Jan 26, 2012 at 6:15am

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
#221699
Jan 26, 2012 at 7:01am

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

– Pasted Max Patch, click to expand. –
#221700
Jan 26, 2012 at 2:24pm

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?

#221701
Jan 26, 2012 at 7:26pm

Post your entire patch.

#221702

You must be logged in to reply to this topic.