Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Filtering border artifacts (Read 5220 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Filtering border artifacts

Edit: errr... wrong title, I meant high pass of course

Hi,

I have recording containing some low frequency rumbles in a few places. I want to filter that out by selectively applying a high pass to those selection. However, it seems impossible doing this in Audacity without introducing artifacts which sound worse than the rumble itself. Have a look (before / after):



Of course I have adjusted the selection to zero points. Do you have an idea what is happening here and how to avoid it?

Filtering border artifacts

Reply #1
I have a suggestion. Apply a high-pass filter to select just the rumble. Then invert that and add it back to cancel the original rumble, but first fade the rumble track in and out as needed.

Filtering border artifacts

Reply #2
So this is just an ordinary cut-off artifact? But why does a low/high pass applied to a selection introduce such an artifact?

Thanks for you suggestion. Sounds good but it just doesn't work. The high pass seems to mess up the phase, so that the rumble only gets amplified

Filtering border artifacts

Reply #3
...why does a low/high pass applied to a selection introduce such an artifact...
...high pass seems to mess up the phase...

Ehm... I guess I've already answered my own question

Filtering border artifacts

Reply #4
Make sure that this "amplified" rumble is not just a visual artifact on a spectrogram. Attaching a pair of WAV files would be helpful.

Filtering border artifacts

Reply #5
I have a suggestion. Apply a high-pass filter to select just the rumble. Then invert that and add it back to cancel the original rumble, but first fade the rumble track in and out as needed.

You mean lowpass filter instead.

Idea is to subtract the rumble from the track. You can do this by making a copy of the whole track, then lowpass the copy, invert it. And when the rumble is pressant in the original track, turn up the fader of the copied low passed track track.

Filtering border artifacts

Reply #6
Make sure that this "amplified" rumble is not just a visual artifact on a spectrogram. Attaching a pair of WAV files would be helpful.

It's a clearly audible popping sound that goes well above the filter frequency. No wonder though because if the phase gets shifted, the samples at the beginning and the end of the selection are not aligned anymore.

You mean lowpass filter instead.

Idea is to subtract the rumble from the track. You can do this by making a copy of the whole track, then lowpass the copy, invert it and when the rumble is pressant turn up the fader of the copied track.

I do always confuse these terms too
As I wrote above, I did exactly what pdq suggested but it doesn't work because the filters are not linear phase. I did the same with the equalizer however and it worked as expected. I just wonder why Audacity's filters are not of a linear phase type... that kind of provokes such trouble.

Filtering border artifacts

Reply #7
As I wrote above, I did exactly what pdq suggested but it doesn't work because the filters are not linear phase. I did the same with the equalizer however and it worked as expected. I just wonder why Audacity's filters are not of a linear phase type... that kind of provokes such trouble.


I'm sure I'll get slapped with a TOS #8 over this, but generally speaking, non-linear phase filter sound more "musical" and act more like their analog counter parts.  I'm not here to make this claim strongly, but it is a prevalent opinion and explains why most pro audio apps use minimum-phase filters or some other non-linear variant.  They're also easier to implement and faster (especially IIR filters), which might be a more likely reason.

However, I definitely see where they are useful for situations like this  You could instead try to have a small cross-fade at the start and end of the location that you will be filtering.  This should smooth out the transient that the filter introduces.

Filtering border artifacts

Reply #8
    
"Reality is merely an illusion, albeit a very persistent one." Albert Einstein