I read the DAFX book by Udo Zölzer about the distortion effect at pages 124-125 and it says that suitable simulation of the distortion is given by the function:
Can someone explain this formula and what kind of signal we get?
From what I understand 'x' is the sampled signal, so this is a sequence of numbers. What does |x| mean? Does it refer to the absolute value of x for each sampled value?
So if I want to implement this simulation of the distortion effect,
- I need to know the length of x (It's given by the number of samples)
- In a loop, I need to calculate this formula for each sample value
- after the loop ends, I get the distorted signal (in a digital form)
After that, I need to convert it to an analog signal so I can hear it.