| 1 | |
| 2 | <refentry id="vecdelay"> |
| 3 | <indexterm id="IndexVecdelay"><primary>vecdelay</primary></indexterm> |
| 4 | <refentryinfo><title>Vectorial:Delay Paths</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>vecdelay</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | <refnamediv> |
| 10 | <refname>vecdelay</refname> |
| 11 | <refpurpose> |
| 12 | Vectorial Control-rate Delay Paths |
| 13 | |
| 14 | </refpurpose> |
| 15 | </refnamediv> |
| 16 | |
| 17 | <refsect1> |
| 18 | <title>Description</title> |
| 19 | <para> |
| 20 | Generate a sort of 'vectorial' delay |
| 21 | </para> |
| 22 | </refsect1> |
| 23 | <refsect1> |
| 24 | <title>Syntax</title> |
| 25 | <synopsis><command>vecdelay</command> ifn, ifnIn, ifnDel, ielements, imaxdel [, iskip] |
| 26 | </synopsis> |
| 27 | </refsect1> |
| 28 | |
| 29 | <refsect1> |
| 30 | <title>Initialization</title> |
| 31 | <para> |
| 32 | <emphasis>ifn</emphasis> - number of the table containing the output vector |
| 33 | </para> |
| 34 | <para> |
| 35 | <emphasis>ifnIn</emphasis> - number of the table containing the input vector |
| 36 | </para> |
| 37 | <para> |
| 38 | <emphasis>ifnDel</emphasis> - number of the table containing a vector whose elements contain delay values in seconds |
| 39 | </para> |
| 40 | <para> |
| 41 | <emphasis>ielements</emphasis> - number of elements of the two vectors |
| 42 | </para> |
| 43 | <para> |
| 44 | <emphasis>imaxdel</emphasis> - Maximum value of delay in seconds. |
| 45 | </para> |
| 46 | <para> |
| 47 | <emphasis>iskip</emphasis> (optional) - initial disposition of delay-loop data space (see reson). The default value is 0. |
| 48 | </para> |
| 49 | </refsect1> |
| 50 | |
| 51 | <refsect1> |
| 52 | <title>Performance</title> |
| 53 | <para> |
| 54 | <emphasis>vecdelay</emphasis> is similar to <link linkend="vdelay"><citetitle>vdelay</citetitle></link>, but it works at k-rate and, instead of delaying a single signal, it delays a vector. <emphasis>ifnIn</emphasis> is the input vector of signals, <emphasis>ifn</emphasis> is the output vector of signals, and <emphasis>ifnDel</emphasis> is a vector containing delay times for each element, expressed in seconds. Elements of <emphasis>ifnDel</emphasis> can be updated at k-rate. Each single delay can be different from that of the other elements, and can vary at k-rate. imaxdel sets the maximum delay allowed for all elements of <emphasis>ifnDel</emphasis>. |
| 55 | </para> |
| 56 | |
| 57 | </refsect1> |
| 58 | |
| 59 | <refsect1> |
| 60 | <title>See also</title> |
| 61 | <para><link linkend="vectorialdelay"><citetitle>Vectorial Control-rate Delay Paths</citetitle></link></para> |
| 62 | </refsect1> |
| 63 | |
| 64 | <refsect1> |
| 65 | <title>Credits</title> |
| 66 | <para>Written by Gabriel Maldonado.</para> |
| 67 | <para>New in Csound 5 (Previously available only on CsoundAV)</para> |
| 68 | </refsect1> |
| 69 | </refentry> |