aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/com/jsyn/unitgen
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/com/jsyn/unitgen')
-rw-r--r--src/test/java/com/jsyn/unitgen/RecordMoogFilter.java6
-rw-r--r--src/test/java/com/jsyn/unitgen/TestEnvelopeDAHDSR.java7
2 files changed, 3 insertions, 10 deletions
diff --git a/src/test/java/com/jsyn/unitgen/RecordMoogFilter.java b/src/test/java/com/jsyn/unitgen/RecordMoogFilter.java
index 31a86be..7102121 100644
--- a/src/test/java/com/jsyn/unitgen/RecordMoogFilter.java
+++ b/src/test/java/com/jsyn/unitgen/RecordMoogFilter.java
@@ -25,8 +25,6 @@ import javax.swing.JApplet;
import com.jsyn.JSyn;
import com.jsyn.Synthesizer;
import com.jsyn.util.WaveRecorder;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
/**
* Measure actual frequency as a function of input frequency and Q.
@@ -35,8 +33,6 @@ import org.slf4j.LoggerFactory;
*/
public class RecordMoogFilter extends JApplet {
- private static final Logger LOGGER = LoggerFactory.getLogger(RecordMoogFilter.class);
-
private final static boolean SWEEP_Q = false;
private final static boolean SWEEP_FREQUENCY = true;
private final static int NUM_STEPS = 11;
@@ -82,7 +78,7 @@ public class RecordMoogFilter extends JApplet {
// TODO Auto-generated catch block
e.printStackTrace();
}
- LOGGER.debug("Writing to WAV file " + waveFile.getAbsolutePath());
+ System.out.println("Writing to WAV file " + waveFile.getAbsolutePath());
}
@Override
diff --git a/src/test/java/com/jsyn/unitgen/TestEnvelopeDAHDSR.java b/src/test/java/com/jsyn/unitgen/TestEnvelopeDAHDSR.java
index 618e823..eae8155 100644
--- a/src/test/java/com/jsyn/unitgen/TestEnvelopeDAHDSR.java
+++ b/src/test/java/com/jsyn/unitgen/TestEnvelopeDAHDSR.java
@@ -20,16 +20,13 @@ import com.jsyn.engine.SynthesisEngine;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
+
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
public class TestEnvelopeDAHDSR extends TestUnitGate {
- private static final Logger LOGGER = LoggerFactory.getLogger(TestEnvelopeDAHDSR.class);
-
double delayTime;
double attackTime;
double holdTime;
@@ -328,7 +325,7 @@ public class TestEnvelopeDAHDSR extends TestUnitGate {
// Start envelope release.
ramp.input.set(0.0);
final double db90 = 20.0 * Math.log(1.0 / 32768.0) / Math.log(10.0);
- LOGGER.debug("JSyns DB90 is actually " + db90);
+ System.out.println("JSyns DB90 is actually " + db90);
int numSteps = 10;
for (int i = 0; i < 10; i++) {
time += releaseTime / numSteps;