annotate tests/examples/APE_example.xml @ 3063:6b95437ae672

Close #109
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Tue, 31 Oct 2017 16:21:58 +0000
parents 03b0e5dc57e6
children d25e09e3b8fe
rev   line source
b@2521 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@2538 3 <setup interface="APE" projectReturn="save.php" randomiseOrder='true' poolSize="2" loudness="-23" calibration="true">
nicholas@2538 4 <survey location="before">
n@2924 5 <surveyquestion id="sessionId" mandatory="true">
nicholas@2538 6 <statement>Please enter your name.</statement>
nicholas@2538 7 <conditional check="equals" value="John" jumpToOnPass="test-intro" jumpToOnFail="checkboxtest" />
n@2924 8 </surveyquestion>
n@2924 9 <surveycheckbox id="checkboxtest" mandatory="true" min="2" max="4" randomise="true">
nicholas@2538 10 <statement>Please select with which activities you have any experience (example checkbox question)</statement>
nicholas@2538 11 <option name="musician">Playing a musical instrument</option>
nicholas@2538 12 <option name="soundengineer">Recording or mixing audio</option>
nicholas@2538 13 <option name="developer">Developing audio software</option>
nicholas@2538 14 <option name="hwdesigner">Designing or building audio hardware</option>
nicholas@2538 15 <option name="researcher">Research in the field of audio</option>
n@2924 16 </surveycheckbox>
n@2924 17 <surveyquestion id="instrument" mandatory="false">
b@2928 18 <statement>What instrument did you play?</statement>
n@2924 19 </surveyquestion>
n@2924 20 <surveystatement id="test-intro">
nicholas@2538 21 <statement>This is an example of an 'APE'-style test, with two pages, using the test stimuli in 'example_eval/'.</statement>
n@2924 22 </surveystatement>
nicholas@2538 23 </survey>
nicholas@2538 24 <survey location="after">
b@2928 25 <surveyquestion id="location" mandatory="true" boxsize="large">
nicholas@2538 26 <statement>Please enter your location. (example mandatory text question)</statement>
b@2928 27 </surveyquestion>
b@2928 28 <surveynumber id="age" min="0">
nicholas@2538 29 <statement>Please enter your age (example non-mandatory number question)</statement>
b@2928 30 </surveynumber>
b@2928 31 <surveyradio id="rating">
nicholas@2538 32 <statement>Please rate this interface (example radio button question)</statement>
nicholas@2538 33 <option name="bad">Bad</option>
nicholas@2538 34 <option name="poor">Poor</option>
nicholas@2538 35 <option name="good">Good</option>
nicholas@2538 36 <option name="great">Great</option>
b@2928 37 </surveyradio>
b@2928 38 <surveystatement id="thankyou">
nicholas@2538 39 <statement>Thank you for taking this listening test. Please click 'submit' and your results will appear in the 'saves/' folder.</statement>
b@2928 40 </surveystatement>
nicholas@2538 41 </survey>
nicholas@2538 42 <metric>
nicholas@2538 43 <metricenable>testTimer</metricenable>
nicholas@2538 44 <metricenable>elementTimer</metricenable>
nicholas@2538 45 <metricenable>elementInitialPosition</metricenable>
nicholas@2538 46 <metricenable>elementTracker</metricenable>
nicholas@2538 47 <metricenable>elementFlagListenedTo</metricenable>
nicholas@2538 48 <metricenable>elementFlagMoved</metricenable>
nicholas@2538 49 <metricenable>elementListenTracker</metricenable>
nicholas@2538 50 </metric>
nicholas@2538 51 <interface>
nicholas@2538 52 <interfaceoption type="check" name="fragmentMoved" />
nicholas@2538 53 <interfaceoption type="check" name="fragmentPlayed" />
nicholas@2538 54 <interfaceoption type="check" name="scalerange" min="25" max="75" />
nicholas@2538 55 <interfaceoption type="show" name='playhead' />
nicholas@2538 56 <interfaceoption type="show" name="page-count" />
nicholas@2538 57 <interfaceoption type="show" name="comments" />
nicholas@2538 58 </interface>
nicholas@2538 59 </setup>
nicholas@2538 60 <page id='test-0' hostURL="media/example/" randomiseOrder='true' repeatCount='0' loop='true' loudness="-12">
nicholas@2538 61 <commentboxprefix>Comment on fragment</commentboxprefix>
nicholas@2538 62 <interface name="preference">
nicholas@2538 63 <title>Preference</title>
nicholas@2538 64 <scales>
nicholas@2538 65 <scalelabel position="0">Min</scalelabel>
nicholas@2538 66 <scalelabel position="100">Max</scalelabel>
nicholas@2538 67 <scalelabel position="50">Middle</scalelabel>
nicholas@2538 68 <scalelabel position="20">20</scalelabel>
nicholas@2538 69 </scales>
nicholas@2538 70 </interface>
nicholas@2538 71 <interface name="depth">
nicholas@2538 72 <title>Depth</title>
nicholas@2538 73 <scales>
nicholas@2538 74 <scalelabel position="0">Low</scalelabel>
nicholas@2538 75 <scalelabel position="100">High</scalelabel>
nicholas@2538 76 <scalelabel position="50">Middle</scalelabel>
nicholas@2538 77 <scalelabel position="50">Middle</scalelabel>
nicholas@2538 78 </scales>
nicholas@2538 79 </interface>
nicholas@2538 80 <audioelement url="0.wav" id="track-0" type="anchor" />
nicholas@2538 81 <audioelement url="1.wav" id="track-1" />
nicholas@2538 82 <audioelement url="2.wav" id="track-2" />
nicholas@2538 83 <audioelement url="3.wav" id="track-3" />
nicholas@2538 84 <audioelement url="4.wav" id="track-4" />
nicholas@2538 85 <survey location="before">
nicholas@2538 86 <surveyentry type="statement" id="test-0-intro">
nicholas@2538 87 <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>
nicholas@2538 88 </surveyentry>
nicholas@2538 89 </survey>
nicholas@2538 90 <survey location="after">
nicholas@2538 91 <surveyentry type="question" id="genre-0" mandatory="true">
nicholas@2538 92 <statement>Please enter the genre.</statement>
nicholas@2538 93 </surveyentry>
nicholas@2538 94 </survey>
nicholas@2538 95 </page>
nicholas@2538 96 <page id='test-1' hostURL="media/example/" randomiseOrder='true' repeatCount='0' loop='false' label="letter">
nicholas@2538 97 <commentboxprefix>Comment on fragment</commentboxprefix>
nicholas@2538 98 <interface name="preference">
nicholas@2538 99 <title>Example Test Question</title>
nicholas@2538 100 <scales>
nicholas@2538 101 <scalelabel position="0">Min</scalelabel>
nicholas@2538 102 <scalelabel position="100">Max</scalelabel>
nicholas@2538 103 <scalelabel position="50">Middle</scalelabel>
nicholas@2538 104 <scalelabel position="20">20</scalelabel>
nicholas@2538 105 </scales>
nicholas@2538 106 </interface>
nicholas@2538 107 <audioelement url="0.wav" gain="-6" id="track-5" type="anchor" marker="20" />
nicholas@2538 108 <audioelement url="1.wav" gain="0.0" id="track-6" type="reference" marker="80" />
nicholas@2538 109 <audioelement url="2.wav" gain="0.0" id="track-7" />
nicholas@2538 110 <audioelement url="3.wav" gain="0.0" id="track-8" />
nicholas@2538 111 <audioelement url="4.wav" gain="0.0" id="track-9" />
nicholas@2538 112 <audioelement url="5.wav" gain="0.0" id="track-10" />
nicholas@2538 113 <audioelement url="6.wav" gain="0.0" id="track-11" type="outside-reference" />
nicholas@2601 114 <commentquestions>
nicholas@2601 115 <commentquestion id='mixingExperience'>
nicholas@2601 116 <statement>What is your general experience with numbers?</statement>
nicholas@2601 117 </commentquestion>
nicholas@2601 118 <commentradio id="preference">
nicholas@2601 119 <statement>Please enter your overall preference</statement>
nicholas@2601 120 <option name="worst">Very Bad</option>
nicholas@2601 121 <option name="bad"></option>
nicholas@2601 122 <option name="OK">OK</option>
nicholas@2601 123 <option name="Good"></option>
nicholas@2601 124 <option name="Great">Great</option>
nicholas@2601 125 </commentradio>
b@3016 126 <commentcheckbox id="character">
nicholas@2601 127 <statement>Please describe the overall character</statement>
nicholas@2601 128 <option name="funky">Funky</option>
nicholas@2601 129 <option name="mellow">Mellow</option>
nicholas@2601 130 <option name="laidback">Laid back</option>
nicholas@2601 131 <option name="heavy">Heavy</option>
nicholas@2601 132 </commentcheckbox>
nicholas@2601 133 </commentquestions>
nicholas@2538 134 <survey location="before">
nicholas@2538 135 <surveyentry type="statement" id="test-1-intro">
nicholas@2538 136 <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>
nicholas@2538 137 </surveyentry>
nicholas@2538 138 </survey>
nicholas@2538 139 <survey location="after">
nicholas@2538 140 <surveyentry type="question" id="genre-1" mandatory="true">
nicholas@2538 141 <statement>Please enter the genre.</statement>
nicholas@2538 142 </surveyentry>
nicholas@2538 143 </survey>
nicholas@2538 144 </page>
nicholas@2538 145 </waet>