processing vs flash analysis
- April 5th, 2010
- By gerry
- Write comment
Working in 2 environments has caused me to think about how the 2 perform differently. I have tried to emulate results gained in flash within processing and vice versa with only limited success.
This has lead me to look at the hard data coming out of the environments.
- I captured the data in the seperate environments and copied the output into text files.
- I then took this data and passed it through a flash tool to render the results as a bitmap.
- Then comped them together in photoshop to produce a comparison graph.
- I produced a graph based on white noise and then one using a song to give context
I started this a little while ago but have been held back by the mistake I made in defining the frequency bands in flash. There are some obvious differences straight away:
- In order to fit the 2 traces on the same graph I have had to scale the processing results down to 10% of the results taken in flash. The upshot is that Processing delivers far greater numbers which might mean better resolution than flash. (It may be useful to include peak results next time round)
- The white noise produces graphs where it is hard to see the correlation between the 2 results. whereas the song produces some consistency.
- With white noise, even though there is a bias towards low bass in both, The range of values processing gives for each band seem tighter. ie the peaks for low bass are in a range closer to those for high treble when compared to flash. In fact by comparison I seem to be getting a lot more low bass than any other bands in flash (both in white noise and song).
- In the song I’m getting incredibly low values in the 2 treble bands (both flash and processing). This is a surprise as I had expected the reverse seeing as it is these bands that hold the vast majority frequencies calculated (from 1024hz – 11025hz/12800hz[flash/processing] in flash it accounts for 225 of the 255 result bands in compute spectrum)
I might have to do a little bit more on this to burrow down into the nitty gritty of what is going on.








