diff options
author | Phil Burk <[email protected]> | 2016-08-02 07:52:17 -0700 |
---|---|---|
committer | Phil Burk <[email protected]> | 2016-10-24 08:29:20 -0700 |
commit | 580fea450ec0982d0bd8be589f00566267e7b0d1 (patch) | |
tree | 0420f768fc7c63208b1720232c447e17af9017af /src/com/jsyn/engine/SynthesisEngine.java | |
parent | a6583e89166f7477a675cf3094a91b303ba7850a (diff) |
Instruments: add better synth, pitch control
Diffstat (limited to 'src/com/jsyn/engine/SynthesisEngine.java')
-rw-r--r-- | src/com/jsyn/engine/SynthesisEngine.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/com/jsyn/engine/SynthesisEngine.java b/src/com/jsyn/engine/SynthesisEngine.java index e966b30..ae16405 100644 --- a/src/com/jsyn/engine/SynthesisEngine.java +++ b/src/com/jsyn/engine/SynthesisEngine.java @@ -222,13 +222,6 @@ public class SynthesisEngine implements Synthesizer { this.frameRate = frameRate; this.framePeriod = 1.0 / frameRate; - // Set rate for any units that have already been added. - for (UnitGenerator ugen : allUnitList) { - ugen.setFrameRate(frameRate); - } - - // this.numInputChannels = numInputChannels; - // this.numOutputChannels = numOutputChannels; setupAudioBuffers(numInputChannels, numOutputChannels); logger.info("Pure Java JSyn from www.softsynth.com, rate = " + frameRate + ", " @@ -652,9 +645,6 @@ public class SynthesisEngine implements Synthesizer { public void add(UnitGenerator ugen) { ugen.setSynthesisEngine(this); allUnitList.add(ugen); - if (frameRate > 0) { - ugen.setFrameRate(frameRate); - } } @Override |