"history" equivalent in jit.gen?

Feb 1, 2012 at 5:57pm

"history" equivalent in jit.gen?

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.


Feb 1, 2012 at 6:10pm

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:

– Pasted Max Patch, click to expand. –
Feb 1, 2012 at 8:44pm

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?

Feb 1, 2012 at 9:35pm

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.

Feb 1, 2012 at 10:06pm

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.


You must be logged in to reply to this topic.