Copy CHOP

From Derivative
Jump to: navigation, search

Summary
[edit]

The Copy CHOP produces multiple copies of the second input along the timeline of the first input. The first input provides the trigger signals or the convolve levels.

The Copy CHOP can be used to produce a motion every time a trigger occurs. It can be used to trigger motion, such as eyelid blinks. The copies it produces can be identical, or the copies can be re-cooked each time a copy is added to the timeline. It is useful for triggering a sound multiple times, where the sounds may overlap in time.

Each copy that is added to the output can be completely different than any other copy. By passing variables through the Variables page, the second (Copy) input can be any CHOP chain that uses the variables and recooks to create each copy.

PythonIcon.pngcopyCHOP_Class


Parameters - Copy Page

Copy Method method - -

  • Triggered Copy trigger - The second input is copied at the first input's trigger points only. A trigger point occurs whenever the first input's channel crosses the Trigger Threshold value. Overlapping copies are added.
  • Convolve convolve - For every sample in the first input's channel, the second input is shifted to that point in time, scaled by the sample value, and added into the output channels.

Output Method output - -

  • One Channel per Template Channel match - Each output channel is a channel from the first input combined with the corresponding channel from the second input.
  • One Channel per Copy Channel accum - Each output channel is a channel from the second input, with copies triggered by every channel of the first input.

Trigger Threshold threshold - The threshold value for triggering copies.  

Remainder remainder - - See Common Parameters > Remainder Options.

  • Discard Remainder crop -
  • Make Output Longer extend -
  • Mix Remainder with Beginning mix -

Keep Non-Scoped Channels keep - If enabled, non-scoped channels are copied to the output, otherwise they are deleted.


Parameters - Variables Page

Cook Each Copy cook - Recook the second input for each triggered copy.

Param 1 param1 - The parameters are re-calculated for each copy. The first field is the parameter name, the second is its value. You can use CHOP Members and Methods. The parameters you set here are available to any CHOP in the network attached to the second input through the function:

fetchStamp(key, default)

Where default is any initial value for the parameter, and is usually set to 0.

Value 1 val1 -  

Param 2 param2 - The parameters are re-calculated for each copy. The first field is the parameter name, the second is its value. You can use CHOP Members and Methods. The parameters you set here are available to any CHOP in the network attached to the second input through the function:

fetchStamp(key, default)

Where default is any initial value for the parameter, and is usually set to 0.

Value 2 val2 -  

Param 3 param3 - The parameters are re-calculated for each copy. The first field is the parameter name, the second is its value. You can use CHOP Members and Methods. The parameters you set here are available to any CHOP in the network attached to the second input through the function:

fetchStamp(key, default)

Where default is any initial value for the parameter, and is usually set to 0.

Value 3 val3 -  

Param 4 param4 - The parameters are re-calculated for each copy. The first field is the parameter name, the second is its value. You can use CHOP Members and Methods. The parameters you set here are available to any CHOP in the network attached to the second input through the function:

fetchStamp(key, default)

Where default is any initial value for the parameter, and is usually set to 0.

Value 4 val4 -  

Param 5 param5 - The parameters are re-calculated for each copy. The first field is the parameter name, the second is its value. You can use CHOP Members and Methods. The parameters you set here are available to any CHOP in the network attached to the second input through the function:

fetchStamp(key, default)

Where default is any initial value for the parameter, and is usually set to 0.

Value 5 val5 -  

Param 6 param6 - The parameters are re-calculated for each copy. The first field is the parameter name, the second is its value. You can use CHOP Members and Methods. The parameters you set here are available to any CHOP in the network attached to the second input through the function:

fetchStamp(key, default)

Where default is any initial value for the parameter, and is usually set to 0.

Value 6 val6 -  

Param 7 param7 - The parameters are re-calculated for each copy. The first field is the parameter name, the second is its value. You can use CHOP Members and Methods. The parameters you set here are available to any CHOP in the network attached to the second input through the function:

fetchStamp(key, default)

Where default is any initial value for the parameter, and is usually set to 0.

Value 7 val7 -  

Param 8 param8 - The parameters are re-calculated for each copy. The first field is the parameter name, the second is its value. You can use CHOP Members and Methods. The parameters you set here are available to any CHOP in the network attached to the second input through the function:

fetchStamp(key, default)

Where default is any initial value for the parameter, and is usually set to 0.

Value 8 val8 -  

Param 9 param9 - The parameters are re-calculated for each copy. The first field is the parameter name, the second is its value. You can use CHOP Members and Methods. The parameters you set here are available to any CHOP in the network attached to the second input through the function:

fetchStamp(key, default)

Where default is any initial value for the parameter, and is usually set to 0.

Value 9 val9 -  

Param10 param10 - The parameters are re-calculated for each copy. The first field is the parameter name, the second is its value. You can use CHOP Members and Methods. The parameters you set here are available to any CHOP in the network attached to the second input through the function:

fetchStamp(key, default)

Where default is any initial value for the parameter, and is usually set to 0.

Value 10 val10 -  


Parameters - Common Page

Time Slice timeslice - Turning this on forces the channels to be "Time Sliced". A Time Slice is the time between the last cook frame and the current cook frame.

Scope scope - To determine which channels get affected, some CHOPs use a Scope string on the Common page.

