<?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. Rather, use the _ref.xml files found in the 'edits' folder.-->

<c74object name="el.markov~">
    
	<digest>
		First-order Markov chain
	</digest>
	<description>
		<o>el.markov~</o> implements a first order markov chain and then outputs values tagged to events.</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Eric Lyon
		</metadata>
		<metadata name="tag">
			MSP
		</metadata>
		<metadata name="tag">
			LyonPotpourri
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="maximum event count" type="int" optional="0">
			<digest>
				TEXT_HERE
			</digest>
			<description>
				Set the maximum possible number of events.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist>
                <!--arg name="toggle" type="int" optional="0" id="1" /-->
                
			</arglist>
			<digest>
				TEXT_HERE
			</digest>
			<description>
				Send out the next event.
            </description>
		</method>
        
		<method name="event_odds">
			<arglist>
                <arg name="event data" type="list" optional="0" id="1" />
                
			</arglist>
			<digest>
				TEXT_HERE
			</digest>
			<description>
				The first number of the list is the event number. This is followed by a series of weights, each representing the relative transition odds for the event in that position. There should be one weighting for each possible event.
            </description>
		</method>
        
		<method name="manual_override">
			<arglist>
                <arg name="toggle" type="int" optional="0" id="1" />
                
			</arglist>
			<digest>
				TEXT_HERE
			</digest>
			<description>
				When turned off, the next event is selected by a bang. When on (the default) events are triggered by an internal clock.
            </description>
		</method>
        
		<method name="set_length">
			<arglist>
                <arg name="event count" type="int" optional="0" id="1" />
                
			</arglist>
			<digest>
				TEXT_HERE
			</digest>
			<description>
				Set the number of events.
            </description>
		</method>
        
		<method name="subdiv">
			<arglist>
                <arg name="beat subdivision" type="int" optional="0" id="1" />
                
			</arglist>
			<digest>
				TEXT_HERE
			</digest>
			<description>
				Subdivision of the internal clock beat. The default value is 1.
            </description>
		</method>
        
		<method name="tempo">
			<arglist>
                <arg name="tempo" type="float" optional="0" id="1" />
                
			</arglist>
			<digest>
				TEXT_HERE
			</digest>
			<description>
                Set the tempo in BPM. The default is 60.
            </description>
		</method>
        
		<method name="values">
			<arglist>
                <arg name="values" type="list" optional="0" id="1" />
                
			</arglist>
			<digest>
				TEXT_HERE
			</digest>
			<description>
                Set the actual values to be accessed by the Markov process. There should be as many values as specified by the message "set_length".
            </description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<attributelist>
	</attributelist>
	<!--SEEALSO-->
	<seealsolist>
		<!--seealso name="fftz.pvwarpb~"/-->
	</seealsolist>
    
</c74object>
