aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/com/jsyn/unitgen/TestEnvelopeAttackDecay.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/com/jsyn/unitgen/TestEnvelopeAttackDecay.java')
-rw-r--r--src/test/java/com/jsyn/unitgen/TestEnvelopeAttackDecay.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/java/com/jsyn/unitgen/TestEnvelopeAttackDecay.java b/src/test/java/com/jsyn/unitgen/TestEnvelopeAttackDecay.java
index 8328bb7..b30d9f1 100644
--- a/src/test/java/com/jsyn/unitgen/TestEnvelopeAttackDecay.java
+++ b/src/test/java/com/jsyn/unitgen/TestEnvelopeAttackDecay.java
@@ -43,7 +43,7 @@ public class TestEnvelopeAttackDecay extends TestUnitGate {
@Test
public void testOnOff() throws InterruptedException {
- var envelope = new EnvelopeAttackDecay();
+ EnvelopeAttackDecay envelope = new EnvelopeAttackDecay();
synthesisEngine.add(envelope);
envelope.attack.set(0.1);
@@ -81,7 +81,7 @@ public class TestEnvelopeAttackDecay extends TestUnitGate {
@Test
public void testRetrigger() throws InterruptedException {
- var envelope = new EnvelopeAttackDecay();
+ EnvelopeAttackDecay envelope = new EnvelopeAttackDecay();
synthesisEngine.add(envelope);
envelope.attack.set(0.1);
@@ -117,9 +117,9 @@ public class TestEnvelopeAttackDecay extends TestUnitGate {
@Test
public void testAutoDisable() throws InterruptedException {
- var ramp = new LinearRamp();
+ LinearRamp ramp = new LinearRamp();
synthesisEngine.add(ramp);
- var envelope = new EnvelopeAttackDecay();
+ EnvelopeAttackDecay envelope = new EnvelopeAttackDecay();
envelope.attack.set(0.1);
envelope.decay.set(0.1);
synthesisEngine.add(envelope);