audioinvert
audioinvert — Swaps upper and lower half of audio samples
|
|
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
Element Information
| plugin |
audiofx
|
| author |
Sebastian Dröge <slomo@circular-chaos.org> |
| class |
Filter/Effect/Audio |
Element Pads
| name |
src |
| direction |
source |
| presence |
always |
| details |
audio/x-raw-int, depth=(int)16, width=(int)16, endianness=(int)1234, signed=(boolean)true, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ]; audio/x-raw-float, width=(int)32, endianness=(int)1234, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ] |
| name |
sink |
| direction |
sink |
| presence |
always |
| details |
audio/x-raw-int, depth=(int)16, width=(int)16, endianness=(int)1234, signed=(boolean)true, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ]; audio/x-raw-float, width=(int)32, endianness=(int)1234, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ] |
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