I'm trying to develop a filter to remove a 2.2kHz tone from a voice recording (.wav). I'm looking at a lot of responses, but not finding anything that's working.
https://www.mathworks.com/matlabcentral/answers/317340-how-to-filtre-an-audio-signal-with-low-pass-filtre
This seems to be a good approach, but I need a bandpass filter.
Would someone help me through this? The .wav and a frequency spectrum are provided. This is how I extracted the frequency plot.
clc, clear all, close all;
[y,Fs] = audioread('HornAudioECE450.wav');
stepSize = 1/Fs;
L = length(y);
t = 0:stepSize:(length(y)*stepSize – stepSize);
f = linspace((-Fs/2),(Fs/2),L);
figure()
plot(t,y);
Y = fftshift(abs(fft(y)./2));
plot(f,Y);
Best Answer