aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/com/jsyn/midi/TestMidiLoop.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/com/jsyn/midi/TestMidiLoop.java')
-rw-r--r--src/test/java/com/jsyn/midi/TestMidiLoop.java12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/test/java/com/jsyn/midi/TestMidiLoop.java b/src/test/java/com/jsyn/midi/TestMidiLoop.java
index fa7ba2c..a0c69df 100644
--- a/src/test/java/com/jsyn/midi/TestMidiLoop.java
+++ b/src/test/java/com/jsyn/midi/TestMidiLoop.java
@@ -23,8 +23,6 @@ import javax.sound.midi.Receiver;
import com.jsyn.devices.javasound.MidiDeviceTools;
import org.junit.jupiter.api.Test;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
/**
* Connect a USB MIDI Keyboard to the internal MIDI Synthesizer using JavaSound.
@@ -33,8 +31,6 @@ import org.slf4j.LoggerFactory;
*/
public class TestMidiLoop {
- private static final Logger LOGGER = LoggerFactory.getLogger(TestMidiLoop.class);
-
@Test
private void midiLoop() {
try {
@@ -56,7 +52,7 @@ public class TestMidiLoop {
@Override
public void send(MidiMessage message, long timeStamp) {
byte[] bytes = message.getMessage();
- LOGGER.debug("Got " + bytes.length + " bytes.");
+ System.out.println("Got " + bytes.length + " bytes.");
}
}
@@ -72,13 +68,13 @@ public class TestMidiLoop {
// Put the receiver in the transmitter.
// This gives fairly low latency playing.
keyboard.getTransmitter().setReceiver(receiver);
- LOGGER.debug("Play MIDI keyboard: " + keyboard.getDeviceInfo().getDescription());
+ System.out.println("Play MIDI keyboard: " + keyboard.getDeviceInfo().getDescription());
result = 0;
Thread.sleep(4000);
- LOGGER.debug("Close the keyboard. It may not work after this according to the docs!");
+ System.out.println("Close the keyboard. It may not work after this according to the docs!");
keyboard.close();
} else {
- LOGGER.debug("Could not find a keyboard.");
+ System.out.println("Could not find a keyboard.");
}
return result;
}