Debian Codegraph @

opcodes/olabuffer.xml

raw symbols SCIP
1 <refentry id="olabuffer">
2 <indexterm id="IndexOlabuffer"><primary>olabuffer</primary></indexterm>
3 <refentryinfo><title>Miscellaneous</title></refentryinfo>
4 <refmeta>
5 <refentrytitle>olabuffer</refentrytitle>
6 </refmeta>
7
8 <refnamediv>
9 <refname>olabuffer</refname>
10 <refpurpose>
11 Sum overlapping frames of audio as k-rate arrays and read as an audio signal
12 </refpurpose>
13 </refnamediv>
14
15 <refsect1>
16 <title>Description</title>
17 <para>Plugin opcode in framebuffer.</para>
18 <para>
19 <emphasis>olabuffer</emphasis> This opcode takes 1 dimensional k-rate arrays that contain sequential frames of audio and sums them based on an overlap factor resulting in an audio signal output. This is useful for frame based audio processing such as spectral analysis/synthesis.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis>aout <command>olabuffer</command> kin, ioverlap</synopsis>
26
27 </refsect1>
28
29 <refsect1>
30 <title>Initialization</title>
31 <para>
32 <emphasis>ioverlap</emphasis> -- The amount of overlaps per k-array input frame sample size. For example for an input window size of 1024, and a hop size of 256 the overlap factor would be 4. The overlap factor must be larger than or equal to ksmps and must also be an integer multiple of the input k-rate array sample count.
33 </para>
34 </refsect1>
35
36 <refsect1>
37 <title>Performance</title>
38 <para>
39 <emphasis>aout</emphasis> -- The resulting audio signal from the added input frames.
40 <emphasis>kin</emphasis> -- A k-rate array containing sequential frames of audio.
41 </para>
42
43 </refsect1>
44
45 <refsect1>
46 <title>Examples</title>
47 <para>
48 Here is a simple example of the olabuffer opcode. It uses the file <ulink url="examples/framebuffer.csd"><citetitle>framebuffer.csd</citetitle></ulink>.
49
50 <example>
51 <title>Example of the olabuffer opcode.</title>
52
53 <para>See the sections <link linkend="UsingRealTime"><citetitle>Real-time Audio</citetitle></link> and <link linkend="CommandFlags"><citetitle>Command Line Flags</citetitle></link> for more information on using command line flags.</para>
54 <xi:include href="examples-xml/framebuffer.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
55 </example>
56 </para>
57
58 </refsect1>
59
60 <refsect1>
61 <title>See Also</title>
62 <para><link linkend="arraysfft"><citetitle></citetitle>Array-based spectral opcodes</link></para>
63 </refsect1>
64
65 <refsect1>
66 <title>Credits</title>
67 <para>
68 <simplelist>
69 <member>Author: Edward Costello;</member>
70 <member>NUIM, 2015</member>
71 </simplelist>
72 </para>
73 <para>New in version 6.06</para>
74 </refsect1>
75 </refentry>