Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6991469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:30:24+00:00 2026-05-27T19:30:24+00:00

I’m designing a simple tuner, so my target is displaying a note name (A,

  • 0

I’m designing a simple tuner, so my target is displaying a note name (A, B, F#) and the distance in cents between the theoretic sound and the actual input.

I’m completely new to audio and signal processing, so I did some research and I found a thing called Fast Fourier Transform that will analyze the bytes and will give me the frequency. Also, I found a couple of Java libraries like common math and JTransforms so I won’t write the hard code myself.

I believed that’s all, since each range frequency can be directly mapped to a note in the equal temperament, but then I found this new (to me) word called pitch: it’s said to be tightly related to frequency, but is not exactly the same thing and is much more difficult to get, and belongs to that psychoacoustic area.

So my question is, can somebody clearly outline the differences between pitch and frequency and maybe tell me which a tuner deals with?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T19:30:24+00:00Added an answer on May 27, 2026 at 7:30 pm

    Frequency is simply the number of oscillations that a wave goes through per second. Any wave which is periodic has a frequency. But usually in music, use of the term is limited to talking about sine waves, so if you hear something about a wave of frequency x, it usually means a sine wave with that many oscillations per second.

    Any arbitrary wave, whether periodic or not, can be constructed by adding up sine waves of various frequencies in varying amounts (that is with various amplitudes). What the Fourier transform does is tell you which frequencies to use, and with which amplitudes, to create any given wave. The fast Fourier transform (FFT) is a particular algorithm that computes the Fourier transform of a wave, given the data representing the amplitude of the wave as a function of time.

    When you hear a musical note played by an instrument, it doesn’t consist of just a single frequency. Instead, what you get is a combination of different multiples of a fundamental frequency, in different amounts. For example, a flute playing a particular note might produce a combination of

    • 440 Hz with amplitude 1
    • 1320 Hz with amplitude 1/2
    • 2200 Hz with amplitude 1/3

    and so on. On the other hand, a trumpet playing the same note might produce a combination of

    • 440 Hz with amplitude 1
    • 880 Hz with amplitude 1/2
    • 1320 Hz with amplitude 1/4
    • 1760 Hz with amplitude 1/8

    and so on. (Those are not the actual relative amplitudes for those instruments; I just made up some example numbers) So in your tuner application, when you run the FFT on incoming data, you will find multiple peaks in the output at various frequencies, depending on which instrument is being tuned. The point is that the output of the FFT will not just be a number; it won’t just tell you “this instrument is playing a note at 440 Hz.”

    Now we get to pitch, which is a slightly more nebulous concept. The pitch of a note is basically what a person actually hears when exposed to that note. For many instruments, the pitch is correlated to the fundamental frequency being emitted by the instrument. But depending on the relative amplitudes of the higher frequencies, a person might perceive two instruments to have different pitches even if they are actually playing the same note.

    Fortunately, if you’re just making a simple tuner, you don’t have to worry about pitch at all. The point of a tuner is to minimize beats between different instruments, and beats are caused by the actual frequencies, not the perceived pitches. A trumpet and a flute both playing with a fundamental frequency of 440 Hz will not exhibit beats because the differences between all their frequencies are multiples of 440 Hz, even if the untrained ear might think one of them is higher-pitched than the other.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
Seemingly simple, but I cannot find anything relevant on the web. What is the
I am doing a simple coin flipping experiment for class that involves flipping a
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I need to clean up various Word 'smart' characters in user input, including but
I'm having trouble keeping the paragraph square between the quote marks. In firefox the
I'm making a simple page using Google Maps API 3. My first. One marker
That's pretty much it. I'm using Nokogiri to scrape a web page what has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.