annotate tests/examples/project.xml @ 2469:72cdcd6d143e

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