Sample Rate Match srselect - - Handle cases where multiple input CHOPs' sample rates are different. When Resampling occurs, the curves are interpolated according to the Interpolation Method Option, or "Linear" if the Interpolate Options are not available.

  • Resample At First Input's Rate first - Use rate of first input to resample others.
  • Resample At Maximum Rate max - Resample to the highest sample rate.
  • Resample At Minimum Rate min - Resample to the lowest sample rate.
  • Error If Rates Differ err - Doesn't accept conflicting sample rates.

Export Method exportmethod - - This will determine how to connect the CHOP channel to the parameter. Refer to the Export article for more information.

  • DAT Table by Index datindex - Uses the docked DAT table and references the channel via the index of the channel in the CHOP.
  • DAT Table by Name datname - Uses the docked DAT table and references the channel via the name of the channel in the CHOP.
  • Channel Name is Path:Parameter autoname - The channel is the full destination of where to export to, such has geo1/transform1:tx.

Export Root autoexportroot - This path points to the root node where all of the paths that exporting by Channel Name is Path:Parameter are relative to.

Export Table exporttable - The DAT used to hold the export information when using the DAT Table Export Methods (See above).


CHOPs
Ableton Link • Analyze • Angle • Attribute • Audio Band EQ • Audio Device In • Audio Device Out • Audio Dynamics • Audio File In • Audio Filter • Audio Movie • Experimental:Audio NDI • Audio Oscillator • Audio Para EQ • Audio Play • Audio Render • Audio Spectrum • Audio Stream In • Audio Stream Out • Beat • BlackTrax • Blend • Experimental:Bullet Solver • Clip Blender • Clip • Clock • Composite • Constant • Copy • Count • CPlusPlus • Cross • Cycle • DAT to • Delay • Delete • DMX In • DMX Out • Envelope • EtherDream • Event • Expression • Extend • Fan • Feedback • File In • File Out • Filter • Function • Gesture • Handle • Helios DAC • Hog • Hokuyo • Hold • Experimental:Import Select • In • Info • Interpolate • Introduction To CHOPs id• Inverse Curve • Inverse Kin • Join • Joystick • Keyboard In • Keyframe • Kinect • Lag • Leap Motion • Leuze ROD4 • LFO • Limit • Logic • Lookup • LTC In • LTC Out • Math • Merge • MIDI In • MIDI In Map • MIDI Out • Mouse In • Mouse Out • NatNet In • Noise • Null • Object • Oculus Audio • Oculus Rift • OpenVR • OSC In • OSC Out • Out • Override • Panel • Parameter • Pattern • Perform • Pipe In • Pipe Out • PosiStageNet • Pulse • RealSense • Record • Rename • Render Pick • Reorder • Replace • Resample • S Curve • Scan • Script • Select • Sequencer • Serial • Shared Mem In • Shared Mem Out • Shift • Shuffle • Slope • SOP to • Sort • Speed • Splice • Spring • Stretch • Switch • Sync In • Sync Out • Tablet • Time Slice • Timeline • Timer • TOP to • Touch In • Touch Out • Trail • Transform • Trigger • Trim • Warp • Wave • ZED

An Operator Family which operate on Channels (a series of numbers) which are used for animation, audio, mathematics, simulation, logic, UI construction, and many other applications.

A CHOP outputs one or more channels, where a channel is simply a sequence of numbers, representing motion, audio, etc. Channels are passed between CHOPs in TouchDesigner networks. See also Export.

To re-compute the output data of the Operators. An operator cooks when (1) its inputs change, (2) its Parameters change, (3) when the timeline moves forward in some cases, or (4) Scripting commands are run on the node. When the operator is a Gadget, it also cooks when a user interacts with it. When an operator cooks, it usually causes operators connected to its output to re-cook. When TouchDesigner draws the screen, it re-cooks all the necessary operators in all Networks, contributing to a frame's total "cook time".

A Time Slice is the time from the last cook frame to the current cook frame. In CHOPs it is the set of short channels that only contain the CHOP channels' samples between the last and the current cook frame.

A parameter in most CHOPs that restricts which channels of that CHOP will be affected. Normally all channels of a CHOP are affected by the operator.

samples-per-second of a CHOP. Each CHOP in your network has a sample rate, whether it is used or not. The overall timeline has a "frame rate", which is the number of animation frames per second, generally your monitor display frequency.

Exporting is the connection of CHOP channels to parameters of operators. The output of each exporting CHOP is one or more channels, active only while the CHOP Viewer is on. The current value of a channel can be exported to a parameter of any operator, overriding that parameter's value. See Parameter.

An Operator Family that manipulates text strings: multi-line text or tables. Multi-line text is often a command Script, but can be any multi-line text. Tables are rows and columns of cells, each containing a text string.

The location of an operator within the TouchDesigner environment, for example, /geo1/torus1, a node called torus1 in a component called geo1. The path / is called Root. To refer instead to a filesystem folder, directory, disk file or http: address, see Folder.

Parameters in TouchDesigner are an operator's settings (numbers, menus, flags, strings, paths) which the user can alter. Parameters for any operator can be opened by right-clicking on the operator and selecting "Parameters..." A currently selected operator's parameters can be viewed in a Network Editor by pressing the keyboard shortcut 'p'.

TouchDesigner is a hierarchy of components. "root" is the top-most network in the hierarchy. The Path is simply /. A typical path is /project1/moviein1.