notes intro/old projects AP Problems the dump links
 

mp3

 

To add mp3s to your project - you need to have this file (include it in your java build see here)

Then include this class in your project.

 

Put the mp3 in your main folder, then to use it, you might say

 

MP3 song = new MP3("beachboys1.mp3");

 

then to play it

 

song.play();

 

to stop it

song.close();