<?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="index~" module="msp" category="MSP Sampling">
	<digest>
		Read from a <o>buffer~</o> with no interpolation
	</digest>
	<description>
		Use <o>index~</o> to read from a <o>buffer~</o> object at a signal-driven sample index with no interpolation on the output.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			MSP
		</metadata>
		<metadata name="tag">
			MSP Sampling
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="signal">
			<digest>
				Sample Index
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="signal">
			<digest>
				Audio Channel In buffer~
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="signal">
			<digest>
				Sample Value at Index
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="buffer-name" optional="0" type="symbol">
			<digest>
				Buffer name
			</digest>
			<description />
		</objarg>
		<objarg name="buffer-channel-to-index" optional="1" default="1" type="int">
			<digest>
				Buffer channel to read
			</digest>
			<description />
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="(mouse)">
			<digest>
				Double-click to view the <o>buffer~</o> contents
			</digest>
			<description />
		</method>
		<method name="in1">
			<arglist>
				<arg name="buffer-channel-to-index" optional="0" type="int" />
			</arglist>
			<digest>
				Specify the channel to read
			</digest>
			<description />
		</method>
		<method name="set">
			<arglist>
				<arg name="buffer-name" optional="0" type="symbol" />
			</arglist>
			<digest>
				Set name of the <o>buffer~</o> to read
			</digest>
			<description />
		</method>
		<method name="signal">
			<arglist />
			<digest>
				Set sample index
			</digest>
			<description />
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="index~.png" caption="Look up specific samples in the buffer~, using index~" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="buffer~" />
		<seealso name="buffir~" />
		<seealso name="count~" />
		<seealso name="fft~" />
		<seealso name="07_samplingchapter01" module="msp" type="tutorial" />
	</seealsolist>
	<discussion>
		Since the <o>index~</o> object does no interpolation, it is less useful for general sample playback tasks than <o>play~</o>, <o>groove~</o> etc. However, it may be more accurate and efficient for special circumstances of using a <o>buffer~</o> as data storage such as for FFT windowing. Unlike <o>peek~</o>, the <o>buffer~</o> index to read is specified as a signal.
	</discussion>
	<misc name="Output">
		<entry name="signal">
			<description>
				The output consists of samples at the sample indices specified by the input. No interpolation is performed if the input sample index is not an integer.
			</description>
		</entry>
	</misc>
</c74object>
