1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 5<title>audiopanorama: GStreamer Good Plugins 1.0 Plugins Reference Manual</title> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="index.html" title="GStreamer Good Plugins 1.0 Plugins Reference Manual"> 8<link rel="up" href="ch01.html" title="gst-plugins-good Elements"> 9<link rel="prev" href="gst-plugins-good-plugins-audiokaraoke.html" title="audiokaraoke"> 10<link rel="next" href="gst-plugins-good-plugins-audiowsincband.html" title="audiowsincband"> 11<meta name="generator" content="GTK-Doc V1.28 (XML mode)"> 12<link rel="stylesheet" href="style.css" type="text/css"> 13</head> 14<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 15<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> 16<td width="100%" align="left" class="shortcuts"> 17<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 18 <a href="#gst-plugins-good-plugins-audiopanorama.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 19 <a href="#gst-plugins-good-plugins-audiopanorama.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span> 20 <a href="#gst-plugins-good-plugins-audiopanorama.properties" class="shortcut">Properties</a></span> 21</td> 22<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> 23<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> 24<td><a accesskey="p" href="gst-plugins-good-plugins-audiokaraoke.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> 25<td><a accesskey="n" href="gst-plugins-good-plugins-audiowsincband.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> 26</tr></table> 27<div class="refentry"> 28<a name="gst-plugins-good-plugins-audiopanorama"></a><div class="titlepage"></div> 29<div class="refnamediv"><table width="100%"><tr> 30<td valign="top"> 31<h2><span class="refentrytitle"><a name="gst-plugins-good-plugins-audiopanorama.top_of_page"></a>audiopanorama</span></h2> 32<p>audiopanorama</p> 33</td> 34<td class="gallery_image" valign="top" align="right"></td> 35</tr></table></div> 36<div class="refsect1"> 37<a name="gst-plugins-good-plugins-audiopanorama.properties"></a><h2>Properties</h2> 38<div class="informaltable"><table class="informaltable" border="0"> 39<colgroup> 40<col width="150px" class="properties_type"> 41<col width="300px" class="properties_name"> 42<col width="200px" class="properties_flags"> 43</colgroup> 44<tbody> 45<tr> 46<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a></td> 47<td class="property_name"><a class="link" href="gst-plugins-good-plugins-audiopanorama.html#GstAudioPanorama--panorama" title="The “panorama” property">panorama</a></td> 48<td class="property_flags">Read / Write</td> 49</tr> 50<tr> 51<td class="property_type"><a class="link" href="gst-plugins-good-plugins-audiopanorama.html#GstAudioPanoramaMethod" title="enum GstAudioPanoramaMethod"><span class="type">GstAudioPanoramaMethod</span></a></td> 52<td class="property_name"><a class="link" href="gst-plugins-good-plugins-audiopanorama.html#GstAudioPanorama--method" title="The “method” property">method</a></td> 53<td class="property_flags">Read / Write</td> 54</tr> 55</tbody> 56</table></div> 57</div> 58<a name="GstAudioPanorama"></a><div class="refsect1"> 59<a name="gst-plugins-good-plugins-audiopanorama.other"></a><h2>Types and Values</h2> 60<div class="informaltable"><table class="informaltable" width="100%" border="0"> 61<colgroup> 62<col width="150px" class="name"> 63<col class="description"> 64</colgroup> 65<tbody> 66<tr> 67<td class="datatype_keyword">struct</td> 68<td class="function_name"><a class="link" href="gst-plugins-good-plugins-audiopanorama.html#GstAudioPanorama-struct" title="struct GstAudioPanorama">GstAudioPanorama</a></td> 69</tr> 70<tr> 71<td class="datatype_keyword">enum</td> 72<td class="function_name"><a class="link" href="gst-plugins-good-plugins-audiopanorama.html#GstAudioPanoramaMethod" title="enum GstAudioPanoramaMethod">GstAudioPanoramaMethod</a></td> 73</tr> 74</tbody> 75</table></div> 76</div> 77<div class="refsect1"> 78<a name="gst-plugins-good-plugins-audiopanorama.object-hierarchy"></a><h2>Object Hierarchy</h2> 79<pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a> 80 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a> 81 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstObject.html#GstObject-struct">GstObject</a> 82 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct">GstElement</a> 83 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-libs-1.0/GstBaseTransform.html#GstBaseTransform-struct">GstBaseTransform</a> 84 <span class="lineart">╰──</span> GstAudioPanorama 85</pre> 86</div> 87<div class="refsect1"> 88<a name="gst-plugins-good-plugins-audiopanorama.description"></a><h2>Description</h2> 89<p>Stereo panorama effect with controllable pan position. One can choose between the default psychoacoustic panning method, 90which keeps the same perceived loudness, and a simple panning method that just controls the volume on one channel.</p> 91<div class="refsect2"> 92<a name="id-1.2.25.7.3"></a><h3>Example launch line</h3> 93<div class="informalexample"> 94 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> 95 <tbody> 96 <tr> 97 <td class="listing_lines" align="right"><pre>1 982 993 1004</pre></td> 101 <td class="listing_code"><pre class="programlisting">gst<span class="gtkdoc opt">-</span>launch<span class="gtkdoc opt">-</span><span class="number">1.0</span> audiotestsrc wave<span class="gtkdoc opt">=</span>saw <span class="gtkdoc opt">!</span> audiopanorama panorama<span class="gtkdoc opt">=-</span><span class="number">1.00</span> <span class="gtkdoc opt">!</span> alsasink 102gst<span class="gtkdoc opt">-</span>launch<span class="gtkdoc opt">-</span><span class="number">1.0</span> filesrc location<span class="gtkdoc opt">=</span><span class="string">"melo1.ogg"</span> <span class="gtkdoc opt">!</span> oggdemux <span class="gtkdoc opt">!</span> vorbisdec <span class="gtkdoc opt">!</span> audioconvert <span class="gtkdoc opt">!</span> audiopanorama panorama<span class="gtkdoc opt">=-</span><span class="number">1.00</span> <span class="gtkdoc opt">!</span> alsasink 103gst<span class="gtkdoc opt">-</span>launch<span class="gtkdoc opt">-</span><span class="number">1.0</span> audiotestsrc wave<span class="gtkdoc opt">=</span>saw <span class="gtkdoc opt">!</span> audioconvert <span class="gtkdoc opt">!</span> audiopanorama panorama<span class="gtkdoc opt">=-</span><span class="number">1.00</span> <span class="gtkdoc opt">!</span> audioconvert <span class="gtkdoc opt">!</span> alsasink 104gst<span class="gtkdoc opt">-</span>launch<span class="gtkdoc opt">-</span><span class="number">1.0</span> audiotestsrc wave<span class="gtkdoc opt">=</span>saw <span class="gtkdoc opt">!</span> audioconvert <span class="gtkdoc opt">!</span> audiopanorama method<span class="gtkdoc opt">=</span>simple panorama<span class="gtkdoc opt">=-</span><span class="number">0.50</span> <span class="gtkdoc opt">!</span> audioconvert <span class="gtkdoc opt">!</span> alsasink</pre></td> 105 </tr> 106 </tbody> 107 </table> 108</div> 109 110</div> 111<div class="refsynopsisdiv"> 112<h2>Synopsis</h2> 113<div class="refsect2"> 114<a name="id-1.2.25.7.4.1"></a><h3>Element Information</h3> 115<div class="variablelist"><table border="0" class="variablelist"> 116<colgroup> 117<col align="left" valign="top"> 118<col> 119</colgroup> 120<tbody> 121<tr> 122<td><p><span class="term">plugin</span></p></td> 123<td> 124 <a class="link" href="gst-plugins-good-plugins-plugin-audiofx.html#plugin-audiofx">audiofx</a> 125 </td> 126</tr> 127<tr> 128<td><p><span class="term">author</span></p></td> 129<td>Stefan Kost <ensonic@users.sf.net></td> 130</tr> 131<tr> 132<td><p><span class="term">class</span></p></td> 133<td>Filter/Effect/Audio</td> 134</tr> 135</tbody> 136</table></div> 137</div> 138<hr> 139<div class="refsect2"> 140<a name="id-1.2.25.7.4.2"></a><h3>Element Pads</h3> 141<div class="variablelist"><table border="0" class="variablelist"> 142<colgroup> 143<col align="left" valign="top"> 144<col> 145</colgroup> 146<tbody> 147<tr> 148<td><p><span class="term">name</span></p></td> 149<td>sink</td> 150</tr> 151<tr> 152<td><p><span class="term">direction</span></p></td> 153<td>sink</td> 154</tr> 155<tr> 156<td><p><span class="term">presence</span></p></td> 157<td>always</td> 158</tr> 159<tr> 160<td><p><span class="term">details</span></p></td> 161<td>audio/x-raw, format=(string){ F32LE, S16LE }, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2 ], layout=(string)interleaved</td> 162</tr> 163</tbody> 164</table></div> 165<div class="variablelist"><table border="0" class="variablelist"> 166<colgroup> 167<col align="left" valign="top"> 168<col> 169</colgroup> 170<tbody> 171<tr> 172<td><p><span class="term">name</span></p></td> 173<td>src</td> 174</tr> 175<tr> 176<td><p><span class="term">direction</span></p></td> 177<td>source</td> 178</tr> 179<tr> 180<td><p><span class="term">presence</span></p></td> 181<td>always</td> 182</tr> 183<tr> 184<td><p><span class="term">details</span></p></td> 185<td>audio/x-raw, format=(string){ F32LE, S16LE }, rate=(int)[ 1, 2147483647 ], channels=(int)2, layout=(string)interleaved</td> 186</tr> 187</tbody> 188</table></div> 189</div> 190</div> 191</div> 192<div class="refsect1"> 193<a name="gst-plugins-good-plugins-audiopanorama.functions_details"></a><h2>Functions</h2> 194<p></p> 195</div> 196<div class="refsect1"> 197<a name="gst-plugins-good-plugins-audiopanorama.other_details"></a><h2>Types and Values</h2> 198<div class="refsect2"> 199<a name="GstAudioPanorama-struct"></a><h3>struct GstAudioPanorama</h3> 200<pre class="programlisting">struct GstAudioPanorama;</pre> 201</div> 202<hr> 203<div class="refsect2"> 204<a name="GstAudioPanoramaMethod"></a><h3>enum GstAudioPanoramaMethod</h3> 205<div class="refsect3"> 206<a name="GstAudioPanoramaMethod.members"></a><h4>Members</h4> 207<div class="informaltable"><table class="informaltable" width="100%" border="0"> 208<colgroup> 209<col width="300px" class="enum_members_name"> 210<col class="enum_members_description"> 211<col width="200px" class="enum_members_annotations"> 212</colgroup> 213<tbody> 214<tr> 215<td class="enum_member_name"><p><a name="METHOD-PSYCHOACOUSTIC:CAPS"></a>METHOD_PSYCHOACOUSTIC</p></td> 216<td> </td> 217<td> </td> 218</tr> 219<tr> 220<td class="enum_member_name"><p><a name="METHOD-SIMPLE:CAPS"></a>METHOD_SIMPLE</p></td> 221<td> </td> 222<td> </td> 223</tr> 224</tbody> 225</table></div> 226</div> 227</div> 228</div> 229<div class="refsect1"> 230<a name="gst-plugins-good-plugins-audiopanorama.property-details"></a><h2>Property Details</h2> 231<div class="refsect2"> 232<a name="GstAudioPanorama--panorama"></a><h3>The <code class="literal">“panorama”</code> property</h3> 233<pre class="programlisting"> “panorama” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a></pre> 234<p>Position in stereo panorama (-1.0 left -> 1.0 right).</p> 235<p>Flags: Read / Write</p> 236<p>Allowed values: [-1,1]</p> 237<p>Default value: 0</p> 238</div> 239<hr> 240<div class="refsect2"> 241<a name="GstAudioPanorama--method"></a><h3>The <code class="literal">“method”</code> property</h3> 242<pre class="programlisting"> “method” <a class="link" href="gst-plugins-good-plugins-audiopanorama.html#GstAudioPanoramaMethod" title="enum GstAudioPanoramaMethod"><span class="type">GstAudioPanoramaMethod</span></a></pre> 243<p>Panning method: psychoacoustic mode keeps the same perceived loudness, 244while simple mode just controls the volume of one channel. It's merely 245a matter of taste which method should be chosen.</p> 246<p>Flags: Read / Write</p> 247<p>Default value: Psychoacoustic Panning (default)</p> 248</div> 249</div> 250</div> 251<div class="footer"> 252<hr>Generated by GTK-Doc V1.28</div> 253</body> 254</html>