Is it possible to automate the elimination of hum and/or distortion in digital audio files?

In other words, feed a file to a software that analyzes it and judges what is hum and/or, removes it, and outputs the result into a new file, all without direct human intervention.


Depends on what sort of result you want. Sure you can analyze whether a file contains more than a reasonable amount of 50Hz or 60Hz and you can notch that out, but the problem with this approach is that every file is likely to be different and will require the attention of someone with the requisite skills in order to be able to get the best result. If you don't use human auditioning for this purpose, you are likely to result in a file that has processing artefacts and spectral damage.

  • thanks for the reply ... do you know any tools I can use to test the results? – day7 Dec 20 '19 at 4:52
  • what I mean is do you know what software capable of "notching out" frequencies as you describe so I can try it and see what results I get? – day7 Dec 20 '19 at 7:12
  • you should look at sox – Mark Dec 20 '19 at 7:39

Distortion in the form of clipping would be very difficult to remove: the waveform has been altered, and information on the missing part of the waveform has been lost.

  • Agree, however RX De-clip does a sterling job of recovery of clipped audio. Not perfect, but much better than a poke in the eye with a sharp stick. – Mark Dec 20 '19 at 13:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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