To achieve this in TouchDesigner, you can use a combination of the OSC DAT, a Time COMP, and a Noise TOP to ensure that your noise seed value changes each time an OSC message is received, even if the OSC value remains the same. Here’s a step-by-step guide on how to set this up:
-
OSC DAT Setup:
- Add an
OSC In DAT to receive OSC messages.
-
Fetch OSC Values:
- Add a
Select DAT to extract the specific OSC value you want to use.
-
Create a Changing Seed:
- Use a
Time COMP to get the current frame number or milliseconds, which will be unique at each moment.
- Add a
Logic CHOP to detect changes in the OSC value.
- Use a
Math CHOP to combine the OSC value with the current time to create a unique seed each time an OSC message is received.
-
Drive Noise Seed:
- Connect the output of the
Math CHOP to the seed parameter of the Noise TOP.
Here are the detailed steps:
-
OSC In DAT:
- Add an
OSC In DAT and configure it to receive messages from your OSC source.
-
Select DAT:
- Add a
Select DAT and connect it to the OSC In DAT.
- Select the specific row/column that contains your OSC value.
-
Time COMP:
- Add a
Time COMP to your network.
- Add a
CHOP to DAT to convert the time to a CHOP.
- Configure the
CHOP to DAT to output the frame or seconds value.
-
Logic CHOP:
- Add a
Logic CHOP and connect it to the output of your Select DAT.
- Set the
Logic CHOP to ‘on when value changes’.
-
Math CHOP:
- Add a
Math CHOP and connect the output of the Logic CHOP and the CHOP to DAT (from the Time COMP) to its inputs.
- Use the
Add operation in the Math CHOP to combine the OSC value with the current frame number or time.
-
Noise TOP:
- Add a
Noise TOP.
- Connect the output of the
Math CHOP to the seed parameter of the Noise TOP.
-
OSC In DAT:
OSC In DAT receives OSC messages.
-
Select DAT:
Select DAT extracts the relevant OSC value.
-
Time COMP:
Time COMP gets the current frame or time.
-
Logic CHOP:
Logic CHOP detects changes in the OSC value.
-
Math CHOP:
Math CHOP combines the OSC value with the current time/frame to create a unique seed.
-
Noise TOP:
Noise TOP uses the combined value as its seed.
This setup ensures that even if the OSC value remains the same, the seed for the Noise TOP will be different each time an OSC message is received, resulting in different noise patterns.