Cycle CHOP

From TouchDesigner 088 Wiki

Summary

The Cycle CHOP creates cycles. It can repeat the channels any number of times before and after the original. It can also make a single cycle have a smooth transition from its end to its beginning, so it loops smoothly.

Since channels may not naturally loop well, the Cycle CHOP provides three different methods of blending between the cycles.

PythonIcon.png cycleCHOP_Class

Parameters - Cycle Page

Cycles Before - The number of cycles to loop before the input CHOP. This parameter can be fractional.

Cycles After - The number of cycles to loop after the input CHOP. This parameter can be fractional.

Mirror Cycles - If enabled, consecutive cycles are mirror images (reversed) of each another. The first cycle is never mirrored.

Blend Start to End - If on, the end of the CHOP is blended into the start of the CHOP to produce a smooth loop. If Cycles Before and Cycles After are 0, Region is non-zero, and Extend Conditions are "Cycle", it loops smoothly forever.

Parameters - Blend Page

Method - How to blend between cycles:

  • Preserve Length - Keeps the total length of each cycle the same as the length of the input CHOP.
  • Overlap Sequences - Overlaps each cycle with the previous cycle.
  • Insert Blend Region - Inserts a region between the cycles where blending is done.

Shape - The shape of the blending function:

  • Linear Straight - Linear blend.
  • Ease in - Uses an easein() function for blending.
  • Ease out - Uses an easeout() function for blending.
  • Ease in Ease out - Uses both easein() and easeout() functions.
  • Cubic - For Insert Blend Region, uses a cubic() interpolation to fill the region between the cycles.
  • Add - The overlapped regions have the overlapping samples simply added. This is suitable for looping audio.

Region - The size of the blend region, in either seconds, samples or frames (set with Units in the Common page).

Bias - The bias of the blend. A -1 biases the blend toward the beginning of the blend region, 0 is no bias and +1 biases towards the end of the blend region.

Step - If set to 1, the next cycle will be shifted up or down in value, so that it begins where the last cycle ended. Suitable for the root object of walk cycles.

Step Scope - The names of those channels that will be affected by the Step parameter.

Standard Options and Local Variables

There are no Local Variables.