I'm pretty new to processing, still learning the basics at uni.
I'm doing a project on interactivity, and am trying to create a beat detection program that generates wave formations from the where your mouse is orientated.
The first issue is the void stop(); it keeps giving me the error: unexpected token void
And the second issue when i comment out the void stop(), i get another error message: found one too many { characters without a } to match it.
not too sure what I'm doing wrong, can anybody suggest any remedies?
Sketch:
import ddf.minim.*;
import ddf.minim.analysis.*;
Minim minim;
AudioPlayer song;
BeatDetect beat;
ArrayList beatBars;
int amo = 100;
void setup(){
size (700,400);
minim = new Minim(this);
song = minim.loadFile("skunk.mp3",2048);
song.play();
beat = new BeatDetect();