| 1 | |
| 2 | <refentry id="reverbsc"> |
| 3 | <indexterm id="IndexReverbsc"><primary>reverbsc</primary></indexterm> |
| 4 | <refentryinfo><title>Signal Modifiers:Reverberation</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>reverbsc</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | |
| 10 | |
| 11 | <refnamediv> |
| 12 | <refname>reverbsc</refname> |
| 13 | <refpurpose> |
| 14 | 8 delay line stereo FDN reverb, based on work by Sean Costello |
| 15 | </refpurpose> |
| 16 | </refnamediv> |
| 17 | |
| 18 | <refsect1> |
| 19 | <title>Description</title> |
| 20 | <para> |
| 21 | 8 delay line stereo FDN reverb, with feedback matrix based upon physical |
| 22 | modeling scattering junction of 8 lossless waveguides of equal characteristic |
| 23 | impedance. Based on Csound orchestra version by Sean Costello. |
| 24 | </para> |
| 25 | |
| 26 | |
| 27 | </refsect1> |
| 28 | |
| 29 | <refsect1> |
| 30 | <title>Syntax</title> |
| 31 | <synopsis>aoutL, aoutR <command>reverbsc</command> ainL, ainR, kfblvl, kfco[, israte[, ipitchm[, iskip]]] </synopsis> |
| 32 | </refsect1> |
| 33 | |
| 34 | <refsect1> |
| 35 | <title>Initialization</title> |
| 36 | |
| 37 | <para> |
| 38 | <emphasis>israte</emphasis> |
| 39 | (optional, defaults to the orchestra sample rate) -- assume a sample |
| 40 | rate of israte. This is normally set to sr, but a different setting can |
| 41 | be useful for special effects. |
| 42 | |
| 43 | </para> |
| 44 | |
| 45 | <para> |
| 46 | <emphasis>ipitchm</emphasis> |
| 47 | (optional, defaults to 1) -- depth of random variation added to |
| 48 | delay times, in the range 0 to 10. The default is 1, but this may be |
| 49 | too high and may need to be reduced for held pitches such as piano tones. |
| 50 | </para> |
| 51 | |
| 52 | <para> |
| 53 | <emphasis>iskip</emphasis> |
| 54 | (optional, defaults to zero) -- if non-zero, initialization of the |
| 55 | opcode is skipped, whenever possible. |
| 56 | </para> |
| 57 | |
| 58 | |
| 59 | </refsect1> |
| 60 | |
| 61 | <refsect1> |
| 62 | <title>Performance</title> |
| 63 | |
| 64 | <para> |
| 65 | <emphasis>aoutL, aoutR</emphasis> |
| 66 | -- output signals for left and right channel |
| 67 | </para> |
| 68 | |
| 69 | <para> |
| 70 | <emphasis>ainL, ainR</emphasis> |
| 71 | -- left and right channel input. Note that having an input signal |
| 72 | on either the left or right channel only will still result in |
| 73 | having reverb output on both channels, making this unit more |
| 74 | suitable for reverberating stereo input than the |
| 75 | <link linkend="freeverb">freeverb</link> opcode. |
| 76 | </para> |
| 77 | |
| 78 | <para> |
| 79 | <emphasis>kfblvl</emphasis> |
| 80 | -- feedback level, in the range 0 to 1. 0.6 gives a good small |
| 81 | "live" room sound, 0.8 a small hall, and 0.9 a large hall. |
| 82 | A setting of exactly 1 means infinite length, while higher values |
| 83 | will make the opcode unstable. |
| 84 | </para> |
| 85 | |
| 86 | <para> |
| 87 | <emphasis>kfco</emphasis> |
| 88 | -- cutoff frequency of simple first order lowpass filters in the |
| 89 | feedback loop of delay lines, in Hz. Should be in the range 0 to |
| 90 | israte/2 (not sr/2). A lower value means faster decay in the high |
| 91 | frequency range. |
| 92 | </para> |
| 93 | </refsect1> |
| 94 | |
| 95 | <refsect1> |
| 96 | <title>Examples</title> |
| 97 | <para> |
| 98 | Here is an example of the <emphasis>reverbsc</emphasis> opcode. It uses the file <ulink url="examples/reverbsc.csd"><citetitle>reverbsc.csd</citetitle></ulink>. |
| 99 | <example> |
| 100 | <title>An example of the reverbsc opcode.</title> |
| 101 | <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> |
| 102 | <xi:include href="examples-xml/reverbsc.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 103 | </example> |
| 104 | </para> |
| 105 | |
| 106 | </refsect1> |
| 107 | |
| 108 | <refsect1> |
| 109 | <title>See also</title> |
| 110 | <para><link linkend="SigmodReverbtn"><citetitle>Reverberation</citetitle></link></para> |
| 111 | </refsect1> |
| 112 | |
| 113 | <refsect1> |
| 114 | <title>Credits</title> |
| 115 | <para> |
| 116 | <simplelist> |
| 117 | <member>Author: Istvan Varga</member> |
| 118 | <member>2005</member> |
| 119 | </simplelist> |
| 120 | </para> |
| 121 | </refsect1> |
| 122 | </refentry> |