view test.html @ 25:4a4bd554b4c1 tip

Closing this sub branch.
author Daniele Barchiesi <daniele.barchiesi@eecs.qmul.ac.uk>
date Mon, 25 Mar 2013 14:02:54 +0000
parents 15260ae0d6bc
children
line wrap: on
line source

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<html lang="en" dir="ltr">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8;charset=utf-8" >
	<! link rel="stylesheet" href="../build/mediaelementplayer.min.css" TITLE="combined">
  	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>Audio Environment Classification</title>	
	
	<script src="../build/jquery.js"></script>	
	<!script src="../build/mediaelement-and-player.min.js"></script>


	<script language = "JavaScript">
	
	window.onload = function () {
	document.getElementById("a1")[0].selected = true;
	document.getElementById("a2")[0].selected = true;
	document.getElementById("a3")[0].selected = true;
	document.getElementById("a4")[0].selected = true;
	document.getElementById("a5")[0].selected = true;
	document.getElementById("a6")[0].selected = true;
	document.getElementById("a7")[0].selected = true;
	document.getElementById("a8")[0].selected = true;
	document.getElementById("a9")[0].selected = true;
	document.getElementById("a10")[0].selected = true;
	}

	</script>
	
	<script language="JavaScript" src="../js/gen_validatorv4.js"
	    type="text/javascript" xml:space="preserve"></script>
</head>

<body>

  <h3 id="test 1">1/10</h3><br>
  <h4>Please play the sounds and indicate where they have been recorded </h4>

<form name="attributes" action="doAttrib" method="POST">

<audio id="audio player 1" controls>
  <source src="/Users/daniele/Documents/AASPChallenge/survey/AASPAudio/park/park07.wav" type="audio/wav">
</audio>

<form name = "attribute1" id="a1">
<input type="radio" name="cat" value="bus">bus
<input type="radio" name="cat" value="busy street">busy street
<input type="radio" name="cat" value="office">office
<input type="radio" name="cat" value="open air market">open air market
<input type="radio" name="cat" value="park">park <br>
<input type="radio" name="cat" value="quiet street">quiet street
<input type="radio" name="cat" value="restaurant">restaurant
<input type="radio" name="cat" value="supermarket">supermarket
<input type="radio" name="cat" value="tube">tube
<input type="radio" name="cat" value="tube station">tube station
</form>
<br>

<audio id="audio player 2" controls>
  <source src="/Users/daniele/Documents/AASPChallenge/survey/AASPAudio/park/park04.wav" type="audio/wav">
</audio>

<form name = "attribute2" id="a2">
<input type="radio" name="cat" value="bus">bus
<input type="radio" name="cat" value="busy street">busy street
<input type="radio" name="cat" value="office">office
<input type="radio" name="cat" value="open air market">open air market
<input type="radio" name="cat" value="park">park <br>
<input type="radio" name="cat" value="quiet street">quiet street
<input type="radio" name="cat" value="restaurant">restaurant
<input type="radio" name="cat" value="supermarket">supermarket
<input type="radio" name="cat" value="tube">tube
<input type="radio" name="cat" value="tube station">tube station
</form>
<br>

<audio id="audio player 3" controls>
  <source src="/Users/daniele/Documents/AASPChallenge/survey/AASPAudio/park/park08.wav" type="audio/wav">
</audio>

<form name = "attribute3" id="a3">
<input type="radio" name="cat" value="bus">bus
<input type="radio" name="cat" value="busy street">busy street
<input type="radio" name="cat" value="office">office
<input type="radio" name="cat" value="open air market">open air market
<input type="radio" name="cat" value="park">park <br>
<input type="radio" name="cat" value="quiet street">quiet street
<input type="radio" name="cat" value="restaurant">restaurant
<input type="radio" name="cat" value="supermarket">supermarket
<input type="radio" name="cat" value="tube">tube
<input type="radio" name="cat" value="tube station">tube station
</form>
<br>

<audio id="audio player 4" controls>
  <source src="/Users/daniele/Documents/AASPChallenge/survey/AASPAudio/restaurant/restaurant03.wav" type="audio/wav">
</audio>

<form name = "attribute4" id="a4">
<input type="radio" name="cat" value="bus">bus
<input type="radio" name="cat" value="busy street">busy street
<input type="radio" name="cat" value="office">office
<input type="radio" name="cat" value="open air market">open air market
<input type="radio" name="cat" value="park">park <br>
<input type="radio" name="cat" value="quiet street">quiet street
<input type="radio" name="cat" value="restaurant">restaurant
<input type="radio" name="cat" value="supermarket">supermarket
<input type="radio" name="cat" value="tube">tube
<input type="radio" name="cat" value="tube station">tube station
</form>
<br>

<audio id="audio player 5" controls>
  <source src="/Users/daniele/Documents/AASPChallenge/survey/AASPAudio/park/park01.wav" type="audio/wav">
</audio>

<form name = "attribute5" id="a5">
<input type="radio" name="cat" value="bus">bus
<input type="radio" name="cat" value="busy street">busy street
<input type="radio" name="cat" value="office">office
<input type="radio" name="cat" value="open air market">open air market
<input type="radio" name="cat" value="park">park <br>
<input type="radio" name="cat" value="quiet street">quiet street
<input type="radio" name="cat" value="restaurant">restaurant
<input type="radio" name="cat" value="supermarket">supermarket
<input type="radio" name="cat" value="tube">tube
<input type="radio" name="cat" value="tube station">tube station
</form>
<br>

