<bml id="bml1" xmlns:bmlt="http://hmi.ewi.utwente.nl/bmlt">
  <bmlt:controller id="balance1" class="BalanceController">
    <bmlt:parameter name="pelvisheight" value="0.985"/>
  </bmlt:controller>
  
	<bmlt:controller id="shoulder1" class="BallJointController" start="0" end="trans1:start">
		<bmlt:parameter name="joint" value="r_shoulder"/>
	</bmlt:controller>
	<bmlt:controller id="elbow1" class="HingeJointController" start="0" end="trans1:start">
		<bmlt:parameter name="joint" value="r_elbow"/>
	</bmlt:controller>
	
	<bmlt:transition id="trans1" class="HermiteSplinePhysicalTransition" start="4" end="5">
		<bmlt:parameter name="joints" value="r_shoulder,r_elbow,r_wrist"/>
	</bmlt:transition> 
  
  <bmlt:procanimation id="beat1" name="conduct-3-beat-start" start="trans1:end">
    <bmlt:parameter name="a" value="1"/>
    <bmlt:parameter name="hand" value="RIGHT"/>
  </bmlt:procanimation>
  
  <bmlt:procanimation id="beat2" name="conduct-3-beat" start="beat1:end">
    <bmlt:parameter name="a" value="1"/>
    <bmlt:parameter name="hand" value="RIGHT"/>
  </bmlt:procanimation>

  
  <bmlt:procanimation id="beat3" name="conduct-3-beat" start="beat2:end">
    <bmlt:parameter name="a" value="1"/>
    <bmlt:parameter name="hand" value="RIGHT"/>
  </bmlt:procanimation>

  <bmlt:procanimation id="beat4" name="conduct-3-beat" start="beat3:end">
    <bmlt:parameter name="a" value="1"/>
    <bmlt:parameter name="hand" value="RIGHT"/>
  </bmlt:procanimation>

  <bmlt:procanimation id="beat5" name="conduct-3-beat" start="beat4:end">
    <bmlt:parameter name="a" value="1"/>
    <bmlt:parameter name="hand" value="RIGHT"/>
  </bmlt:procanimation>

  <head id="nod1" start="beat5:beat3" end="beat5:end" action="ROTATION" rotation="NOD"/>
	
	<speech id="speech1" start="beat5:beat3"> 
  	<text>Yes.</text>
  </speech>  
  
	<bmlt:transition id="trans2" class="HermiteSplinePhysicalTransition" start="beat5:beat3" end="beatstop:start">
		<bmlt:parameter name="joints" value="l_shoulder,l_elbow,l_wrist"/>
	</bmlt:transition> 
 
	<bmlt:controller id="shoulder2" class="BallJointController" start="0" end="trans2:start">
		<bmlt:parameter name="joint" value="l_shoulder"/>
	</bmlt:controller>
	<bmlt:controller id="elbow2" class="HingeJointController" start="0" end="trans2:start">
		<bmlt:parameter name="joint" value="l_elbow"/>
	</bmlt:controller>

  <bmlt:procanimation id="beatstop" name="conduct-stop" start="beat5:end">
    <bmlt:parameter name="a" value="1"/>
    <bmlt:parameter name="hand" value="BOTH"/>
  </bmlt:procanimation>
  
	<speech id="speech2" start="beatstop:end"> 
  	<text>That was absolutely <sync id="abs"/> great ! You played <sync id="really"/> really well.</text>
  </speech>  
	<!--bmlt:procanimation id="refuse1" name="refuse" stroke-end="speech2:really"/-->
  <head id="nod2" end="speech2:abs" action="ROTATION" rotation="NOD"/>
  

	<bmlt:controller id="shoulder3" class="BallJointController" start="beatstop:end">
		<bmlt:parameter name="joint" value="r_shoulder"/>		
		<bmlt:parameter name="anglez" value="-0.2"/>
		<bmlt:parameter name="ksz" value="10"/>		
	</bmlt:controller>
	<bmlt:controller id="elbow3" class="HingeJointController" start="beatstop:end">
		<bmlt:parameter name="joint" value="r_elbow"/>
	</bmlt:controller>
	<bmlt:controller id="shoulder4" class="BallJointController" start="beatstop:end">
		<bmlt:parameter name="joint" value="l_shoulder"/>
		<bmlt:parameter name="anglez" value="0.2"/>
		<bmlt:parameter name="ksz" value="10"/>		
	</bmlt:controller>
	<bmlt:controller id="elbow4" class="HingeJointController" start="beatstop:end">
		<bmlt:parameter name="joint" value="l_elbow"/>
	</bmlt:controller>


</bml>
