AB_example.xml

Giulio Moro, 2016-02-21 04:54 AM

Download (4.39 KB)

 
1
<?xml version="1.0" encoding="utf-8"?>
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' testPages="2" loudness="-23" sampleRate="44100">
4
                <survey location="before">
5
                        <surveyentry type="question" id="sessionId" mandatory="true">
6
                                <statement>Please enter your name.</statement>
7
                        </surveyentry>
8
                        <surveyentry type="checkbox" id="checkboxtest" mandatory="true">
9
                                <statement>Please select with which activities you have any experience (example checkbox question)</statement>
10
                                <option name="musician">Playing a musical instrument</option>
11
                                <option name="soundengineer">Recording or mixing audio</option>
12
                                <option name="developer">Developing audio software</option>
13
                                <option name="hwdesigner">Designing or building audio hardware</option>
14
                                <option name="researcher">Research in the field of audio</option>
15
                        </surveyentry>
16
                        <surveyentry type="statement">
17
                                <statement>This is an example of an 'AB'-style test, with two pages, using the test stimuli in 'example_eval/'.</statement>
18
                        </surveyentry>
19
                </survey>
20
                <survey location="after">
21
                        <surveyentry type="question" id="location" mandatory="true" boxsize="large">
22
                                <statement>Please enter your location. (example mandatory text question)</statement>
23
                        </surveyentry>
24
                        <surveyentry type="number" id="age" min="0">
25
                                <statement>Please enter your age (example non-mandatory number question)</statement>
26
                        </surveyentry>
27
                        <surveyentry type="radio" id="rating">
28
                                <statement>Please rate this interface (example radio button question)</statement>
29
                                <option name="bad">Bad</option>
30
                                <option name="poor">Poor</option>
31
                                <option name="good">Good</option>
32
                                <option name="great">Great</option>
33
                        </surveyentry>
34
                        <surveyentry type="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>
37
                </survey>
38
                <metric>
39
                        <metricenable>testTimer</metricenable>
40
                        <metricenable>elementTimer</metricenable>
41
                        <metricenable>elementInitialPosition</metricenable>
42
                        <metricenable>elementTracker</metricenable>
43
                        <metricenable>elementFlagListenedTo</metricenable>
44
                        <metricenable>elementFlagMoved</metricenable>
45
                        <metricenable>elementListenTracker</metricenable>
46
                </metric>
47
                <interface>
48
                        <interfaceoption type="check" name="fragmentMoved"/>
49
                        <interfaceoption type="check" name="scalerange" min="25" max="75"/>
50
                        <interfaceoption type="show" name='playhead'/>
51
                        <interfaceoption type="show" name="page-count"/>
52
            <interfaceoption type="show" name='volume'/>
53
                </interface>
54
        </setup>
55
        <page id='test-0' hostURL="example_eval/" randomiseOrder='true' repeatCount='0' loop='true' showElementComments='true' loudness="-12">
56
                <commentboxprefix>Comment on fragment</commentboxprefix>
57
                <interface>
58
                        <title>Depth</title>
59
                </interface>
60
                <audioelement url="0.wav" id="track-0"/>
61
                <audioelement url="1.wav" id="track-1"/>
62
                <survey location="before">
63
                        <surveyentry type="statement">
64
                                <statement>A two way comparison using randomised element order, automatic loudness and synchronised looping.</statement>
65
                        </surveyentry>
66
                </survey>
67
                <survey location="after">
68
                        <surveyentry type="question" id="genre-0" mandatory="true">
69
                                <statement>Please enter the genre.</statement>
70
                        </surveyentry>
71
                </survey>
72
        </page>
73
        <page id='test-1' hostURL="example_eval/" randomiseOrder='true' repeatCount='0' loop='false' showElementComments='true' loudness="-12">
74
                <commentboxprefix>Comment on fragment</commentboxprefix>
75
                <interface>
76
                        <title>Depth</title>
77
                </interface>
78
                <audioelement url="0.wav" id="track-2"/>
79
                <audioelement url="1.wav" id="track-3"/>
80
                <audioelement url="2.wav" id="track-4"/>
81
                <audioelement url="3.wav" id="track-5"/>
82
                <audioelement url="4.wav" id="track-6"/>
83
                <audioelement url="5.wav" id="track-7"/>
84
                <audioelement url="6.wav" id="track-8"/>
85
                <survey location="before">
86
                        <surveyentry type="statement">
87
                                <statement>A 7 way comparison using randomised element order and synchronised looping.</statement>
88
                        </surveyentry>
89
                </survey>
90
                <survey location="after">
91
                        <surveyentry type="question" id="genre-1" mandatory="true">
92
                                <statement>Please enter the genre.</statement>
93
                        </surveyentry>
94
                </survey>
95
        </page>
96
</waet>