<audio id="audio player 6" controls>
  <source src="/Users/daniele/Documents/AASPChallenge/survey/AASPAudio/tubestation/tubestation03.wav" type="audio/wav">
</audio>

<form name = "attribute6" id="a6">
<input type="radio" name="cat" value="bus">bus
<input type="radio" name="cat" value="busy street">busy street
<input type="radio" name="cat" value="office">office
<input type="radio" name="cat" value="open air market">open air market
<input type="radio" name="cat" value="park">park <br>
<input type="radio" name="cat" value="quiet street">quiet street
<input type="radio" name="cat" value="restaurant">restaurant
<input type="radio" name="cat" value="supermarket">supermarket
<input type="radio" name="cat" value="tube">tube
<input type="radio" name="cat" value="tube station">tube station
</form>
<br>

<audio id="audio player 7" controls>
  <source src="/Users/daniele/Documents/AASPChallenge/survey/AASPAudio/tube/tube02.wav" type="audio/wav">
</audio>

<form name = "attribute7" id="a7">
<input type="radio" name="cat" value="bus">bus
<input type="radio" name="cat" value="busy street">busy street
<input type="radio" name="cat" value="office">office
<input type="radio" name="cat" value="open air market">open air market
<input type="radio" name="cat" value="park">park <br>
<input type="radio" name="cat" value="quiet street">quiet street
<input type="radio" name="cat" value="restaurant">restaurant
<input type="radio" name="cat" value="supermarket">supermarket
<input type="radio" name="cat" value="tube">tube
<input type="radio" name="cat" value="tube station">tube station
</form>
<br>

<audio id="audio player 8" controls>
  <source src="/Users/daniele/Documents/AASPChallenge/survey/AASPAudio/openairmarket/openairmarket05.wav" type="audio/wav">
</audio>

<form name = "attribute8" id="a8">
<input type="radio" name="cat" value="bus">bus
<input type="radio" name="cat" value="busy street">busy street
<input type="radio" name="cat" value="office">office
<input type="radio" name="cat" value="open air market">open air market
<input type="radio" name="cat" value="park">park <br>
<input type="radio" name="cat" value="quiet street">quiet street
<input type="radio" name="cat" value="restaurant">restaurant
<input type="radio" name="cat" value="supermarket">supermarket
<input type="radio" name="cat" value="tube">tube
<input type="radio" name="cat" value="tube station">tube station
</form>
<br>

<audio id="audio player 9" controls>
  <source src="/Users/daniele/Documents/AASPChallenge/survey/AASPAudio/busystreet/busystreet07.wav" type="audio/wav">
</audio>

<form name = "attribute9" id="a9">
<input type="radio" name="cat" value="bus">bus
<input type="radio" name="cat" value="busy street">busy street
<input type="radio" name="cat" value="office">office
<input type="radio" name="cat" value="open air market">open air market
<input type="radio" name="cat" value="park">park <br>
<input type="radio" name="cat" value="quiet street">quiet street
<input type="radio" name="cat" value="restaurant">restaurant
<input type="radio" name="cat" value="supermarket">supermarket
<input type="radio" name="cat" value="tube">tube
<input type="radio" name="cat" value="tube station">tube station
</form>
<br>

<audio id="audio player 10" controls>
  <source src="/Users/daniele/Documents/AASPChallenge/survey/AASPAudio/quietstreet/quietstreet09.wav" type="audio/wav">
</audio>

<form name = "attribute10" id="a10">
<input type="radio" name="cat" value="bus">bus
<input type="radio" name="cat" value="busy street">busy street
<input type="radio" name="cat" value="office">office
<input type="radio" name="cat" value="open air market">open air market
<input type="radio" name="cat" value="park">park <br>
<input type="radio" name="cat" value="quiet street">quiet street
<input type="radio" name="cat" value="restaurant">restaurant
<input type="radio" name="cat" value="supermarket">supermarket
<input type="radio" name="cat" value="tube">tube
<input type="radio" name="cat" value="tube station">tube station
</form>
<br>

	<input type="hidden" name="pageId" value="1">
	<input type="hidden" name="sessionId" value="559292c4bd8c4ea35e5d5984fc1f355fe079927b">
	
	<input type="submit" value="submit" name="submitButton"/>
	
	</form>
	
	<script language="JavaScript" type="text/javascript"
	    xml:space="preserve">//<![CDATA[
	  var frmvalidator  = new Validator("attributes");

	frmvalidator.addValidation("attribute1","dontselect=0", "Please select at least one main attribute for each item");
	frmvalidator.addValidation("attribute2","dontselect=0", "Please select at least one main attribute for each item");
	frmvalidator.addValidation("attribute3","dontselect=0", "Please select at least one main attribute for each item");
	frmvalidator.addValidation("attribute4","dontselect=0", "Please select at least one main attribute for each item");
	frmvalidator.addValidation("attribute5","dontselect=0", "Please select at least one main attribute for each item");
	frmvalidator.addValidation("attribute6","dontselect=0", "Please select at least one main attribute for each item");
	frmvalidator.addValidation("attribute7","dontselect=0", "Please select at least one main attribute for each item");
	frmvalidator.addValidation("attribute8","dontselect=0", "Please select at least one main attribute for each item");
	frmvalidator.addValidation("attribute9","dontselect=0", "Please select at least one main attribute for each item");
	frmvalidator.addValidation("attribute10","dontselect=0", "Please select at least one main attribute for each item");

	//]]></script>
	
	</div>

	    </div>

</body>

<script>
$('audio,video').mediaelementplayer();
</script>
</html>