Debian Codegraph @

opcodes/LinkCreate.xml

raw symbols SCIP
1
2 <!--Change refentry id and indexterm id-->
3 <refentry id="link_create">
4 <indexterm id="IndexLinkCreate"><primary>link_beat_get</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_create</refentrytitle>
9 </refmeta>
10
11 <refnamediv>
12 <refname>link_create</refname>
13 <refpurpose>
14 Creates a peer in an Ableton Link network 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 Creates a peer in an Ableton Link network session. The first peer in a session determines the initial tempo of the session. The value returned must be passed as the first parameter to all subsequent Ableton Link opcode calls for this peer.
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 <synopsis>i_peer <command>link_create</command> [i_bpm]</synopsis>
31 </refsect1>
32
33 <refsect1>
34 <!-- If applicable list i-time arguments-->
35 <title>Initialization</title>
36 <para>
37 <emphasis>i_bpm</emphasis> -- Initial tempo of the session, in beats per minute. Has no effect unless this is the first peer in the session. The default value is 60.
38 </para>
39 <para>
40 <emphasis>i_peer</emphasis> -- The Ableton Link peer object returned for use with the other Ableton Link opcodes.
41 </para>
42 </refsect1>
43
44 <refsect1>
45 <!--To add examples, create the csd file in the examples directory, then run:-->
46 <!--python csd2docbook.py -f newopcodename.csd-->
47 <!--to generate the xml highlighted version used below-->
48 <title>Examples</title>
49 <para>
50 Here is an example of the link_create opcode. It uses the file <ulink url="examples/ableton_link.csd"><citetitle>ableton_link.csd</citetitle></ulink>.
51 <example>
52 <title>Example of the link_create opcode.</title>
53 <xi:include href="examples-xml/ableton_link.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
54 </example>
55 </para>
56 </refsect1>
57
58 <refsect1>
59 <title>See also</title>
60 <para><link linkend="AbletonLink"><citetitle>Ableton Link Opcodes</citetitle></link></para>
61 </refsect1>
62
63 <refsect1>
64 <!-- And put your name and other relevant information here-->
65 <title>Credits</title>
66 <para>By: &namemichael; 2017</para>
67 </refsect1>
68
69 <!--Now remember to add a link from the appropriate category in the Opcode Overview.-->
70 <!--Add the entity to manual.xml-->
71 <!--Add the entity reference in the appropriate place in opcodes/top.xml-->
72 <!--And you're set! Maybe delete the comments as well...-->
73
74 </refentry>