| 1 | <refentry id="rifft"> |
| 2 | <indexterm id="IndexIrfft"><primary>rifft</primary></indexterm> |
| 3 | <refentryinfo><title>Array Operations: Fast Fourier Transform</title></refentryinfo> |
| 4 | <refmeta> |
| 5 | <refentrytitle>rifft</refentrytitle> |
| 6 | </refmeta> |
| 7 | |
| 8 | <refnamediv> |
| 9 | <refname>rifft</refname> |
| 10 | <refpurpose> |
| 11 | Complex-to-real Inverse Fast Fourier Transform. |
| 12 | </refpurpose> |
| 13 | </refnamediv> |
| 14 | |
| 15 | <refsect1> |
| 16 | <title>Description</title> |
| 17 | <para> |
| 18 | Applies an Inverse Fast Fourier Transform to a complex-value input 1-dimensional array producing a real-valued output. |
| 19 | The output is another array containing the real-valued signal. If the input array is power-of-two, the output |
| 20 | array size will match the input size. Otherwise, the output will have two fewer values (input size - 2). |
| 21 | </para> |
| 22 | </refsect1> |
| 23 | |
| 24 | <refsect1> |
| 25 | <title>Syntax</title> |
| 26 | <synopsis>kout[] <command>rifft</command> kin[]</synopsis> |
| 27 | </refsect1> |
| 28 | |
| 29 | <refsect1> |
| 30 | <title>Performance</title> |
| 31 | <para> |
| 32 | <emphasis>kout[]</emphasis> -- output array containing the real-valued output. It will be created if it does not exist. |
| 33 | </para> |
| 34 | <para> |
| 35 | <emphasis>kin[]</emphasis> -- input array containing the complex input. |
| 36 | </para> |
| 37 | </refsect1> |
| 38 | |
| 39 | <refsect1> |
| 40 | <title>Examples</title> |
| 41 | <para> |
| 42 | Here is an example of the rifft opcode. It uses the file <ulink |
| 43 | url="examples/irfft.csd"><citetitle>irfft.csd</citetitle></ulink>.</para> |
| 44 | |
| 45 | <example> |
| 46 | <title>Example of the rifft opcode.</title> |
| 47 | |
| 48 | <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> |
| 49 | <xi:include href="examples-xml/irfft.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 50 | </example> |
| 51 | </refsect1> |
| 52 | |
| 53 | <refsect1> |
| 54 | <title>See Also</title> |
| 55 | <para><link linkend="vectorial"><citetitle></citetitle>Vectorial opcodes</link></para> |
| 56 | <para><link linkend="arrayOpcodes"><citetitle></citetitle>array opcodes</link></para> |
| 57 | <para><link linkend="arraysfft"><citetitle></citetitle>Array-based spectral opcodes</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>2014</member> |
| 67 | </simplelist> |
| 68 | </para> |
| 69 | <para>New in version 6.04</para> |
| 70 | </refsect1> |
| 71 | </refentry> |