So this is a classic algorithm for soft clipping, but I can't get it to work with expr~.
The way I'm trying to do it is
$v1 - 1/3 * pow($v1, 3)
But it's not giving the expected result. Why is that and how can I get it to work?
Stumped on how to implement classic x - 1/3 * x^3 soft clipper.
So this is a classic algorithm for soft clipping, but I can't get it to work with expr~.
The way I'm trying to do it is
$v1 - 1/3 * pow($v1, 3)
But it's not giving the expected result. Why is that and how can I get it to work?
$v1 - pow($v1, 3) / 3
seems to work fine
@bocanegra Yes, thanks! I think the first time I tried it that way I forgot to clip the signal before the expr~
A few days ago I had a similar problem with fractions in [expr].
I solved it by writing in the form 1./3. instead of 1/3
division.pd
Oops! Looks like something went wrong!