force to cook only when value change

Hello,

I think it is a pretty basic set up. But cannot find the right tools.
I have an incoming data stream thru an OSCin that drive the generations parameter for a Lsystem. As the OSCin cooks at 60Hz , the Lsystem cooks (at least try) at the same rate even when the parameter is idle.

I need to insert, upward in the flow, a filter that will force the branch to cook only when the parameter value change.

Thanks

Xavier,

Instead of exporting directly from the OSCIn CHOP stream to the L-system, use a CHOP Execute DAT to watch the OSCIn CHOP data and have it run a script when there is a value change. The script can then affect the L-system just once whenever the value changes.