annotate tests/examples/APE_example.xml @ 3141:335bc77627e0 tip

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