| 1 | |
| 2 | <refentry id="reverb"> |
| 3 | <indexterm id="IndexReverb"><primary>reverb</primary></indexterm> |
| 4 | <refentryinfo><title>Signal Modifiers:Reverberation</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>reverb</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | |
| 10 | |
| 11 | <refnamediv> |
| 12 | <refname>reverb</refname> |
| 13 | <refpurpose> |
| 14 | Reverberates an input signal with a <quote>natural room</quote> frequency response. |
| 15 | </refpurpose> |
| 16 | </refnamediv> |
| 17 | |
| 18 | <refsect1> |
| 19 | <title>Description</title> |
| 20 | <para> |
| 21 | Reverberates an input signal with a <quote>natural room</quote> frequency response. |
| 22 | </para> |
| 23 | </refsect1> |
| 24 | |
| 25 | <refsect1> |
| 26 | <title>Syntax</title> |
| 27 | <synopsis>ares <command>reverb</command> asig, krvt [, iskip]</synopsis> |
| 28 | </refsect1> |
| 29 | |
| 30 | <refsect1> |
| 31 | <title>Initialization</title> |
| 32 | <para> |
| 33 | <emphasis>iskip</emphasis> (optional, default=0) -- initial disposition of delay-loop data space (cf. <link linkend="reson"><citetitle>reson</citetitle></link>). The default value is 0. |
| 34 | </para> |
| 35 | </refsect1> |
| 36 | |
| 37 | <refsect1> |
| 38 | <title>Performance</title> |
| 39 | <para> |
| 40 | <emphasis>krvt</emphasis> -- the reverberation time (defined as the time in seconds for a signal to decay to 1/1000, or 60dB down from its original amplitude). |
| 41 | </para> |
| 42 | |
| 43 | <para> |
| 44 | A standard <emphasis>reverb</emphasis> unit is composed of four <link linkend="comb"><citetitle>comb</citetitle></link> filters in parallel followed by two <link linkend="alpass"><citetitle>alpass</citetitle></link> units in series. Loop times are set for optimal <quote>natural room response.</quote> Core storage requirements for this unit are proportional only to the sampling rate, each unit requiring approximately 3K words for every 10KC. The <link linkend="comb"><citetitle>comb</citetitle></link>, <link linkend="alpass"><citetitle>alpass</citetitle></link>, <link linkend="delay"><citetitle>delay</citetitle></link>, <link linkend="tone"><citetitle>tone</citetitle></link> and other Csound units provide the means for experimenting with alternate reverberator designs. |
| 45 | </para> |
| 46 | |
| 47 | <para> |
| 48 | Since output from the standard <emphasis>reverb</emphasis> will begin to appear only after 1/20 second or so of delay, and often with less than three-fourths of the original power, it is normal to output both the source and the reverberated signal. If <emphasis>krvt</emphasis> is inadvertently set to a non-positive number, <emphasis>krvt</emphasis> will be reset automatically to 0.01. (New in Csound version 4.07.) Also, since the reverberated sound will persist long after the cessation of source events, it is normal to put <emphasis>reverb</emphasis> in a separate instrument to which sound is passed via a <emphasis>global variable</emphasis>, and to leave that instrument running throughout the performance. |
| 49 | </para> |
| 50 | </refsect1> |
| 51 | |
| 52 | <refsect1> |
| 53 | <title>Examples</title> |
| 54 | <para> |
| 55 | Here is an example of the reverb opcode. It uses the file <ulink url="examples/reverb.csd"><citetitle>reverb.csd</citetitle></ulink>. |
| 56 | |
| 57 | <example> |
| 58 | <title>Example of the reverb opcode.</title> |
| 59 | |
| 60 | |
| 61 | |
| 62 | <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> |
| 63 | <xi:include href="examples-xml/reverb.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 64 | </example> |
| 65 | </para> |
| 66 | </refsect1> |
| 67 | |
| 68 | <refsect1> |
| 69 | <title>See also</title> |
| 70 | <para><link linkend="SigmodReverbtn"><citetitle>Reverberation</citetitle></link></para> |
| 71 | </refsect1> |
| 72 | |
| 73 | <refsect1> |
| 74 | <title>Credits</title> |
| 75 | <para> |
| 76 | <simplelist> |
| 77 | <member>Author: William <quote>Pete</quote> Moss</member> |
| 78 | <member>University of Texas at Austin</member> |
| 79 | <member>Austin, Texas USA</member> |
| 80 | <member>January 2002</member> |
| 81 | </simplelist> |
| 82 | </para> |
| 83 | </refsect1> |
| 84 | </refentry> |