@Christoph-Hart said in Shape FX in Scriptnode:
I'm currently writing nodes that accept simple one liners as stateless expression which can be used to implement custom wave shaping functions.
What you're looking for is the formula used in the hise::Saturator class, which is basically this:
https://www.musicdsp.org/en/latest/Effects/46-waveshaper.html
So the expression module in scriptnode is only for one-liners. How do you go about asymmetrical waveshapers when using scriptnode?