diff example_eval/project-new.xml @ 1121:595511282fa7

Removed Schema document and xmllint for validation. Schema not possible for <survey> ordering of any element any order any number type.
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Tue, 29 Dec 2015 11:39:46 +0000
parents
children 594c9f57c270
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/example_eval/project-new.xml	Tue Dec 29 11:39:46 2015 +0000
@@ -0,0 +1,119 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Uses the new specification -->
+<waet>
+	<setup interface="APE" project-return="save.php" randomise-order='true' test-pages="2" loudness="-23" sample-rate="44100">
+		<survey location="before">
+			<question id="sessionId" mandatory="true">Please enter your name.</question>
+			<checkbox id="checkboxtest" mandatory="true">
+				<statement>Please select with which activities you have any experience (example checkbox question)</statement>
+				<option name="musician">Playing a musical instrument</option>
+				<option name="soundengineer">Recording or mixing audio</option>
+				<option name="developer">Developing audio software</option>
+				<option name="hwdesigner">Designing or building audio hardware</option>
+				<option name="researcher">Research in the field of audio</option>
+			</checkbox>
+			<statement>This is an example of an 'APE'-style test, with two pages, using the test stimuli in 'example_eval/'.</statement>
+		</survey>
+		<survey location="after">
+			<question id="location" mandatory="true" boxsize="large">Please enter your location. (example mandatory text question)</question>
+			<number id="age" min="0">Please enter your age (example non-mandatory number question)</number>
+			<radio id="rating">
+				<statement>Please rate this interface (example radio button question)</statement>
+				<option name="bad">Bad</option>
+				<option name="poor">Poor</option>
+				<option name="good">Good</option>
+				<option name="great">Great</option>
+			</radio>
+			<statement>Thank you for taking this listening test. Please click 'submit' and your results will appear in the 'saves/' folder.</statement>
+		</survey>
+		<metric>
+			<metricenable>testTimer</metricenable>
+			<metricenable>elementTimer</metricenable>
+			<metricenable>elementInitialPosition</metricenable>
+			<metricenable>elementTracker</metricenable>
+			<metricenable>elementFlagListenedTo</metricenable>
+			<metricenable>elementFlagMoved</metricenable>
+			<metricenable>elementListenTracker</metricenable>
+		</metric>
+		<interface>
+			<interfaceoption type="check" name="fragmentMoved"/>
+			<interfaceoption type="check" name="scalerange" min="25" max="75"/>
+			<interfaceoption type="show" name='playhead'/>
+			<interfaceoption type="show" name="page-count"/>
+		</interface>
+	</setup>
+	<page id='test-0' host-URL="example_eval/" randomise-order='true' repeat-count='0' loop='true' show-element-comments='true' loudness="-12">
+        <commentboxprefix>Comment on fragment</commentboxprefix>
+		<interface name="preference">
+            <scales>
+                <scalelabel position="0">Min</scalelabel>
+                <scalelabel position="100">Max</scalelabel>
+                <scalelabel position="50">Middle</scalelabel>
+                <scalelabel position="20">20</scalelabel>
+            </scales
+		</interface>
+		<interface name="depth">
+			<title>Depth</title>
+            <scales>
+                <scalelabel position="0">Low</scalelabel>
+                <scalelabel position="100">High</scalelabel>
+                <scalelabel position="50">Middle</scalelabel>
+                <scalelabel position="50">Middle</scalelabel>
+            </scales>
+		</interface>
+		<audioelement url="0.wav" id="track-0" type="anchor"/>
+		<audioelement url="1.wav" id="track-1"/>
+		<audioelement url="2.wav" id="track-2"/>
+		<audioelement url="3.wav" id="track-3"/>
+		<audioelement url="4.wav" id="track-4"/>
+		<survey location="before">
+			<statement>Example of an 'APE' style interface with hidden anchor 'zero' (which needs to be below 20%), looping of the samples, randomisation of marker labels, mandatory moving of every sample, and a forced scale usage of at least 25%-75%. </statement>
+		</survey>
+		<survey location="after">
+			<question id="genre" mandatory="true">Please enter the genre.</question>
+		</survey>
+	</page>
+    <page id='test-1' host-URL="example_eval/" randomise-order='true' repeat-count='0' loop='false' show-element-comments='true'>
+        <commentboxprefix>Comment on fragment</commentboxprefix>
+        <interface name="preference">
+            <title>Example Test Question</title>
+            <scales>
+                <scalelabel position="0">Min</scalelabel>
+                <scalelabel position="100">Max</scalelabel>
+                <scalelabel position="50">Middle</scalelabel>
+                <scalelabel position="20">20</scalelabel>
+            </scales>
+        </interface>
+        <audioelement url="0.wav" gain="-6" id="track-5" type="anchor" marker="20"/>
+        <audioelement url="1.wav" gain="0.0" id="track-6" type="reference" marker="80"/>
+        <audioelement url="2.wav" gain="0.0" id="track-7"/>
+        <audioelement url="3.wav" gain="0.0" id="track-8"/>
+        <audioelement url="4.wav" gain="0.0" id="track-9"/>
+        <audioelement url="5.wav" gain="0.0" id="track-10"/>
+        <audioelement url="6.wav" gain="0.0" id="track-11" type="outsidereference"/>
+        <commentquestion id='mixingExperience' type="text">
+          <statement>What is your general experience with numbers?</statement>
+        </commentquestion>
+        <commentquestion id="preference" type="radio">
+            <statement>Please enter your overall preference</statement>
+            <option name="worst">Very Bad</option>
+            <option name="bad"></option>
+            <option name="OK">OK</option>
+            <option name="Good"></option>
+            <option name="Great">Great</option>
+        </commentquestion>
+        <commentquestion id="character" type="checkbox">
+            <statement>Please describe the overall character</statement>
+            <option name="funky">Funky</option>
+            <option name="mellow">Mellow</option>
+            <option name="laidback">Laid back</option>
+            <option name="heavy">Heavy</option>
+        </commentquestion>
+        <survey location="pre">
+        	<statement>Example of an 'APE' style interface with outside reference 'six', hidden anchor 'zero' (which needs to be below 20%), hidden reference 'one' (which needs to be above 80%), randomisation of marker labels, and a forced scale usage of at least 25%-75%. </statement>
+        </survey>
+        <survey location="post">
+            <question id="genre" mandatory="true">Please enter the genre.</question>
+        </survey>
+    </page>
+</waet>
\ No newline at end of file