annotate tests/examples/ABX_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 1a1d37f2b4e5
children
rev   line source
nicholas@2960 1 <?xml version="1.0" encoding="ISO-8859-1"?>
nicholas@2960 2 <waet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="test-schema.xsd">
nicholas@2960 3 <setup interface="ABX" projectReturn="save.php" randomiseOrder='true' poolSize="2" loudness="-23">
nicholas@2960 4 <survey location="before">
nicholas@2960 5 <surveyquestion id="sessionId" mandatory="true">
nicholas@2960 6 <statement>Please enter your name.</statement>
nicholas@2960 7 </surveyquestion>
nicholas@2960 8 <surveycheckbox id="checkboxtest" mandatory="true">
nicholas@2960 9 <statement>Please select with which activities you have any experience (example checkbox question)</statement>
nicholas@2960 10 <option name="musician">Playing a musical instrument</option>
nicholas@2960 11 <option name="soundengineer">Recording or mixing audio</option>
nicholas@2960 12 <option name="developer">Developing audio software</option>
nicholas@2960 13 <option name="hwdesigner">Designing or building audio hardware</option>
nicholas@2960 14 <option name="researcher">Research in the field of audio</option>
nicholas@2960 15 </surveycheckbox>
nicholas@2960 16 <surveystatement id="test-intro">
nicholas@2960 17 <statement>This is an example of an 'ABX'-style test, with two pages, using the test stimuli in 'example_eval/'.</statement>
nicholas@2960 18 </surveystatement>
nicholas@2960 19 </survey>
nicholas@2960 20 <survey location="after">
nicholas@2960 21 <surveyquestion id="location" mandatory="true" boxsize="large">
nicholas@2960 22 <statement>Please enter your location. (example mandatory text question)</statement>
nicholas@2960 23 </surveyquestion>
nicholas@2960 24 <surveynumber id="age" min="0">
nicholas@2960 25 <statement>Please enter your age (example non-mandatory number question)</statement>
nicholas@2960 26 </surveynumber>
nicholas@2960 27 <surveyradio id="rating">
nicholas@2960 28 <statement>Please rate this interface (example radio button question)</statement>
nicholas@2960 29 <option name="bad">Bad</option>
nicholas@2960 30 <option name="poor">Poor</option>
nicholas@2960 31 <option name="good">Good</option>
nicholas@2960 32 <option name="great">Great</option>
nicholas@2960 33 </surveyradio>
nicholas@2960 34 <surveystatement id="test-thank-you">
b@2987 35 <statement>Thank you for taking this listening test. Please click 'Submit' and your results will appear in the 'saves/' folder.</statement>
nicholas@2960 36 </surveystatement>
nicholas@2960 37 </survey>
nicholas@2960 38 <metric>
nicholas@2960 39 <metricenable>testTimer</metricenable>
nicholas@2960 40 <metricenable>elementTimer</metricenable>
nicholas@2960 41 <metricenable>elementInitialPosition</metricenable>
nicholas@2960 42 <metricenable>elementTracker</metricenable>
nicholas@2960 43 <metricenable>elementFlagListenedTo</metricenable>
nicholas@2960 44 <metricenable>elementFlagMoved</metricenable>
nicholas@2960 45 <metricenable>elementListenTracker</metricenable>
nicholas@2960 46 </metric>
nicholas@2960 47 <interface>
nicholas@2960 48 <interfaceoption type="check" name="fragmentMoved" />
nicholas@2960 49 <interfaceoption type="check" name="scalerange" min="25" max="75" />
nicholas@2960 50 <interfaceoption type="show" name='playhead' />
nicholas@2960 51 <interfaceoption type="show" name="page-count" />
nicholas@2960 52 <interfaceoption type="show" name='volume' />
nicholas@2960 53 <interfaceoption type="show" name='comments' />
nicholas@2960 54 </interface>
nicholas@2960 55 </setup>
nicholas@2960 56 <page id='test-0' hostURL="media/example/" randomiseOrder='true' repeatCount='0' loop='true' loudness="-12">
nicholas@2960 57 <commentboxprefix>Comment on fragment</commentboxprefix>
nicholas@2960 58 <interface>
nicholas@2960 59 <title>Depth</title>
nicholas@2960 60 </interface>
nicholas@2960 61 <audioelement url="0.wav" id="track-0" image="https://upload.wikimedia.org/wikipedia/commons/0/0a/Drumkit-icon.png" />
nicholas@2960 62 <audioelement url="1.wav" id="track-1" image="https://upload.wikimedia.org/wikipedia/commons/0/0a/Drumkit-icon.png" />
nicholas@2960 63 <survey location="before">
nicholas@2960 64 <surveyentry type="statement" id="test-0-intro">
nicholas@2960 65 <statement>A two way comparison using randomised element order, automatic loudness and synchronised looping.</statement>
nicholas@2960 66 </surveyentry>
nicholas@2960 67 </survey>
nicholas@2960 68 <survey location="after">
nicholas@2960 69 <surveyentry type="question" id="genre-0" mandatory="true">
nicholas@2960 70 <statement>Please enter the genre.</statement>
nicholas@2960 71 </surveyentry>
nicholas@2960 72 </survey>
nicholas@2960 73 </page>
nicholas@2960 74 <page id='test-1' hostURL="media/example/" randomiseOrder='true' repeatCount='0' loop='false' loudness="-12">
nicholas@2960 75 <commentboxprefix>Comment on fragment</commentboxprefix>
nicholas@2960 76 <interface>
nicholas@2960 77 <title>Depth</title>
nicholas@2960 78 </interface>
nicholas@2960 79 <audioelement url="0.wav" id="track-2" />
nicholas@2960 80 <audioelement url="1.wav" id="track-3" />
nicholas@2960 81 <survey location="after">
nicholas@2960 82 <surveyentry type="question" id="genre-1" mandatory="true">
nicholas@2960 83 <statement>Please enter the genre.</statement>
nicholas@2960 84 </surveyentry>
nicholas@2960 85 </survey>
nicholas@2960 86 </page>
nicholas@2960 87 </waet>