Debian Codegraph @

opcodes/connect.xml

raw symbols SCIP
1 <refentry id="connect">
2 <indexterm id="Indexconnect"><primary>connect</primary></indexterm>
3 <refentryinfo><title>Signal Flow Graph Opcodes</title></refentryinfo>
4 <refmeta>
5 <refentrytitle>connect</refentrytitle>
6 </refmeta>
7
8 <refnamediv>
9 <refname>connect</refname>
10 <refpurpose>
11 Connects a source outlet to a sink inlet.
12 </refpurpose>
13 </refnamediv>
14
15 <refsect1>
16 <title>Description</title>
17 <para>Plugin opcode in signalflowgraph</para>
18 <para>
19 The connect opcode, valid only in the orchestra header, sends the signals
20 from the indicated outlet in all instances of the indicated source
21 instrument to the indicated inlet in all instances of the indicated sink
22 instrument. Each inlet instance receives the sum of the signals in all
23 outlet instances. Thus multiple instances of an outlet may fan in to one
24 instance of an inlet, or one instance of an outlet may fan out to
25 multiple instances of an inlet.
26 </para>
27
28 <para>
29 When Csound creates a new instance of an instrument template, new instances
30 of its connections also are created.
31 </para>
32 </refsect1>
33
34 <refsect1>
35 <title>Syntax</title>
36 <synopsis><command>connect </command>Tsource1, Soutlet1, Tsink1, Sinlet1</synopsis>
37 </refsect1>
38
39 <refsect1>
40 <title>Initialization</title>
41 <para>
42 <emphasis>Tsource1</emphasis> -- String name of the source instrument definition.
43 </para>
44 <para>
45 <emphasis>Soutlet1</emphasis> -- String name of the source outlet in the source instrument.
46 </para>
47 <para>
48 <emphasis>Tsink1</emphasis> -- String name of the sink instrument definition.
49 </para>
50 <para>
51 <emphasis>Sinlet1</emphasis> -- String name of the sink inlet in the sink instrument.
52 </para>
53 </refsect1>
54
55 <refsect1>
56 <title>Examples</title>
57 <para>
58 Here is an example of the connect opcode. It uses the file <ulink url="examples/connect.csd"><citetitle>connect.csd</citetitle></ulink>.
59
60 <example>
61 <title>Example of the connect opcode.</title>
62
63
64
65 <xi:include href="examples-xml/connect.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
66 </example>
67 </para>
68 </refsect1>
69
70 <refsect1>
71 <title>See also</title>
72 <para><link linkend="SignalFlowGraphOpcodes"><citetitle>Signal Flow Graph Opcodes</citetitle></link></para>
73 <para> More information on this opcode: <ulink url="http://www.csoundjournal.com/issue13/signalFlowGraphOpcodes.html"><citetitle>http://www.csoundjournal.com/issue13/signalFlowGraphOpcodes.html</citetitle></ulink> , written by Michael Gogins </para>
74 </refsect1>
75
76 <refsect1>
77 <title>Credits</title>
78 <para>By: &namemichael; 2009</para>
79 </refsect1>
80
81 </refentry>