0
$\begingroup$

I am trying to replicate the audio artifact exemplified here to a set of 1000 audio files. In particular, I would like to be able to 'clip' the louder parts of each sound clip so they become distorted as in this video. Is there a way I can do this with a script?

Thanks!

$\endgroup$
  • $\begingroup$ Questions requesting working code written to a specification are off-topic as they are unlikely to benefit anyone else. Instead, describe the problem you're solving and where you're stuck. $\endgroup$ – Marcus Müller Mar 28 at 12:15
1
$\begingroup$

Simple clipping : threshold = 0.5 If x > threshold x = threshold elseif x < -threshold x = -threshold end

Real-world clipping can be significantly more complex than this, involving various time-constants, asymmetry, heating-effects,....

| improve this answer | |
$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.