| 1 | <refentry id="fftinv"> |
| 2 | <indexterm id="IndexIfft"><primary>fftinv</primary></indexterm> |
| 3 | |
| 4 | <refentryinfo><title>Array Operations: Fast Fourier Transform</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>fftinv</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | <refnamediv> |
| 10 | <refname>fftinv</refname> |
| 11 | <refpurpose> |
| 12 | Complex-to-complex Inverse Fast Fourier Transform. |
| 13 | </refpurpose> |
| 14 | </refnamediv> |
| 15 | |
| 16 | <refsect1> |
| 17 | <title>Description</title> |
| 18 | <para> |
| 19 | Applies an Inverse Fast Fourier Transform to a complex-value input 1-dimensional array producing a complex-valued output. |
| 20 | The output is another array containing the complex-valued signal, and both arrays are arranged in interleaved real-imaginary format. |
| 21 | The output array will have the same size as the input, and the transform size will be equivalent to half of the length of the array. |
| 22 | Non-power-of-two transforms are limited to even sizes with not too many factors. |
| 23 | </para> |
| 24 | </refsect1> |
| 25 | |
| 26 | <refsect1> |
| 27 | <title>Syntax</title> |
| 28 | <synopsis>kout[] <command>fftinv</command> kin[]</synopsis> |
| 29 | </refsect1> |
| 30 | |
| 31 | <refsect1> |
| 32 | <title>Performance</title> |
| 33 | <para> |
| 34 | <emphasis>kout[]</emphasis> -- output array containing the complex-valued output. It will be created if it does not exist. |
| 35 | </para> |
| 36 | <para> |
| 37 | <emphasis>kin[]</emphasis> -- input array containing the complex-valued input. |
| 38 | </para> |
| 39 | </refsect1> |
| 40 | |
| 41 | <refsect1> |
| 42 | <title>Examples</title> |
| 43 | <para> |
| 44 | Here is an example of the fftinv opcode. It uses the file <ulink |
| 45 | url="examples/ifft.csd"><citetitle>ifft.csd</citetitle></ulink>.</para> |
| 46 | |
| 47 | <example> |
| 48 | <title>Example of the fftinv 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/ifft.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="vectorial"><citetitle></citetitle>Vectorial opcodes</link></para> |
| 58 | <para><link linkend="arrayOpcodes"><citetitle></citetitle>array opcodes</link></para> |
| 59 | <para><link linkend="arraysfft"><citetitle></citetitle>Array-based spectral opcodes</link></para> |
| 60 | </refsect1> |
| 61 | |
| 62 | <refsect1> |
| 63 | <title>Credits</title> |
| 64 | <para> |
| 65 | <simplelist> |
| 66 | <member>Author: &namevictor;</member> |
| 67 | <member>NUI Maynooth</member> |
| 68 | <member>2014</member> |
| 69 | </simplelist> |
| 70 | </para> |
| 71 | <para>New in version 6.04</para> |
| 72 | </refsect1> |
| 73 | </refentry> |