Problems with musical note frequency

1 view (last 30 days)
I am writing a code to identify the frequency of a musical note. The problem is, the notes are being wrongly identified for some notes in the same order. For example, it correctly identified a C note as having 261 Hz frequency, making it a middle C note, but it identified E after it as having frequency of 270 or so, making it a C# note. The problems are not consistent. I even tried getting an online repository of notes recorded in a soundless studio, but audacity returns a different peak frequency than what I had expected. How should I proceed further? This is the main point of the entire project.
  3 Comments
Jan
Jan on 7 Aug 2013
@Samyukta Ramnath: Consider what you have written so far. Paraphrased it is: "My code does not created the wanted results". So how could we help based on this information?
Of course the only way to go is to find the bug or design error in your code. You could post the relevant part of it here. Usually codes with more than 30 lines catches less attraction than compact ones.
varun taliparambe vitel
varun taliparambe vitel on 14 Jun 2020
hey
even i am working on a similiar code..did you get the oupyput from the code you designed..ia ma having difficulties designing and understanding mine

Sign in to comment.

Answers (0)

Categories

Find more on Just for fun 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!