comparison tests/examples/AB_example.xml @ 2774:2fc62a50d593

#145. Added minWait to all <surveyx> elements. Specify the amount of time to wait in seconds.
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Fri, 21 Apr 2017 14:03:51 +0100
parents 8188efa9415d
children 46105b2573fc
comparison
equal deleted inserted replaced
2773:e31b3e1716f1 2774:2fc62a50d593
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 <surveyquestion id="sessionId" mandatory="true">
6 <statement>Please enter your name.</statement> 6 <statement>Please enter your name.</statement>
7 </surveyentry> 7 </surveyquestion>
8 <surveyentry type="checkbox" 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 </surveyentry> 15 </surveycheckbox>
16 <surveyentry type="statement" id="test-intro"> 16 <surveystatement 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 </surveystatement>
19 </survey> 19 </survey>
20 <survey location="after"> 20 <survey location="after">
21 <surveyentry type="question" 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 </surveyentry> 23 </surveyquestion>
24 <surveyentry type="number" 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 </surveyentry> 26 </surveynumber>
27 <surveyentry type="radio" 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 </surveyentry> 33 </surveyradio>
34 <surveyentry type="statement" 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 </surveyentry> 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>
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 <surveystatement 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 </surveystatement>
67 </survey> 67 </survey>
68 <survey location="after"> 68 <survey location="after">
69 <surveyentry type="question" id="genre-0" mandatory="true"> 69 <surveyquestion id="genre-0" mandatory="true">
70 <statement>Please enter the genre.</statement> 70 <statement>Please enter the genre.</statement>
71 </surveyentry> 71 </surveyquestion>
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>
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 <surveystatement 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 </surveystatement>
90 </survey> 90 </survey>
91 <survey location="after"> 91 <survey location="after">
92 <surveyentry type="question" id="genre-1" mandatory="true"> 92 <surveyquestion id="genre-1" mandatory="true">
93 <statement>Please enter the genre.</statement> 93 <statement>Please enter the genre.</statement>
94 </surveyentry> 94 </surveyquestion>
95 </survey> 95 </survey>
96 </page> 96 </page>
97 </waet> 97 </waet>