From b4b75b47c2a4248e60bbc3229d6acc4d5f872431 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Mon, 29 Oct 2012 17:13:20 -0700 Subject: fir a typo that caused up-sampling coefficiens to be wrong up-sample coefficient were generated with a cut-off frequency of 24KHz intead of ~20KHz, which caused more aliasing in the audible band. also increased the attenuation to 1.3 dB on both up and down sampling coefficient to avoid clipping. Change-Id: Ie8aeecf1429190541b656810c6716b6aae5ece2e --- tools/resampler_tools/fir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/resampler_tools/fir.cpp b/tools/resampler_tools/fir.cpp index 14707d1..acd9911 100644 --- a/tools/resampler_tools/fir.cpp +++ b/tools/resampler_tools/fir.cpp @@ -84,7 +84,7 @@ int main(int argc, char** argv) unsigned int polyN = 147; bool debug = false; double Fs = 48000; - double Fc = 24000; + double Fc = 20478; double atten = 1; int format = 0; -- cgit v1.1