4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>scaletempo</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
<link rel="start" href="index.html" title="GStreamer Bad Plugins 0.10 Plugins Reference Manual">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
7
<link rel="home" href="index.html" title="GStreamer Bad Plugins 0.10 Plugins Reference Manual">
8
8
<link rel="up" href="ch01.html" title="gst-plugins-bad Elements">
9
9
<link rel="prev" href="gst-plugins-bad-plugins-rtpmux.html" title="rtpmux">
10
10
<link rel="next" href="gst-plugins-bad-plugins-sdlaudiosink.html" title="sdlaudiosink">
43
43
<td valign="top" align="right"></td>
44
44
</tr></table></div>
45
<div class="refsynopsisdiv">
45
<div class="refsynopsisdiv" title="Synopsis">
46
46
<a name="gst-plugins-bad-plugins-scaletempo.synopsis"></a><h2>Synopsis</h2>
47
47
<a name="GstScaletempo"></a><pre class="synopsis">
48
48
<a class="link" href="gst-plugins-bad-plugins-scaletempo.html#GstScaletempo-struct" title="GstScaletempo">GstScaletempo</a>;
51
<div class="refsect1" lang="en">
51
<div class="refsect1" title="Object Hierarchy">
52
52
<a name="gst-plugins-bad-plugins-scaletempo.object-hierarchy"></a><h2>Object Hierarchy</h2>
53
53
<pre class="synopsis">
55
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
55
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
58
href="../gstreamer-0.10/GstObject.html"
61
href="../gstreamer-0.10/GstElement.html"
64
href="../gstreamer-libs-0.10/GstBaseTransform.html"
63
<div class="refsect1" lang="en">
69
<div class="refsect1" title="Properties">
64
70
<a name="gst-plugins-bad-plugins-scaletempo.properties"></a><h2>Properties</h2>
65
71
<pre class="synopsis">
66
72
"<a class="link" href="gst-plugins-bad-plugins-scaletempo.html#GstScaletempo--overlap" title='The "overlap" property'>overlap</a>" <a
67
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
73
href="../glib/glib-Basic-Types.html#gdouble"
68
74
>gdouble</a> : Read / Write
69
75
"<a class="link" href="gst-plugins-bad-plugins-scaletempo.html#GstScaletempo--rate" title='The "rate" property'>rate</a>" <a
70
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
76
href="../glib/glib-Basic-Types.html#gdouble"
71
77
>gdouble</a> : Read
72
78
"<a class="link" href="gst-plugins-bad-plugins-scaletempo.html#GstScaletempo--search" title='The "search" property'>search</a>" <a
73
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
79
href="../glib/glib-Basic-Types.html#guint"
74
80
>guint</a> : Read / Write
75
81
"<a class="link" href="gst-plugins-bad-plugins-scaletempo.html#GstScaletempo--stride" title='The "stride" property'>stride</a>" <a
76
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
82
href="../glib/glib-Basic-Types.html#guint"
77
83
>guint</a> : Read / Write
80
<div class="refsect1" lang="en">
86
<div class="refsect1" title="Description">
81
87
<a name="gst-plugins-bad-plugins-scaletempo.description"></a><h2>Description</h2>
84
<div class="refsect2" lang="en">
85
<a name="id2999421"></a><h3>Example pipelines</h3>
90
<div class="refsect2" title="Example pipelines">
91
<a name="id2813159"></a><h3>Example pipelines</h3>
87
93
Scale tempo while maintaining pitch
88
94
(WSOLA-like technique with cross correlation)
122
128
(roughly a dot-product). Scaletempo consumes most of its CPU cycles here.
125
<div class="refsynopsisdiv">
131
<div class="refsynopsisdiv" title="Synopsis">
126
132
<h2>Synopsis</h2>
127
<div class="refsect2" lang="en">
128
<a name="id3025050"></a><h3>Element Information</h3>
133
<div class="refsect2" title="Element Information">
134
<a name="id2786104"></a><h3>Element Information</h3>
129
135
<div class="variablelist"><table border="0">
130
136
<col align="left" valign="top">
207
<div class="refsect1" lang="en">
213
<div class="refsect1" title="Details">
208
214
<a name="gst-plugins-bad-plugins-scaletempo.details"></a><h2>Details</h2>
209
<div class="refsect2" lang="en">
215
<div class="refsect2" title="GstScaletempo">
210
216
<a name="GstScaletempo-struct"></a><h3>GstScaletempo</h3>
211
217
<pre class="programlisting">typedef struct _GstScaletempo GstScaletempo;</pre>
216
<div class="refsect1" lang="en">
222
<div class="refsect1" title="Property Details">
217
223
<a name="gst-plugins-bad-plugins-scaletempo.property-details"></a><h2>Property Details</h2>
218
<div class="refsect2" lang="en">
224
<div class="refsect2" title='The "overlap" property'>
219
225
<a name="GstScaletempo--overlap"></a><h3>The <code class="literal">"overlap"</code> property</h3>
220
226
<pre class="programlisting"> "overlap" <a
221
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
227
href="../glib/glib-Basic-Types.html#gdouble"
222
228
>gdouble</a> : Read / Write</pre>
223
229
<p>Percentage of stride to overlap.</p>
224
230
<p>Allowed values: [0,1]</p>
225
231
<p>Default value: 0.2</p>
228
<div class="refsect2" lang="en">
234
<div class="refsect2" title='The "rate" property'>
229
235
<a name="GstScaletempo--rate"></a><h3>The <code class="literal">"rate"</code> property</h3>
230
236
<pre class="programlisting"> "rate" <a
231
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
237
href="../glib/glib-Basic-Types.html#gdouble"
232
238
>gdouble</a> : Read</pre>
233
239
<p>Current playback rate.</p>
234
240
<p>Allowed values: [-2.14748e+09,2.14748e+09]</p>
235
241
<p>Default value: 1</p>
238
<div class="refsect2" lang="en">
244
<div class="refsect2" title='The "search" property'>
239
245
<a name="GstScaletempo--search"></a><h3>The <code class="literal">"search"</code> property</h3>
240
246
<pre class="programlisting"> "search" <a
241
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
247
href="../glib/glib-Basic-Types.html#guint"
242
248
>guint</a> : Read / Write</pre>
243
249
<p>Length in milliseconds to search for best overlap position.</p>
244
250
<p>Allowed values: <= 500</p>
245
251
<p>Default value: 14</p>
248
<div class="refsect2" lang="en">
254
<div class="refsect2" title='The "stride" property'>
249
255
<a name="GstScaletempo--stride"></a><h3>The <code class="literal">"stride"</code> property</h3>
250
256
<pre class="programlisting"> "stride" <a
251
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
257
href="../glib/glib-Basic-Types.html#guint"
252
258
>guint</a> : Read / Write</pre>
253
259
<p>Length in milliseconds to output each stride.</p>
254
260
<p>Allowed values: [1,5000]</p>