| 1 | |
| 2 | <refentry id="trlowest"> |
| 3 | <indexterm id="Indextrlowest"><primary>trlowest</primary></indexterm> |
| 4 | |
| 5 | <refentryinfo><title>Spectral Processing:Streaming</title></refentryinfo> |
| 6 | <refmeta> |
| 7 | <refentrytitle>trlowest</refentrytitle> |
| 8 | </refmeta> |
| 9 | |
| 10 | <refnamediv> |
| 11 | <refname>trlowest</refname> |
| 12 | <refpurpose> |
| 13 | Extracts the lowest-frequency track from a streaming track input signal. |
| 14 | </refpurpose> |
| 15 | </refnamediv> |
| 16 | |
| 17 | <refsect1> |
| 18 | <title>Description</title> |
| 19 | <para> |
| 20 | The <emphasis>trlowest</emphasis> opcode takes an input containg TRACKS pv streaming signals (as generated, |
| 21 | for instance by <emphasis>partials</emphasis>) and outputs only the lowest track. In addition it outputs |
| 22 | two k-rate signals, corresponding to the frequency and amplitude of the lowest track |
| 23 | signal. |
| 24 | </para> |
| 25 | </refsect1> |
| 26 | |
| 27 | <refsect1> |
| 28 | <title>Syntax</title> |
| 29 | <synopsis>fsig, kfr, kamp <command>trlowest</command> fin1, kscal</synopsis> |
| 30 | </refsect1> |
| 31 | |
| 32 | <refsect1> |
| 33 | <title>Performance</title> |
| 34 | <para> |
| 35 | <emphasis>fsig</emphasis> -- output pv stream in TRACKS format |
| 36 | </para> |
| 37 | |
| 38 | <para> |
| 39 | <emphasis>kfr</emphasis> -- frequency (in Hz) of the lowest-frequency track |
| 40 | </para> |
| 41 | |
| 42 | <para> |
| 43 | <emphasis>kamp</emphasis> -- amplitude of the lowest-frequency track |
| 44 | </para> |
| 45 | <para> |
| 46 | |
| 47 | <emphasis>fin</emphasis> -- input pv stream in TRACKS format. |
| 48 | </para> |
| 49 | |
| 50 | <para> |
| 51 | <emphasis>kscal</emphasis> -- amplitude scaling of output. |
| 52 | </para> |
| 53 | </refsect1> |
| 54 | |
| 55 | <refsect1> |
| 56 | <title>Examples</title> |
| 57 | <para> |
| 58 | Here is an example of the trlowest opcode. It uses the file <ulink url="examples/trlowest.csd"><citetitle>trlowest.csd</citetitle></ulink>. |
| 59 | <example> |
| 60 | <title>Example of the trlowest opcode.</title> |
| 61 | <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> |
| 62 | <xi:include href="examples-xml/trlowest.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 63 | </example> |
| 64 | </para> |
| 65 | <para> |
| 66 | The example above shows partial tracking of an ifd-analysis signal, extraction of |
| 67 | the lowest frequency and resynthesis. |
| 68 | </para> |
| 69 | </refsect1> |
| 70 | |
| 71 | <refsect1> |
| 72 | <title>See also</title> |
| 73 | <para><link linkend="SpectralRealTime"><citetitle>Tools for Real-time Spectral Processing (pvs opcodes)</citetitle></link></para> |
| 74 | </refsect1> |
| 75 | |
| 76 | <refsect1> |
| 77 | <title>Credits</title> |
| 78 | <para> |
| 79 | <simplelist> |
| 80 | <member>Author: &namevictor;</member> |
| 81 | <member>February 2006 </member> |
| 82 | </simplelist> |
| 83 | </para> |
| 84 | <para>New in Csound 5.01</para> |
| 85 | </refsect1> |
| 86 | </refentry> |