audiopanorama

audiopanorama — Positions audio streams in the stereo panorama

Synopsis

struct              GstAudioPanorama;

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----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-1.0 audiotestsrc wave=saw ! audiopanorama panorama=-1.00 ! alsasink
gst-launch-1.0 filesrc location="melo1.ogg" ! oggdemux ! vorbisdec ! audioconvert ! audiopanorama panorama=-1.00 ! alsasink
gst-launch-1.0 audiotestsrc wave=saw ! audioconvert ! audiopanorama panorama=-1.00 ! audioconvert ! alsasink
gst-launch-1.0 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, format=(string){ F32LE, S16LE }, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2 ], layout=(string)interleaved

name

src

direction

source

presence

always

details

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

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