annotate tests/examples/project.xml @ 2226:43ab418ba4b8

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