Page 1 of 1

Array shuffle

Posted: 28 Mar 2026, 12:42
by Gilsornette
Hello,

I'm using a 6x6 audio mix matrix in mode faders. Some of my cells/faders are at the minimum (value=0) , and a few have a non 0 value. I'd like to shuffle those values between
their respective positions (cells/faders at 0don't move). What could be the simplest way to achieve that?
It's easy to identify the cells with value =0 (module find index) but not so simple (seems to me...) to identify cells that are non 0 values.
Wouldn't it be fine to have on module find index an option to search non 0 values indexes?
I hope it's clear...
Thanks in advance

Re: Array shuffle

Posted: 28 Mar 2026, 14:59
by oli_lab
Like that ?
shuffle if non zero.wkp
(116.69 KiB) Downloaded 19 times

Re: Array shuffle

Posted: 28 Mar 2026, 16:42
by Gilsornette
Exactly! Why had I never noticed this "fill -1 if not found" input?:-) That's what I was looking for...
Thank you Olivar!