The two versions should be equivalent (I tried subtracting them and got silence). Here's an abstraction, and it clips first.. :)
On Sat, Jun 08, 2002 at 10:43:11AM +0200, Orm Finnendahl wrote:
Hi Ben,
I looked at your very nice distortion patch. Is it intentional that multiplication adding and clipping takes place in this order? If gain is != 1, the clipping in the result is not symmetrical. I changed it to clip before the adding and multiplication to keep the symmetry, but maybe that's not what you intend?
Yours, Orm