| 1 | <refentry id="deinterleave"> |
| 2 | <indexterm id="IndexDeinterleave"><primary>deinterleave</primary></indexterm> |
| 3 | |
| 4 | <refentryinfo><title>Array Opcodes</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>deinterleave</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | <refnamediv> |
| 10 | <refname>deinterleave</refname> |
| 11 | <refpurpose> |
| 12 | Deinterleaves arrays by picking alternate data from its input. |
| 13 | </refpurpose> |
| 14 | </refnamediv> |
| 15 | |
| 16 | <refsect1> |
| 17 | <title>Description</title> |
| 18 | <para> |
| 19 | Takes an input array and deinterleaves its data by choosing the |
| 20 | data from alternate positions. |
| 21 | </para> |
| 22 | </refsect1> |
| 23 | |
| 24 | <refsect1> |
| 25 | <title>Syntax</title> |
| 26 | <synopsis>kout1[], kout2[] <command>deinterleave</command> kin[]</synopsis> |
| 27 | </refsect1> |
| 28 | |
| 29 | <refsect1> |
| 30 | <title>Performance</title> |
| 31 | <para> |
| 32 | <emphasis>kout1[], kout2[]</emphasis> -- output arrays containing the |
| 33 | deinterleaved output. They will be created if not existent. |
| 34 | </para> |
| 35 | <para> |
| 36 | <emphasis>kin[]</emphasis> -- input array containing |
| 37 | the values to be deinterleaved. |
| 38 | </para> |
| 39 | </refsect1> |
| 40 | |
| 41 | <refsect1> |
| 42 | <title>Examples</title> |
| 43 | <para> |
| 44 | Here is an example of the deinterleave opcode. It uses the file <ulink |
| 45 | url="examples/deinterleave.csd"><citetitle>deinterleave.csd</citetitle></ulink>.</para> |
| 46 | |
| 47 | <example> |
| 48 | <title>Example of the deinterleave opcode.</title> |
| 49 | |
| 50 | <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> |
| 51 | <xi:include href="examples-xml/deinterleave.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 52 | </example> |
| 53 | </refsect1> |
| 54 | |
| 55 | <refsect1> |
| 56 | <title>See also</title> |
| 57 | <para><link linkend="arrayOpcodes"><citetitle>Array opcodes</citetitle></link></para> |
| 58 | </refsect1> |
| 59 | |
| 60 | <refsect1> |
| 61 | <title>Credits</title> |
| 62 | <para> |
| 63 | <simplelist> |
| 64 | <member>Author: &namevictor;</member> |
| 65 | <member>NUI Maynooth</member> |
| 66 | <member>2018</member> |
| 67 | </simplelist> |
| 68 | </para> |
| 69 | <para>New in version 6.12</para> |
| 70 | </refsect1> |
| 71 | </refentry> |