<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>
<!--This is an automatically generated file. DO NOT EDIT THIS FILE DIRECTLY.-->
<c74object module="rnbo" kind="rnboobject" name="ctlin" category="MIDI">
<!--METADATA-->
<metadatalist>
<metadata name="author">Cycling '74</metadata>
<metadata name="tag">RNBO</metadata>
<metadata name="tag">RNBO Communications</metadata>
<metadata name="tag">RNBO MIDI</metadata>
</metadatalist>
<digest>MIDI controller input</digest>
<description><p>
Output the value from a specific MIDI controller number and channel.
</p></description>
<!--ARGUMENTS-->
<objarglist>
<objarg name="controller" optional="1" type="number">
<digest>controller number to receive (-1 for all)</digest>
<description><p>
In the second inlet, a number will describe the controller number that the ctlin object is to receive. This number can also be given as the first argument to ctlin. A value of 
<m>-1</m>
 will result in ctlin receiving all controller numbers.
</p></description>
</objarg>
<objarg name="channel" optional="1" type="number">
<digest>MIDI Channel to receive (-1 for all)</digest>
<description><p>
In the third inlet, a number will describe the MIDI channel that the ctlin object is to receive. This number can also be given as the second argument to ctlin. A value of 
<m>-1</m>
 will result in ctlin receiving all channels.
</p></description>
</objarg>
</objarglist>
<!--OPTIONS-->
<!--NONE-->
<!--ATTRIBUTES-->
<rnboattributelist>
<attribute name="channel" size="1" type="number">
<digest>MIDI Channel to receive (-1 for all)</digest>
<description><p>
In the third inlet, a number will describe the MIDI channel that the ctlin object is to receive. This number can also be given as the second argument to ctlin. A value of 
<m>-1</m>
 will result in ctlin receiving all channels.
</p></description>
</attribute>
<attribute name="controller" size="1" type="number">
<digest>controller number to receive (-1 for all)</digest>
<description><p>
In the second inlet, a number will describe the controller number that the ctlin object is to receive. This number can also be given as the first argument to ctlin. A value of 
<m>-1</m>
 will result in ctlin receiving all controller numbers.
</p></description>
</attribute>
<attribute name="input" size="1" type="number">
<digest>MIDI Input</digest>
<description><p>
ctlin receives its input from a MIDI control change message received from a MIDI input device.
</p></description>
</attribute>
</rnboattributelist>
<!--INLETS-->
<rnboinletlist>
<inlet id="inlet_input" name="input" type="number">
<digest>MIDI Input</digest>
<description><p>
ctlin receives its input from a MIDI control change message received from a MIDI input device.
</p></description>
</inlet>
<inlet id="inlet_controller" name="controller" type="number">
<digest>controller number to receive (-1 for all)</digest>
<description><p>
In the second inlet, a number will describe the controller number that the ctlin object is to receive. This number can also be given as the first argument to ctlin. A value of 
<m>-1</m>
 will result in ctlin receiving all controller numbers.
</p></description>
</inlet>
<inlet id="inlet_channel" name="channel" type="number">
<digest>MIDI Channel to receive (-1 for all)</digest>
<description><p>
In the third inlet, a number will describe the MIDI channel that the ctlin object is to receive. This number can also be given as the second argument to ctlin. A value of 
<m>-1</m>
 will result in ctlin receiving all channels.
</p></description>
</inlet>
</rnboinletlist>
<!--OUTLETS-->
<rnbooutletlist>
<outlet id="outlet_value" name="value" type="number">
<digest>control value (0-127)</digest>
<description><p>
Out left outlet: The number is the control value of an incoming MIDI control change message.
</p></description>
</outlet>
<outlet id="outlet_outcontroller" name="outcontroller" type="number">
<digest>controller number (0-127)</digest>
<description><p>
Out middle outlet: The number is the controller number of the incoming MIDI control change message.
</p></description>
</outlet>
<outlet id="outlet_outchannel" name="outchannel" type="number">
<digest>MIDI channel (1-16)</digest>
<description><p>
Out right outlet: The number is the channel number of the incoming MIDI control change message.
</p></description>
</outlet>
</rnbooutletlist>
<!--SEE ALSO-->
<seealsolist>
<seealso name="midiin" type="refpage" module="Max"></seealso>
<seealso name="pgmin" type="refpage" module="Max"></seealso>
<seealso name="rnbo_ctlout" type="rnborefpage" module="RNBO" display="ctlout"></seealso>
<seealso name="rnbo_pgmout" type="rnborefpage" module="RNBO" display="pgmout"></seealso>
<seealso name="rnbo_midiin" type="rnborefpage" module="RNBO" display="midiin"></seealso>
<seealso name="rnbo_touchin" type="rnborefpage" module="RNBO" display="touchin"></seealso>
</seealsolist>
</c74object>