<?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="voice" 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 Polyphony</metadata>
<metadata name="tag">RNBO MIDI</metadata>
</metadatalist>
<digest>Report voice index and set mute status</digest>
<description><p>
The voice object reports the current voice index (0 if not in a polyphonic context) and can set and report mute status of containing voice or patcher.
</p></description>
<!--ARGUMENTS-->
<!--NONE-->
<!--OPTIONS-->
<!--NONE-->
<!--ATTRIBUTES-->
<rnboattributelist>
<attribute name="mute" size="1" type="bang, number">
<digest>Bang or 1 to mute voice, 0 to unmute.</digest>
<description><p>
The right inlet controls the mute status of a voice. A bang or a 1 will mute the voice and a 0 will unmute. Can be used with the 
<o objname="rnbo_silencedetector~">silencedetector~</o>
 object for manual voice management.
</p></description>
</attribute>
<attribute name="muteout" size="1" type="list">
<digest>muteout</digest>

</attribute>
<attribute name="voicebang" size="1" type="bang">
<digest>Bang to report the current voice number.</digest>
<description><p>
A bang in the left inlet will report the index number of the current voice (or containing voice when used in a polyphonic subpatcher).
</p></description>
</attribute>
</rnboattributelist>
<!--INLETS-->
<rnboinletlist>
<inlet id="inlet_voicebang" name="voicebang" type="bang">
<digest>Bang to report the current voice number.</digest>
<description><p>
A bang in the left inlet will report the index number of the current voice (or containing voice when used in a polyphonic subpatcher).
</p></description>
</inlet>
<inlet id="inlet_mute" name="mute" type="bang, number">
<digest>Bang or 1 to mute voice, 0 to unmute.</digest>
<description><p>
The right inlet controls the mute status of a voice. A bang or a 1 will mute the voice and a 0 will unmute. Can be used with the 
<o objname="rnbo_silencedetector~">silencedetector~</o>
 object for manual voice management.
</p></description>
</inlet>
</rnboinletlist>
<!--OUTLETS-->
<rnbooutletlist>
<outlet id="outlet_voicenumber" name="voicenumber" type="number">
<digest>The current voice index.</digest>
<description><p>
Outputs the current voice index whenever the left inlet receives a bang.
</p></description>
</outlet>
<outlet id="outlet_noteNumber" name="noteNumber" type="number">
<digest>The current note number.</digest>
<description><p>
Outputs the currently active MIDI note number in use by the voice.
</p></description>
</outlet>
<outlet id="outlet_mutestatus" name="mutestatus" type="number">
<digest>The current voice status.</digest>
<description><p>
The current status of the voice. 0 = busy, 1 = free.
</p></description>
</outlet>
<outlet id="outlet_activevoices" name="activevoices" type="number">
<digest>The number of currently active voices.</digest>
<description><p>
Shows the total number of currently active voices in the polyphonic context.
</p></description>
</outlet>
</rnbooutletlist>
<!--SEE ALSO-->
<seealsolist>
<seealso name="rnbo_adsr~" type="rnborefpage" module="RNBO" display="adsr~"></seealso>
<seealso name="rnbo_midiin" type="rnborefpage" module="RNBO" display="midiin"></seealso>
<seealso name="rnbo_midiformat" type="rnborefpage" module="RNBO" display="midiformat"></seealso>
<seealso name="rnbo_p" type="rnborefpage" module="RNBO" display="p"></seealso>
<seealso name="rnbo_silencedetector~" type="rnborefpage" module="RNBO" display="silencedetector~"></seealso>
</seealsolist>
</c74object>