Or you could create a listener that monitors the level of microphone input
being generated, appends information into a 2d array (length of trace and
height at a given second).

Once the data is collected you would be able to analyze sections of the
newly stored array, against previously stored phrases...

E.G. there is no activity and then suddenly the user says "on", this takes
around a second for the given user to say, and then silence once more... now
the listener captures the data and places it in an array, the array is then
sequenced to discover all the drops and peaks in the user's speech
pattern... analysis is then preformed to find the time it takes for a bell
curve to raise hit plateau and then finally drop, and then compare the data
to a stored letter, word, or phrase; all done over several points of
comparison, and allowing for a little variation as to the placement along
the curve (or place within the array). Not only the peaks are important...
you must also analyze the transition between peaks and drops/valleys.

So "o" started at -20 db a given amount of time later it raised to -12db,
and then dropped to -16 where it proceeded to transition into "n" at -17, 
-19, -22, and then raised a given amount of time later to -14 etc. (for more
accurate software you would of course need more point comparisons)

If I were you I would look at the way it is done by scratch; for it will
help advance your programming ability in flash greatly.  AS 2.0 is quite
similar to c++ in a lot of respects.

Your project is definitely possible at flashes current state.  There was
actually a program I saw that utilized peaks and valleys in sound to play a
game.

If anyone has more helpful information to add, or if my way of doing it is
too complex, I would love to read the input.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of elibol
Sent: January 18, 2006 1:25 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] voice recognition in flash

That's way intense Ralph, it sounds like what I've been waiting for my
entire life!

H

On 1/18/06, Ralph Caraveo <[EMAIL PROTECTED]> wrote:
>
> You might want to wait for Flash Player 8.5 and AS3.0  With AS3.0 you
> can use the computeSpectrum functionality on an audio file and get a
> byteArray of all it's spectrum/frequency data.
>
> -Ralph
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Johan
> Lopes
> Sent: Wednesday, January 18, 2006 10:00 AM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] voice recognition in flash
>
> Look into VoiceXML. It would be possible to let a server-side API deal
> with the voice recognition part and use the VoiceXML specification as a
> bridge between Flash and the API. There are loads of articles on this
> subject online. Just google it.
>
> For a while I was very interested in this topic and almost chose it as
> my research topic while at University.
>
> /Johan
>
> On 1/18/06, elibol <[EMAIL PROTECTED]> wrote:
> > Most probably not on the web, Actionscript does not provide a way to
> > watch sound frequencies. Mario Klingemann has written a visualization
> > script that responds to sound frequencies using 3rd party software
> > which plays mp3s and passes frequency values to a swf file. This is a
> > desktop application though, not on the web. I would think that it
> > would be too slow to process on a server, since the server would have
> > to do much processing with high levels of traffic.
> >
> > H
> >
> > On 1/18/06, Eduardo Silva <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi all,
> > >
> > > I looked in web this subject, but I did not have success, somebody
> > > knows if it is possible to make voice recognition in flash?
> > >
> > > sorry my bad english...
> > >
> > > tks,
> > >
> > > etruta
> > > _______________________________________________
> > > Flashcoders mailing list
> > > [email protected]
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > _______________________________________________
> > Flashcoders mailing list
> > [email protected]
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.20/233 - Release Date: 18/01/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.23/243 - Release Date: 27/01/2006
 

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to