<psySpec name=“CarbonSimulation” version=“1.2”>

<global>
	<port>10000</port>
	<title></title>
	<globaltypes></globaltypes>
	<htmldir>html</htmldir>
</global>
 
<whiteboard name="WB1" maxcount="10000" />
<whiteboard name="WB1" maxcount="10000" />
<module name="ble" type="internal">
	   
	<parameter name="ModuleID" type="Integer" value="2" />
	<parameter name="DeviceID" type="Integer" value="3" />
	<parameter name="AmplitudeThreshold" type="Double" value="0.75" />
	<parameter name="BufferSize" type="Integer" value="1024" />
	<parameter name="SamplingFrequency" type="Integer" value="44100" />
	<parameter name="NoiseThreshold" type="Double" value="0.01" />
	<parameter name="PublishInstantaneousPitchValues" type="Integer" value="0" />
	<parameter name="PublishStates" type="Integer" value="1" />
	<parameter name="PitchSlopeMonitorWindow" type="Integer" value="150" />
	<parameter name="PitchUpThreshold" type="Double" value="30" />
	<parameter name="PitchDownThreshold" type="Double" value="-30" />
	<parameter name="PauseThreshold" type="Integer" value="2000" />
	<parameter name="SegmentIntervalThreshold" type="Integer" value="60" />
	<parameter name="HumDurationThreshold" type="Integer" value="200" />
	<parameter name="HumPitchThreshold" type="Double" value="10" />
	<context name="Psyclone.System.Ready">
		<phase name="Default">
			<triggers from="WBTurn">
				<trigger type="Psyclone.System.Ready"/>
				<trigger type="RU.PitchTracker.Stop" />
			</triggers>
			<posts to="WBTurn">
				<post type="RU.Input.PitchTracker.Speech.On.2" />
				<post type="RU.Input.PitchTracker.Speech.Off.2" />
				<post type="RU.Input.PitchTracker.Speaking.2" />
				<post type="RU.Input.PitchTracker.Speech.Pause.2" />
			</posts>
			<crank name="Release\ble::Runtime" />
		</phase>
	</context>
	
</module>

</psySpec>