We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi!
Im new to processing and im trying to understand how to use minim to have audio creating a changing linear color gradient.
I understand the first part, how to get the audio in ... its just the next part. Getting the audio to do colors instead of a for ex line that changes. Any tips or some idea on where to start would be super! Im kind of stuck after hours of googling and trying...
thanks!
import ddf.minim.*;
Minim minim;
AudioInput in;
void setup()
{
size(200, 200, P3D);
colorMode(HSB, 200);
minim = new Minim(this);
in = minim.getLineIn();
}
void draw()
for(int i = 0; i < in.bufferSize() - 1; i++)
{
Answers
Kind of like this, maybe also with hue changing, using beat or buffer to change in relation to sound... Any help in where to start is super appreciated!
The best way to start is the minim documentation. There are plenty of examples, like the use of a beat, kick, snare or range. code.compartmental.net/minim/index_analysis.html code.compartmental.net/minim/index.html.
Thanks! I´ll look into it.