Number of spect_bands in spectrum element

Stefan Sauer ensonic at hora-obscura.de
Fri Dec 23 10:24:04 PST 2011


On 12/18/2011 08:30 PM, victorvictor wrote:
> Thank you for the answer Stefan
>
> There are many things in that docs and it is still very confused to me.
> However, I have noticed this :
>
> The function /gst_fft_f32_new (nfft, FALSE);/ is called in the spectrum
> element; /nfft/ is defined as  *nfft = 2 * bands - 2*.
> In the FFT doc it is said that this nfft argument should be entirely a
> product of 2, 3 and 5 (ie a multiple of 30).
>
> If I combine the 2 equations together, it seems that the number of bands
> sould be *a multiple of 15 plus 1* to get faster results. Am I totally
> wrong? Any of these values that I have tried seemed to work perfectly.
Have a look at the code and post a documentation patch. I have no time
to check this right now.

Stefan

> Victor
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Number-of-spect-bands-in-spectrum-element-tp4205619p4211728.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list