Both sides previous revision Previous revision Next revision | Previous revision |
lwc:touchdesigner [2024/08/30 10:56] – John Harrison | lwc:touchdesigner [2024/09/04 14:08] (current) – John Harrison |
---|
* **moviefileout**: create a movie, optionally with audio (using Movie Audio CHOP perhaps) and save the movie to a file | * **moviefileout**: create a movie, optionally with audio (using Movie Audio CHOP perhaps) and save the movie to a file |
=== CHOPS === | === CHOPS === |
| //CHOPS can be **single sample** or **multi sample**// |
* ''Select'': filter for a specific output. Example: look for DONE channel name coming out of ''timer'' chop. | * ''Select'': filter for a specific output. Example: look for DONE channel name coming out of ''timer'' chop. |
* ''Audio Movie'': plays audio of a movie file | * ''Audio Movie'': plays audio of a movie file |
* drag ''moviefilein'' TOP onto this CHOP to get the audio of a specific movie | * drag ''moviefilein'' TOP onto this CHOP to get the audio of a specific movie |
* to actually get a movie with audio then connect ''moviefilein'' TOP to ''moviefileout'' TOP then drag ''Audio Movie'' CHOP onto ''moviefileout'' TOP | * to actually get a movie with audio then connect ''moviefilein'' TOP to ''moviefileout'' TOP then drag ''Audio Movie'' CHOP onto ''moviefileout'' TOP |
| * ''LFO'': send sine, cosine, square, pulse, etc. |
| * ''Trigger'': sort of like a fully adjustable ADSR |
| * turn ''time slice'' in the parameter window **off** to see the envelope |
| * ''Count'': increment |
| * ''Filter'': smooth the data |
| * ''Lag'': much like filter but has an accell/decel feature |
| * ''Fan'': split from a single channel to multiple channels |
| * ''Math'': can combine CHOPS or combine channels. Also tweak the range of output values/ |
| * ''Merge'': merge multiple CHOPS into 1 CHOP with different channels. Use for example when doing the same math operation on multiple CHOPS |
| * ''Switch'': switch between multiple sources |
| * ''Replace'': replace input 1 with input 2 if input 2 has data |
| * ''Fan'': take a serious of channels and fan in to 1 channel |
| * ''Timer'': |
| * ''Event'': similar to ''trigger'' but can handle multiple triggered values at different times |
| * ''Trail'': record values over time. Set ''Grow Length'' on to increase time window indefinitely. |
| * can change it to capture only when input data is cooked |
| * ''Analyze'': Average, Sum, RMS, Peaks, etc. |
| * ''Logic'': turn on or off depending on the values coming in. For example, turn on when input > 9 |
| |
| === multi sample === |
| * ''Pattern'': Sine, Cosine, etc. |
| * can accept another input multisample which can be combined with the pattern (see ''Combine Channels'' in the ''Channel'' tab of the parameter window) |
| * note the "extend region left" and "extend region right" |
| * ''Trim'': cut or extend the multisample |
| * ''Audioosc'': you can set the sample rate to match the sample size of a pattern CHOP or similar CHOP |
| * ''Constant'': make it multisample in the ''Channel'' tab |
| * ''Shuffle'': sequence or split multisample or single sample CHOPS together |
| * example: split a multisample CHOP with 10 points into a single sample CHOP with 10 channels by choosing ''split all samples''as the method in the parameter window |
| |
=== SOPS === | === SOPS === |
* ''Convert'': convert object to polygon | * ''Convert'': convert object to polygon |
* ''Facet'': low poly look (?) | * ''Facet'': low poly look (?) |
| * ''Limit'': draw a line using data from multi sample CHOP |
| |
| |
=== DATS === | === DATS === |
* ''Merge'': combine multiple DAT tables | * ''Merge'': combine multiple DAT tables |
* ''Sort'': sort table | * ''Sort'': sort table |
| * ''Chop To'': drag and drop TOP into this DAT to have the data interpreted as a table |
| |
==== Connections ==== | ==== Connections ==== |
- Using LMB Drag Chop (with viewer active) into the parameter in the parameter window | - Using LMB Drag Chop (with viewer active) into the parameter in the parameter window |
- Choose ''CHOP Reference'' in the context menu | - Choose ''CHOP Reference'' in the context menu |
| - alternatively, with the CHOP viewer window active, drag the CHOP op directly onto the TOP op and choose the parameter to map to in the pop menu. |
| - With this alternative method the reference is not Python code and therefore may not be as adaptable in some situations? |
| - This appears to be the same as following the original method but choosing ''Export Chop'' except when choosing ''Export Chop'' you also seem to get a bonus export table that gets created (maybe?) |
| |
| |
* ''File''->''Export Movie'' to save a video. Suggestion: turn ''realtime'' off to avoid glitches | * ''File''->''Export Movie'' to save a video. Suggestion: turn ''realtime'' off to avoid glitches |
* default files are in ''Program Files''->''Derivative''->''TouchDesignerVERSION''->''Samples''->''Map'' | * default files are in ''Program Files''->''Derivative''->''TouchDesignerVERSION''->''Samples''->''Map'' |
| * when needing constantly changing values take a look in the ''Channel'' tab of the parameter window at ''Time Slice'' |
| |
== Chop Execute DAT == | == Chop Execute DAT == |
==== Built-in Variables ==== | ==== Built-in Variables ==== |
* ''me.time.frame'': frame # sent by timeline at a given moment | * ''me.time.frame'': frame # sent by timeline at a given moment |
| |
| ==== Units ==== |
| * ''i'': index or sample |
| |
| ==== Pattern Matching ==== |
| * match 2 and 3: [2-3] |