GstAudioVisualizer
A baseclass for scopes (visualizers). It takes care of re-fitting the audio-rate to video-rate and handles renegotiation (downstream video size changes).
It also provides several background shading effects. These effects are
applied to a previous picture before the render() implementation can draw a
new frame.
GstAudioVisualizer
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstAudioVisualizer
Members
parent
		(GstElement)
		–
	req_spf
		(guint)
		–
	vinfo
		(GstVideoInfo)
		–
	ainfo
		(GstAudioInfo)
		–
	Class structure
GstAudioVisualizerClass
GstPbutils.AudioVisualizerClass
GstPbutils.AudioVisualizerClass
GstPbutils.AudioVisualizer
GObject.Object ╰──GObject.InitiallyUnowned ╰──Gst.Object ╰──Gst.Element ╰──GstPbutils.AudioVisualizer
Members
parent
		(Gst.Element)
		–
	req_spf
		(Number)
		–
	vinfo
		(GstVideo.VideoInfo)
		–
	ainfo
		(GstAudio.AudioInfo)
		–
	GstPbutils.AudioVisualizer
GObject.Object ╰──GObject.InitiallyUnowned ╰──Gst.Object ╰──Gst.Element ╰──GstPbutils.AudioVisualizer
Members
parent
		(Gst.Element)
		–
	req_spf
		(int)
		–
	vinfo
		(GstVideo.VideoInfo)
		–
	ainfo
		(GstAudio.AudioInfo)
		–
	Properties
Virtual Methods
decide_allocation
gboolean decide_allocation (GstAudioVisualizer * scope, GstQuery * query)
Parameters:
scope
–
query
–
vfunc_decide_allocation
function vfunc_decide_allocation(scope: GstPbutils.AudioVisualizer, query: Gst.Query): {
    // javascript implementation of the 'decide_allocation' virtual method
}
	Parameters:
do_decide_allocation
def do_decide_allocation (scope, query):
    #python implementation of the 'decide_allocation' virtual method
	Parameters:
render
gboolean render (GstAudioVisualizer * scope, GstBuffer * audio, GstVideoFrame * video)
Parameters:
scope
–
audio
–
video
–
vfunc_render
function vfunc_render(scope: GstPbutils.AudioVisualizer, audio: Gst.Buffer, video: GstVideo.VideoFrame): {
    // javascript implementation of the 'render' virtual method
}
	Parameters:
do_render
def do_render (scope, audio, video):
    #python implementation of the 'render' virtual method
	Parameters:
setup
gboolean setup (GstAudioVisualizer * scope)
Parameters:
scope
–
vfunc_setup
function vfunc_setup(scope: GstPbutils.AudioVisualizer): {
    // javascript implementation of the 'setup' virtual method
}
	Parameters:
do_setup
def do_setup (scope):
    #python implementation of the 'setup' virtual method
	Parameters:
Function Macros
GST_IS_SYNAESTHESIA
#define GST_IS_SYNAESTHESIA(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_AUDIO_VISUALIZER))
GST_IS_SYNAESTHESIA_CLASS
#define GST_IS_SYNAESTHESIA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_AUDIO_VISUALIZER))
Enumerations
GstAudioVisualizerShader
Different types of supported background shading functions.
Members
GST_AUDIO_VISUALIZER_SHADER_NONE
		(0)
		–
	no shading
GST_AUDIO_VISUALIZER_SHADER_FADE
		(1)
		–
	plain fading
GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_UP
		(2)
		–
	fade and move up
GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_DOWN
		(3)
		–
	fade and move down
GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_LEFT
		(4)
		–
	fade and move left
GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_RIGHT
		(5)
		–
	fade and move right
GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_HORIZ_OUT
		(6)
		–
	fade and move horizontally out
GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_HORIZ_IN
		(7)
		–
	fade and move horizontally in
GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_VERT_OUT
		(8)
		–
	fade and move vertically out
GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_VERT_IN
		(9)
		–
	fade and move vertically in
GstPbutils.AudioVisualizerShader
Different types of supported background shading functions.
Members
GstPbutils.AudioVisualizerShader.NONE
		(0)
		–
	no shading
GstPbutils.AudioVisualizerShader.FADE
		(1)
		–
	plain fading
GstPbutils.AudioVisualizerShader.FADE_AND_MOVE_UP
		(2)
		–
	fade and move up
GstPbutils.AudioVisualizerShader.FADE_AND_MOVE_DOWN
		(3)
		–
	fade and move down
GstPbutils.AudioVisualizerShader.FADE_AND_MOVE_LEFT
		(4)
		–
	fade and move left
GstPbutils.AudioVisualizerShader.FADE_AND_MOVE_RIGHT
		(5)
		–
	fade and move right
GstPbutils.AudioVisualizerShader.FADE_AND_MOVE_HORIZ_OUT
		(6)
		–
	fade and move horizontally out
GstPbutils.AudioVisualizerShader.FADE_AND_MOVE_HORIZ_IN
		(7)
		–
	fade and move horizontally in
GstPbutils.AudioVisualizerShader.FADE_AND_MOVE_VERT_OUT
		(8)
		–
	fade and move vertically out
GstPbutils.AudioVisualizerShader.FADE_AND_MOVE_VERT_IN
		(9)
		–
	fade and move vertically in
GstPbutils.AudioVisualizerShader
Different types of supported background shading functions.
Members
GstPbutils.AudioVisualizerShader.NONE
		(0)
		–
	no shading
GstPbutils.AudioVisualizerShader.FADE
		(1)
		–
	plain fading
GstPbutils.AudioVisualizerShader.FADE_AND_MOVE_UP
		(2)
		–
	fade and move up
GstPbutils.AudioVisualizerShader.FADE_AND_MOVE_DOWN
		(3)
		–
	fade and move down
GstPbutils.AudioVisualizerShader.FADE_AND_MOVE_LEFT
		(4)
		–
	fade and move left
GstPbutils.AudioVisualizerShader.FADE_AND_MOVE_RIGHT
		(5)
		–
	fade and move right
GstPbutils.AudioVisualizerShader.FADE_AND_MOVE_HORIZ_OUT
		(6)
		–
	fade and move horizontally out
GstPbutils.AudioVisualizerShader.FADE_AND_MOVE_HORIZ_IN
		(7)
		–
	fade and move horizontally in
GstPbutils.AudioVisualizerShader.FADE_AND_MOVE_VERT_OUT
		(8)
		–
	fade and move vertically out
GstPbutils.AudioVisualizerShader.FADE_AND_MOVE_VERT_IN
		(9)
		–
	fade and move vertically in
Callbacks
GstAudioVisualizerShaderFunc
(*GstAudioVisualizerShaderFunc) (GstAudioVisualizer * scope, const GstVideoFrame * s, GstVideoFrame * d)
Parameters:
scope
–
s
–
d
–
GstPbutils.AudioVisualizerShaderFunc
function GstPbutils.AudioVisualizerShaderFunc(scope: GstPbutils.AudioVisualizer, s: GstVideo.VideoFrame, d: GstVideo.VideoFrame): {
    // javascript wrapper for 'GstAudioVisualizerShaderFunc'
}
	Parameters:
GstPbutils.AudioVisualizerShaderFunc
def GstPbutils.AudioVisualizerShaderFunc (scope, s, d):
    #python wrapper for 'GstAudioVisualizerShaderFunc'
	Parameters:
The results of the search are