-
Notifications
You must be signed in to change notification settings - Fork 29
/
JackoMidiInConnect.xml
110 lines (96 loc) · 4.25 KB
/
JackoMidiInConnect.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<refentry id="JackoMidiInConnect">
<indexterm id="IndexJackoMidiInConnect"><primary>JackoMidiInConnect</primary></indexterm>
<refentryinfo><title>Jacko Opcodes</title></refentryinfo>
<refmeta>
<refentrytitle>JackoMidiInConnect</refentrytitle>
</refmeta>
<refnamediv>
<refname>JackoMidiInConnect</refname>
<refpurpose>
Creates a MIDI connection from a Jack port to Csound.
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<para>
Plugin opcode in jacko. 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>
In the orchestra header, creates a MIDI connection
from an external Jack MIDI output port to this instance of Csound.
</para>
</refsect1>
<refsect1>
<title>Syntax</title>
<synopsis><command>JackoMidiInConnect </command>SexternalPortName, ScsoundPortName</synopsis>
</refsect1>
<refsect1>
<title>Initialization</title>
<para>
<emphasis>SexternalPortName</emphasis> -- The full name ("clientname:portname")
of an external Jack MIDI output port.
</para>
<para>
<emphasis>ScsoundPortName</emphasis> -- The short name ("portname")
of the internal Jack MIDI input port.
</para>
<para>
Must be used in conjunction with the
-M0 -+rtmidi=null Csound command-line options.
Can be used in with the MIDI inter-operability
command-line options and/or opcodes to enable the
use of ordinary Csound instrument definitions to
render external scores or MIDI sequences.
</para>
<para>
Note that Csound can connect to ALSA ports through Jack,
but in that case you will have to identify the port by
its alias in the JackInfo printout.
</para>
</refsect1>
<refsect1>
<title>Performance</title>
<para>
The actual MIDI events will be received in the
regular Csound way, i.e. through a MIDI driver
and the sensevents mechanism, rather than through
a Jack input port opcode.
</para>
<para>
The granularity of timing is Csound's kperiod.
</para>
</refsect1>
<note>works with an already running Jack daemon. Do not use -+rtaudio=jack in CsOptions</note>
<refsect1>
<title>Examples</title>
<para>
Here is an example of the JackoMidiInConnect opcode. It uses the file <ulink url="examples/JackoMidiInConnect.csd"><citetitle>JackoMidiInConnect.csd</citetitle></ulink>.
<example>
<title>Example of the JackoMidiInConnect opcode.</title>
<para>See the sections <link linkend="UsingRealTime"><citetitle>Real-time Audio</citetitle></link> and <link linkend="CommandFlags"><citetitle>Command Line Flags</citetitle></link> for more information on using command line flags.</para>
<xi:include href="examples-xml/JackoMidiInConnect.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
</example>
</para>
</refsect1>
<refsect1>
<title>See Also</title>
<para>
<link linkend="JackoInit"><citetitle>JackoInfo</citetitle></link>,
<link linkend="JackoInfo"><citetitle>JackoInfo</citetitle></link>,
<link linkend="JackoFreewheel"><citetitle>JackoFreewheel</citetitle></link>,
<link linkend="JackoAudioInConnect"><citetitle>JackoAudioOutConnect</citetitle></link>,
<link linkend="JackoAudioOutConnect"><citetitle>JackoAudioOutConnect</citetitle></link>,
<link linkend="JackoMidiOutConnect"><citetitle>JackoMidiOutConnect</citetitle></link>,
<link linkend="JackoOn"><citetitle>JackoOn</citetitle></link>,
<link linkend="JackoAudioIn"><citetitle>JackoAudioIn</citetitle></link>,
<link linkend="JackoAudioOut"><citetitle>JackoAudioOut</citetitle></link>,
<link linkend="JackoMidiOut"><citetitle>JackoMidiOut</citetitle></link>,
<link linkend="JackoNoteOut"><citetitle>JackoNoteOut</citetitle></link>,
<link linkend="JackoTransport"><citetitle>JackoTransport</citetitle></link>.
</para>
</refsect1>
<refsect1>
<title>Credits</title>
<para>By: &namemichael; 2010</para>
</refsect1>
</refentry>