Hello, I am trying to make an effect plugin that uses the distortion opcode to perform waveshaping. My goal is to allow the user to update the transfer function with sliders and I have a gentable displaying the current transfer function. I’ve gotten the gentable to successfully update and display the ftable when making changes, however whenever I change the transfer function ftable, I get noticeable clicking in the outputted distortion.
I know this is because I am destructively editing the ftable while it is in use by ‘distort’, however I don’t know what the best practice is to solve this issue.
So my question is, what is the best practice for dynamically updating an ftable when it is continuously being read by a processing opcode?
ChebyDistorter.csd (2.9 KB)