comparison tests/examples/AB_example.xml @ 2538:464c6c6692d6

Beautified entire project.
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Mon, 14 Nov 2016 14:17:03 +0000
parents 618603a1b277
children 8188efa9415d
comparison
equal deleted inserted replaced
2536:527020a63203 2538:464c6c6692d6
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="AB" projectReturn="save.php" randomiseOrder='true' poolSize="2" loudness="-23" playOne="true"> 3 <setup interface="AB" projectReturn="save.php" randomiseOrder='true' poolSize="2" loudness="-23" playOne="true">
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 'AB'-style test, with two pages, using the test stimuli in 'example_eval/'. The 'playOne' configuration option means a fragment has to be finished playing before another fragment can be auditioned. </statement> 17 <statement>This is an example of an 'AB'-style test, with two pages, using the test stimuli in 'example_eval/'. The 'playOne' configuration option means a fragment has to be finished playing before another fragment can be auditioned. </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 <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='false' loudness="-12"> 56 <page id='test-0' hostURL="media/example/" randomiseOrder='true' repeatCount='0' loop='false' 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"/> 61 <audioelement url="0.wav" id="track-0" />
62 <audioelement url="1.wav" id="track-1"/> 62 <audioelement url="1.wav" id="track-1" />
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 <audioelement url="2.wav" id="track-4"/> 81 <audioelement url="2.wav" id="track-4" />
82 <audioelement url="3.wav" id="track-5"/> 82 <audioelement url="3.wav" id="track-5" />
83 <audioelement url="4.wav" id="track-6"/> 83 <audioelement url="4.wav" id="track-6" />
84 <audioelement url="5.wav" id="track-7"/> 84 <audioelement url="5.wav" id="track-7" />
85 <audioelement url="6.wav" id="track-8"/> 85 <audioelement url="6.wav" id="track-8" />
86 <survey location="before"> 86 <survey location="before">
87 <surveyentry type="statement" id="test-1-intro"> 87 <surveyentry type="statement" id="test-1-intro">
88 <statement>A 7 way comparison using randomised element order and synchronised looping.</statement> 88 <statement>A 7 way comparison using randomised element order and synchronised looping.</statement>
89 </surveyentry> 89 </surveyentry>
90 </survey> 90 </survey>
91 <survey location="after"> 91 <survey location="after">
92 <surveyentry type="question" id="genre-1" mandatory="true"> 92 <surveyentry type="question" id="genre-1" mandatory="true">
93 <statement>Please enter the genre.</statement> 93 <statement>Please enter the genre.</statement>
94 </surveyentry> 94 </surveyentry>
95 </survey> 95 </survey>
96 </page> 96 </page>
97 </waet> 97 </waet>