annotate tests/examples/AB_example.xml @ 2922:7fa175a37aca master

Merge branch 'master' of https://github.com/BrechtDeMan/WebAudioEvaluationTool
author www-data <www-data@sucuk.dcs.qmul.ac.uk>
date Thu, 03 Aug 2017 18:24:46 +0100
parents 28bc4e90e026
children 5705787531a3 f5bfac0557bb
rev   line source
nicholas@2226 1 <?xml version="1.0" encoding="utf-8"?>
nicholas@2538 2 <waet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="test-schema.xsd">
nicholas@2779 3 <setup interface="AB" projectReturn="save.php" randomiseOrder="false" poolSize="2" loudness="-23" playOne="true">
nicholas@2538 4 <survey location="before">
nicholas@2774 5 <surveyquestion id="sessionId" mandatory="true">
nicholas@2538 6 <statement>Please enter your name.</statement>
nicholas@2774 7 </surveyquestion>
nicholas@2774 8 <surveycheckbox id="checkboxtest" mandatory="true">
nicholas@2538 9 <statement>Please select with which activities you have any experience (example checkbox question)</statement>
nicholas@2538 10 <option name="musician">Playing a musical instrument</option>
nicholas@2538 11 <option name="soundengineer">Recording or mixing audio</option>
nicholas@2538 12 <option name="developer">Developing audio software</option>
nicholas@2538 13 <option name="hwdesigner">Designing or building audio hardware</option>
nicholas@2538 14 <option name="researcher">Research in the field of audio</option>
nicholas@2774 15 </surveycheckbox>
nicholas@2774 16 <surveystatement id="test-intro">
nicholas@2538 17 <statement>This is an example of an 'AB'-style test, with two pages, using the test stimuli in 'example_eval/'. The 'playOne' configuration option means a fragment has to be finished playing before another fragment can be auditioned. </statement>
nicholas@2774 18 </surveystatement>
nicholas@2538 19 </survey>
nicholas@2538 20 <survey location="after">
nicholas@2774 21 <surveyquestion id="location" mandatory="true" boxsize="large">
nicholas@2538 22 <statement>Please enter your location. (example mandatory text question)</statement>
nicholas@2774 23 </surveyquestion>
nicholas@2774 24 <surveynumber id="age" min="0">
nicholas@2538 25 <statement>Please enter your age (example non-mandatory number question)</statement>
nicholas@2774 26 </surveynumber>
nicholas@2774 27 <surveyradio id="rating">
nicholas@2538 28 <statement>Please rate this interface (example radio button question)</statement>
nicholas@2538 29 <option name="bad">Bad</option>
nicholas@2538 30 <option name="poor">Poor</option>
nicholas@2538 31 <option name="good">Good</option>
nicholas@2538 32 <option name="great">Great</option>
nicholas@2774 33 </surveyradio>
nicholas@2774 34 <surveystatement id="test-thank-you">
nicholas@2538 35 <statement>Thank you for taking this listening test. Please click 'submit' and your results will appear in the 'saves/' folder.</statement>
nicholas@2774 36 </surveystatement>
nicholas@2538 37 </survey>
nicholas@2538 38 <metric>
nicholas@2538 39 <metricenable>testTimer</metricenable>
nicholas@2538 40 <metricenable>elementTimer</metricenable>
nicholas@2538 41 <metricenable>elementInitialPosition</metricenable>
nicholas@2538 42 <metricenable>elementTracker</metricenable>
nicholas@2538 43 <metricenable>elementFlagListenedTo</metricenable>
nicholas@2538 44 <metricenable>elementFlagMoved</metricenable>
nicholas@2538 45 <metricenable>elementListenTracker</metricenable>
nicholas@2538 46 </metric>
nicholas@2538 47 <interface>
nicholas@2538 48 <interfaceoption type="check" name="fragmentMoved" />
n@2787 49 <interfaceoption type="check" name="scalerange" min="25" max="75">
n@2787 50 <errormessage>Test Error Message</errormessage>
n@2787 51 </interfaceoption>
nicholas@2538 52 <interfaceoption type="show" name='playhead' />
nicholas@2538 53 <interfaceoption type="show" name="page-count" />
nicholas@2538 54 <interfaceoption type="show" name='volume' />
nicholas@2538 55 <interfaceoption type="show" name='comments' />
nicholas@2538 56 </interface>
nicholas@2538 57 </setup>
nicholas@2538 58 <page id='test-0' hostURL="media/example/" randomiseOrder='true' repeatCount='0' loop='false' loudness="-12">
nicholas@2538 59 <commentboxprefix>Comment on fragment</commentboxprefix>
nicholas@2538 60 <interface>
nicholas@2779 61 <title>Which sounds most like a drum?</title>
nicholas@2779 62 <image src="https://upload.wikimedia.org/wikipedia/commons/0/0a/Drumkit-icon.png" />
nicholas@2538 63 </interface>
nicholas@2538 64 <audioelement url="0.wav" id="track-0" />
nicholas@2538 65 <audioelement url="1.wav" id="track-1" />
nicholas@2538 66 <survey location="before">
nicholas@2774 67 <surveystatement id="test-0-intro">
nicholas@2779 68 <statement>A two way comparison using randomised element order, automatic loudness and synchronised looping. Also an embedded image</statement>
nicholas@2774 69 </surveystatement>
nicholas@2538 70 </survey>
nicholas@2538 71 <survey location="after">
nicholas@2774 72 <surveyquestion id="genre-0" mandatory="true">
nicholas@2538 73 <statement>Please enter the genre.</statement>
nicholas@2774 74 </surveyquestion>
nicholas@2538 75 </survey>
nicholas@2538 76 </page>
nicholas@2538 77 <page id='test-1' hostURL="media/example/" randomiseOrder='true' repeatCount='0' loop='false' loudness="-12">
nicholas@2538 78 <commentboxprefix>Comment on fragment</commentboxprefix>
nicholas@2538 79 <interface>
nicholas@2538 80 <title>Depth</title>
nicholas@2538 81 </interface>
nicholas@2538 82 <audioelement url="0.wav" id="track-2" />
nicholas@2538 83 <audioelement url="1.wav" id="track-3" />
nicholas@2538 84 <audioelement url="2.wav" id="track-4" />
nicholas@2538 85 <audioelement url="3.wav" id="track-5" />
nicholas@2538 86 <audioelement url="4.wav" id="track-6" />
nicholas@2538 87 <audioelement url="5.wav" id="track-7" />
nicholas@2538 88 <audioelement url="6.wav" id="track-8" />
nicholas@2538 89 <survey location="before">
nicholas@2774 90 <surveystatement id="test-1-intro">
nicholas@2538 91 <statement>A 7 way comparison using randomised element order and synchronised looping.</statement>
nicholas@2774 92 </surveystatement>
nicholas@2538 93 </survey>
nicholas@2538 94 <survey location="after">
nicholas@2774 95 <surveyquestion id="genre-1" mandatory="true">
nicholas@2538 96 <statement>Please enter the genre.</statement>
nicholas@2774 97 </surveyquestion>
nicholas@2538 98 </survey>
nicholas@2538 99 </page>
nicholas@2538 100 </waet>