i already wrote the first steps:
-> sound is going into processing with minim
-> minim analyzis the sound an gives feedback to rect
-> the rect transparency is depending on the feedback
now is it possible just to switch to an image instead of the rect
i tried with easy replacing the rect and loading an img. but it didnt work :/
//minim.debugOn(); player = minim.loadFile ("soundfile.mp3", 1024);
player.play (); }
void reset() {
// clear the list points.clear();
// fill the points arraylist with random points for (int i = 0; i < 1000; i++) { // PVector.z is used to store an angle (particle's direction) points.add(new PVector(random(width), random(height), random(TWO_PI))); } }