LFOControlSource#

class LFOControlSource(**properties: Any)#

Superclasses: ControlSource, Object, InitiallyUnowned, Object

GstLFOControlSource is a ControlSource, that provides several periodic waveforms as control values.

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

All functions are MT-safe.

Constructors#

class LFOControlSource
classmethod new() ControlSource#

This returns a new, unbound GstLFOControlSource.

Properties#

class LFOControlSource
props.amplitude: float#

Specifies the amplitude for the waveform of this GstLFOControlSource.

props.frequency: float#

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

props.offset: float#

Specifies the value offset for the waveform of this GstLFOControlSource.

props.timeshift: int#

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

To get a n nanosecond shift to the left use ā€œ(GST_SECOND / frequency) - nā€.

props.waveform: LFOWaveform#

Specifies the waveform that should be used for this GstLFOControlSource.

Fields#

class LFOControlSource
lock#
parent#
priv#