We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSound,  Music Libraries › Audio Visualization Question
Page Index Toggle Pages: 1
Audio Visualization Question (Read 779 times)
Audio Visualization Question
Apr 15th, 2009, 8:49am
 
Hi,

I am new to processing and I am trying to create a program that will save the visual output of a sketch (in this case I am working with a sort of audio equalizer sketch) every 10-15 seconds.  It would be ideal to have these files saved and named sequentially.

Any advice?

Thanks
Re: Audio Visualization Question
Reply #1 - Apr 16th, 2009, 8:02am
 
I think this is what you need:
http://processing.org/reference/saveFrame_.html

It seems you just need to run this function every 10 seconds or how often you want. This can be done by combining it with this:

http://processing.org/reference/millis_.html
(10 seconds is 10000 millis)
Page Index Toggle Pages: 1