[SCM] calf/master: + Monosynth: do not calculate z^jw, it's not used anymore
js at users.alioth.debian.org
js at users.alioth.debian.org
Tue May 7 15:38:24 UTC 2013
The following commit has been merged in the master branch:
commit 98b6e3ce525bec527db847f6899b242815fc1a78
Author: Krzysztof Foltman <wdev at foltman.com>
Date: Fri Nov 7 18:31:48 2008 +0000
+ Monosynth: do not calculate z^jw, it's not used anymore
diff --git a/src/monosynth.cpp b/src/monosynth.cpp
index 6bb83e0..ef92c51 100644
--- a/src/monosynth.cpp
+++ b/src/monosynth.cpp
@@ -191,7 +191,6 @@ bool monosynth_audio_module::get_graph(int index, int subindex, float *data, int
{
typedef complex<double> cfloat;
double freq = 20.0 * pow (20000.0 / 20.0, i * 1.0 / points);
- cfloat z = 1.0 / exp(cfloat(0.0, freq));
dsp::biquad_d1<float> &f = subindex ? filter2 : filter;
float level = f.freq_gain(freq, srate);
--
calf audio plugins packaging
More information about the pkg-multimedia-commits
mailing list