How to pass a audio signal through a filter
Show older comments
How to pass a audio signal through a filter ? It should work based on spectral energy i.e if its between 0-4 kHz it falls on speech band and If it falls between 4 kHz-8 kHz then it comes under noise band.Now the VOS(voice operated switch) should be activated if the signal is in speech band and it should be deactivated when it is in noise band. Can some one help me on this problem.
Accepted Answer
More Answers (5)
Carlos
on 18 Feb 2013
0 votes
This is fine at the moment. Now filter with from 0 to 4000Hz to make sure the results are different(I mean if you filter from 4000 to 8000Hz and the signal after filtering is the same, then filter in the 0 to 4000Hz band to make sure the signal changes in this case).
6 Comments
Gokul
on 18 Feb 2013
Carlos
on 19 Feb 2013
If you get different results, it means you are able to distinguish between noise and audio.If your signal remains unchanged when filtering the signal between 0 and 4000Hz, then you are working with an audio signal, whereas if your signal disappears, you are working with the noise signal.A way to implemet this automatically is to calculate the power of the signal(you can find some ).If the power decreases, then your signal has been filtered.
Hope it helps.
Gokul
on 19 Feb 2013
Carlos
on 19 Feb 2013
I think it is enough if you just compare the power before and after filtering. If you filter a voice signal with a 4000 to 8000 Hz bandpass filter,it is very likely that the power of the filtered signal is very close to zero.
Darsana P M
on 16 Mar 2017
If i want to divide the given audio signals into different frequencies ie 20-30 Hz, 30-40Hz and so on. What should i do?
Walter Roberson
on 16 Mar 2017
You could construct a collection of band-pass filters that you pass the same data through.
dev sanghvi
on 24 May 2016
0 votes
you can check my video.
https://youtu.be/ZPNOgLwfjNc
Sanjay Gupta
on 2 Mar 2017
0 votes
what is the significance of "wn" in the code?
1 Comment
Walter Roberson
on 2 Mar 2017
wn is the cutoff frequency, specified as a value between 0 and 1 where 1 is the Nyquist frequency. This proportion of nyquist frequency is commonly used in filter specification, because it makes the filter calculations themselves independent of frequency.
Zahraa Almousawi
on 18 Oct 2017
0 votes
if i have impulse response and i convoluted it with a sound and the sound become so noisy how can i filter it after the convolution function? i really need a help!
saikiran Puranam
on 6 May 2020
0 votes
Can you please provide me a Matlab code for "Human Voice filtering with Band-stop filter design " Using the functions of MATLAB R2020a.
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!