aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPhil Burk <[email protected]>2016-11-30 19:22:47 -0800
committerPhil Burk <[email protected]>2016-11-30 19:22:47 -0800
commitcc4bcfe2aa049543ee759823bc0a72282e4a1dc5 (patch)
treec6e70f7a076bb65484f52709864975b21afab75d /tests
parent7ffdd5f3c6178b3032ea99dd7b824eae166434ce (diff)
Turn down example FM carrier
Diffstat (limited to 'tests')
-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();
}