I have school work to create music player like winamp using this skin
I've created the seek bar player. and it's worked. When i've create text for writing the metadata. the seekbar didn't work. I found the problem is in P2D on size(bg.width, bg.height, P2D). When i delete the P2D, the seekbar can work, but the text not show on player. How to fix it?
OK, thanks. I cannot run it, not having the files, but something strikes me: you stomp on the rule "size() must be the first call in setup()". It is like the rule "don't cross the streams" in Ghostbusters: because it is bad! Seriously, one known side effect is that code before size() is sometime (or always, I am not sure) ran twice, which can cause problems with Minim initialization, among others. I suppose you know the size of your image, why don't you hard-code it in the size() call and move it to the top? Honestly, I don't know if it will fix your issue, but it is worth trying.