# HG changeset patch # User Chris Cannam # Date 1727943672 -3600 # Thu Oct 03 09:21:12 2024 +0100 # Branch rblive # Node ID c4f22dd2b2d7bf63c10295090f55f968cc2e3e8e # Parent b44d418c67fa843b64e748869905fa1172cfaf5e More output diff --git a/com/breakfastquay/rubberband/test/RubberBandTest.java b/com/breakfastquay/rubberband/test/RubberBandTest.java --- a/com/breakfastquay/rubberband/test/RubberBandTest.java +++ b/com/breakfastquay/rubberband/test/RubberBandTest.java @@ -24,7 +24,7 @@ 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 @@ } } - 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 @@ 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 @@ } } - 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"); } }