Wrong data scaling while using fdatool

78 Views Asked by At

I have the same problem that was presented in this question, but it's solution doesn't work for me and I don't know why.

I have sound (wav) data with strong fundamental frequency (225 Hz, sample rate 96 000, amplitude ca. 0.2) and I want to design passband filter to eliminate just the f0. Using fdatool I have designed desired passband filter (from 220 to 230 Hz, -10 dB at 210 and 240 Hz) and exported SOS and G.

  • If I use sosfilt, the data are OK, but not scaled correctly (amplitudes at e30 or higher).
  • If I use sos2tf and then filt or filtfilt, the data are still OK, but still incorrectly scaled (amplitudes at e-19).

What am I doing wrong?

0

There are 0 best solutions below