diff options
Diffstat (limited to 'src/main/java/com/jsyn/swing')
-rw-r--r-- | src/main/java/com/jsyn/swing/ASCIIMusicKeyboard.java | 7 | ||||
-rw-r--r-- | src/main/java/com/jsyn/swing/ExponentialRangeModel.java | 5 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/main/java/com/jsyn/swing/ASCIIMusicKeyboard.java b/src/main/java/com/jsyn/swing/ASCIIMusicKeyboard.java index dc02259..f92fc1a 100644 --- a/src/main/java/com/jsyn/swing/ASCIIMusicKeyboard.java +++ b/src/main/java/com/jsyn/swing/ASCIIMusicKeyboard.java @@ -16,9 +16,6 @@ package com.jsyn.swing; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; @@ -39,8 +36,6 @@ import javax.swing.JPanel; @SuppressWarnings("serial") public abstract class ASCIIMusicKeyboard extends JPanel { - private static final Logger LOGGER = LoggerFactory.getLogger(ASCIIMusicKeyboard.class); - private final JCheckBox sustainBox; private final JButton focusButton; public static final String PENTATONIC_KEYS = "zxcvbasdfgqwert12345"; @@ -69,7 +64,6 @@ public abstract class ASCIIMusicKeyboard extends JPanel { public void keyPressed(KeyEvent e) { int key = e.getKeyChar(); int idx = keyboardLayout.indexOf(key); - LOGGER.debug("keyPressed " + idx); if (idx >= 0) { if (!pressedKeys.contains(idx)) { keyOn(convertIndexToPitch(idx)); @@ -86,7 +80,6 @@ public abstract class ASCIIMusicKeyboard extends JPanel { public void keyReleased(KeyEvent e) { int key = e.getKeyChar(); int idx = keyboardLayout.indexOf(key); - LOGGER.debug("keyReleased " + idx); if (idx >= 0) { if (!sustainBox.isSelected()) { noteOffInternal(idx); diff --git a/src/main/java/com/jsyn/swing/ExponentialRangeModel.java b/src/main/java/com/jsyn/swing/ExponentialRangeModel.java index c807000..1ecb05e 100644 --- a/src/main/java/com/jsyn/swing/ExponentialRangeModel.java +++ b/src/main/java/com/jsyn/swing/ExponentialRangeModel.java @@ -16,9 +16,6 @@ package com.jsyn.swing; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - /** * Maps integer range info to a double value along an exponential scale. * @@ -40,7 +37,6 @@ import org.slf4j.LoggerFactory; */ public class ExponentialRangeModel extends DoubleBoundedRangeModel { - private static final Logger LOGGER = LoggerFactory.getLogger(ExponentialRangeModel.class); private static final long serialVersionUID = -142785624892302160L; double a = 1.0; @@ -104,7 +100,6 @@ public class ExponentialRangeModel extends DoubleBoundedRangeModel { public void test(int sliderValue) { double dval = sliderToDouble(sliderValue); int ival = doubleToSlider(dval); - LOGGER.debug(sliderValue + " => " + dval + " => " + ival); } } |