Remove unwanted narrowband interference
18 views (last 30 days)
I have this corrupted audio with the sound of a human lung, and would need to remove its interference.
I have attempted both high pass filter and passband filter, would appreciate if someone can help take a look at my code, and see where I should edit to get a clearer sound.
My current code:
[y,fs]=audioread('lungaudio.wav'); %y=samples, fs = sampling frequency
Ts=1/fs; %Sampling period
title('Frequency Domain Signal');
[b,a]=butter(6,fc/(fs/2), 'high'); %lowpass filter to only get 60hz
Kaashyap Pappu on 22 Oct 2019
Increasing the order of the Butterworth filter could help improve the response. Alternatively, the buttord function can be used to get the optimal order and cutoff frequency values to give to the “butter” function.
Hope this helps!