is anti-aliasing built into the audioresample element?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

is anti-aliasing built into the audioresample element?

Charlie Laub

Does the element audioresample include a built-in low-pass antialiasing filter or should the user add one manually just upstream, e.g. using audiowsinclimit?

 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: is anti-aliasing built into the audioresample element?

Baby Octopus
It does have some kind of anti alisasing filter. Not having anitaliasing
filter would clearly
introduce white noise which you dont see here! But you'll have to check if
the prefilter
suits your application

There is a property named "quality". You can playaround with it to change
the strength of
filter and modify the output quality

~BO




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: is anti-aliasing built into the audioresample element?

Sebastian Dröge-3
In reply to this post by Charlie Laub
On Sat, 2018-03-17 at 14:26 -0700, Charlie Laub wrote:
> Does the element audioresample include a built-in low-pass
> antialiasing filter or should the user add one manually just
> upstream, e.g. using audiowsinclimit?

Related to this, https://bugzilla.gnome.org/show_bug.cgi?id=794411 was
just filed recently.

There is an antialiasing filter in audioresample, and it is also
configurable:
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-GstAudio.html#GST-AUDIO-RESAMPLER-OPT-CUTOFF:CAPS

There are also lots of other parameters of the resampler that can be
configured, not all of them are exposed on the element though. If any
are missing for you, feel free to send a patch or file a bug about it.

--
Sebastian Dröge, Centricular Ltd · https://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (981 bytes) Download Attachment