aboutsummaryrefslogtreecommitdiffstats
path: root/tests/com/jsyn/examples/HearSinePM.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/com/jsyn/examples/HearSinePM.java')
-rw-r--r--tests/com/jsyn/examples/HearSinePM.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/com/jsyn/examples/HearSinePM.java b/tests/com/jsyn/examples/HearSinePM.java
index 2949605..1e19505 100644
--- a/tests/com/jsyn/examples/HearSinePM.java
+++ b/tests/com/jsyn/examples/HearSinePM.java
@@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -39,7 +39,7 @@ import com.jsyn.unitgen.SineOscillatorPhaseModulated;
/**
* Play a tone using a phase modulated sinewave oscillator. Phase modulation (PM) is very similar to
* frequency modulation (FM) but is easier to control.
- *
+ *
* @author Phil Burk (C) 2010 Mobileer Inc
*/
public class HearSinePM extends JApplet {
@@ -64,7 +64,7 @@ public class HearSinePM extends JApplet {
carrier.output.connect(0, lineOut.input, 0);
carrier.output.connect(0, lineOut.input, 1);
modulator.amplitude.setup(0.0, 1.0, 10.0);
- carrier.amplitude.setup(0.0, 1.0, 1.0);
+ carrier.amplitude.setup(0.0, 0.25, 1.0);
setupGUI();
}