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

Re : Sketch lagging

$
0
0
Thanks for you help I've figured some stuff out and have got the problem running a lot smoother now which is great. I'm still having some issue though. I'm running my program and my mp3 seems to be out of sync.

Basically I worked out that I need my first change to happen at 1 minute 48 seconds which translates as 108 seconds which is 108000 milliseconds. I've used that in my first if function and when all the changes were happening a second or two earlier I was confused. Upon using the println() function I figured out that the changes were happening at the right time but the mp3 was a few seconds behind for some reason. Any ideas on how I can get the mp3 to be the first thing to start playing so that it doesn't lag behind the carefully timed milliseconds?


Regards

xx

Viewing all articles
Browse latest Browse all 1768

Trending Articles