Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 02-18-2011, 11:25 AM   #1 (permalink)
Registered Member
 
Join Date: Feb 2011
Posts: 1
Mircea is on a distinguished road
Question How to compute fundamental frequency?

Hello,

I want to build a guitar tuner app for Iphone. My goal is to find the fundamental frequency of sound generated by a guitar chord. I have used bits of code from aurioTouch sample provided by Apple to calculate frequency spectrum and I find the frequency with the highest amplitude . It works fine for pure sounds (the ones that have only one frequency) but for sounds from a guitar chord it produces wrong results. I have read that this is because of the overtones generate by the guitar string that might have higher amplitudes than the fundamental one. How can I find the fundamental frequency so it works for guitar strings? Is there an open-source library in C/C++/Obj-C for sound analyzing (or signal processing)?
Mircea is offline   Reply With Quote
Old 03-01-2011, 02:59 PM   #2 (permalink)
Registered Member
 
Join Date: Mar 2011
Posts: 1
bobbr is on a distinguished road
Default Can you post your code?

Hi. Can you post your sample code? I'm interested to see how you have gone about finding the highest amplitude / frequency..
bobbr is offline   Reply With Quote
Old 03-01-2011, 03:13 PM   #3 (permalink)
Registered Member
 
Join Date: Nov 2008
Posts: 864
nobre84 is on a distinguished road
Default

What do you want to identify in a chord ? It can have many frequencies... You can choose to find the lowest, or the highest amplitude, or a selection of the 3 or 4 highest amplitudes and try to identify possible chords for them, but its really a tough problem.
nobre84 is offline   Reply With Quote
Reply

Bookmarks

Tags
auriotouch, guitar sound detune, sound

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 371
14 members and 357 guests
cpsclicker, dre, Error404, Gaz, gmarro, jeroenkeij, Kirkout, mottdog, Music Man, PavelMik, teebee74, whitey99, Wikiboo
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,666
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, cpsclicker
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:10 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0