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:
Is someone can 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| means? the absolute value of x for each sampled value?
So if I want to implement this simulation of distortion effect so:
- 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 analog signal so I can hear it.