We are about to switch to a new forum software. Until then we have removed the registration on this forum.
O que faz a função groove.left.get(i)*50?
Posso usá-la fora do draw()?
for(int i = 0; i < groove.bufferSize() - 1; i++)
{
groove.play();
line(i, 50 + groove.left.get(i)*50, i+1, 50 + groove.left.get(i+1)*50);
line(i,150 + groove.right.get(i)*50, i+1,150 + groove.right.get(i+1)*50);
}
Answers
http://forum.processing.org/two/discussion/12137/sound-minim
We dunno! You should check that out at Minim's documentation pages:
http://code.Compartmental.net/minim/
http://code.Compartmental.net/minim/audiosample_field_left.html
http://code.Compartmental.net/minim/audiobuffer_method_get.html
As I've already explained to you in your other forum thread, line() and other canvas-related API shouldn't be called outside draw().
Use PGraphics instead. Then "stamp" those inside draw() via image(), set() or background().