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 <g...@engineeredarts.co.uk>wrote: > 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't work in realtime so don't expect miracles with the AVM. > > Speech recognition may use FFT's to help match up parts of the sound to > pre-recorded samples, but that's as far as my knowledge goes. > > Your best bet is to look at places like http://www.voxforge.org/ and > google for speech recognition, etc. > > Depending on your RIA, you could always find a way of cheating > possibly... ...e.g. find a speech-to-text engine and write a small > application that "pipes" the output into Flash, etc. > > Glen > > > > johnny lee wrote: > >> 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 their ByteArray objects, and then perform an action based on the >> comparison? Like, the ByteArray objects match up 90% then trigger this >> event. >> >> Muchos gracias, juju >> >> On Mon, Aug 10, 2009 at 6:24 PM, Allandt Bik-Elliott (Receptacle) < >> alla...@receptacledesign.com> wrote: >> >> >> >>> 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 lee <jlee...@gmail.com> 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 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. >>>>> >>>>> >>>>> On Thu, Aug 6, 2009 at 3:42 AM, Latcho <spamtha...@gmail.com> 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. >>>>>> But it is not impossible to answer your question. >>>>>> >>>>>> >>>>>> johnny lee wrote: >>>>>> >>>>>> 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. Can this be done in actionscript? >>>>>>> >>>>>>> Thanks and cheers, juju >>>>>>> _______________________________________________ >>>>>>> Flashcoders mailing list >>>>>>> Flashcoders@chattyfig.figleaf.com >>>>>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> _______________________________________________ >>>>>> Flashcoders mailing list >>>>>> Flashcoders@chattyfig.figleaf.com >>>>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>>>>> >>>>>> >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> >>>>> >>>> Flashcoders mailing list >>>> Flashcoders@chattyfig.figleaf.com >>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>>> >>>> >>>> >>>> >>> _______________________________________________ >>> Flashcoders mailing list >>> Flashcoders@chattyfig.figleaf.com >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >>> >>> >> _______________________________________________ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> >> >> > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders