Forums > Gen

"history" equivalent in jit.gen?

February 1, 2012 | 5:57 pm

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


February 1, 2012 | 6:10 pm

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. –

February 1, 2012 | 8:44 pm

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?


February 1, 2012 | 9:35 pm

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.


February 1, 2012 | 10:06 pm

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.


Viewing 5 posts - 1 through 5 (of 5 total)