jit.matrixset with different srcdim and dstdim messages

Apr 6, 2012 at 1:47am

jit.matrixset with different srcdim and dstdim messages

Hi everyone,

I’m trying to use [jit.matrixset] to store multiple matrices that, once output, will each have different source and destination dimensions.

For example, lets say that I have this patch (posted below, the patch found in the [jit.matrixset] reference). Here, there are two matrices being stored by [jit.matrixset]. I would like to have one of these matrices occupy the left half of the final output matrix, and the other to occupy the right half of the final output matrix, so that I have a split-screen effect using the two stored matrices. I’m just not sure where the srcdim and dstdim messages have to go in the signal path in order to make this happen.

Any help would be greatly appreciated.

– Pasted Max Patch, click to expand. –
#62799
Apr 6, 2012 at 4:37pm

if you’re only trying to position the matrixset matrices in the final matrix, then you only need to set dstdim attrs in the final matrix.

hopefully this patch helps clarify. keep in mind that if you are trying to place several matrices into one big matrix, you should store the matrices in the matrixset at a lower resolution to save processing and memory.

– Pasted Max Patch, click to expand. –
#226703
Apr 10, 2012 at 6:49pm

Thanks! This is exactly what I was looking for!

#226704

You must be logged in to reply to this topic.