Zl delay ???

GhostandtheMachine's icon

I have been messing with this for a minute and thought I would put up a post.

Why I need it: I am trying to grab X,Y points out of a ubutton but have the first points be subtracted from the rest to have it start from 0,0 every time you begin a gesture.

I am trying to use a zl reg to grab the first then run it through a vexpr to subtract, but I am having issues with leftover values. If anyone has any suggestions I would appreciate it.

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

I was thinking some sort of zl delay might be a good way to go if i could just delay a stream by a small amount of time so the vexpr could update. Not sure if that is too efficient, but it got me thinking about some list delay functions so I'll just piggy back those questions onto this post....

Any suggestions on how to delay a list by an initial time, or a way to control a streams out put speed?

thanks
jon

Luke Hall's icon

You just need to watch the order of operations. There's probably an easier way to do it but the patch below will work by routing the first list to the right inlet of [vexpr] and all other lists to the left inlet, triggering the output.

lh

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

GhostandtheMachine's icon

Thanks for the reply.

I also realized i had forgotten about the pipe object.

thanks again

jon