Forums > Jitter

jit.submatrix : improving ?

Feb 16 2010 | 12:08 am


i’m having troubles with a behavior of jit.submatrix

i’m working with a flow of jitter matrices
the size of the matrices is alternatively 2 x 4 and 1 x 4
i try to get the second column of each matrix with :
[jit.submatrix @dim 1 4 @offset 1 0]

when i send the 2 x 4 at first, no problem, it sends back its second column
when i send the 1 x 4 matrix, it has no 2d column so it send the first one instead, why not ?
but after that, when re-send the 2 x 4 matrix, i get the 1st column, not the 2d
i realised that [jit.submatrix] changes its offset itself as it could’t find a 2d column in one matrix.

i don’t think this behavior is a bug but it would be nice if i could choose the behavior when the offset can’t be reached (for example : nooutput, nearest, previous)

here is a patch with this behavior :

-- Pasted Max Patch, click to expand. --


Viewing 1 post (of 1 total)

Forums > Jitter