How would I go about getting the function void mousePressed() to work only within a specific area. Like say the dimensions are 100, 100 and I want mousePressed to affect only the top right quarter of the area?
Okay so I have minim and the song (named song.mp3) both in the data file of this sketch, yet when I run it the window pops up but the song doesn't play, and I get this message:
==== JavaSound Minim Error ====
==== Don't know the ID3 code TXXX
==== JavaSound Minim Error ====
==== Don't know the ID3 code TXXX
==== JavaSound Minim Error ====
==== Don't know the ID3 code TXXX
==== JavaSound Minim Error ====
==== Don't know the ID3 code TDEN
==== JavaSound Minim Error ====
==== Don't know the ID3 code TSSE
==== JavaSound Minim Error ====
==== Don't know the ID3 code APIC
I'm not sure if I'm doing something wrong or what's happening, but here's my full code, maybe the problem's in there? I'm super new to processing and I'm not sure. Any help would be appreciated :D.