Debian Codegraph @

opcodes/LinkTempoSet.xml

raw symbols SCIP
1
2 <!--Change refentry id and indexterm id-->
3 <refentry id="link_tempo_set">
4 <indexterm id="IndexLinkTempoSet"><primary>link_tempo_set</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_tempo_set</refentrytitle>
9 </refmeta>
10
11 <refnamediv>
12 <refname>link_tempo_set</refname>
13 <refpurpose>
14 Sets the tempo.
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 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.
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 link_tempo_set i_peer, k_bpm [, J_at_time_seconds = current time] -->
31 <synopsis><command>link_tempo_set</command> i_peer, k_bpm [, k_at_time_seconds]</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 <para>
41 <emphasis>k_bpm</emphasis> -- The requested tempo in beats per minute.
42 </para>
43 <para>
44 <emphasis>k_at_time_seconds</emphasis> -- The session time at which the indicated tempo will take effect. The default
45 value is the current session time.
46 </para>
47 </refsect1>
48
49 <refsect1>
50 <!--To add examples, create the csd file in the examples directory, then run:-->
51 <!--python csd2docbook.py -f newopcodename.csd-->
52 <!--to generate the xml highlighted version used below-->
53 <title>Examples</title>
54 <para>
55 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>.
56 <example>
57 <title>Example of the link_tempo_set opcode.</title>
58 <xi:include href="examples-xml/ableton_link.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
59 </example>
60 </para>
61 </refsect1>
62
63 <refsect1>
64 <title>See also</title>
65 <para><link linkend="AbletonLink"><citetitle>Ableton Link Opcodes</citetitle></link></para>
66 </refsect1>
67
68 <refsect1>
69 <!-- And put your name and other relevant information here-->
70 <title>Credits</title>
71 <para>By: &namemichael; 2017</para>
72 </refsect1>
73
74 <!--Now remember to add a link from the appropriate category in the Opcode Overview.-->
75 <!--Add the entity to manual.xml-->
76 <!--Add the entity reference in the appropriate place in opcodes/top.xml-->
77 <!--And you're set! Maybe delete the comments as well...-->
78
79 </refentry>