comparison tests/examples/ABX_example.xml @ 2518:dd8f80f40a57

Fix non-spec in ABX_example.xml
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Thu, 03 Nov 2016 10:58:52 +0000
parents 6655d528923a
children dab27ff8cbfa
comparison
equal deleted inserted replaced
2516:22673a6cfcfb 2518:dd8f80f40a57
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
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 <surveyentry type="question" id="sessionId" mandatory="true"> 5 <surveyentry type="question" id="sessionId" mandatory="true">
6 <statement>Please enter your name.</statement> 6 <statement>Please enter your name.</statement>
7 </surveyentry> 7 </surveyentry>
8 <surveyentry type="checkbox" id="checkboxtest" mandatory="true"> 8 <surveyentry type="checkbox" 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 </surveyentry> 15 </surveyentry>
16 <surveyentry type="statement" id="test-intro"> 16 <surveyentry type="statement" 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 </surveyentry> 18 </surveyentry>
19 </survey> 19 </survey>
20 <survey location="after"> 20 <survey location="after">
21 <surveyentry type="question" id="location" mandatory="true" boxsize="large"> 21 <surveyentry type="question" 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 </surveyentry> 23 </surveyentry>
24 <surveyentry type="number" id="age" min="0"> 24 <surveyentry type="number" 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 </surveyentry> 26 </surveyentry>
27 <surveyentry type="radio" id="rating"> 27 <surveyentry type="radio" 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 </surveyentry> 33 </surveyentry>
34 <surveyentry type="statement" id="test-thank-you"> 34 <surveyentry type="statement" 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 </surveyentry> 36 </surveyentry>
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 </interface> 53 <interfaceoption type="show" name='comments' />
54 </setup> 54 </interface>
55 <page id='test-0' hostURL="media/example/" randomiseOrder='true' repeatCount='0' loop='true' showElementComments='true' loudness="-12"> 55 </setup>
56 <commentboxprefix>Comment on fragment</commentboxprefix> 56 <page id='test-0' hostURL="media/example/" randomiseOrder='true' repeatCount='0' loop='true' loudness="-12">
57 <interface> 57 <commentboxprefix>Comment on fragment</commentboxprefix>
58 <title>Depth</title> 58 <interface>
59 </interface> 59 <title>Depth</title>
60 <audioelement url="0.wav" id="track-0"/> 60 </interface>
61 <audioelement url="1.wav" id="track-1"/> 61 <audioelement url="0.wav" id="track-0" />
62 <survey location="before"> 62 <audioelement url="1.wav" id="track-1" />
63 <surveyentry type="statement" id="test-0-intro"> 63 <survey location="before">
64 <statement>A two way comparison using randomised element order, automatic loudness and synchronised looping.</statement> 64 <surveyentry type="statement" id="test-0-intro">
65 </surveyentry> 65 <statement>A two way comparison using randomised element order, automatic loudness and synchronised looping.</statement>
66 </survey> 66 </surveyentry>
67 <survey location="after"> 67 </survey>
68 <surveyentry type="question" id="genre-0" mandatory="true"> 68 <survey location="after">
69 <statement>Please enter the genre.</statement> 69 <surveyentry type="question" id="genre-0" mandatory="true">
70 </surveyentry> 70 <statement>Please enter the genre.</statement>
71 </survey> 71 </surveyentry>
72 </page> 72 </survey>
73 <page id='test-1' hostURL="media/example/" randomiseOrder='true' repeatCount='0' loop='false' showElementComments='true' loudness="-12"> 73 </page>
74 <commentboxprefix>Comment on fragment</commentboxprefix> 74 <page id='test-1' hostURL="media/example/" randomiseOrder='true' repeatCount='0' loop='false' loudness="-12">
75 <interface> 75 <commentboxprefix>Comment on fragment</commentboxprefix>
76 <title>Depth</title> 76 <interface>
77 </interface> 77 <title>Depth</title>
78 <audioelement url="0.wav" id="track-2"/> 78 </interface>
79 <audioelement url="1.wav" id="track-3"/> 79 <audioelement url="0.wav" id="track-2" />
80 <survey location="before"/> 80 <audioelement url="1.wav" id="track-3" />
81 <survey location="after"> 81 <survey location="before" />
82 <surveyentry type="question" id="genre-1" mandatory="true"> 82 <survey location="after">
83 <statement>Please enter the genre.</statement> 83 <surveyentry type="question" id="genre-1" mandatory="true">
84 </surveyentry> 84 <statement>Please enter the genre.</statement>
85 </survey> 85 </surveyentry>
86 </page> 86 </survey>
87 </waet> 87 </page>
88 </waet>