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

<c74object name="sdt.windcavity~">

	<digest>
		[gases] Sound of airflows passing through cavities, such as tunnels, pipes, valves, etc.
	</digest>

	<description>
		<o>sdt.wincavity~</o> simulates howling phenomena caused by air turbulences inside resonant cylindrical cavities.
		It takes three control parameters: the wind <i>speed</i>, the <i>length</i> and <i>diameter</i> of the cavity.
	</description>

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

	<!--INLETS
	<inletlist>
		<inlet id="0" type="messages to the sdt.windcavity~ object">
			<digest></digest>
			<description></description>
		</inlet>

		<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="Buffer-length" optional="1" type="long">
			<digest>Buffer length, in samples (default 48000).</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="diameter" get="1" set="1" type="float" size="1" >
		    <digest>Diameter of the cavity (m).</digest>
		    <description></description>
	  </attribute>

		<attribute name="length" get="1" set="1" type="float" size="1">
		    <digest>Length of the cavity (m).</digest>
		    <description></description>
	  </attribute>
	</attributelist>

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

</c74object>
