connect
Connects a source outlet to a sink inlet.
Plugin opcode in signalflowgraph
The connect opcode, valid only in the orchestra header, sends the signals from the indicated outlet in all instances of the indicated source instrument to the indicated inlet in all instances of the indicated sink instrument. Each inlet instance receives the sum of the signals in all outlet instances. Thus multiple instances of an outlet may fan in to one instance of an inlet, or one instance of an outlet may fan out to multiple instances of an inlet.
When Csound creates a new instance of an instrument template, new instances of its connections also are created.
Syntax
Initialization
Tsource1 -- String name of the source instrument definition.
Soutlet1 -- String name of the source outlet in the source instrument.
Tsink1 -- String name of the sink instrument definition.
Sinlet1 -- String name of the sink inlet in the sink instrument.
Examples
Here is an example of the connect opcode. It uses the file connect.csd.
Example of the connect opcode. | |
---|---|
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 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
|
See also
More information on this opcode: http://www.csoundjournal.com/issue13/signalFlowGraphOpcodes.html, written by Michael Gogins
Credits
By: Michael Gogins 2009