Class: GstController::LFOControlSource

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

Instance Method Summary collapse

Constructor Details

#initialize ⇒ Gst::ControlSource

This returns a new, unbound Gst::LFOControlSource.

Instance Method Details

#amplitude ⇒ Float

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

#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.

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

#offset ⇒ Float

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

#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".

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

#waveform ⇒ GstController::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: