audioinvert

audioinvert — Swaps upper and lower half of audio samples

Synopsis

                    GstAudioInvert;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstBaseTransform
                     +----GstAudioFilter
                           +----GstAudioInvert

Properties

  "degree"                   gfloat                : Read / Write

Description

Swaps upper and lower half of audio samples. Mixing an inverted sample on top of the original with a slight delay can produce effects that sound like resonance. Creating a stereo sample from a mono source, with one channel inverted produces wide-stereo sounds.

Example launch line

gst-launch audiotestsrc wave=saw ! audioinvert invert=0.4 ! alsasink
gst-launch filesrc location="melo1.ogg" ! oggdemux ! vorbisdec ! audioconvert ! audioinvert invert=0.4 ! alsasink
gst-launch audiotestsrc wave=saw ! audioconvert ! audioinvert invert=0.4 ! audioconvert ! alsasink

Details

GstAudioInvert

typedef struct _GstAudioInvert GstAudioInvert;

Property Details

The "degree" property

  "degree"                   gfloat                : Read / Write

Degree of inversion.

Allowed values: [0,1]

Default value: 0