Debian Codegraph @

opcodes/sc_trig.xml

raw symbols SCIP
1 <!--Change refentry id and indexterm id-->
2 <refentry id="sc_trig">
3 <indexterm id="IndexSc_trig"><primary>sc_trig</primary></indexterm>
4 <!--Make sure the category below is a valid one! See categories.py-->
5 <refentryinfo><title>Signal Modifiers:Standard Filters:Control</title></refentryinfo>
6 <refmeta>
7 <refentrytitle>sc_trig</refentrytitle>
8 </refmeta>
9
10 <refnamediv>
11 <refname>sc_trig</refname>
12 <refpurpose>
13 Timed trigger (Replaced by trighold)
14 </refpurpose>
15 </refnamediv>
16
17 <refsect1>
18 <title>Description</title>
19 <para>Plugin opcode in scugens.</para>
20 <para>
21 Timed trigger. Port of Supercollider's Trig ugen. This opcode is deprecated and renamed to
22 <link linkend="trighold"><citetitle>trighold</citetitle></link>,
23 </para>
24 </refsect1>
25
26 <refsect1>
27 <title>Syntax</title>
28 <!-- Please keep this below ~70 characters by using backslashes to avoid overflow in the pdf version-->
29 <synopsis>aout <command>sc_trig</command> ain, kdur</synopsis>
30
31 <synopsis>kout <command>sc_trig</command> kin, kdur</synopsis>
32
33 </refsect1>
34
35 <refsect1>
36 <title>Initialization</title>
37 <para>
38 <emphasis>initialvalue</emphasis> If given, sets the internal
39 state. Default=0
40 </para>
41 </refsect1>
42
43 <refsect1>
44 <title>Performance</title>
45 <!-- First list all input and output performance parameters-->
46 <para>
47 <emphasis>ain</emphasis> -- Trigger. Trigger can be any
48 signal. A trigger happens when the signal changes from
49 non-positive to positive.
50 </para>
51 <para>
52 <emphasis>kdur</emphasis> -- Duration of the trigger in seconds.
53 </para>
54
55 <para>
56 When a nonpositive to positive transition occurs at the input,
57 Trig outputs the level of the triggering input for the specified
58 duration, otherwise it outputs zero.
59 </para>
60 </refsect1>
61 <refsect1>
62 <!--To add examples, create the csd file in the examples directory, then run:-->
63 <!--python csd2docbook.py -f newopcodename.csd-->
64 <!--to generate the xml highlighted version used below-->
65 <title>Examples</title>
66 <para>
67 Here is an example of the sc_trig opcode. It uses the file <ulink url="examples/sc_trig.csd"><citetitle>sc_trig.csd</citetitle></ulink>.
68 <example>
69 <title>Example of the sc_trig opcode.</title>
70 <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>
71 <xi:include href="examples-xml/sc_trig.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
72 </example>
73 </para>
74 </refsect1>
75
76 <refsect1>
77 <title>See Also</title>
78 <!-- it's always good to include a good See Also list -->
79 <para>
80 <link linkend="sc_lag"><citetitle>sc_lag</citetitle></link>,
81 <link linkend="metro"><citetitle>metro</citetitle></link>,
82 <link linkend="mpulse"><citetitle>mpulse</citetitle></link>
83 <link linkend="trigger"><citetitle>trigger</citetitle></link>
84
85 </para>
86 </refsect1>
87
88 <refsect1>
89 <!-- And put your name and other relevant information here-->
90 <title>Credits</title>
91 <para>By: &nameeduardo; 2017</para>
92 </refsect1>
93
94 <!--Now remember to add a link from the appropriate category in the Opcode Overview.-->
95 <!--Add the entity to manual.xml-->
96 <!--Add the entity reference in the appropriate place in opcodes/top.xml-->
97 <!--And you're set! Maybe delete the comments as well...-->
98
99 </refentry>