problem playing audio (mp3)
in
Core Library Questions
•
2 years ago
Thanks for helping me, in advance.
I downloaded minim libraries to run a sound clip in a program. its an mp3 thats about 3mb in size.
I have imported the minim library and i think i have the syntax. the program runs, but no sound is created. In the command prompt it throws this line at me, " === Minim Error === === Likely buffer underrun in AudioOutput."
I dont know what this means. Can anyone suggest what I might be doing wrong? Also, heres a snippet of my code, only the info related to the audio. Please note I am pretty new to this stuff! Thanks!
import ddf.minim.*;
Minim minim;
AudioSample NIN;
void setup(){
size
frameRate
minim = new Minim(this);
NIN = minim.loadSample("nin.mp3", 1024);
}
void draw(){
}
I downloaded minim libraries to run a sound clip in a program. its an mp3 thats about 3mb in size.
I have imported the minim library and i think i have the syntax. the program runs, but no sound is created. In the command prompt it throws this line at me, " === Minim Error === === Likely buffer underrun in AudioOutput."
I dont know what this means. Can anyone suggest what I might be doing wrong? Also, heres a snippet of my code, only the info related to the audio. Please note I am pretty new to this stuff! Thanks!
import ddf.minim.*;
Minim minim;
AudioSample NIN;
void setup(){
size
frameRate
minim = new Minim(this);
NIN = minim.loadSample("nin.mp3", 1024);
}
void draw(){
}
1