audioinvert

audioinvert — Swaps upper and lower half of audio samples

Synopsis




                    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

Element Information

plugin audiofx
author Sebastian Dröge <slomo@circular-chaos.org>
class Filter/Effect/Audio

Details

GstAudioInvert

typedef struct {
  GstAudioFilter audiofilter;

  gfloat degree;
} GstAudioInvert;

Property Details

The "degree" property

  "degree"                   gfloat                : Read / Write

Degree of inversion.

Allowed values: [0,1]

Default value: 0