Remove background noise from an audiotrack

Hi everyone!
I have an audio recorded from my mic that has background noise, which it is the best way to get rid of it using MATLAB?
I tried Audacity noise removal and it worked pretty well, taking the profile of the noise, but I wish I could have a code in MATLAB since I am working with videos using MATLAB and the audios are from the videos, so I would have a 1 step code for processing my videos (instead of MATLAB+Audacity).
I want to mention also that I don't have experience in signal processing so if you can explain me a bit the code it will be much appreciated. I let you the sample (test.m4a) and the background noise when the mic is on without talking (noise.m4a).
Thank you so much!
Lluís

7 Comments

Why not attach the two files to your question so that we do not have to sign up for an account.
m4a is not supported....
>> m4a is not supported....
I read in the two m4a files in Matlab, and listened to them. No problems. The noise was so weak that I could not hear it. Is this noise what you want to reduce? And your voice sounded clear with no noise.
You asked me why I didnt attach here the audios, not if they worked in MATLAB. I know that in MATLAB they can be played and I didnt ask that!
Yep, the noise is weak and that is the one I want to reduce, I know that in a normal volume you cant hear it but if you raise it, it is a bit annoying when I dont talk :S
>> m4a is not supported....
>> You asked me why I didnt attach here the audios
Hard to interpret "..."
Since you attached the two files to the OP, then it was clear that the "..." must mean something other than the files cannot be attached! What else could the "..." mean then!? Hard to interpret "..."!!
You dont need to interpret anything from that, I was answering your question, that's all, I wrote "..." to not seem rude saying only "m4a is not supported.", anyway, this is way over the topic, it is pointless keep commenting on that!

Sign in to comment.

Categories

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

Products

Release

R2020a

Community Treasure Hunt

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

Start Hunting!