More output

This commit is contained in:
Chris Cannam
2024-10-03 09:21:12 +01:00
parent 05acd21738
commit 28fa720e93

View File

@@ -24,7 +24,7 @@ public class RubberBandTest
stretcher.setTimeRatio(1.5);
stretcher.setPitchScale(0.8);
System.err.println
System.out.println
(String.format("Channel count: %d\n" +
"Time ratio: %f\n" +
"Pitch scale: %f\n" +
@@ -107,7 +107,7 @@ public class RubberBandTest
}
}
System.err.println
System.out.println
(String.format("in = %d, out = %d, rms = %f",
blocksize * blocks, n,
Math.sqrt(sqrtotal / (double)n)));
@@ -127,7 +127,7 @@ public class RubberBandTest
shifter.setPitchScale(0.8);
System.err.println
System.out.println
(String.format("Channel count: %d\n" +
"Pitch scale: %f\n" +
"Block size: %d\n" +
@@ -171,17 +171,20 @@ public class RubberBandTest
}
}
System.err.println
System.out.println
(String.format("in = %d, out = %d, rms = %f",
blocksize * blocks, n,
Math.sqrt(sqrtotal / (double)n)));
shifter.dispose();
}
public static void main(String[] args) {
System.out.println("Exercising RubberBandStretcher through JNI...");
exerciseStretcher();
System.out.println("Exercising RubberBandLiveShifter through JNI...");
exerciseLiveShifter();
System.out.println("Done");
}
}