Debian Codegraph @

opcodes/LinkBeatGet.xml

raw symbols SCIP
1
2 <!--Change refentry id and indexterm id-->
3 <refentry id="link_beat_get">
4 <indexterm id="IndexLinkBeatGet"><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_beat_get</refentrytitle>
9 </refmeta>
10
11 <refnamediv>
12 <refname>link_beat_get</refname>
13 <refpurpose>
14 Returns the beat, phase with respect to the local quantum, and current time for the 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 the beat number, phase of the beat with respect to the local quantum of the beat, and current time for 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_beat_number, k_phase, k_current_time_seconds link_beat_get i_peer [, P_quantum = 1] -->
31 <synopsis>k_beat_number, k_phase, k_current_time_seconds <command>link_beat_get</command> i_peer [, k_quantum]</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_quantum</emphasis> -- The local quantum of the beat; the default value is 1,
47 </para>
48 <para>
49 <emphasis>k_beat_number</emphasis> -- The number of the current beat.
50 </para>
51 <para>
52 <emphasis>k_phase</emphasis> -- The current phase of the beat with respect to the local quantum of the beat.
53 </para>
54 <para>
55 <emphasis>k_current_time_seconds</emphasis> -- The current time with respect to the time this peer was enabled.
56 </para>
57
58 <para>
59 Consider using link_metro if you need a periodic trigger driven by the session beat.
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>