keeping multiple audio streams synchronized when applying LADSPA filters
Charlie Laub
charleslaub at sbcglobal.net
Tue Dec 12 22:17:05 UTC 2017
Audiointerleave is not something that I have seen before but I will give it a try. Thanks for mentioning it.
I will test the synchronization by generating a pure tone sine wave source, tee-ing it into two channels/streams, applying some LADSPA filters to only one of the channels, then mixing them back together with audiomixer (related to audiointerleave). Audiomixer is also supposed to preserve timing like audiointerleave so it is a good proxy. I will choose filters that undo each other (e.g. gain = +6dB follow by gain = -6dB) and I will invert the waveform . During mixing they should cancel each other if the timing is correct. This will be easy to verify by ear by sending the mixed audio to headphones.
From: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] On Behalf Of Nicolas Dufresne
Sent: Monday, December 11, 2017 8:10 PM
To: Discussion of the development of and with GStreamer <gstreamer-devel at lists.freedesktop.org>
Subject: Re: keeping multiple audio streams synchronized when applying LADSPA filters
As long as the segment and timestamp are carried (should be handled by the ladspa wrapper plugin) you can later recombine the output with audiointerleave a rewrite of interleave that do proper synchronization. Note that ladspa (same for lv2) wrappers might not cover 100% of the existing filters, I would recommend to tests your filters individually first to make sure they work. If not, ping us again ;-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171212/49e02698/attachment.html>
More information about the gstreamer-devel
mailing list