| 1 |
|
| 2 |
|
| 3 |
<refentry id="link_is_enabled"> |
| 4 |
<indexterm id="IndexLinkIsEnabled"><primary>link_is_enabled</primary></indexterm> |
| 5 |
|
| 6 |
<refentryinfo><title>Ableton Link Opcodes</title></refentryinfo> |
| 7 |
<refmeta> |
| 8 |
<refentrytitle>link_is_enabled</refentrytitle> |
| 9 |
</refmeta> |
| 10 |
|
| 11 |
<refnamediv> |
| 12 |
<refname>link_is_enabled</refname> |
| 13 |
<refpurpose> |
| 14 |
Returns whether or not this peer is synchronized with the global network Ableton Link session. |
| 15 |
</refpurpose> |
| 16 |
</refnamediv> |
| 17 |
|
| 18 |
<refsect1> |
| 19 |
<title>Description</title> |
| 20 |
<para>Plugin opcode in ableton_link_opcodes. This opcode is part of the plugin repository and has to be installed separately. |
| 21 |
The plugin repository can be found here: <ulink url="https://github.com/csound/plugins"><citetitle>https://github.com/csound/plugins</citetitle></ulink></para> |
| 22 |
<para> |
| 23 |
Returns whether or not the beat and time of his peer are synchronized with the global network Ableton Link session. |
| 24 |
</para> |
| 25 |
</refsect1> |
| 26 |
|
| 27 |
<refsect1> |
| 28 |
<title>Syntax</title> |
| 29 |
|
| 30 |
|
| 31 |
<synopsis>k_is_enabled <command>link_is_enabled</command> i_peer</synopsis> |
| 32 |
</refsect1> |
| 33 |
|
| 34 |
<refsect1> |
| 35 |
|
| 36 |
<title>Initialization</title> |
| 37 |
<para> |
| 38 |
<emphasis>i_peer</emphasis> -- The Ableton Link peer object. |
| 39 |
</para> |
| 40 |
</refsect1> |
| 41 |
|
| 42 |
<refsect1> |
| 43 |
<title>Performance</title> |
| 44 |
|
| 45 |
<para> |
| 46 |
<emphasis>k_is_enabled</emphasis> -- Returns 1 if this peer is enabled, or 0 otherwise. |
| 47 |
</para> |
| 48 |
</refsect1> |
| 49 |
|
| 50 |
<refsect1> |
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
<title>Examples</title> |
| 55 |
<para> |
| 56 |
Here is an example of the link_is_enabled opcode. It uses the file <ulink url="examples/ableton_link.csd"><citetitle>ableton_link.csd</citetitle></ulink>. |
| 57 |
<example> |
| 58 |
<title>Example of the link_is_enabled opcode.</title> |
| 59 |
<xi:include href="examples-xml/ableton_link.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 60 |
</example> |
| 61 |
</para> |
| 62 |
</refsect1> |
| 63 |
|
| 64 |
<refsect1> |
| 65 |
<title>See also</title> |
| 66 |
<para><link linkend="AbletonLink"><citetitle>Ableton Link Opcodes</citetitle></link></para> |
| 67 |
</refsect1> |
| 68 |
|
| 69 |
<refsect1> |
| 70 |
|
| 71 |
<title>Credits</title> |
| 72 |
<para>By: &namemichael; 2017</para> |
| 73 |
</refsect1> |
| 74 |
|
| 75 |
|
| 76 |
|
| 77 |
|
| 78 |
|
| 79 |
|
| 80 |
</refentry> |