audioinvert

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-1.0 audiotestsrc wave=saw ! audioinvert degree=0.4 ! alsasink
 gst-launch-1.0 filesrc location="melo1.ogg" ! oggdemux ! vorbisdec ! audioconvert ! audioinvert degree=0.4 ! alsasink
 gst-launch-1.0 audiotestsrc wave=saw ! audioconvert ! audioinvert degree=0.4 ! audioconvert ! alsasink

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseTransform
                    ╰──GstAudioFilter
                        ╰──audioinvert

Factory details

Authors: – Sebastian Dröge

Classification:Filter/Effect/Audio

Rank – none

Plugin – audiofx

Package – GStreamer Good Plug-ins

Pad Templates

sink

audio/x-raw:
         format: { S16LE, F32LE }
           rate: [ 1, 2147483647 ]
       channels: [ 1, 2147483647 ]
         layout: { (string)interleaved, (string)non-interleaved }

Presencealways

Directionsink

Object typeGstPad


src

audio/x-raw:
         format: { S16LE, F32LE }
           rate: [ 1, 2147483647 ]
       channels: [ 1, 2147483647 ]
         layout: { (string)interleaved, (string)non-interleaved }

Presencealways

Directionsrc

Object typeGstPad


Properties

degree

“degree” gfloat

Degree of inversion

Flags : Read / Write

Default value : 0


The results of the search are