Sort CHOP

From TouchDesigner 099 Wiki

Summary

The Sort CHOP re-orders the inputs channels samples by value or by random. Specifying a channel to be sorted will reorder all remaining channels samples according to the new order.

Additionally an index channel can be created which holds the former sample index before sorting.

PythonIcon.png sortCHOP_Class

Parameters

Sorting Method - There are three different sorting methods. CHOP samples can be reordered by increasing values, decreasing values or in random order.

Seed - Any number, integer or non-integer, which starts the random number generator. Each number gives completely different noise patterns, but with similar characteristics.

Select Type - Specify if the channels to be sorted will be specified by index or name.

Channel Indices - Specify the index of the channel to be sorted. All not specified channels will reorder their samples according to the specified channels new sample order. If left empty, all channels will be sorted.

Channel Names - Specify the name of the channel to be sorted. All not specified channels will reorder their samples according to the specified channels new sample order. If left empty, all channels will be sorted.

Index Channel - Enable to output an index channel which holds the former samples location before sorting.

Standard Options and Local Variables

There are no local variables.