Downsampling lcd lineto.

Jan 24, 2012 at 9:22pm

Downsampling lcd lineto.

I'd like to downsample the output from lcd using lineto. By downsamping I mean something like the attached image. In other words; for (some arbitrary number of x/y pairs) take the first and last pair and connect them with a straight line. This is what I have so far

– Pasted Max Patch, click to expand. –

but it doesn't work right. I'm guessing I would have to do something involving making the end of the previous line into thee beginning of the next line, but no clue how to do that.

Thanks much in advance



  1. tangents.jpg
Jan 24, 2012 at 9:24pm

sorry if the pic is too small, let me know and I will repost.

Jan 24, 2012 at 10:39pm

if [thresh] doesnt do what you want you could use [int] to store the numbers and trigger them with a metro.

if the “lineto” movement is linear, you could also truncate the range, for example by rounding
incoming numbers to multiples of 5.


Jan 24, 2012 at 10:59pm

Thresh is sweeeeet.

But maybe I will try the metro thing for more control.

Thanks again



You must be logged in to reply to this topic.