I'm using Arduino with Processing. So I wan't to do stuff with the Arduino on the processing program, like when it serial read such as "1" it do stuff like play a mp3 file.
Here is the code I started with, so I will when it serial read 1 it play the mp3 file: