minim failed to load mp3 file in java code in netbeans.

I am writing code in java using netbeans and I used processing 3 and minim. but AudioPlayer player=minim.loadfile("filepath\\mp3File.mp3"); The errors are: The sketch path is not set. ==== JavaSound Minim Error ==== Exception in thread "Animation Thread" java.lang.NullPointerException ==== Error invoking createInput on the file loader object: null

Sign In or Register to comment.