[android-developers] Re: guitar tuner

2010-11-24 Thread jordanro
Hey Dave, Just so happens I've recently opened an open source project for an android guitar tuner app . you can browse around it in: http://code.google.com/p/open-guitar/ I thought it would be nice working to improve it and experimenting different approaches, like trying the FFT from the above

[android-developers] Re: guitar tuner

2010-11-23 Thread Yahel
Hi mate, I worked on one recently but never finished the job. I found this open source code directly in java code perfect for Android and which works ok and is pretty easy to understand : http://thesongeditor.com/ref/FFT.java I had pretty good result with it. Good luck. Yahel -- You

Re: [android-developers] Re: guitar tuner

2010-11-22 Thread Nathaniel Warner
I just published a guitar tune app myself (Guitar FreaQ)...mostly for fun and to teach myself android development. I found that the FFT didn't use that much cpu at all (custom rendering did though) The fft algorithm computes N log(N) calculations. So if you do a 1024 point fft you are only

Re: [android-developers] Re: guitar tuner

2010-11-19 Thread Frank Weiss
I may be wrong, but I'm wondering if taking the approach of FFT is going to be practical without dedicated hardware. The brute force approach amounts to doing a convolution computation for each sample, which could be millions of multiplies per second, depending on the bandwidth and Q factor

[android-developers] Re: guitar tuner

2010-11-19 Thread Chris Stratton
On Oct 26, 11:45 am, Bret Foreman bret.fore...@gmail.com wrote: As a first cut I would set up two files, record to one while doing an FFT on the other. Alternate the roles of the files every 200mS and display the latest frequency. Do you have experience with FFT windowing to avoid edge

[android-developers] Re: guitar tuner

2010-11-17 Thread Dave
Yes, I realize there is an one on the market. In fact, I have that currently installed. But that's not my intention. My main objective is to understand the FFT and frequency analysis so that I can write something else. the guitar tuner is just a simple first step in my understanding. Bret,

[android-developers] Re: guitar tuner

2010-11-17 Thread Bret Foreman
This should help: http://en.wikipedia.org/wiki/Window_function On Nov 17, 12:55 pm, Dave djfoste...@gmail.com wrote: Bret, thanks for the advise.  I do NOT have any experience with FFT. I take it it's an issue dealing with edge harmonics?  In fact, pinpointing certain harmonics within the

[android-developers] Re: guitar tuner

2010-11-06 Thread Klunk
I realize you may be doing this because you want to but are you aware there is an app that does guitar tuning already on the market? On Oct 18, 2:30 am, Dave djfoste...@gmail.com wrote: I am looking for some help.  I'm new to android, and java developement.  I've got a pretty good handle on the

[android-developers] Re: guitar tuner

2010-10-26 Thread Wall-E
I don't have any suggestions but I just wanted to say that implementing a guitar tuner, even if it may not be possible, is an excellent idea. I agree that getting the frequency is the first step and am not sure this is even possible. Sorry I couldn't be of any help. On Oct 17, 10:30 pm, Dave

[android-developers] Re: guitar tuner

2010-10-26 Thread Bret Foreman
Here's the MediaRecorder doc: http://developer.android.com/reference/android/media/MediaRecorder.html As a first cut I would set up two files, record to one while doing an FFT on the other. Alternate the roles of the files every 200mS and display the latest frequency. Do you have experience with

[android-developers] Re: guitar tuner

2010-10-26 Thread Bret Foreman
On further reflection, I realize that you don't really need a full FFT, since you are not interested in anything except the fundamental. Check a basic signal processing text and you should find a way to truncate the FFT and save a lot of processing. -- You received this message because you are

[android-developers] Re: Guitar Tuner

2008-12-01 Thread Dave Sparks
The current audio API's would make this very challenging. Look for improvements in a future SDK. On Nov 29, 12:10 pm, Ameer Ashanti [EMAIL PROTECTED] wrote: Is there anyone developing a guitar tuner for the android platform? or would that even be possible?

[android-developers] Re: Guitar Tuner

2008-12-01 Thread Robert Green
I think it would be ok if all you wanted is an app that can play EADGBE tones. Just make 6 media players, set them to loop and have the UI control starting and stopping them. If you want a tuner that can listen to the guitar and display the tuning like a real guitar tuner does, that will not be

[android-developers] Re: Guitar Tuner

2008-12-01 Thread Michael
I got started on this one myself, but then I realized there's no way to analyze the audio coming in without first recording it to a file... and that really sucks for tuning a guitar. So I gave up for now, but you can bet I'll be writing one once the API makes that possible. - michael

[android-developers] Re: Guitar Tuner

2008-11-30 Thread Robert Green
The only way to do that right now is to use soundpool, which is not currently supported or stable. Perhaps 1.1 will have the sound API updates to allow for apps like this. On Nov 29, 2:10 pm, Ameer Ashanti [EMAIL PROTECTED] wrote: Is there anyone developing a guitar tuner for the android

[android-developers] Re: Guitar Tuner

2008-11-30 Thread Robert Green
Oh wait I take that back. I was thinking that you were talking about the virtual guitar app where you can tune the strings and all of that. If you just want a tone generator suitable for tuning a guitar, that is definitely achievable right now. It really wouldn't be that hard. Just record the