| 1 | <refentry id="inletkid"> |
| 2 | <indexterm id="Indexinletkid"><primary>inletkid</primary></indexterm> |
| 3 | <refentryinfo><title>Signal Flow Graph Opcodes</title></refentryinfo> |
| 4 | <refmeta> |
| 5 | <refentrytitle>inletkid</refentrytitle> |
| 6 | </refmeta> |
| 7 | |
| 8 | <refnamediv> |
| 9 | <refname>inletkid</refname> |
| 10 | <refpurpose> |
| 11 | Receives a krate signal into an instrument from a named port. |
| 12 | </refpurpose> |
| 13 | </refnamediv> |
| 14 | |
| 15 | <refsect1> |
| 16 | <title>Description</title> |
| 17 | <para>Plugin opcode in signalflowgraph</para> |
| 18 | <para> |
| 19 | Receives a krate signal into an instrument from a named port. |
| 20 | </para> |
| 21 | </refsect1> |
| 22 | |
| 23 | <refsect1> |
| 24 | <title>Syntax</title> |
| 25 | <synopsis>ksignal <command>inletkid </command>Sname, SinstanceID</synopsis> |
| 26 | </refsect1> |
| 27 | |
| 28 | <refsect1> |
| 29 | <title>Initialization</title> |
| 30 | <para> |
| 31 | <emphasis>Sname</emphasis> -- String name of the inlet port. |
| 32 | The name of the inlet is implicitly qualified by the instrument name |
| 33 | or number, so it is valid to use the same inlet name in more than one |
| 34 | instrument (but not to use the same inlet name twice in one instrument). |
| 35 | </para> |
| 36 | <para> |
| 37 | <emphasis>SinstanceID</emphasis> -- String name of the outlet port's |
| 38 | instance ID. This enables the inlet to discriminate between different |
| 39 | instances of the outlet, e,g. one instance of the outlet might be created by a note |
| 40 | specifying one instance ID, and another instance might be created by a note |
| 41 | specifying another ID. This might be used, e.g., to situate difference instances |
| 42 | of an instrument at different points in an Ambisonic space in a spatializing |
| 43 | effects processor. |
| 44 | </para> |
| 45 | </refsect1> |
| 46 | |
| 47 | <refsect1> |
| 48 | <title>Performance</title> |
| 49 | <para> |
| 50 | <emphasis>ksignal</emphasis> -- krate input signal |
| 51 | </para> |
| 52 | |
| 53 | <para> |
| 54 | During performance, the krate inlet signal is received from each instance of an instrument |
| 55 | containing an outlet port to which this inlet has been connected using the |
| 56 | <link linkend="connect">connect</link> opcode. The signals of all the outlets that |
| 57 | are connected to an inlet, but only those share the specified instance ID, are summed in the inlet. |
| 58 | </para> |
| 59 | </refsect1> |
| 60 | |
| 61 | <refsect1> |
| 62 | <title>See also</title> |
| 63 | <para><link linkend="SignalFlowGraphOpcodes"><citetitle>Signal Flow Graph Opcodes</citetitle></link></para> |
| 64 | <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> |
| 65 | </refsect1> |
| 66 | |
| 67 | <refsect1> |
| 68 | <title>Credits</title> |
| 69 | <para>By: &namemichael; 2009</para> |
| 70 | </refsect1> |
| 71 | |
| 72 | |
| 73 | </refentry> |