aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/jsyn/instruments/SubtractiveSynthVoice.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/jsyn/instruments/SubtractiveSynthVoice.java')
-rw-r--r--src/com/jsyn/instruments/SubtractiveSynthVoice.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/jsyn/instruments/SubtractiveSynthVoice.java b/src/com/jsyn/instruments/SubtractiveSynthVoice.java
index 9ea593e..af3329e 100644
--- a/src/com/jsyn/instruments/SubtractiveSynthVoice.java
+++ b/src/com/jsyn/instruments/SubtractiveSynthVoice.java
@@ -135,6 +135,7 @@ public class SubtractiveSynthVoice extends Circuit implements UnitVoice {
cutoffRange.set(500.0);
filter.Q.set(3.0);
break;
+ case 2:
default:
ampEnv.attack.set(0.1);
ampEnv.decay.set(0.3);
@@ -147,7 +148,7 @@ public class SubtractiveSynthVoice extends Circuit implements UnitVoice {
}
static String[] presetNames = {
- "FastSaw", "SlowSaw", "BrightSaw", ""
+ "FastSaw", "SlowSaw", "BrightSaw"
};
static class MyVoiceDescription extends VoiceDescription {