GstController.LFOControlSource

g GObject.InitiallyUnowned GObject.InitiallyUnowned Gst.Object Gst.Object GObject.InitiallyUnowned->Gst.Object GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gst.ControlSource Gst.ControlSource GstController.LFOControlSource GstController.LFOControlSource Gst.ControlSource->GstController.LFOControlSource Gst.Object->Gst.ControlSource

Subclasses:

None

Methods

Inherited:

Gst.ControlSource (2), Gst.Object (27), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

Virtual Methods

Inherited:

Gst.Object (1), GObject.Object (7)

Properties

Inherited:

Gst.Object (2)

Name

Type

Flags

Short Description

amplitude

float

r/w

Amplitude of the waveform

frequency

float

r/w

Frequency of the waveform

offset

float

r/w

Offset of the waveform

timeshift

int

r/w

Timeshift of the waveform to the right

waveform

GstController.LFOWaveform

r/w

Waveform

Signals

Inherited:

Gst.Object (1), GObject.Object (1)

Fields

Inherited:

Gst.Object (1), GObject.Object (1)

Name

Type

Access

Description

lock

GLib.Mutex

r

parent

Gst.ControlSource

r

Class Details

class GstController.LFOControlSource(**kwargs)
Bases:

Gst.ControlSource

Abstract:

No

Structure:

GstController.LFOControlSourceClass

GstController.LFOControlSource is a Gst.ControlSource, that provides several periodic waveforms as control values.

To use GstController.LFOControlSource get a new instance by calling GstController.LFOControlSource.new(), bind it to a GObject.ParamSpec and set the relevant properties.

All functions are MT-safe.

classmethod new()[source]
Returns:

a new, unbound GstController.LFOControlSource.

Return type:

Gst.ControlSource

This returns a new, unbound GstController.LFOControlSource.

Property Details

GstController.LFOControlSource.props.amplitude
Name:

amplitude

Type:

float

Default Value:

1.0

Flags:

READABLE, WRITABLE

Specifies the amplitude for the waveform of this GstController.LFOControlSource.

GstController.LFOControlSource.props.frequency
Name:

frequency

Type:

float

Default Value:

1.0

Flags:

READABLE, WRITABLE

Specifies the frequency that should be used for the waveform of this GstController.LFOControlSource. It should be large enough so that the period is longer than one nanosecond.

GstController.LFOControlSource.props.offset
Name:

offset

Type:

float

Default Value:

1.0

Flags:

READABLE, WRITABLE

Specifies the value offset for the waveform of this GstController.LFOControlSource.

GstController.LFOControlSource.props.timeshift
Name:

timeshift

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Specifies the timeshift to the right that should be used for the waveform of this GstController.LFOControlSource in nanoseconds.

To get a n nanosecond shift to the left use “(Gst.SECOND / frequency) - n”.

GstController.LFOControlSource.props.waveform
Name:

waveform

Type:

GstController.LFOWaveform

Default Value:

GstController.LFOWaveform.SINE

Flags:

READABLE, WRITABLE

Specifies the waveform that should be used for this GstController.LFOControlSource.