| 1 | |
| 2 | <refentry id="ceps"> |
| 3 | <indexterm id="IndexCeps"><primary>ceps</primary></indexterm> |
| 4 | <refentryinfo><title>Array Operations: Cepstrum</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>ceps</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | <refnamediv> |
| 10 | <refname>ceps</refname> |
| 11 | <refpurpose> |
| 12 | Calculate the cepstrum of an array input, optionally filtering coefficients. |
| 13 | </refpurpose> |
| 14 | </refnamediv> |
| 15 | |
| 16 | <refsect1> |
| 17 | <title>Description</title> |
| 18 | <para> |
| 19 | |
| 20 | </para> |
| 21 | </refsect1> |
| 22 | |
| 23 | <refsect1> |
| 24 | <title>Syntax</title> |
| 25 | <synopsis>keps[] <command>ceps</command> kmags[][, icoefs]</synopsis> |
| 26 | </refsect1> |
| 27 | |
| 28 | <refsect1> |
| 29 | <title>Initialization</title> |
| 30 | <para> |
| 31 | <emphasis>icoefs</emphasis> -- the number of retained |
| 32 | coefficients in the cepstrum output. By default, no coefficients |
| 33 | are filtered. |
| 34 | </para> |
| 35 | </refsect1> |
| 36 | <refsect1> |
| 37 | <title>Performance</title> |
| 38 | <para> |
| 39 | <emphasis>keps[]</emphasis> -- the cepstrum output, an array of |
| 40 | size N+1, where N is a power of two. |
| 41 | </para> |
| 42 | <para> |
| 43 | <emphasis>kmags[]</emphasis> -- an input array containing N+1 magnitudes. |
| 44 | </para> |
| 45 | </refsect1> |
| 46 | |
| 47 | <refsect1> |
| 48 | <title>Examples</title> |
| 49 | <para> |
| 50 | Here is an example of the use of the <emphasis>ceps</emphasis> opcode. It uses the file <ulink url="examples/ceps.csd"><citetitle>ceps.csd</citetitle></ulink>. |
| 51 | <example> |
| 52 | <title>Example of the <emphasis>ceps</emphasis> opcode.</title> |
| 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/ceps.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 55 | </example> |
| 56 | </para> |
| 57 | </refsect1> |
| 58 | |
| 59 | <refsect1> |
| 60 | <title>See Also</title> |
| 61 | <para><link linkend="arraysfft"><citetitle></citetitle>Array-based spectral opcodes</link></para> |
| 62 | </refsect1> |
| 63 | |
| 64 | <refsect1> |
| 65 | <title>Credits</title> |
| 66 | <para> |
| 67 | <simplelist> |
| 68 | <member>Author: Victor Lazzarini</member> |
| 69 | <member>2014</member> |
| 70 | </simplelist> |
| 71 | </para> |
| 72 | |
| 73 | </refsect1> |
| 74 | </refentry> |