GNOME Bugzilla – Bug 747204
audiofirfilter creates strange noise for smaller filter kernels and even default kernel
Last modified: 2015-05-12 10:42:51 UTC
using audiofirfilter creates strange distorted noises when setting no filter at all (defauilt identity filter is set [1.0]).
I tested with many smaller filters and result was allways same. It seems to work for bigger filter kernels (used DRC filters of ~31000 taps which worked fine). It is reproducible on Ubuntu 14.04 also on commandline:
gst-launch-1.0 filesrc location=/path/to/file \
! decodebin \
! audioconvert \
! audiofirfilter \
it seems only to be relevant for time domain filtering. For all frequency domain filters it seems to work (larger kernels).
gst-launch-1.0 audiotestsrc ! audioconvert ! "audio/x-raw,channels=2" ! audiofirfilter ! pulsesink
Works with 1, 2 channels, fails with >2 channels. That's probably related here.
Author: Sebastian Dröge <firstname.lastname@example.org>
Date: Tue May 12 13:41:58 2015 +0300
audiofxbasefirfilter: Fix time-domain convolution with >1 channels
input_samples is the number of frames, but we used it as the number of