After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 346218 - [audioresample] doesn't do anti aliasing
[audioresample] doesn't do anti aliasing
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.6
Other All
: Normal enhancement
: 0.10.22
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 556756 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-06-29 15:38 UTC by Yves Lefebvre
Modified: 2008-11-27 17:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Yves Lefebvre 2006-06-29 15:38:20 UTC
Please describe the problem:
I generate a 14khz tone with sampling rate of 44khz and resample it down to 22khz. I see there is a very high amplitude 8khz tone remaining in the output file.

The remaining 8khz tone is a total reflection of the 14khz tone (reflected arround half the new sampling rate of 22khz)

Steps to reproduce:
1. gst-launch-0.10 audiotestsrc freq=14000 volume=0.6 num-buffers=50 !  audio/x-raw-int, rate=(int)44100 ! wavenc ! filesink location=sine14k_at_44khz.wav
2. gst-launch-0.10 filesrc location=sine14k_at_44khz.wav ! wavparse ! audioconvert ! audioresample ! audio/x-raw-int, rate=(int)22050 ! wavenc ! filesink location=convert_14kat44khz_to_22khz.wav
3. check the output file with an audio editor (or play it)


Actual results:
There is aliasing in the output file.

Expected results:


Does this happen every time?
yes

Other information:
Comment 1 Sebastian Dröge (slomo) 2008-10-27 16:20:34 UTC
*** Bug 556756 has been marked as a duplicate of this bug. ***
Comment 2 Sebastian Dröge (slomo) 2008-11-27 17:00:32 UTC
2008-11-27  Sebastian Dröge  <sebastian.droege@collabora.co.uk>

	* configure.ac:
	* docs/plugins/Makefile.am:
	* docs/plugins/gst-plugins-base-plugins-sections.txt:
	* docs/plugins/gst-plugins-base-plugins.args:
	* docs/plugins/gst-plugins-base-plugins.hierarchy:
	* docs/plugins/gst-plugins-base-plugins.interfaces:
	* docs/plugins/gst-plugins-base-plugins.prerequisites:
	* docs/plugins/inspect/plugin-adder.xml:
	* docs/plugins/inspect/plugin-alsa.xml:
	* docs/plugins/inspect/plugin-audioconvert.xml:
	* docs/plugins/inspect/plugin-audiorate.xml:
	* docs/plugins/inspect/plugin-audioresample.xml:
	* docs/plugins/inspect/plugin-audiotestsrc.xml:
	* docs/plugins/inspect/plugin-cdparanoia.xml:
	* docs/plugins/inspect/plugin-decodebin.xml:
	* docs/plugins/inspect/plugin-ffmpegcolorspace.xml:
	* docs/plugins/inspect/plugin-gdp.xml:
	* docs/plugins/inspect/plugin-gio.xml:
	* docs/plugins/inspect/plugin-gnomevfs.xml:
	* docs/plugins/inspect/plugin-libvisual.xml:
	* docs/plugins/inspect/plugin-ogg.xml:
	* docs/plugins/inspect/plugin-pango.xml:
	* docs/plugins/inspect/plugin-playback.xml:
	* docs/plugins/inspect/plugin-queue2.xml:
	* docs/plugins/inspect/plugin-subparse.xml:
	* docs/plugins/inspect/plugin-tcp.xml:
	* docs/plugins/inspect/plugin-theora.xml:
	* docs/plugins/inspect/plugin-typefindfunctions.xml:
	* docs/plugins/inspect/plugin-uridecodebin.xml:
	* docs/plugins/inspect/plugin-video4linux.xml:
	* docs/plugins/inspect/plugin-videorate.xml:
	* docs/plugins/inspect/plugin-videoscale.xml:
	* docs/plugins/inspect/plugin-videotestsrc.xml:
	* docs/plugins/inspect/plugin-volume.xml:
	* docs/plugins/inspect/plugin-vorbis.xml:
	* docs/plugins/inspect/plugin-ximagesink.xml:
	* docs/plugins/inspect/plugin-xvimagesink.xml:
	* gst/speexresample/gstspeexresample.c: (plugin_init):
	* gst/speexresample/Makefile.am:
	* tests/check/Makefile.am:
	* tests/check/elements/speexresample.c: (setup_speexresample),
	(GST_START_TEST), (test_pipeline):
	Rename the moved speexresample to audioresample, integrate into the
	build system and remove the old audioresample from the build system.
	Fixes bug #558124, #385061, #346218, #116051.