sounds nice, even if its still a bit buggy. thanks! and about the other
question? any way to embedd processing into flash or vice versa (and
communicate between those two)?


Am 27.12.2005 12:35 Uhr schrieb "Latcho" unter <[EMAIL PROTECTED]>:

> I like processing, but can't give you a correct answer to this.what
> everybody
> can tell you is that fft will become available woith flex and
> actionscript3 , for the
> moment that function is still buggy, but you can play with it (
> amplitude works) ; http://labs.macromedia.com/
> 
> citate from http://labs.macromedia.com/wiki/index.php/Talk:ActionScript_3 ->
> 
> 
>     computeSpectrum and FFT
> 
> The computeSpectrum seems to work fine using readFloat to access the
> byteArray. To do that I use the following code:
> 
> while(i>1024){
> 
>    spectrum.position=i; 
>    sprites_array[Math.round(i/4)].scaleY=(spectrum.readFloat()*100);
>    i=i+4;
> 
> }
> 
> Now if you actually want a spectrum graph instead of a raw wave you need
> the FFTMode set to true. But that just seems to return a random mess and
> nothing like a spectrum graph. Am I missing something or is the FFT not
> working as it should?
> 
> ------------------------------------------------------------------------
> 
> I've had the same results with FFT not working.
> 
> You can also use the following:
> 
> while(spectrum.bytesAvailable) {
> 
>    spectrum.position=i; 
>    sprites_array[Math.round(i/4)].scaleY=(spectrum.readFloat()*100);
> 
> -----------------------
>    i=i+4;
> 
> }
> 
> 
> ars wrote:
>> hi all,
>> 
>> looking for flash to java and vice versa communication examples (via
>> xmlsocket?). crossplatform. like a way to control a processing.org app
>> with flash and vice versa. i have in mind the mario klingemann did
>> something like that, but i can't find it on his site. anyone?
>> i like to use processings fft to use it within a flash app for example.
>> thanks: lars
>> 
>> 
>> _______________________________________________
>> 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

Reply via email to