How do I remove echoes from a .wav file?

7 views (last 30 days)
Ethan  Paramor
Ethan Paramor on 1 Dec 2015
Commented: Walter Roberson on 1 Dec 2015
In a project I am doing, I am trying to make a transcriber(find the note type and note length) work with echoes and a reverb effect. The notes i am trying to transcribe were created with a synthesizer that plays piano notes from C4-B5 with each note being separated by 50 zeros before being ran through the echo as a whole. The code i used for the echoes is as follows:
N=length(data.wav);
i = [1 zeros(1,N-1)];
i(ceil(N/2))=.5;
i(ceil(N/1.3333)) = 0.25;
data.wav = filter(i,1,data.wav);
What would be a good way of removing the echo? Is there any way to reverse the filter function?

Answers (1)

Walter Roberson
Walter Roberson on 1 Dec 2015
  2 Comments
Ethan  Paramor
Ethan Paramor on 1 Dec 2015
What AEC filter would I use for my specific problem? Also, the filter in the other link doesn't seem to fully filter out the echoes.
Walter Roberson
Walter Roberson on 1 Dec 2015
I suspect you would be wanting to use the "far end" filter, but I do not know.
The second link is someone's homework code, and is not intended to be a full application for all purposes.

Sign in to comment.

Categories

Find more on Audio Processing Algorithm Design in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!