| 1 |
<refentry id="alwayson"> |
| 2 |
<indexterm id="Indexalwayson"><primary>alwayson</primary></indexterm> |
| 3 |
<refentryinfo><title>Signal Flow Graph Opcodes</title></refentryinfo> |
| 4 |
<refmeta> |
| 5 |
<refentrytitle>alwayson</refentrytitle> |
| 6 |
</refmeta> |
| 7 |
|
| 8 |
<refnamediv> |
| 9 |
<refname>alwayson</refname> |
| 10 |
<refpurpose> |
| 11 |
Activates the indicated instrument in the orchestra header, |
| 12 |
without need for an i statement. |
| 13 |
</refpurpose> |
| 14 |
</refnamediv> |
| 15 |
|
| 16 |
<refsect1> |
| 17 |
<title>Description</title> |
| 18 |
<para>Plugin opcode in signalflowgraph</para> |
| 19 |
<para> |
| 20 |
Activates the indicated instrument in the orchestra header, |
| 21 |
without need for an i statement. Instruments must be |
| 22 |
activated in the same order as they are defined. |
| 23 |
</para> |
| 24 |
|
| 25 |
<para> |
| 26 |
The alwayson opcode is designed to simplify |
| 27 |
the definition of re-usable orchestras with |
| 28 |
signal processing or effects chains and networks. |
| 29 |
</para> |
| 30 |
</refsect1> |
| 31 |
|
| 32 |
<refsect1> |
| 33 |
<title>Syntax</title> |
| 34 |
<synopsis> <command>alwayson</command> Tinstrument [p4, ..., pn]</synopsis> |
| 35 |
</refsect1> |
| 36 |
<refsect1> |
| 37 |
<title>Initialization</title> |
| 38 |
<para> |
| 39 |
<emphasis>Tinstrument</emphasis> -- String name of the instrument definition to be turned on. |
| 40 |
</para> |
| 41 |
<para> |
| 42 |
<emphasis>[p4, ..., pn]</emphasis> -- Optional pfields to be passed to the instrument, in the same |
| 43 |
order and type as if this were an i statement. |
| 44 |
</para> |
| 45 |
<para> |
| 46 |
When the instrument is activated, p1 is the insno, p2 is 0, and p3 is -1. |
| 47 |
Pfields from p4 on may optionally be sent to the instrument. |
| 48 |
</para> |
| 49 |
</refsect1> |
| 50 |
|
| 51 |
<refsect1> |
| 52 |
<title>Examples</title> |
| 53 |
<para> |
| 54 |
Here is an example of the alwayson opcode. It uses the file <ulink url="examples/alwayson.csd"><citetitle>alwayson.csd</citetitle></ulink>. |
| 55 |
|
| 56 |
<example> |
| 57 |
<title>Example of the alwayson opcode.</title> |
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
<xi:include href="examples-xml/alwayson.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 62 |
</example> |
| 63 |
</para> |
| 64 |
</refsect1> |
| 65 |
|
| 66 |
<refsect1> |
| 67 |
<title>See also</title> |
| 68 |
<para><link linkend="SignalFlowGraphOpcodes"><citetitle>Signal Flow Graph Opcodes</citetitle></link></para> |
| 69 |
</refsect1> |
| 70 |
|
| 71 |
<refsect1> |
| 72 |
|
| 73 |
<title>Credits</title> |
| 74 |
<para>By: &namemichael; 2009</para> |
| 75 |
</refsect1> |
| 76 |
|
| 77 |
|
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
</refentry> |