Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b4b75b47 authored by Mathias Agopian's avatar Mathias Agopian
Browse files

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
parent 9aec8c3f
Loading
Loading
Loading
Loading
+17 −17

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -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;