Question get frequency on the microphone?

janreyguyjoco

New member
Joined
Aug 25, 2012
Messages
1
Programming Experience
Beginner
Hi, can anybody help me out. I dont know how to start with my project. I am looking for a way to find the frequency currently being played on the microphone. I am trying to make a guitar tuner application for when the guitar is plugged directly to the microphone input. This should be a fairly easy thing to but i dont really have an idea where to start. After messing around with some Direct Sound examples for about an hour I didnt find a solution. Do does anyone have any ideas?
 
This should be a fairly easy thing

What leads you to suppose that? To start with a guitar string produces a multitude of frequencies and harmonics not just a nice measurable single frequency (that's what makes it musical!) at a variety of volumes and all complicated by feedback. The analysis of sound waves is a vastly complex science all of its own - did you not watch the Mythbusters episode where they imported a very clever scientist and banks of equipment just to determine the resonant frequency of a glass? Even if the code can be mangled into a semblance of a working routine (and I doubt that it can) plugging a guitar into a microphone jack just ain't gonna cut it! If it was that easy do you really think that orchestras would still be relying on the lead violin's A, and the lead violin on his ear and years of experience, for tuning?
 
Back
Top