audioffmpeghighpass-filter

FFmpeg - sharpening the high pass filter


I'm writing the command that is resampling the audio file and adding the high-pass filter to it.

In the software that I'm using, the high pass filter is very sharp - the problem is that I don't know how to sharpify the filter in FFmpeg.

I've experimented with some options but none succeded. How can I achieve that?

ffmpeg -i "Audio.wav" -ar 44100 -af highpass=f=5000 "Audio_HP.wav" -y
What FFmpeg does What I want

Solution

  • Use the firequalizer filter.

    Replace highpass=f=5000 with firequalizer=gain='if(gt(f,5000),0,-INF)'. This will do a very very aggressive high-pass at 5 kHz with a very steep roll-off.