Class: GstController::LFOControlSource

Inherits:
Gst::ControlSource show all
Defined in:
(unknown)

Instance Method Summary collapse

Methods inherited from Gst::ControlSource

#control_source_get_value, #control_source_get_value_array

Methods inherited from Gst::Object

#add_control_binding, check_uniqueness, #control_bindings_disabled=, #control_rate, #control_rate=, default_deep_notify, #default_error, #get_control_binding, #get_g_value_array, #get_value, #get_value_array, #has_active_control_bindings, #has_ancestor, #has_as_ancestor, #has_as_parent, #name, #name=, #parent, #parent=, #path_string, #ref, ref_sink, #remove_control_binding, replace, #set_control_binding_disabled, #suggest_next_sync, #sync_values, #unparent, #unref

Constructor Details

#initializeGst::ControlSource

This returns a new, unbound Gst::LFOControlSource.

Instance Method Details

#amplitudeFloat

Specifies the amplitude for the waveform of this Gst::LFOControlSource.

Returns:

  • (Float)

    amplitude

#amplitude=(amplitude) ⇒ Float

Specifies the amplitude for the waveform of this Gst::LFOControlSource.

Parameters:

  • amplitude (Float)

Returns:

  • (Float)

    amplitude

  • (Float)

    amplitude

#frequencyFloat

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

Returns:

  • (Float)

    frequency

#frequency=(frequency) ⇒ Float

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

Parameters:

  • frequency (Float)

Returns:

  • (Float)

    frequency

  • (Float)

    frequency

#offsetFloat

Specifies the value offset for the waveform of this Gst::LFOControlSource.

Returns:

  • (Float)

    offset

#offset=(offset) ⇒ Float

Specifies the value offset for the waveform of this Gst::LFOControlSource.

Parameters:

  • offset (Float)

Returns:

  • (Float)

    offset

  • (Float)

    offset

#timeshiftInteger

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

To get a n nanosecond shift to the left use "(GST_SECOND / frequency) - n".

Returns:

  • (Integer)

    timeshift

#timeshift=(timeshift) ⇒ Integer

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

To get a n nanosecond shift to the left use "(GST_SECOND / frequency) - n".

Parameters:

  • timeshift (Integer)

Returns:

  • (Integer)

    timeshift

  • (Integer)

    timeshift

#waveformGstController::LFOWaveform

Specifies the waveform that should be used for this Gst::LFOControlSource.

Returns:

#waveform=(waveform) ⇒ GstController::LFOWaveform

Specifies the waveform that should be used for this Gst::LFOControlSource.

Parameters:

Returns: