We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
The mp3 file here loops 2 times with loop(3), indefinite times with loop(4), and 3 times with loop(5)
Minim version: 2.2.2 Installed with Processing 3.5.3
Here is my code:
int time = 10*60 + 1; void setup() { size(400, 400); minim = new Minim(this); player = minim.loadFile("alarm.mp3"); frameRate(10); } void draw() { if (frameCount%10 == 0 && time > 0) { time--; if (time % 60 == 0) //check second if (time / 60 == 10 || time / 60 == 5 || time == 0) //check minute player.loop(5); } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The mp3 file here loops 2 times with loop(3), indefinite times with loop(4), and 3 times with loop(5)
Minim version: 2.2.2
Installed with Processing 3.5.3
Here is my code:
The text was updated successfully, but these errors were encountered: