jancoow 10 anni fa
parent
commit
61ffc4995f
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/SMParser/SMParser.java

+ 2 - 2
src/SMParser/SMParser.java

@@ -63,8 +63,8 @@ public class SMParser {
 						for(String notespersecond:notesplit){
 						for(String notespersecond:notesplit){
 							notespersecond = notespersecond.trim();
 							notespersecond = notespersecond.trim();
 							String[] notes = notespersecond.split("\n");
 							String[] notes = notespersecond.split("\n");
-							double precision = 1.0/notes.length;
-							double time = secondscounter;
+							double precision = (1.0/notes.length)*1000;
+							double time = secondscounter*1000;
 							for(String note:notes){
 							for(String note:notes){
 								int direction = noteToDirection(note);
 								int direction = noteToDirection(note);
 								if(direction != -1){
 								if(direction != -1){