Re: [Flashcoders] How to compare two audio files with actionscript?

2009-08-10 Thread johnny lee
Thanks All, this looks harder than I first thought it would be. Guess there's no straighfoward solution. On Mon, Aug 10, 2009 at 11:04 PM, Glen Pike wrote: > Hi, > > computeSpectrum will only do small chunks at a time - it might not give > you the "spectrum" from the whole wave form. > > If y

Re: [Flashcoders] How to compare two audio files with actionscript?

2009-08-10 Thread Glen Pike
Hi, computeSpectrum will only do small chunks at a time - it might not give you the "spectrum" from the whole wave form. If you are trying to do Voice Recognition, you will need some serious computing power and ActionScript may, or may not be too slow to handle this. It certainly won'

RE: [Flashcoders] How to compare two audio files with ActionScript?

2009-08-10 Thread Kerry Thompson
Johnny lee wrote: > Where are the Actionscript Sages when you need them :( They're here. I know ActionScript reasonably well, but haven't used the FFT formulas. Writing the code to compare audio files is going to be rather involved, I'm afraid. We can provide pointers, but, since it's your progra

Re: [Flashcoders] How to compare two audio files with actionscript?

2009-08-10 Thread johnny lee
Hi Allandt, Thanks for the article link. I read through and pls correct me if I'm wrong: You can take a snapshot of an audio file with the computeSpectrum() method and place that data in a ByteArray object, is this right? So, now my question is, can you take snapshots of two audio files and compare

Re: [Flashcoders] How to compare two audio files with actionscript?

2009-08-10 Thread Allandt Bik-Elliott (Receptacle)
have you seen anything like this? http://www.communitymx.com/content/article.cfm?cid=8E9A0 just trying to get a feel for what you are trying to do a On 10 Aug 2009, at 09:35, johnny lee wrote: Where are the Actionscript Sages when you need them :( On Mon, Aug 10, 2009 at 10:25 AM, johnny l

Re: [Flashcoders] How to compare two audio files with actionscript?

2009-08-10 Thread johnny lee
Where are the Actionscript Sages when you need them :( On Mon, Aug 10, 2009 at 10:25 AM, johnny lee wrote: > Thanks Latcho, can you please describe the process a little bit. What > actually is going on? How is the FFT used to compare the wav files? Is it > comparing header data or something? And

Re: [Flashcoders] How to compare two audio files with ActionScript?

2009-08-09 Thread johnny lee
Thanks Kerry, I'm still not understanding the process. What actually needs to take place in order to compare two audio files? How does FFT come into this? Thanks, juju On Mon, Aug 10, 2009 at 5:39 AM, Kerry Thompson wrote: > Latcho wrote: > > > I'd suggest you first get down in audio math and alg

Re: [Flashcoders] How to compare two audio files with actionscript?

2009-08-09 Thread johnny lee
Thanks Latcho, can you please describe the process a little bit. What actually is going on? How is the FFT used to compare the wav files? Is it comparing header data or something? And what about MP3 files, can they be used instead of wav? Thanks, juju P.S. Has to be AS3, trying to make a Flash RIA

RE: [Flashcoders] How to compare two audio files with ActionScript?

2009-08-09 Thread Kerry Thompson
Latcho wrote: > I'd suggest you first get down in audio math and algorithms and indeed FFT. > If you're done with that... choose whatever language you like and > preferably a faster one then AS3. AS3 may be fast enough. Its math classes are compiled to native code, and the loops will likely be co

Re: [Flashcoders] How to compare two audio files with actionscript?

2009-08-09 Thread Latcho
I'd suggest you first get down in audio math and algorithms and indeed FFT. If you're done with that... choose whatever language you like and preferably a faster one then AS3. But it is not impossible to answer your question. johnny lee wrote: Hi All, how do you compare two audio files with

[Flashcoders] How to compare two audio files with actionscript?

2009-08-08 Thread johnny lee
Hi All, how do you compare two audio files with actionscript? I heard something about Fast Fourier Transform, but don't understand how it works. What I'm trying to do is a basic voice recognition programme, similar to the one on symbian mobile phones where you can give word commands to your phone.