remove noise from an audio signal

I need to take a specific part from a signal, which represents a one-word sound, how I can use that to any entered signal.
the figures below illustrate the part that I need to keep.
any suggestions?

 Accepted Answer

Image Analyst
Image Analyst on 26 Dec 2020
Edited: Image Analyst on 26 Dec 2020
I've done something like this a few times before here. Here is one:
What I did was to take the absolute value of the signal and threshold it to get quiet parts. Then use bwareaopen() to throw out short quiet parts, and invert the result to get a binary signal of where the words are.
Or you might try experimenting with movmax() and then thresholding.
Attach your signal and code if you have trouble. On the other hand, I'm sure there is literature out there for extracting individual spoken words so there is undoubtedly something better than my algorithms.
Or try this:

4 Comments

abdallah, did that work for you? Let me know.
unfortunately, this did not work for me, maybe I didn't understand it very well, for more specification I'm reading the signal using [y,fs] = audioread('here is the directory of the audio file '); , and when I plot the audio the result will be as the figures.
s=load('signal.mat')
signal = s.coarse_d;
I don't know what exactly is coarse_d
I am a new user of Matlab, I'm looking for an easy way to do the job.
___
I've tried something else instead, I divided the signal into equal frames and for each frame take the maximum value and remove it if it as an example less than 0.2, this will work with the second and third signals in the figures, still looking for an efficient way.
Please read this link first
then attach signal.mat with the paper clip icon. Maybe you didn't adapt my other code correctly.
silence removal was very helpful thanks for your support

Sign in to comment.

More Answers (0)

Categories

Find more on Measurements and Spatial Audio 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!