Annoyingly TD doesn't play the audio from a movie file by default! What you must create is an AUDIO MOVIE CHOP. Drag the MOVIE FILE IN node onto this & connect and Audio Device Out & you'll get the movie audio!
Make an LFO CHOP. Set it to pulse. Choose a frequency. Connect a COUNT CHOP to it. For this example, set it to Loop Min/Max. And set the Max to something like 9999. Make a NOISE CHOP. Drag the Count CHOP's value into the Seed parameter. You might have to add [0] at the end of the op('noise1')[0] so that the value is actually read. Also set the amplitude and offset to 0.5, so the noise is going from 0 to 1. Connect a MATH CHOP to the noise. In the OP tab, set the integer to Round (so we get whole numbers) and also set the To Range to the numbers you'd like your random values to fall between. You now have random numbers being pulsed.
The Eval DAT creates a table that adheres to some rules that you give it. The first input is typically a "dumb" table that has no expressions, it might just be a row of table labels like "position, x y z". The second input is a table with expressions. These are evaluated along the columns. You can enter information into each table using a text editor. The columns are separated by TABS. eg you would type: index TAB x TAB y TAB z to create 4 columns To make the eval dat use data from the dumb table you would type "me.inputCell" into the appropriate "cells" of the 2nd input table. You will most likely use expressions like (me.inputRow)/op('noise1').width op('noise1').sample(x=me.inputRow,y=0)[0] to create data. The first is taking the row number of the table and dividing it by the width parameter of an external noise node to get a fraction. The second is setting the cell value by sampling the rgb value of "noise1" at x,y a...
To access frames in a video that have gone by, use a cache & cache select TOP. Eg. you want to blend "2 frames ago" with the current frame on your video. To your movie-file-in, attach a cache TOP. Next create a cache select TOP and specify the name of the cache TOP. Now in the parameter of the cache select type -2. blam!
Comments
Post a Comment