Efficient fade between picts in jit.matrixset

Frans-Jan Wind's icon

Hi,

This solution for fading between pictures in two [jit.matrixset]'s I've made seems very cpu inefficient to me. The thing is I need to adjust the fade speed and hold time dynamically. A solution I found on the forum using using [cpuclock] didn't work for me since calculations are re-triggered which results in resetting the fade position

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

If someone knows a way to do this more efficient I'd love to hear from you.

spectro's icon

I tried to take a look, but got a message in the max window: newobj: leftgate: No such object

Frans-Jan Wind's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Lobjects is almost like default for me, the same thing with the good old [gate] instead

spectro's icon

I had a quick look at your patch, and FWIW - while there are (as always) other ways to do what you want - your method doesn't seem all that inefficient to me (cpu or otherwise). Perhaps others may offer a different opinion.