Musical Note Filter & Fundamental Frequency

9 views (last 30 days)
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
Petros Tsitouras
Petros Tsitouras on 5 Jun 2019
Edited: Petros Tsitouras on 5 Jun 2019
Great! You 've been really helpful, thank you for your time! If you have any examples in mind to point me out to, I would be extremely grateful.

Sign in to comment.

Accepted Answer

Star Strider
Star Strider on 5 Jun 2019
If you want examples of filtering, I’ve posted several over the years. One recent example is I need help building bandstop filter to filter noise from my wav file. (link). This shows how to build a filter using various MATLAB functions. You can also use the lowpass (link) and similar functions to create filters and filter signals. (They were introduced in R23018a. If you use the second output, use it with the filtfilt function to filter other signals.)

More Answers (0)

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!