<?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="triangle" category="Generators">
<!--METADATA-->
<metadatalist>
<metadata name="author">Cycling '74</metadata>
<metadata name="tag">RNBO</metadata>
<metadata name="tag">RNBO Math</metadata>
<metadata name="tag">RNBO Oscillators</metadata>
</metadatalist>
<digest>A triangle/ramp wavetable oscillator with a phase input.</digest>
<description><p>
A triangle/ramp wavetable oscillator with a phase input to change the the offset of the peak value. This operator can be better suited to modulation and control signals, for the anti-aliased signal rate version of this operator, see 
<o objname="rnbo_tri~">tri~</o>
.
</p></description>
<!--ARGUMENTS-->
<objarglist>
<objarg name="duty" optional="1" type="number">
<digest>The duty cycle value from 0 to 1.0.</digest>
<description><p>
The duty cycle (or peak value phase offset) value from 0 to 1.0. The default is 0.5. A value of 0 produces a ramp (down) waveform when the triangle operator is driven by a 
<o objname="rnbo_phasor~">phasor~</o>
 or event rate linear ramp, and a value of 1.0 produces a sawtooth waveform.
</p></description>
</objarg>
</objarglist>
<!--OPTIONS-->
<rnbooptionlist>
<option name="hot" size="1" type="bool">
<digest>Trigger computation on all inlets.</digest>
<attributelist>
<attribute name="default" type="bool" value="false"></attribute>
</attributelist>

</option>
</rnbooptionlist>
<!--ATTRIBUTES-->
<rnboattributelist>
<attribute name="duty" size="1" type="number">
<digest>The duty cycle value from 0 to 1.0.</digest>
<description><p>
The duty cycle (or peak value phase offset) value from 0 to 1.0. The default is 0.5. A value of 0 produces a ramp (down) waveform when the triangle operator is driven by a 
<o objname="rnbo_phasor~">phasor~</o>
 or event rate linear ramp, and a value of 1.0 produces a sawtooth waveform.
</p></description>
</attribute>
<attribute name="phase" size="1" type="number">
<digest>phase input value</digest>
<description><p>
Any signal, float, or an input signal progressing from 0 to 1 is used to scan the triangle operator's wavetable, treating the contents of the wavetable as a repeating waveform.
</p></description>
</attribute>
<attribute name="reset" size="1" type="bang">
<digest>Banging this attribute will reset the object to its default state.</digest>
<attributelist>
<attribute name="default" type="bang" value="0"></attribute>
</attributelist>

</attribute>
</rnboattributelist>
<!--INLETS-->
<rnboinletlist>
<inlet id="inlet_phase" name="phase" type="number">
<digest>phase input value</digest>
<description><p>
Any signal, float, or an input signal progressing from 0 to 1 is used to scan the triangle operator's wavetable, treating the contents of the wavetable as a repeating waveform.
</p></description>
</inlet>
<inlet id="inlet_duty" name="duty" type="number">
<digest>The duty cycle value from 0 to 1.0.</digest>
<description><p>
The duty cycle (or peak value phase offset) value from 0 to 1.0. The default is 0.5. A value of 0 produces a ramp (down) waveform when the triangle operator is driven by a 
<o objname="rnbo_phasor~">phasor~</o>
 or event rate linear ramp, and a value of 1.0 produces a sawtooth waveform.
</p></description>
</inlet>
</rnboinletlist>
<!--OUTLETS-->
<rnbooutletlist>
<outlet id="outlet_out1" name="out" type="number">
<digest>The wavetable output.</digest>
<description><p>
A float value which corresponds to the value referenced by the triangle operator's input.
</p></description>
</outlet>
</rnbooutletlist>
<!--SEE ALSO-->
<seealsolist>
<seealso name="triangle~" type="refpage" module="MSP"></seealso>
<seealso name="rnbo_tri~" type="rnborefpage" module="RNBO" display="tri~"></seealso>
</seealsolist>
</c74object>