connectSignal Flow Graph Opcodesconnectconnect
Connects a source outlet to a sink inlet.
DescriptionPlugin 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.
Syntaxconnect Tsource1, Soutlet1, Tsink1, Sinlet1InitializationTsource1 -- 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.See alsoSignal Flow Graph Opcodes More information on this opcode: http://www.csoundjournal.com/issue13/signalFlowGraphOpcodes.html , written by Michael Gogins CreditsBy: &namemichael; 2009