Re: [Flashcoders] Sound.extract

2009-06-27 Thread Glen Pike
Hi Ben, There is a nice example of what you touched on with your question that helps a bit explaining how with sound time frequency domains are related. http://flexmonkey.blogspot.com/2008/12/born-to-synthesise-sound-synthesis-in.html FFT's and DFT's are fairly nasty beasts to

Re: [Flashcoders] Sound.extract

2009-06-25 Thread Gregory Boland
Ben, Your going to want to perform an FFT (Fast Fourier Transform) and move from the time domain to the frequency domain. And to be more specific I believe you are gonna want to perform a Discrete Fourier Transform. I know a lot of work has been done on this in C and perhaps you could find

Re: [Flashcoders] Sound.extract

2009-06-24 Thread Juan Pablo Califano
Hi 1) From the docs: http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/media/Sound.html#extract() The audio data is always exposed as 44100 Hz Stereo. The sample type is a 32-bit floating-point value, which can be converted to a Number using ByteArray.readFloat(). So, each sample is 32 bits,