[gst-devel] GStreamer Spectrum Plugin

Stefan Kost ensonic at hora-obscura.de
Mon Aug 24 12:06:59 CEST 2009


hi,

Pedro Algarvio schrieb:
> I have a question regarding the gstreamer spectrum plugin.
>
> I have an audio source for which I'd like to know if it's in phase or not.
> While testing your plugin, I noticed that we get that information for
> each of the bands we asked for. Like this, I can know if a specific band
> is in phase or not, but what about the stereo signal(all involved bands)?
>
> I tried calculating an average of all bands, but this didn't reproduced
> what I was after.
>
> Best Regards,
The spectrum element has "magnitude" and "phase" properties to control
whether that information should be included in the result or not.

Regarding "stereo" - the plugin does always downmix to mono before doing
the FFT. It would be nice to add an option to receive spectral data per
channel (needs to be  made so that the data structure that is sent to
the bus is backwards compatible).

Stefan




More information about the gstreamer-devel mailing list