Debian Codegraph @

opcodes/denorm.xml

raw symbols SCIP
1
2 <refentry id="denorm">
3 <indexterm id="IndexDenorm"><primary>denorm</primary></indexterm>
4 <refentryinfo><title>Signal Modifiers:Sample Level Operators</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>denorm</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>denorm</refname>
13 <refpurpose>
14 Mixes low level noise to a list of a-rate signals
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 Mixes low level (~1e-20 for floats, and ~1e-56 for doubles)
22 noise to a list of a-rate signals. Can be used before IIR
23 filters and reverbs to avoid denormalized numbers which may
24 otherwise result in significantly increased CPU usage.
25 </para>
26
27
28 </refsect1>
29
30 <refsect1>
31 <title>Syntax</title>
32 <synopsis><command>denorm</command> a1[, a2[, a3[, ... ]]]</synopsis>
33
34 </refsect1>
35
36 <!-- <refsect1>
37 <title>Initialization</title>
38
39 <para>
40
41 </refsect1> -->
42
43 <refsect1>
44 <title>Performance</title>
45 <para>
46 <emphasis>a1[, a2[, a3[, ... ]]]</emphasis> -- signals to mix noise with
47
48 </para>
49 <para>
50 Some processor architectures (particularly Pentium IVs) are very slow at processing extremely small numbers. These small numbers can appear as a result of some decaying feedback process like reverb and IIR filters. Low level noise can be added so that very small numbers are never reached, and they are 'absorbed' by this 'noise floor'.
51 </para>
52 <para>
53 If CPU usage goes to 100% at the end of reverb tails, or you get
54 audio glitches in processes that should not use too much CPU, using <emphasis>denorm</emphasis> before the culprit opcode or process might solve the problem.
55 </para>
56 </refsect1>
57
58 <refsect1>
59 <title>Examples</title>
60 <para>
61 Here is an example of the denorm opcode. It uses the file <ulink url="examples/denorm.csd"><citetitle>denorm.csd</citetitle></ulink>.
62
63 <example>
64 <title>Example of the denorm opcode.</title>
65 <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>
66 <xi:include href="examples-xml/denorm.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
67 </example>
68 </para>
69 </refsect1>
70
71 <refsect1>
72 <title>See also</title>
73 <para><link linkend="SigmodSample"><citetitle>Sample Level Operators</citetitle></link></para>
74 </refsect1>
75
76 <refsect1>
77 <title>Credits</title>
78 <para>
79 <simplelist>
80 <member>Author: Istvan Varga</member>
81 <member>2005</member>
82 </simplelist>
83 </para>
84 </refsect1>
85 </refentry>