spectrum
(from GStreamer Good Plug-ins git)Run an FFT on the audio signal, output spectrum data
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBaseTransform ╰──GstAudioFilter ╰──spectrum
Factory details
Authors: – Erik Walthinsen
Classification: – Filter/Analyzer/Audio
Rank – none
Plugin – libgstspectrum.so
Package – GStreamer Good Plug-ins git
Pad Templates
sink
audio/x-raw:
format: { S16LE, S24LE, S32LE, F32LE, F64LE }
rate: [ 1, 2147483647 ]
channels: [ 1, 2147483647 ]
layout: interleaved
Presence – always
Direction – sink
src
audio/x-raw:
format: { S16LE, S24LE, S32LE, F32LE, F64LE }
rate: [ 1, 2147483647 ]
channels: [ 1, 2147483647 ]
layout: interleaved
Presence – always
Direction – src
Properties
interval
“interval” guint64
Interval of time between message posts (in nanoseconds)
Flags : Read / Write
Default value : 100000000
message-magnitude
“message-magnitude” gboolean
Whether to add a 'magnitude' field to the structure of any 'spectrum' element messages posted on the bus
Flags : Read / Write
Default value : true
message-phase
“message-phase” gboolean
Whether to add a 'phase' field to the structure of any 'spectrum' element messages posted on the bus
Flags : Read / Write
Default value : false
multi-channel
“multi-channel” gboolean
Send separate results for each channel
Flags : Read / Write
Default value : false
post-messages
“post-messages” gboolean
Whether to post a 'spectrum' element message on the bus for each passed interval
Flags : Read / Write
Default value : true
threshold
“threshold” gint
dB threshold for result. All lower values will be set to this
Flags : Read / Write
Default value : -60
The results of the search are