comparison tests/examples/ABX_example.xml @ 2960:5705787531a3

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