Debian Codegraph @

opcodes/insglobal.xml

raw symbols SCIP
1 <refentry id="insglobal">
2 <indexterm id="Indexinsglobal"><primary>insglobal</primary></indexterm>
3 <refentryinfo><title>Remote Opcodes</title></refentryinfo>
4 <refmeta>
5 <refentrytitle>insglobal</refentrytitle>
6 </refmeta>
7
8 <refnamediv>
9 <refname>insglobal</refname>
10 <refpurpose>
11 An opcode which can be used to implement a remote
12 orchestra. This opcode will send note events from a source
13 machine to many destinations.
14 </refpurpose>
15 </refnamediv>
16
17 <refsect1>
18 <title>Description</title>
19 <para>
20 With the <link
21 linkend="insremot"><citetitle>insremot</citetitle></link> and
22 <emphasis>insglobal</emphasis> opcodes you are able to perform
23 instruments on remote machines and control them from a master
24 machine. The remote opcodes are implemented using the
25 master/client model. All the machines involved contain the same
26 orchestra but only the master machine contains the information
27 of the score. During the performance the master machine sends
28 the note events to the clients. The
29 <emphasis>insglobal</emphasis> opcode sends the events to all
30 the machines involved in the remote concert. These machines are
31 determined by the <link
32 linkend="insremot"><citetitle>insremot</citetitle></link>
33 definitions made above the <emphasis>insglobal</emphasis>
34 command. To send events to only one machine use <link
35 linkend="insremot"><citetitle>insremot</citetitle></link>.
36 </para>
37 </refsect1>
38
39 <refsect1>
40 <title>Syntax</title>
41 <synopsis><command>insglobal</command> isource, instrnum [,instrnum...] </synopsis>
42 </refsect1>
43
44 <refsect1>
45 <title>Initialization</title>
46 <para>
47 <emphasis>isource</emphasis>
48 -- a string that is the intended server computer (e.g. 192.168.0.100). This is the source host which generates the events of the given instrument(s) and sends it to all the machines involved in the remote concert.
49 </para>
50
51 <para>
52 <emphasis>instrnum</emphasis>
53 -- a list of instrument numbers which will be played on the destination machines
54 </para>
55
56 </refsect1>
57
58 <refsect1>
59 <title>Performance</title>
60 <note>
61 If is essential the computers using this opcode have the same
62 byte-order, data size (double or float) and pointer size. One
63 cannot use it with mixed 32 and 64 computers for instance.
64 </note>
65 <note>
66 Internally this opcode makes use of the gethostname and
67 gethostbyname functions to determine the client's and server's
68 IP address for checking which messages are for which machine.
69 If a computer has more than one IP address there is no way to
70 control which IP address is found.
71 </note>
72 <note>
73 The remote operation does not allow the sending of strings at
74 all.
75 </note>
76 </refsect1>
77
78 <refsect1>
79 <title>Examples</title>
80 <para>
81 See the entry for <link linkend="insremot"><citetitle>insremot</citetitle></link> for an example of usage.
82 </para>
83 </refsect1>
84
85 <refsect1>
86 <title>See also</title>
87 <para><link linkend="Remote"><citetitle>Remote Opcodes</citetitle></link></para>
88 </refsect1>
89
90 <refsect1>
91 <title>Credits</title>
92 <para>
93 <simplelist>
94 <member>Author: Simon Schampijer</member>
95 <member>2006</member>
96 </simplelist>
97 </para>
98 <para>
99 New in version 5.03
100 </para>
101 </refsect1>
102 </refentry>