jit.matrix outputs 2 lines instead of 16 when banged w/ metro

ygreq's icon

Hi guys,

I was trying to figure out why this jit.matrix outputs only to lines when I bang it with a metro and 16 lines (like it should be) when I just bang it.

Any help would be truly appreciated!
ygreq

Max Patch
Copy patch and select New From Clipboard in Max.

`

ygreq's icon

Now that I look at the patch, I don't even know why it outputs 16 lines instead of 8.

Does anybody know the answer?

Chris Muir's icon

you're using pak, which outputs every time any input changes. you're changing two inputs, so each pak outputs twice.

ygreq's icon

Right! and because it is a jit.matrix 5 float32 2 2, it outputs 2 lines of code 8 times.

But what about the thing with the metro? Why is it that it only outputs 2 lines of code with the same patch (using pak as well)?

Max Patch
Copy patch and select New From Clipboard in Max.

I added some [print] objects for anyone willing to take a look:

ygreq's icon

without metro it's something like: 8 successions of list, bang and jit.print (2 lines) and then the input
GOOD

with metro: 8 successions of list and bang, and then the input and then jit.print (2 lines)
BAD

Is this an error? a bug?

Ed's icon

Try qmetro instead of metro.

ygreq's icon

yey!! Thank you, dambik!!

Thank you so so much! I was sketching my head for days now!