summaryrefslogtreecommitdiff
path: root/opcodes/mirror.xml
blob: 48b2d4d85b92b35542b7d83d6894218ea8db7099 (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
90
91
<refentry id="mirror">
<indexterm id="IndexMirror"><primary>mirror</primary></indexterm>
  <refentryinfo><title>Signal Modifiers:Signal Limiters</title></refentryinfo>
  <refmeta>
    <refentrytitle>mirror</refentrytitle>
  </refmeta>


 
  <refnamediv>
    <refname>mirror</refname>
    <refpurpose>
      Reflects the signal that exceeds the low and high thresholds.
          </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      Reflects the signal that exceeds the low and high thresholds.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis>ares <command>mirror</command> asig, klow, khigh</synopsis>

    <synopsis>ires <command>mirror</command> isig, ilow, ihigh</synopsis>

    <synopsis>kres <command>mirror</command> ksig, klow, khigh</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>isig</emphasis> -- input signal
    </para>

    <para>
      <emphasis>ilow</emphasis> -- low threshold
    </para>

    <para>
      <emphasis>ihigh</emphasis> -- high threshold
    </para>
  </refsect1>
 
  <refsect1>
    <title>Performance</title>
    <para>
      <emphasis>xsig</emphasis> -- input signal
    </para>

    <para>
      <emphasis>klow</emphasis> -- low threshold
    </para>

    <para>
      <emphasis>khigh</emphasis> -- high threshold
    </para>

    <para>
      <emphasis>mirror</emphasis> <quote>reflects</quote> the signal that exceeds the low and high thresholds.
    </para>

    <para>
      This opcode is useful in several situations, such as table indexing or for clipping and modeling a-rate, i-rate or k-rate signals.
    </para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="limit"><citetitle>limit</citetitle></link>,
      <link linkend="wrap"><citetitle>wrap</citetitle></link>
    </para>
  </refsect1>
 
  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: &namegabriel;</member>
        <member>Italy</member>
      </simplelist>
    </para>

    <para>New in Csound version 3.49</para>
  </refsect1>
</refentry>