The Shuffle CHOP reorganizes the samples in a set of channels.
Remember, in CHOPs the first index of a channel is index number 0 even though TouchDesigner shows the index with number 1.
This operator has 4 general methods and their sub-methods:
When we Swap Channels and Samples we create channels by grouping all the samples of the same index of all channels. We group all samples at sample index 0 for the first channel, all samples at sample index 1 for the second channel, etc.
In general when we sequencing channels we are selecting all samples of a channel (in a horizontal way).
When sequencing channels by name in TouchDesigner, channels with similar names are grouped together, and their samples are merged sequentially. For example, earth1 and earth3 would be combined into one channel, and mars2 and mars4 into another. Furthermore, the channels are sorted alphabetically, resulting in mars2 samples being positioned before mars4, even if mars4 appears first in the input.
Here TouchDesigner sequences all samples of all channels with the same order they appear in the input.
When we sequence 2 channels we sequence the samples of the 1st and 2nd channel, then the samples of the 3rd and 4th channel, then the samples of the 5th and 6th channel etc. If there are no remaining channels, samples with value 0 are inserted.
When we sequence 3 channels we sequence the samples of the 1st, 2nd and 3rd channel, then the samples of the 4th, 5th and 6th channel, etc. If there are no remaining channels, samples with value 0 are inserted.
Same logic as above.
Same logic as above.
By Sequencing every Nth Channel we select and sequence all samples of all selected channel.
With N greater than the number of channels the output stays the same.
In general when we sequencing samples we are selecting samples sequencing the indices of the input: index 1, then index 2 etc (in a vertical way).
For Sequence All Samples, as it names suggests, we take all samples at index 1, then all samples at index 2, etc. and we put them in one channel.
In this method we group the channels by their name and we sequencing their samples one by one.
When we Sequencing All Samples Every Nth Channel we select every Nth channel and then we are sequencing their samples.
When we split samples we select group of samples and then we make a channel out of them.
We group N samples of individual channels and we make new channels. If we exceed the channel's length we select samples based on the extend mode of the channel (hold, slope, cycle, mirror, default value).
For splitting every Nth samples we group the samples every Nth channel and make new channels.