How to set an op's parameter to an expression via OSC In?

I have an OSC In DAT that I want to use to set a Noise TOP’s tz parameter to the expression absTime.frame. When the DAT runs this code inside its onReceiveOsc:

op('noise1').par.tz = absTime.frame

that sets tz to a constant. How do I set a parameter to an expression via OSC? I guess this is bascially a Python beginner’s question.

op.noise.par.tz.expr = "absTime.frame"

See Par Class - Derivative

1 Like