"history" equivalent in jit.gen?

Wetterberg's icon

So I am looking to do a little time shift mod to Darwins GenPAD patch-a-day, but [history] doesn't work in jit.gen - what's the workaround in jit.gen?

If it'll help I'm looking for a sub-one-second delay line, and I'm not really all that comfortable in it yet.

cheers,
a

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

For delayed feedback, you can send out to a jit.matrixset object instead of jit.matrix. Here's an update to Darwin's patch, with the video-delay taken from jit.matrixset.maxhelp:

Wetterberg's icon

sweet, okay, so just to clarify this works in about the same manner as buffers do in gen; you can address them - in this case by going outside the jit.pix - but they can't be stored inside? And if so, would there be efficiency benefits to it?

Wesley Smith's icon

If there was a history inside jit.gen, it would need to be another matrix that was the same size as the inputs. It would be no different in terms of efficiency than what is possible now. Same goes for accessing named matrices.

Wetterberg's icon

good, that's what I needed to be told, I guess :) The simplicity of looping out and back in also has a bit of charm to it.