summaryrefslogtreecommitdiff
path: root/opcodes/resonk.xml
blob: 96450463c0b7c629ee92e96aed6cc76f0f371cc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<refentry id="resonk">
<indexterm id="IndexResonk"><primary>resonk</primary></indexterm>
  <refentryinfo><title>Signal Modifiers:Standard Filters:Control</title></refentryinfo>
  <refmeta>
    <refentrytitle>resonk</refentrytitle>
  </refmeta>


 
  <refnamediv>
    <refname>resonk</refname>
    <refpurpose>
      A second-order resonant filter.
          </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      A second-order resonant filter.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis>kres <command>resonk</command> ksig, kcf, kbw [, iscl] [, iskip]</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>iscl</emphasis> (optional, default=0) -- coded scaling factor for resonators. A value of 1 signifies a peak response factor of 1, i.e. all frequencies other than kcf are attenuated in accordance with the (normalized) response curve. A value of 2 raises the response factor so that its overall RMS value equals 1. (This intended equalization of input and output power assumes all frequencies are physically present; hence it is most applicable to white noise.) A zero value signifies no scaling of the signal, leaving that to some later adjustment (see <link linkend="balance"><citetitle>balance</citetitle></link>). The default value is 0.
    </para>

    <para>
      <emphasis>iskip</emphasis> (optional, default=0) -- initial disposition of internal data space. Since filtering incorporates a feedback loop of previous output, the initial status of the storage space used is significant. A zero value will clear the space; a non-zero value will allow previous information to remain. The default value is 0.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Performance</title>
    <para>
      <emphasis>kres</emphasis> -- the output signal at control-rate.
    </para>

    <para>
      <emphasis>ksig</emphasis> -- the input signal at control-rate.
    </para>

    <para>
      <emphasis>kcf</emphasis> -- the center frequency of the filter, or frequency position of the peak response.
    </para>

    <para>
      <emphasis>kbw</emphasis> -- bandwidth of the filter (the Hz difference between the upper and lower half-power points).
    </para>

    <para>
      <emphasis>resonk</emphasis> is like <link linkend="reson"><citetitle>reson</citetitle></link> except its output is at control-rate rather than audio rate.
    </para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="areson"><citetitle>areson</citetitle></link>,
      <link linkend="aresonk"><citetitle>aresonk</citetitle></link>,
      <link linkend="atone"><citetitle>atone</citetitle></link>,
      <link linkend="atonek"><citetitle>atonek</citetitle></link>,
      <link linkend="port"><citetitle>port</citetitle></link>,
      <link linkend="portk"><citetitle>portk</citetitle></link>,
      <link linkend="reson"><citetitle>reson</citetitle></link>,
      <link linkend="tone"><citetitle>tone</citetitle></link>,
      <link linkend="tonek"><citetitle>tonek</citetitle></link>
    </para>
  </refsect1>

  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: Robin Whittle</member>
        <member>Australia</member>
        <member>May 1997</member>
      </simplelist>
    </para>
  </refsect1>
</refentry>