GNOME Bugzilla – Bug 508029
[speexresample] pops/glitches in some cases
Last modified: 2008-10-29 16:40:09 UTC
There are some cases where speexresample introduces pops and glitches when resampling. One example is the following pipeline: gst-launch-0.10 audiotestsrc freq=220 samplesperbuffer=254 num-buffers=1000 ! audio/x-raw-int,rate=8000 ! speexresample ! audio/x-raw-int,rate=11025 ! alsasink
Created attachment 102387 [details] Screenshot of resampled data and differences in Audacity This is a screenshot of audacity showing: * The difference between a 11025Hz rate 220Hz sine wav (audiotestsrc freq=220 ! audio/x-raw-int,rate=11025) and the pipeline specified in the comment above * The output of the above pipeline As you can see, it looks as though there's maybe an issue with the timestamp of the outgoing buffer, producing a pop and shift of the output in time.
gst-launch-0.10 -v audiotestsrc num-buffers=500 freq=220 samplesperbuffer=253 ! audio/x-raw-float,rate=16000 ! speexresample ! audio/x-raw-float,rate=8000 ! audioconvert ! wavenc ! filesink location=test.wav This gives even worse results. There are always 64 or 65 samples containing something outside of [-1,1].
How is this a blocker?
Of course it isn't, should've been major instead. Sorry
I can't reproduce it anymore with latest CVS... so it's probably fixed by somethnig now ;) Edward?
all good for me.