-
Notifications
You must be signed in to change notification settings - Fork 29
/
LinkTempoSet.xml
82 lines (72 loc) · 3.09 KB
/
LinkTempoSet.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!--Change refentry id and indexterm id-->
<refentry id="link_tempo_set">
<indexterm id="IndexLinkTempoSet"><primary>link_tempo_set</primary></indexterm>
<!--Make sure the category below is a valid one! See categories.py-->
<refentryinfo><title>Ableton Link Opcodes</title></refentryinfo>
<refmeta>
<refentrytitle>link_tempo_set</refentrytitle>
</refmeta>
<refnamediv>
<refname>link_tempo_set</refname>
<refpurpose>
Sets the tempo.
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<para>Plugin opcode in ableton_link_opcodes. This opcode is part of the plugin repository and has to be installed separately.
The plugin repository can be found here: <ulink url="https://github.com/csound/plugins"><citetitle>https://github.com/csound/plugins</citetitle></ulink></para>
<para>
Sets the local tempo if this peer is not enabled; sets the tempo of the global network Ableton Link session if this peer is enabled.
</para>
</refsect1>
<refsect1>
<title>Syntax</title>
<!-- Please keep this below ~70 characters by using backslashes to avoid overflow in the pdf version
link_tempo_set i_peer, k_bpm [, J_at_time_seconds = current time] -->
<synopsis><command>link_tempo_set</command> i_peer, k_bpm [, k_at_time_seconds]</synopsis>
</refsect1>
<refsect1>
<!-- If applicable list i-time arguments-->
<title>Initialization</title>
<para>
<emphasis>i_peer</emphasis> -- The Ableton Link peer object.
</para>
<para>
<emphasis>k_bpm</emphasis> -- The requested tempo in beats per minute.
</para>
<para>
<emphasis>k_at_time_seconds</emphasis> -- The session time at which the indicated tempo will take effect. The default
value is the current session time.
</para>
</refsect1>
<refsect1>
<!--To add examples, create the csd file in the examples directory, then run:-->
<!--python csd2docbook.py -f newopcodename.csd-->
<!--to generate the xml highlighted version used below-->
<title>Examples</title>
<para>
Here is an example of the link_tempo_set opcode. It uses the file <ulink url="examples/ableton_link.csd"><citetitle>ableton_link.csd</citetitle></ulink>.
<example>
<title>Example of the link_tempo_set opcode.</title>
<xi:include href="examples-xml/ableton_link.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
</example>
</para>
</refsect1>
<refsect1>
<title>See Also</title>
<!-- it's always good to include a good See Also list -->
<para>
<para>See the section <link linkend="AbletonLink"><citetitle>Ableton Link Opcodes</citetitle></link> for more information.</para>
</para>
</refsect1>
<refsect1>
<!-- And put your name and other relevant information here-->
<title>Credits</title>
<para>By: &namemichael; 2017</para>
</refsect1>
<!--Now remember to add a link from the appropriate category in the Opcode Overview.-->
<!--Add the entity to manual.xml-->
<!--Add the entity reference in the appropriate place in opcodes/top.xml-->
<!--And you're set! Maybe delete the comments as well...-->
</refentry>