<?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="ftom~" module="msp" category="MSP Operators">
	<digest>
		Convert frequency to MIDI note numbers at signal-rate
	</digest>
	<description>
		<o>ftom~</o> performs signal-rate frequency (Hz) to MIDI(note-value) conversion.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			MSP
		</metadata>
		<metadata name="tag">
			MSP Operators
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="signal">
			<digest>
				Frequency in Hz
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="signal">
			<digest>
				Frequency in Hz
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="signal">
			<digest>
				Floating-point MIDI Value
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg id="0" name="OBJARG_NAME" type="OBJARG_TYPE" optional="0">
			<digest>
				TEXT_HERE
			</digest>
			<description>
				TEXT_HERE
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="signal">
			<arglist />
			<digest>
				Input frequency value (as a signal)
			</digest>
			<description>
				A signal representing a frequency value. It is converted to a MIDI pitch value (from 0 to 127) and output as a signal.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="base" get="1" set="1" type="float" size="1">
			<digest>
				Base frequency for conversion
			</digest>
			<description>
				Sets the &quot;base frequency&quot; used when converting frequency values (e.g., A = 440.). The default is 440.
			</description>
		</attribute>
	</attributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example img="ftom~.png" caption="What" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="expr" />
		<seealso name="ftom" />
		<seealso name="mtof" />
		<seealso name="mtof~" />
	</seealsolist>
	<misc name="Output">
		<entry name="signal">
			<description>
				The MIDI note value that corresponds to the input frequency is output as a signal. When an input frequency falls between two equal tempered pitches, the fractional part of the MIDI value is included.
			</description>
		</entry>
	</misc>
</c74object>
