<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>

<c74object name="sdt.windflow~">

	<digest>
		[gases] Wind sound.
	</digest>

	<description>
		<o>sdt.windflow~</o> simulates the noise caused by air turbulences.
		Turbulence arises when an airflow hits a surface, whose irregularities cause random change of direction of air molecules.
		The resulting sound is modeled as a white noise filtered by a non-resonant lowpass filter.
		The cutoff frequency of the filter is empirically set to 800 Hz, and the resulting output is modulated in amplitude according
		to the airflow speed.
	</description>

	<!--METADATA-->
	<metadatalist>
		<metadata name="tag">Sound Design Toolkit</metadata>
	</metadatalist>

	<!--INLETS
	<inletlist>
		<inlet id="0" type="signal">
			<digest>Wind speed [0., 1.].</digest>
			<description></description>
		</inlet>
	</inletlist>
	-->

	<!--OUTLETS
	<outletlist>
		<outlet id="0" type="signal">
			<digest>Audio signal</digest>
		</outlet>
	</outletlist>
	-->

	<!--ARGUMENTS
	<objarglist>
		<objarg name="" optional="" type="">
			<digest></digest>
		</objarg>
	</objarglist>-->

	<!--MESSAGES-->
	<methodlist>
		<method name="signal">
		<!--	<arglist>
				<arg name="Wind speed [0.0, 1.0]." optional="0" type="signal" />
			</arglist>-->
			<digest>
				Wind speed [0., 1.].
			</digest>
			<description>
			</description>
		</method>
	</methodlist>

	<!--ATTRIBUTES
	<attributelist>
		<attribute name="restitution" get="1" set="1" type="float" size="1" >
		    <digest>Restitution coefficient of the bounce.</digest>
		    <description>Restitution coefficient of the bounce, between 0. and 1.</description>
	  </attribute>

		<attribute name="height" get="1" set="1" type="float" size="1">
		    <digest>Initial height of the falling objects.</digest>
		    <description>Initial height of the falling object in meters.</description>
	  </attribute>

		<attribute name="irregularity" get="1" set="1" type="float" size="1" >
				<digest>Object shape irregularity.</digest>
				<description>Deviation from a spherical shape, between 0. and 1.</description>
		</attribute>

	</attributelist>-->

	<!--SEEALSO-->
	<seealsolist>
		<seealso name="sdt.windcavity~"/>
		<seealso name="sdt.windkarman~"/>
		<seealso name="sdt.explosion~"/>
	</seealsolist>

</c74object>
