-
Notifications
You must be signed in to change notification settings - Fork 29
/
JackoMidiOut.xml
112 lines (96 loc) · 4.17 KB
/
JackoMidiOut.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
111
112
<refentry id="JackoMidiOut">
<indexterm id="IndexJackoMidiOut"><primary>JackoMidiOut</primary></indexterm>
<refentryinfo><title>Jacko Opcodes</title></refentryinfo>
<refmeta>
<refentrytitle>JackoMidiOut</refentrytitle>
</refmeta>
<refnamediv>
<refname>JackoMidiOut</refname>
<refpurpose>
Sends a MIDI channel message to a Jack port.
</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>
Sends a MIDI channel message to a Jack MIDI output port
inside this instance of Csound, and in turn to its
connected external Jack MIDI input port.
</para>
</refsect1>
<refsect1>
<title>Syntax</title>
<synopsis><command>JackoMidiOut </command> ScsoundPortName, kstatus, kchannel, kdata1[, kdata2]</synopsis>
</refsect1>
<refsect1>
<title>Initialization</title>
<para>
<emphasis>ScsoundPortName</emphasis> -- The short name ("portname")
of the internal Jack MIDI output port.
</para>
</refsect1>
<refsect1>
<title>Performance</title>
<para>
<emphasis>kstatus</emphasis> -- MIDI status byte; must indicate a MIDI channel
message.
</para>
<para>
<emphasis>kchannel</emphasis> -- MIDI channel (from 0 through 15).
</para>
<para>
<emphasis>kdata1</emphasis> -- First data byte of a MIDI channel message.
</para>
<para>
<emphasis>kdata2</emphasis> -- Optional second data byte of a MIDI channel message.
</para>
<para>
This opcode can be called any number of times
in the same kperiod. Messages from multiple instances
of the opcode sending to the same port are collected
before sending.
</para>
<para>
Running status, system exclusive messages, and
real-time messages are not supported.
</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 JackoMidiOut opcode. It uses the file <ulink url="examples/JackoMidiOut.csd"><citetitle>JackoMidiOut.csd</citetitle></ulink>.
<example>
<title>Example of the JackoMidiOut 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/JackoMidiOut.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
</example>
</para>
</refsect1>
<refsect1>
<title>See Also</title>
<para> More information on MIDI Status Codes: <ulink url="http://www.opensound.com/pguide/midi/midi5.html"><citetitle>http://www.opensound.com/pguide/midi/midi5.html</citetitle></ulink></para>
<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="JackoMidiInConnect"><citetitle>JackoMidiInConnect</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="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>