annotate tests/examples/APE_example.xml @ 2601:2577d983f291

Beautified entire project.
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Mon, 14 Nov 2016 14:23:41 +0000
parents 89f787e2e90c
children 8188efa9415d
rev   line source
b@2521 1 <?xml version="1.0" encoding="utf-8"?>
nicholas@2601 2 <waet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="test-schema.xsd">
nicholas@2601 3 <setup interface="APE" projectReturn="save.php" randomiseOrder='true' poolSize="2" loudness="-23" calibration="true">
nicholas@2601 4 <survey location="before">
nicholas@2601 5 <surveyentry type="question" id="sessionId" mandatory="true">
nicholas@2601 6 <statement>Please enter your name.</statement>
nicholas@2601 7 <conditional check="equals" value="John" jumpToOnPass="test-intro" jumpToOnFail="checkboxtest" />
nicholas@2601 8 </surveyentry>
nicholas@2601 9 <surveyentry type="checkbox" id="checkboxtest" mandatory="true" min="2" max="4">
nicholas@2601 10 <statement>Please select with which activities you have any experience (example checkbox question)</statement>
nicholas@2601 11 <option name="musician">Playing a musical instrument</option>
nicholas@2601 12 <option name="soundengineer">Recording or mixing audio</option>
nicholas@2601 13 <option name="developer">Developing audio software</option>
nicholas@2601 14 <option name="hwdesigner">Designing or building audio hardware</option>
nicholas@2601 15 <option name="researcher">Research in the field of audio</option>
nicholas@2601 16 </surveyentry>
nicholas@2601 17 <surveyentry type="question" id="instrument" mandatory="false">
nicholas@2601 18 <statement>What instrument did you play</statement>
nicholas@2601 19 </surveyentry>
nicholas@2601 20 <surveyentry type="statement" id="test-intro">
nicholas@2601 21 <statement>This is an example of an 'APE'-style test, with two pages, using the test stimuli in 'example_eval/'.</statement>
nicholas@2601 22 </surveyentry>
nicholas@2601 23 </survey>
nicholas@2601 24 <survey location="after">
nicholas@2601 25 <surveyentry type="question" id="location" mandatory="true" boxsize="large">
nicholas@2601 26 <statement>Please enter your location. (example mandatory text question)</statement>
nicholas@2601 27 </surveyentry>
nicholas@2601 28 <surveyentry type="number" id="age" min="0">
nicholas@2601 29 <statement>Please enter your age (example non-mandatory number question)</statement>
nicholas@2601 30 </surveyentry>
nicholas@2601 31 <surveyentry type="radio" id="rating">
nicholas@2601 32 <statement>Please rate this interface (example radio button question)</statement>
nicholas@2601 33 <option name="bad">Bad</option>
nicholas@2601 34 <option name="poor">Poor</option>
nicholas@2601 35 <option name="good">Good</option>
nicholas@2601 36 <option name="great">Great</option>
nicholas@2601 37 </surveyentry>
nicholas@2601 38 <surveyentry type="statement" id="thankyou">
nicholas@2601 39 <statement>Thank you for taking this listening test. Please click 'submit' and your results will appear in the 'saves/' folder.</statement>
nicholas@2601 40 </surveyentry>
nicholas@2601 41 </survey>
nicholas@2601 42 <metric>
nicholas@2601 43 <metricenable>testTimer</metricenable>
nicholas@2601 44 <metricenable>elementTimer</metricenable>
nicholas@2601 45 <metricenable>elementInitialPosition</metricenable>
nicholas@2601 46 <metricenable>elementTracker</metricenable>
nicholas@2601 47 <metricenable>elementFlagListenedTo</metricenable>
nicholas@2601 48 <metricenable>elementFlagMoved</metricenable>
nicholas@2601 49 <metricenable>elementListenTracker</metricenable>
nicholas@2601 50 </metric>
nicholas@2601 51 <interface>
nicholas@2601 52 <interfaceoption type="check" name="fragmentMoved" />
nicholas@2601 53 <interfaceoption type="check" name="fragmentPlayed" />
nicholas@2601 54 <interfaceoption type="check" name="scalerange" min="25" max="75" />
nicholas@2601 55 <interfaceoption type="show" name='playhead' />
nicholas@2601 56 <interfaceoption type="show" name="page-count" />
nicholas@2601 57 <interfaceoption type="show" name="comments" />
nicholas@2601 58 </interface>
nicholas@2601 59 </setup>
nicholas@2601 60 <page id='test-0' hostURL="media/example/" randomiseOrder='true' repeatCount='0' loop='true' loudness="-12">
nicholas@2601 61 <commentboxprefix>Comment on fragment</commentboxprefix>
nicholas@2601 62 <interface name="preference">
nicholas@2601 63 <title>Preference</title>
nicholas@2601 64 <scales>
nicholas@2601 65 <scalelabel position="0">Min</scalelabel>
nicholas@2601 66 <scalelabel position="100">Max</scalelabel>
nicholas@2601 67 <scalelabel position="50">Middle</scalelabel>
nicholas@2601 68 <scalelabel position="20">20</scalelabel>
nicholas@2601 69 </scales>
nicholas@2601 70 </interface>
nicholas@2601 71 <interface name="depth">
nicholas@2601 72 <title>Depth</title>
nicholas@2601 73 <scales>
nicholas@2601 74 <scalelabel position="0">Low</scalelabel>
nicholas@2601 75 <scalelabel position="100">High</scalelabel>
nicholas@2601 76 <scalelabel position="50">Middle</scalelabel>
nicholas@2601 77 <scalelabel position="50">Middle</scalelabel>
nicholas@2601 78 </scales>
nicholas@2601 79 </interface>
nicholas@2601 80 <audioelement url="0.wav" id="track-0" type="anchor" />
nicholas@2601 81 <audioelement url="1.wav" id="track-1" />
nicholas@2601 82 <audioelement url="2.wav" id="track-2" />
nicholas@2601 83 <audioelement url="3.wav" id="track-3" />
nicholas@2601 84 <audioelement url="4.wav" id="track-4" />
nicholas@2601 85 <survey location="before">
nicholas@2601 86 <surveyentry type="statement" id="test-0-intro">
nicholas@2601 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@2601 88 </surveyentry>
nicholas@2601 89 </survey>
nicholas@2601 90 <survey location="after">
nicholas@2601 91 <surveyentry type="question" id="genre-0" mandatory="true">
nicholas@2601 92 <statement>Please enter the genre.</statement>
nicholas@2601 93 </surveyentry>
nicholas@2601 94 </survey>
nicholas@2601 95 </page>
nicholas@2601 96 <page id='test-1' hostURL="media/example/" randomiseOrder='true' repeatCount='0' loop='false' label="letter">
nicholas@2601 97 <commentboxprefix>Comment on fragment</commentboxprefix>
nicholas@2601 98 <interface name="preference">
nicholas@2601 99 <title>Example Test Question</title>
nicholas@2601 100 <scales>
nicholas@2601 101 <scalelabel position="0">Min</scalelabel>
nicholas@2601 102 <scalelabel position="100">Max</scalelabel>
nicholas@2601 103 <scalelabel position="50">Middle</scalelabel>
nicholas@2601 104 <scalelabel position="20">20</scalelabel>
nicholas@2601 105 </scales>
nicholas@2601 106 </interface>
nicholas@2601 107 <audioelement url="0.wav" gain="-6" id="track-5" type="anchor" marker="20" />
nicholas@2601 108 <audioelement url="1.wav" gain="0.0" id="track-6" type="reference" marker="80" />
nicholas@2601 109 <audioelement url="2.wav" gain="0.0" id="track-7" />
nicholas@2601 110 <audioelement url="3.wav" gain="0.0" id="track-8" />
nicholas@2601 111 <audioelement url="4.wav" gain="0.0" id="track-9" />
nicholas@2601 112 <audioelement url="5.wav" gain="0.0" id="track-10" />
nicholas@2601 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>
nicholas@2601 126 <commentcheckbox id="character" type="checkbox">
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@2601 134 <survey location="before">
nicholas@2601 135 <surveyentry type="statement" id="test-1-intro">
nicholas@2601 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@2601 137 </surveyentry>
nicholas@2601 138 </survey>
nicholas@2601 139 <survey location="after">
nicholas@2601 140 <surveyentry type="question" id="genre-1" mandatory="true">
nicholas@2601 141 <statement>Please enter the genre.</statement>
nicholas@2601 142 </surveyentry>
nicholas@2601 143 </survey>
nicholas@2601 144 </page>
nicholas@2601 145 </waet>