Debian Codegraph @

oscnetwork/AbletonLink.xml

raw symbols SCIP
1
2 <section id="AbletonLink">
3 <title>Ableton Link Opcodes</title>
4 <para>
5 The purpose of Ableton Link is to synchronize musical time, beat, and phase
6 between musical applications performing in real time from separate
7 programs, processes, and network addresses. This is useful, e.g., for laptop
8 orchestras.
9 </para>
10 <para>
11 Ableton Live is not required to use the Ableton Link protocol, as it is a peer-to-peer protocol.
12 There is one Link session on the local area network that maintains a global time, tempo, and
13 beat. Any peer may set the tempo,
14 and thereafter all peers in the session share that tempo. A process may
15 have any number of peers (i.e., any number of Link objects). Each peer
16 may also define its own "quantum" i.e. some multiple of the beat, e.g. a
17 quantum of 4 might imply 1 beat every measure of 4/4 time. The phase of the time is defined w.r.t
18 the quantum, e.g. phase 0.5 of a quantum of 4 would be the second beat of
19 the measure. Peers may read and write timelines with local time, beat, and
20 phase, counting from when the peer is enabled, but the tempo and beat on
21 all timelines for all peers in the session will coincide.
22 </para>
23 <para>
24 The first peer in a session determines the initial tempo. After
25 that, the tempo is changed only, and whenever, any peer explicity calls
26 the set tempo functon (link_tempo_set, in Csound).
27 </para>
28 <para>
29 The Link tempo is independent of the Csound score tempo. Performances that
30 need to synchronize the score tempo with the Link tempo may use the tempo
31 opcode to set the score tempo from the Link tempo; or conversely, set the
32 Link tempo from the score tempo using the tempoval opcode.
33 </para>
34 <para>
35 Please note, the phase and beat obtained or set by these opcodes is only as
36 precise as allowed by the duration of Csound's kperiod, the audio driver
37 used by Csound, network latency and stability, and the system's most precise clock.
38 </para>
39 <itemizedlist>
40 <listitem>
41 <para><link linkend="link_create"><citetitle>link_create</citetitle></link> - Creates an Ableton Link peer object.</para>
42 </listitem>
43 <listitem>
44 <para><link linkend="link_enable"><citetitle>link_enable</citetitle></link> - Enable/disable synchronization with the network Ableton Link session tempo and beat.</para>
45 </listitem>
46 <listitem>
47 <para><link linkend="link_is_enabled"><citetitle>link_is_enabled</citetitle></link> - Returns whether or not this Ableton Link peer has joined the network session.</para>
48 </listitem>
49 <listitem>
50 <para><link linkend="link_tempo_set"><citetitle>link_tempo_set</citetitle></link> - Sets the tempo for the network's Ableton Link session.</para>
51 </listitem>
52 <listitem>
53 <para><link linkend="link_tempo_get"><citetitle>link_tempo_set</citetitle></link> - Returns the tempo of the network's Ableton Link session.</para>
54 </listitem>
55 <listitem>
56 <para><link linkend="link_beat_get"><citetitle>link_beat_get</citetitle></link> - Returns the beat, phase, and current time of Ableton Link for this session for a given quantum.</para>
57 </listitem>
58 <listitem>
59 <para><link linkend="link_metro"><citetitle>link_metro</citetitle></link> - Returns a trigger that is 1 on the beat and 0 otherwise along with the beat, phase, and current time of Ableton Link for this session for a given quantum.</para>
60 </listitem>
61 <listitem>
62 <para><link linkend="link_beat_request"><citetitle>link_beat_request</citetitle></link> - Requests a beat with a specific number at a specific time at a given quantum.</para>
63 </listitem>
64 <listitem>
65 <para><link linkend="link_beat_force"><citetitle>link_beat_force</citetitle></link> - Forces the network Ableton Link session to adopt a beat with a specific number at a specific time at a given quantum.</para>
66 </listitem>
67 <listitem>
68 <para><link linkend="link_peers"><citetitle>link_peers</citetitle></link> - Returns the number of peers currently joined in the network Ableton Link session.</para>
69 </listitem>
70 </itemizedlist>
71
72 </section>