diff options
author | Phil Burk <[email protected]> | 2015-08-26 19:45:32 -0700 |
---|---|---|
committer | Phil Burk <[email protected]> | 2015-08-26 19:45:32 -0700 |
commit | 37bdb8aa55b5cc70965c98a75c49a0f451a15790 (patch) | |
tree | 1d757978407a1e4ae22282f6147fce790127ba95 /src/com/jsyn | |
parent | 9d0a62be751dad1b7f1e611cba7ab9d6a29026b9 (diff) |
FilterFourPole: raise minimum frequency to prevent blowup
Feedback was causing the filter to hit NaN.
Diffstat (limited to 'src/com/jsyn')
-rw-r--r-- | src/com/jsyn/unitgen/FilterFourPoles.java | 2 |
1 files changed, 1 insertions, 1 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; |