Removing bad hum (or any other nasty frequency) with harmonics from audio, a Linux solution

Discussion in 'Amateur Video Production' started by Jan Panteltje, Apr 28, 2007.

  1. This has likely happened to many of us, bad hum in audio.
    For Linux users, I found a program here:
    http://www.abelian.demon.co.uk/humfilt
    and basically modified it so it accepts a frequency, and works with raw and
    wave format files (.wav), you can find it here:
    http://panteltje.com/panteltje/xpequ/humfilter-0.1.tgz
    That should make it portable, so maybe somebody can port it to MS soft.

    For now it is only mono, but there is no reason why you could not split and
    apply it twice.

    Basically it is a comb filter, so if you specify 60.1 Hz, it will also
    filter out 120.02, 180.03, etc etc..

    It is _VERY_ effective! No detectable hum left.

    Just run it a couple of times with slightly different frequencies to
    find the one that attenuates the hum most, and then write a new wavefile.

    There is a loss of sound quality associated with this, but that can be acceptable,
    especially on speech, and could rescue a recording that would otherwise be not
    usable.
    Worked for me.
     
    Jan Panteltje, Apr 28, 2007
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.