Metronome: Difference between revisions

Content added Content deleted
Line 604: Line 604:
while(true){
while(true){
try {
try {
Thread.sleep((long)(1000*(60/bpm)));
Thread.sleep((long)(1000*(60.0/bpm)));
}catch(InterruptedException e) {
}catch(InterruptedException e) {
e.printStackTrace();
e.printStackTrace();