Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : Sketch lagging

$
0
0
Hey thanks for your reply, sorry it's taken so long for me to get back to you.

Your help has been good so far but I still have a few issues.

The reason behind having background inside a loop block was to change the background colour in relation to the frequencies being played by the mp3 file. The work-around I have for this is setting the background to black and then using a rect() the size of the screen to change colours behind the sketch. That should work but the sketch is still lagging like a bitch.

Is there a way to get the rect() to be rendered before the draw() is complete?

And yeah the program is bound to a specific mp3 file because I'm doing this for my dissertation project and just need something that works to specific songs I've written myself for now. Once I have more time I'll start working on ways to expand the sketch to be used by different songs. :)

Any help would be appreciated.

Viewing all articles
Browse latest Browse all 1768

Trending Articles