audioamplify

audioamplify — Amplifies an audio stream by a given factor

Synopsis

                    GstAudioAmplify;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstBaseTransform
                     +----GstAudioFilter
                           +----GstAudioAmplify

Properties

  "amplification"            gfloat                : Read / Write
  "clipping-method"          GstAudioPanoramaClippingMethod  : Read / Write

Description

Amplifies an audio stream by a given factor and allows the selection of different clipping modes. The difference between the clipping modes is best evaluated by testing. <title>Example launch line</title>

gst-launch audiotestsrc wave=saw ! audioamplify amplification=1.5 ! alsasink
gst-launch filesrc location="melo1.ogg" ! oggdemux ! vorbisdec ! audioconvert ! audioamplify amplification=1.5 method=wrap-negative ! alsasink
gst-launch audiotestsrc wave=saw ! audioconvert ! audioamplify amplification=1.5 method=wrap-positive ! audioconvert ! alsasink

Details

GstAudioAmplify

typedef struct _GstAudioAmplify GstAudioAmplify;

Property Details

The "amplification" property

  "amplification"            gfloat                : Read / Write

Factor of amplification.

Default value: 1


The "clipping-method" property

  "clipping-method"          GstAudioPanoramaClippingMethod  : Read / Write

Clipping method: clip mode set values higher than the maximum to the maximum. The wrap-negative mode pushes those values back from the opposite side, wrap-positive pushes them back from the same side.

Default value: Normal clipping (default)