I suspect this information is somewhere in the forum, but if so I cannot find it. Apologies if I'm duplicating.
I want to build a patch to shuffle-play a number of audio tracks, with no repeats until they have all been played, and then start again with a new shuffled list.
I have already made this 'shuffle' subpatch to avoid consecutive repeats:

What would be the best way to build something that will shuffle numbers 0-3, then only allow repeats of any of these numbers once all of them have been produced? It would then need to begin again from the beginning and run indefinitely in this cycle.
Thanks!
