Imagine it would be possible with ActionScript3's computeSpectrum?
On Fri, 13 Jun 2008 02:03:34 +0200, Elia Morling <[EMAIL PROTECTED]>
wrote:
Okay, purely hypothetical.
The sound file is approx 30-60 seconds long. How long would it take to
pre-analyze that in Flash for a volumetric analysis?
I guess Flash basically needs to play the sound to analyze it?
Elia
----- Original Message ----- From: "Kerry Thompson"
<[EMAIL PROTECTED]>
To: "'Flash Coders List'" <flashcoders@chattyfig.figleaf.com>
Sent: Friday, June 13, 2008 1:41 AM
Subject: RE: [Flashcoders] Real Time Lip Sync
Elia Morling wrote:
Okay thanks... I guess it's not possible then. :(
Maybe it is possible--not easy, but possible.
You can get close enough for cartoons by simple volumetric analysis.
IOW,
check the volume and base the mouth positions on that. We had a routine,
written in C++, that did just that, and it was good enough for our
Disney
program.
You only really need about 5 or 6 mouth positions for most cartoon
animation. Generally, a long "a" is louder than a "b". It won't be
exact,
but it will probably get you close enough.
I don't know if AS3 is going to be fast enough for real-time analysis.
You
might need to write an ActiveX in C++ (if you're targeting IE on
Windows),
or a Firefox plugin. It can be done--it's not easy, and you might run
into
problems with customer acceptance of an ActiveX control, but it's still
an
option.
Cordially,
Kerry Thompson
_______________________________________________
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
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders