Musical Note Filter & Fundamental Frequency
Show older comments
Hi everyone,
I am trying to write a code on MATLAB 2019a. As an input, I have the recording of a musical note, in order to find its fundamental frequency. As far as my research has gone, the plan is, to pass the sound through a filter (don't really know which kind to use) and then with a series of DTFT, DFT and FFT (if all of these are needed), end up with a distinctive graph, to continue with the selection of the fundamental frequency. I have parts and bits of the code so far but nothing working all together. I know it's a lot to ask but feeling like I 've hit a dead end.
Thank you very much in advance!!
5 Comments
Star Strider
on 5 Jun 2019
I would just use the fft and findpeaks functions.
Petros Tsitouras
on 5 Jun 2019
Star Strider
on 5 Jun 2019
It depends on the nature of the noise. A filter will not eliminate broadband noise, nor noise that is in the region of the signals you are interested in, without significantly decreasing those signals as well. I would use the fft to determine the nature of the noise. If all or most of it is band-limited, and outisde the frequencies of your signal, a filter would work.
Petros Tsitouras
on 5 Jun 2019
Edited: Petros Tsitouras
on 5 Jun 2019
Star Strider
on 5 Jun 2019
My pleasure!
Accepted Answer
More Answers (0)
Categories
Find more on Fourier Analysis and Filtering 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!