How can I detect a percentage change in TD?

I’m using touch sensors that tend to vary a lot in the range of values they’re outputting when touched, but they fairly consistently output a 10x increase in value when touched. I’m reading the values via a serial DAT and then DAT to CHOP.

Is there a way I can modulate based on detection of a percentage increase (like 500% or 1000%)?

You can obtain the log using the function chop with ln(x)
or slope chop giving you the speed of change

1 Like