aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/jsyn/unitgen
diff options
context:
space:
mode:
authorPhil Burk <[email protected]>2015-08-26 19:54:52 -0700
committerPhil Burk <[email protected]>2015-08-26 19:54:52 -0700
commitb19ff3c002edec62070cb6c6e8d5c2e321ff0354 (patch)
tree1d757978407a1e4ae22282f6147fce790127ba95 /src/com/jsyn/unitgen
parent3c25b6415d4a6fa3d719815c45ad6e98de57d744 (diff)
parent37bdb8aa55b5cc70965c98a75c49a0f451a15790 (diff)
Merge pull request #7 from philburk/fix-four-pole
Fix four pole
Diffstat (limited to 'src/com/jsyn/unitgen')
-rw-r--r--src/com/jsyn/unitgen/FilterFourPoles.java2
-rw-r--r--src/com/jsyn/unitgen/SawtoothOscillatorDPW.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/com/jsyn/unitgen/FilterFourPoles.java b/src/com/jsyn/unitgen/FilterFourPoles.java
index 5ad6487..d4f80f4 100644
--- a/src/com/jsyn/unitgen/FilterFourPoles.java
+++ b/src/com/jsyn/unitgen/FilterFourPoles.java
@@ -34,7 +34,7 @@ public class FilterFourPoles extends TunableFilter {
public UnitInputPort Q;
public UnitInputPort gain;
- private static final double MINIMUM_FREQUENCY = 0.00001;
+ private static final double MINIMUM_FREQUENCY = 1.0; // blows up if near 0.01
private static final double MINIMUM_Q = 0.00001;
private double x1;
diff --git a/src/com/jsyn/unitgen/SawtoothOscillatorDPW.java b/src/com/jsyn/unitgen/SawtoothOscillatorDPW.java
index 92d36d8..6868c15 100644
--- a/src/com/jsyn/unitgen/SawtoothOscillatorDPW.java
+++ b/src/com/jsyn/unitgen/SawtoothOscillatorDPW.java
@@ -17,8 +17,8 @@
package com.jsyn.unitgen;
/**
- * Sawtooth DPW oscillator (a sawtooth with reduced aliasing). Based on a paper by Antti Huovilainen
- * and Vesa Valimaki:
+ * Sawtooth DPW oscillator (a sawtooth with reduced aliasing).
+ * Based on a paper by Antti Huovilainen and Vesa Valimaki:
* http://www.scribd.com/doc/33863143/New-Approaches-to-Digital-Subtractive-Synthesis
*
* @author Phil Burk and Lisa Tolentino (C) 2009 Mobileer Inc