Amplify and dampen certain frequencies

30 views (last 30 days)
I would like to amplify lower frequecencies in my audiofile while dampening higher frequecencies. As I see it, I can use a fft and then multiply my signal with a constant to create a dampening/amplifying effect? But this wont create a interpolation between the two states. Now i'm stuck and don't know what to do.
Here is an example of what I want to do in Matlab (0:50 - 1:20): https://youtu.be/YantpouC4Mk?t=50
Any help is appreciated, thanks in advanced!

Accepted Answer

Star Strider
Star Strider on 15 Jun 2016
There are several ways to design filters in MATLAB. What you want to do would seem to be most suitable for one of the FIR design functions, such as the Signal Processing Toolbox function firls. They allow you to define the pass-bands and stop-bands as well as the amount of attenuation you want.
Signal processing requires experimentation, so this is necessarily going to be an iterative process until you get the result you want.
My usual filter design procedure for IIR filters is here: How to design a lowpass filter for ocean wave data in Matlab? It’s not as directly applicable to your problem as firls, but contains some ideas that you will probably find helpful, especially if you are relatively new to filter design.
  9 Comments
Sven Thole
Sven Thole on 15 Jun 2016
This works! Thank you very much, you're the best! :D
Star Strider
Star Strider on 15 Jun 2016
As always, my pleasure!
Thank you!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!