If you’re viewing this page from the TouchDesigner curriculum explorer, you can use the buttons below to interact with this topic.
CHOPs can have multiple channels and multiple samples. A CHOP that has multiple samples is shown in the viewer as a line graph. At the base of the graph you can read the sample index across the X Axis and the sample value on the Y Axis. In some cases you adjust the number of samples in a CHOP by adjusting a parameter called “length” as in the pattern CHOP, in other cases it is shown in the “Channel” page. On the “Channel” page The number of samples may be expressed in a measure of samples, frames, or seconds.
We often want multiple channels and multi-samples to behave the same way single-samples might – luckily we can transform a multi-sample CHOP into a multi-channel CHOP by using the Shuffle CHOP. Multi-sample CHOPs are useful to drive parameter animation, controlling LEDs, audio, DMX channels, and much more.
We can also use a multi-sample CHOP as a look-up table that can be driven by an index. The Lookup CHOP allows you to specify an index and output multiple channels from multi-sample CHOPs. This is helpful for playing back animation curves, complex transition elements, or consistent data sequencing.