<?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="bitnot~" module="msp" category="MSP Operators">
	<digest>
		Bitwise inversion of a floating point signal
	</digest>
	<description>
		Use the <o>bitnot~</o> object to perform a bitwise inversion on an incoming floating-point signal as either raw 32-bit data or as an integer value. All bit values of <m>1</m> are set to <m>0</m>, and vice versa.
	</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>
				(signal) Input
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="signal">
			<digest>
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="signal">
			<digest>
				(signal) Output
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="operational-mode" optional="1" type="int">
			<digest>
				Processing mode for floating signal/floating-point values
			</digest>
			<description>
				Specifies whether the floating-point signal or floating-point value will be processed as a raw 32-bit floating-point value or converted to an integer value for bit inversion. The modes of operation are listed below.
				<br />
				<br />
				0: Treat floating-point signal input as a raw 32-bit value (default).
				<br />
				1: Convert the floating-point signal input to an integer value.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="int">
			<arglist>
				<arg name="operational-mode" optional="0" type="int" />
			</arglist>
			<digest>
				Set the operational mode setting
			</digest>
			<description>
				Sets the operational mode of the <o>bitnot~</o> object as described by the <m>mode</m> message.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="operational-mode (0 or 1)" optional="0" type="float" />
			</arglist>
			<digest>
				Set the operational mode setting
			</digest>
			<description>
				Sets the operational mode of the <o>bitnot~</o> object as described by the <m>mode</m> message.
			</description>
		</method>
		<method name="mode">
			<arglist>
				<arg name="operational-mode" optional="0" type="int" />
			</arglist>
			<digest>
				Specify processing mode for floating signal/floating-point values
			</digest>
			<description>
				In left inlet: The word <m>mode</m>, followed by a zero or one, specifies whether the floating signal or floating-point value will be processed as a raw 32-bit floating-point value or converted to an integer value for bit inversion. The modes of operation are:
				<br />
				<br />
				0: Treat floating-point signal input as a raw 32-bit value (default).
				<br />
				1: Convert the floating-point signal input to an integer value.
				<br />
				<br />
				Note: If you convert the floating-point signal input to an int and then convert it back, the resulting floating-point value will retain only 24 bits of integer resolution.
			</description>
		</method>
		<method name="signal">
			<arglist />
			<digest>
				Input signal for evaluation
			</digest>
			<description>
				The <o>bitnot~</o> object can perform bit inversion on either a floating-point signal as bits, or as an integer.
				<br />
				Floating-point signal bit values are expressed in the following form:
				<br />
				&lt;1 sign bit&gt; &lt;8 exponent bits&gt; &lt;23 mantissa bits&gt;
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="bitnot~.png" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="bitshift~" />
		<seealso name="bitor~" />
		<seealso name="bitxor~" />
		<seealso name="bitand~" />
	</seealsolist>
	<misc name="Output">
		<entry name="signal">
			<description>
				The resulting bit inverted floating-point signal.
			</description>
		</entry>
	</misc>
</c74object>
