don't repeat yourself
20 HP
It holds every bar up against the bar before and counts the repeats. When its patience runs out it changes something in the next bar. Play something new and it relaxes.
Turn a knob: drag it or tap either side of it, roll the wheel over it or use the arrow keys; a double click puts it back. AGAIN plays the last change once more: wait for one you like, then press it.
example patches
The bars, the count and the sound here are TWICE's engine as it's designed, running in your browser: every bar it hears, every change it makes. The drums, the bass and the arp are a stand-in for the rest of a rack.
Everything goes straight through, on the clock. TWICE hears every sixteenth of the bar in three bands, low, middle and high, and keeps how hard a hit starts in each and when. Then it holds the bar up against the bar before, sixteenth by sixteenth. The bars show it: the bar before on the left, this bar on the right, each with the low band by the middle and the high band outside.
A bar the same as the one before adds one to the count, and the pips climb from the foot. Anything different clears it. When the count reaches PATIENCE it acts on the next bar. That bar isn't counted, so it starts again from the one after.
It records every bar. Because the loop repeated, the bar it just recorded is the bar that's coming, so it plays the next bar from the recording, rearranged a sixteenth at a time, on the grid. Nothing comes in late, and the seams are crossfaded. The cats light, one after the other.