We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9f4d6f commit aaef8faCopy full SHA for aaef8fa
src/processing/sound/Engine.java
@@ -1,5 +1,8 @@
1
package processing.sound;
2
3
+import java.util.logging.Level;
4
+import java.util.logging.Logger;
5
+
6
import com.jsyn.JSyn;
7
import com.jsyn.Synthesizer;
8
import com.jsyn.devices.AudioDeviceFactory;
@@ -46,6 +49,11 @@ private Engine(PApplet theParent) {
46
49
return;
47
50
}
48
51
52
+ // suppress JSyn's INFO log messages to stop them from showing
53
+ // up as redtext in the Processing console
54
+ Logger logger = Logger.getLogger(com.jsyn.engine.SynthesisEngine.class.getName());
55
+ logger.setLevel(Level.WARNING);
56
57
// create and start the synthesizer, and set this object as the singleton.
58
this.synth = JSyn.createSynthesizer(Engine.getAudioManager());
59
0 commit comments