audiopanorama

audiopanorama — Positions audio streams in the stereo panorama

Synopsis

struct              GstAudioPanorama;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstBaseTransform
                     +----GstAudioPanorama

Properties

  "panorama"                 gfloat                : Read / Write
  "method"                   GstAudioPanoramaMethod  : Read / Write

Description

Stereo panorama effect with controllable pan position. One can choose between the default psychoacoustic panning method, which keeps the same perceived loudness, and a simple panning method that just controls the volume on one channel.

Example launch line

1
2
3
4
gst-launch audiotestsrc wave=saw ! audiopanorama panorama=-1.00 ! alsasink
gst-launch filesrc location="melo1.ogg" ! oggdemux ! vorbisdec ! audioconvert ! audiopanorama panorama=-1.00 ! alsasink
gst-launch audiotestsrc wave=saw ! audioconvert ! audiopanorama panorama=-1.00 ! audioconvert ! alsasink
gst-launch audiotestsrc wave=saw ! audioconvert ! audiopanorama method=simple panorama=-0.50 ! audioconvert ! alsasink

Synopsis

Element Information

plugin

audiofx

author

Stefan Kost <ensonic@users.sf.net>

class

Filter/Effect/Audio

Element Pads

name

sink

direction

sink

presence

always

details

audio/x-raw-float, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2 ], endianness=(int)1234, width=(int)32

audio/x-raw-int, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2 ], endianness=(int)1234, width=(int)16, depth=(int)16, signed=(boolean)true

name

src

direction

source

presence

always

details

audio/x-raw-float, rate=(int)[ 1, 2147483647 ], channels=(int)2, endianness=(int)1234, width=(int)32

audio/x-raw-int, rate=(int)[ 1, 2147483647 ], channels=(int)2, endianness=(int)1234, width=(int)16, depth=(int)16, signed=(boolean)true

Details

struct GstAudioPanorama

struct GstAudioPanorama;

Property Details

The "panorama" property

  "panorama"                 gfloat                : Read / Write

Position in stereo panorama (-1.0 left -> 1.0 right).

Allowed values: [-1,1]

Default value: 0


The "method" property

  "method"                   GstAudioPanoramaMethod  : Read / Write

Panning method: psychoacoustic mode keeps the same perceived loudness, while simple mode just controls the volume of one channel. It's merely a matter of taste which method should be chosen.

Default value: Psychoacoustic Panning (default)

Since 0.10.6