[PD] How does vline~ work under the hood?

i go bananas hard.off at gmail.com
Fri Oct 2 17:36:37 CEST 2015

Hi, me again.

Thanks for the discussion.  It has really opened my eyes.

So, i got my naive c++ implementation of line~ basically working.

And of course, just running a for loop incrementing by ticks, i run into
the exact precision error that this block quantizing seems to avoid.  My
line from 0 to 100 over 44100 samples only gets to 99.93

So, i also need to add something like pd's block quantization to make sure
my line goes all the way to the specified value.

My questions then are 2:

Is pd's method the way i should do it?  Or is there a better alternative?

And, if i do it the pd way, how does that work?  Does the increment get
updated every block?   Or is it just the last block that is stretched?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20151003/9fc2dbac/attachment.html>

More information about the Pd-list mailing list