Tweak Lfe and C responses in upmixer-A to meet the desired frequency ranges more...
authorCarl Hetherington <cth@carlh.net>
Sat, 10 Oct 2015 17:59:12 +0000 (18:59 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 10 Oct 2015 17:59:12 +0000 (18:59 +0100)
src/lib/upmixer_a.cc
src/lib/upmixer_a.h

index 0479f16b23f990c04ea350cecf60d67d9a2fdebd..77ab1b082d74856ce8cd8fa27dd57c6eda08d664 100644 (file)
@@ -31,8 +31,8 @@ using boost::shared_ptr;
 UpmixerA::UpmixerA (int sampling_rate)
        : _left (0.02, 1900.0 / sampling_rate, 4800.0 / sampling_rate)
        , _right (0.02, 1900.0 / sampling_rate, 4800.0 / sampling_rate)
-       , _centre (0.02, 150.0 / sampling_rate, 1900.0 / sampling_rate)
-       , _lfe (0.02, 20.0 / sampling_rate, 150.0 / sampling_rate)
+       , _centre (0.002, 150.0 / sampling_rate, 1900.0 / sampling_rate)
+       , _lfe (0.002, 150.0 / sampling_rate)
        , _ls (0.02, 4800.0 / sampling_rate, 20000.0 / sampling_rate)
        , _rs (0.02, 4800.0 / sampling_rate, 20000.0 / sampling_rate)
 {
index 654f5f0250f2232e9f4e81867a693167ac6a5bc0..a644e92fedd82ed7b7a5d266ab20078768b988b4 100644 (file)
@@ -45,7 +45,7 @@ private:
        BandPassAudioFilter _left;
        BandPassAudioFilter _right;
        BandPassAudioFilter _centre;
-       BandPassAudioFilter _lfe;
+       LowPassAudioFilter _lfe;
        BandPassAudioFilter _ls;
        BandPassAudioFilter _rs;
 };