Solved

Getting freqeuncy of an external input

Posted on 2003-10-24
3
137 Views
Last Modified: 2010-04-05
Hi,

how can i get the frequeny of an external input (like a guitar)?
0
Comment
Question by:duke2000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Accepted Solution

by:
davidhusselmann earned 125 total points
ID: 9622037
Hi,

This is potentially a very hard problem.  The algorithm you use for this is the Fast Fourier Transform (or FFT) - but usually the sound from musical instruments such as the guitar consist of many frequencies (called harmonics), so you'll end up with a jumbled mess of frequencies out the other end of the FFT.  You'll have to find out which frequency you need and filter the rest out.

There are many FFT components available for Delphi online.  You'll find one of them here: http://teachme.tuwien.ac.at/lo/fourier.html

Good luck
David
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question