FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Topics & Contributions
   Automated Systems
(Moderator: REAS)
   spectrum analisys
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: spectrum analisys  (Read 1194 times)
Dimitre

WWW
spectrum analisys
« on: Dec 6th, 2002, 10:46pm »

Proce55ing + Javascript + Flash + SwiftMP3
 
http://dmtr.org/__/experimental/spectrum/
 
« Last Edit: Jan 28th, 2004, 9:37pm by Dimitre »  
REAS


WWW
Re: spectrum analisys
« Reply #1 on: Dec 8th, 2002, 11:01am »

could you please briefly explain how you have integrated these elements?
 
Dimitre

WWW
Re: spectrum analisys
« Reply #2 on: Dec 8th, 2002, 7:16pm »

For sure!
this used integration between flash and proce55ing applet, using javascript as a bridge.
I used a tool called SwiftMP3, for 18 frequencies analisys converted into numbers inside Flash (sorry about my bad english).
So used Flash FS_Command to pass these variables to javascript.
Inside proce55ing code I used public void to allow javascript put variables. ex:
public void s0(int valor) {r[0] = valor;} (in applet)
 
document.applet.s0(Number(args)); (in javascript)
 
 
a little bit confusing, but worked.
 
Pages: 1 

« Previous topic | Next topic »