It's quicker to do an FFT with a length that is a power of 2

Can't remember exactly why, but I think the algorithm keeps splitting the array into 2 for each iteration of the calculation...

Have a look on Google.



[EMAIL PROTECTED] wrote:
Someone asked me the other day, why the Sound class function
computeSpectrum()  returns specifically 512 floating point values.

I know it returns 256 values for the left and right channels and that each
value is a 32-bit floating point value of 4 bytes, but despite alot of
Googling, I could find no explanation as to why it's 512 values (rather
than 30 or 200,000). Maybe it's a audio specification, maybe it's a number
the Adobe Flash team decided arbitrarily was sufficient to represend the
sound frequencied.

Does any one posses this knowledge?

Flashcoder.net

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to