comparison tests/examples/APE_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 24586044915d
children 1c8aac0ee5e9
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="APE" projectReturn="save.php" randomiseOrder='true' poolSize="2" loudness="-23" calibration="true"> 3 <setup interface="APE" projectReturn="save.php" randomiseOrder='true' poolSize="2" loudness="-23" calibration="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 <conditional check="equals" value="John" jumpToOnPass="test-intro" jumpToOnFail="checkboxtest"/> 7 <conditional check="equals" value="John" jumpToOnPass="test-intro" jumpToOnFail="checkboxtest" />
8 </surveyentry> 8 </surveyentry>
9 <surveyentry type="checkbox" id="checkboxtest" mandatory="true"> 9 <surveyentry type="checkbox" id="checkboxtest" mandatory="true">
10 <statement>Please select with which activities you have any experience (example checkbox question)</statement> 10 <statement>Please select with which activities you have any experience (example checkbox question)</statement>
11 <option name="musician">Playing a musical instrument</option> 11 <option name="musician">Playing a musical instrument</option>
12 <option name="soundengineer">Recording or mixing audio</option> 12 <option name="soundengineer">Recording or mixing audio</option>
13 <option name="developer">Developing audio software</option> 13 <option name="developer">Developing audio software</option>
14 <option name="hwdesigner">Designing or building audio hardware</option> 14 <option name="hwdesigner">Designing or building audio hardware</option>
15 <option name="researcher">Research in the field of audio</option> 15 <option name="researcher">Research in the field of audio</option>
16 </surveyentry> 16 </surveyentry>
17 <surveyentry type="question" id="instrument" mandatory="false"> 17 <surveyentry type="question" id="instrument" mandatory="false">
18 <statement>What instrument did you play</statement> 18 <statement>What instrument did you play</statement>
19 </surveyentry> 19 </surveyentry>
20 <surveyentry type="statement" id="test-intro"> 20 <surveyentry type="statement" id="test-intro">
21 <statement>This is an example of an 'APE'-style test, with two pages, using the test stimuli in 'example_eval/'.</statement> 21 <statement>This is an example of an 'APE'-style test, with two pages, using the test stimuli in 'example_eval/'.</statement>
22 </surveyentry> 22 </surveyentry>
23 </survey> 23 </survey>
24 <survey location="after"> 24 <survey location="after">
25 <surveyentry type="question" id="location" mandatory="true" boxsize="large"> 25 <surveyentry type="question" id="location" mandatory="true" boxsize="large">
26 <statement>Please enter your location. (example mandatory text question)</statement> 26 <statement>Please enter your location. (example mandatory text question)</statement>
27 </surveyentry> 27 </surveyentry>
28 <surveyentry type="number" id="age" min="0"> 28 <surveyentry type="number" id="age" min="0">
29 <statement>Please enter your age (example non-mandatory number question)</statement> 29 <statement>Please enter your age (example non-mandatory number question)</statement>
30 </surveyentry> 30 </surveyentry>
31 <surveyentry type="radio" id="rating"> 31 <surveyentry type="radio" id="rating">
32 <statement>Please rate this interface (example radio button question)</statement> 32 <statement>Please rate this interface (example radio button question)</statement>
33 <option name="bad">Bad</option> 33 <option name="bad">Bad</option>
34 <option name="poor">Poor</option> 34 <option name="poor">Poor</option>
35 <option name="good">Good</option> 35 <option name="good">Good</option>
36 <option name="great">Great</option> 36 <option name="great">Great</option>
37 </surveyentry> 37 </surveyentry>
38 <surveyentry type="statement" id="thankyou"> 38 <surveyentry type="statement" id="thankyou">
39 <statement>Thank you for taking this listening test. Please click 'submit' and your results will appear in the 'saves/' folder.</statement> 39 <statement>Thank you for taking this listening test. Please click 'submit' and your results will appear in the 'saves/' folder.</statement>
40 </surveyentry> 40 </surveyentry>
41 </survey> 41 </survey>
42 <metric> 42 <metric>
43 <metricenable>testTimer</metricenable> 43 <metricenable>testTimer</metricenable>
44 <metricenable>elementTimer</metricenable> 44 <metricenable>elementTimer</metricenable>
45 <metricenable>elementInitialPosition</metricenable> 45 <metricenable>elementInitialPosition</metricenable>
46 <metricenable>elementTracker</metricenable> 46 <metricenable>elementTracker</metricenable>
47 <metricenable>elementFlagListenedTo</metricenable> 47 <metricenable>elementFlagListenedTo</metricenable>
48 <metricenable>elementFlagMoved</metricenable> 48 <metricenable>elementFlagMoved</metricenable>
49 <metricenable>elementListenTracker</metricenable> 49 <metricenable>elementListenTracker</metricenable>
50 </metric> 50 </metric>
51 <interface> 51 <interface>
52 <interfaceoption type="check" name="fragmentMoved"/> 52 <interfaceoption type="check" name="fragmentMoved" />
53 <interfaceoption type="check" name="fragmentPlayed"/> 53 <interfaceoption type="check" name="fragmentPlayed" />
54 <interfaceoption type="check" name="scalerange" min="25" max="75"/> 54 <interfaceoption type="check" name="scalerange" min="25" max="75" />
55 <interfaceoption type="show" name='playhead'/> 55 <interfaceoption type="show" name='playhead' />
56 <interfaceoption type="show" name="page-count"/> 56 <interfaceoption type="show" name="page-count" />
57 <interfaceoption type="show" name="comments"/> 57 <interfaceoption type="show" name="comments" />
58 </interface> 58 </interface>
59 </setup> 59 </setup>
60 <page id='test-0' hostURL="media/example/" randomiseOrder='true' repeatCount='0' loop='true' loudness="-12"> 60 <page id='test-0' hostURL="media/example/" randomiseOrder='true' repeatCount='0' loop='true' loudness="-12">
61 <commentboxprefix>Comment on fragment</commentboxprefix> 61 <commentboxprefix>Comment on fragment</commentboxprefix>
62 <interface name="preference"> 62 <interface name="preference">
63 <title>Preference</title> 63 <title>Preference</title>
64 <scales> 64 <scales>
65 <scalelabel position="0">Min</scalelabel> 65 <scalelabel position="0">Min</scalelabel>
66 <scalelabel position="100">Max</scalelabel> 66 <scalelabel position="100">Max</scalelabel>
67 <scalelabel position="50">Middle</scalelabel> 67 <scalelabel position="50">Middle</scalelabel>
68 <scalelabel position="20">20</scalelabel> 68 <scalelabel position="20">20</scalelabel>
69 </scales> 69 </scales>
70 </interface> 70 </interface>
71 <interface name="depth"> 71 <interface name="depth">
72 <title>Depth</title> 72 <title>Depth</title>
73 <scales> 73 <scales>
74 <scalelabel position="0">Low</scalelabel> 74 <scalelabel position="0">Low</scalelabel>
75 <scalelabel position="100">High</scalelabel> 75 <scalelabel position="100">High</scalelabel>
76 <scalelabel position="50">Middle</scalelabel> 76 <scalelabel position="50">Middle</scalelabel>
77 <scalelabel position="50">Middle</scalelabel> 77 <scalelabel position="50">Middle</scalelabel>
78 </scales> 78 </scales>
79 </interface> 79 </interface>
80 <audioelement url="0.wav" id="track-0" type="anchor"/> 80 <audioelement url="0.wav" id="track-0" type="anchor" />
81 <audioelement url="1.wav" id="track-1"/> 81 <audioelement url="1.wav" id="track-1" />
82 <audioelement url="2.wav" id="track-2"/> 82 <audioelement url="2.wav" id="track-2" />
83 <audioelement url="3.wav" id="track-3"/> 83 <audioelement url="3.wav" id="track-3" />
84 <audioelement url="4.wav" id="track-4"/> 84 <audioelement url="4.wav" id="track-4" />
85 <survey location="before"> 85 <survey location="before">
86 <surveyentry type="statement" id="test-0-intro"> 86 <surveyentry type="statement" id="test-0-intro">
87 <statement>Example of an 'APE' style interface with hidden anchor 'zero' (which needs to be below 20%), looping of the samples, randomisation of marker labels, mandatory moving of every sample, and a forced scale usage of at least 25%-75%.</statement> 87 <statement>Example of an 'APE' style interface with hidden anchor 'zero' (which needs to be below 20%), looping of the samples, randomisation of marker labels, mandatory moving of every sample, and a forced scale usage of at least 25%-75%.</statement>
88 </surveyentry> 88 </surveyentry>
89 </survey> 89 </survey>
90 <survey location="after"> 90 <survey location="after">
91 <surveyentry type="question" id="genre-0" mandatory="true"> 91 <surveyentry type="question" id="genre-0" mandatory="true">
92 <statement>Please enter the genre.</statement> 92 <statement>Please enter the genre.</statement>
93 </surveyentry> 93 </surveyentry>
94 </survey> 94 </survey>
95 </page> 95 </page>
96 <page id='test-1' hostURL="media/example/" randomiseOrder='true' repeatCount='0' loop='false' label="letter"> 96 <page id='test-1' hostURL="media/example/" randomiseOrder='true' repeatCount='0' loop='false' label="letter">
97 <commentboxprefix>Comment on fragment</commentboxprefix> 97 <commentboxprefix>Comment on fragment</commentboxprefix>
98 <interface name="preference"> 98 <interface name="preference">
99 <title>Example Test Question</title> 99 <title>Example Test Question</title>
100 <scales> 100 <scales>
101 <scalelabel position="0">Min</scalelabel> 101 <scalelabel position="0">Min</scalelabel>
102 <scalelabel position="100">Max</scalelabel> 102 <scalelabel position="100">Max</scalelabel>
103 <scalelabel position="50">Middle</scalelabel> 103 <scalelabel position="50">Middle</scalelabel>
104 <scalelabel position="20">20</scalelabel> 104 <scalelabel position="20">20</scalelabel>
105 </scales> 105 </scales>
106 </interface> 106 </interface>
107 <audioelement url="0.wav" gain="-6" id="track-5" type="anchor" marker="20"/> 107 <audioelement url="0.wav" gain="-6" id="track-5" type="anchor" marker="20" />
108 <audioelement url="1.wav" gain="0.0" id="track-6" type="reference" marker="80"/> 108 <audioelement url="1.wav" gain="0.0" id="track-6" type="reference" marker="80" />
109 <audioelement url="2.wav" gain="0.0" id="track-7"/> 109 <audioelement url="2.wav" gain="0.0" id="track-7" />
110 <audioelement url="3.wav" gain="0.0" id="track-8"/> 110 <audioelement url="3.wav" gain="0.0" id="track-8" />
111 <audioelement url="4.wav" gain="0.0" id="track-9"/> 111 <audioelement url="4.wav" gain="0.0" id="track-9" />
112 <audioelement url="5.wav" gain="0.0" id="track-10"/> 112 <audioelement url="5.wav" gain="0.0" id="track-10" />
113 <audioelement url="6.wav" gain="0.0" id="track-11" type="outside-reference"/> 113 <audioelement url="6.wav" gain="0.0" id="track-11" type="outside-reference" />
114 <commentquestion id='mixingExperience' type="question"> 114 <commentquestion id='mixingExperience' type="question">
115 <statement>What is your general experience with numbers?</statement> 115 <statement>What is your general experience with numbers?</statement>
116 </commentquestion> 116 </commentquestion>
117 <commentquestion id="preference" type="radio"> 117 <commentquestion id="preference" type="radio">
118 <statement>Please enter your overall preference</statement> 118 <statement>Please enter your overall preference</statement>
119 <option name="worst">Very Bad</option> 119 <option name="worst">Very Bad</option>
120 <option name="bad"></option> 120 <option name="bad"></option>
121 <option name="OK">OK</option> 121 <option name="OK">OK</option>
122 <option name="Good"></option> 122 <option name="Good"></option>
123 <option name="Great">Great</option> 123 <option name="Great">Great</option>
124 </commentquestion> 124 </commentquestion>
125 <commentquestion id="character" type="checkbox"> 125 <commentquestion id="character" type="checkbox">
126 <statement>Please describe the overall character</statement> 126 <statement>Please describe the overall character</statement>
127 <option name="funky">Funky</option> 127 <option name="funky">Funky</option>
128 <option name="mellow">Mellow</option> 128 <option name="mellow">Mellow</option>
129 <option name="laidback">Laid back</option> 129 <option name="laidback">Laid back</option>
130 <option name="heavy">Heavy</option> 130 <option name="heavy">Heavy</option>
131 </commentquestion> 131 </commentquestion>
132 <survey location="before"> 132 <survey location="before">
133 <surveyentry type="statement" id="test-1-intro"> 133 <surveyentry type="statement" id="test-1-intro">
134 <statement>Example of an 'APE' style interface with hidden anchor 'zero' (which needs to be below 20%), looping of the samples, randomisation of marker labels, mandatory moving of every sample, and a forced scale usage of at least 25%-75%.</statement> 134 <statement>Example of an 'APE' style interface with hidden anchor 'zero' (which needs to be below 20%), looping of the samples, randomisation of marker labels, mandatory moving of every sample, and a forced scale usage of at least 25%-75%.</statement>
135 </surveyentry> 135 </surveyentry>
136 </survey> 136 </survey>
137 <survey location="after"> 137 <survey location="after">
138 <surveyentry type="question" id="genre-1" mandatory="true"> 138 <surveyentry type="question" id="genre-1" mandatory="true">
139 <statement>Please enter the genre.</statement> 139 <statement>Please enter the genre.</statement>
140 </surveyentry> 140 </surveyentry>
141 </survey> 141 </survey>
142 </page> 142 </page>
143 </waet> 143 </waet>