Expression CHOP and function selection

I am trying to create an expression CHOP that would evaluate a function definition from DAT. It seems that the input only evaluates to the text value and the text value is not evaluating as I would want it to.

Reason for this method is that the expression CHOP seems to outperform other methods I have tried for this (haven’t tried to do this in a shader though, which I might try if everything else fails).

Please find attached an example that has this issue in express4 and if you could help, it would be super :slight_smile:
ExpressIssue.1.toe (3.5 KB)

Hi I’m not sure what result you are trying to get, but op(‘funcDef’)[0,1] in your expression CHOP is just getting the cell that in is in row 0 column 1 of funcDef. Which is a table cell. Even if you put op(‘funcDef’)[0,1].val you are getting the string that’s in that cell, which is the string ‘me.inputVal’. Even if you put eval(op(‘funcDef’)[0,1].val) it gets you nowhere as it is the same as the default for the Expression CHOP: me.inputVal,

The default in the expression is me.inputVal which gets the values coming into the Evaluate CHOP, in your case the LFO CHOP. You can put me.inputValue+1, but that’s the same as putting a Math CHOP after the Expression CHOP, which is a lot easier than messing with expressions. People rarely use the Expression CHOP as far as I know. They just use CHOPs and expressions in parameters.