Debian Codegraph @

opcodes/LinkIsEnabled.xml

raw symbols SCIP
1
2 <!--Change refentry id and indexterm id-->
3 <refentry id="link_is_enabled">
4 <indexterm id="IndexLinkIsEnabled"><primary>link_is_enabled</primary></indexterm>
5 <!--Make sure the category below is a valid one! See categories.py-->
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 <!-- Please keep this below ~70 characters by using backslashes to avoid overflow in the pdf version
30 k_is_enabled link_is_enabled i_peer -->
31 <synopsis>k_is_enabled <command>link_is_enabled</command> i_peer</synopsis>
32 </refsect1>
33
34 <refsect1>
35 <!-- If applicable list i-time arguments-->
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 <!-- First list all input and output performance parameters-->
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 <!--To add examples, create the csd file in the examples directory, then run:-->
52 <!--python csd2docbook.py -f newopcodename.csd-->
53 <!--to generate the xml highlighted version used below-->
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 <!-- And put your name and other relevant information here-->
71 <title>Credits</title>
72 <para>By: &namemichael; 2017</para>
73 </refsect1>
74
75 <!--Now remember to add a link from the appropriate category in the Opcode Overview.-->
76 <!--Add the entity to manual.xml-->
77 <!--Add the entity reference in the appropriate place in opcodes/top.xml-->
78 <!--And you're set! Maybe delete the comments as well...-->
79
80 </refentry>