Changing brightness depending on sound (Processing)
问题 I am learning processing right now and I am trying to make a sketch that could change colour when the sound changes. (When Amplitude + , Then Brightness+ ) Because changing colour does not need to change as rapid as the draw() function. So how could I build a clock so that the color would not change in every draw? This is the code I am using right now: import ddf.minim.*; import ddf.minim.signals.*; import ddf.minim.analysis.*; import ddf.minim.effects.*; Minim minim; AudioPlayer song; FFT