annotate example_eval/project.xml @ 1318:64541cd9265d

Added schema for Test Specification Document for validation (wip)
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Wed, 23 Dec 2015 12:41:08 +0000
parents
children 24532dd76263
rev   line source
nickjillings@1318 1 <?xml version="1.0" encoding="utf-8"?>
nickjillings@1318 2 <BrowserEvalProjectDocument>
nickjillings@1318 3 <setup interface="APE" projectReturn="save.php" randomiseOrder='true' collectMetrics='true' testPages="2" loudness="-23">
nickjillings@1318 4 <PreTest>
nickjillings@1318 5 <question id="sessionId" mandatory="true">Please enter your name.</question>
nickjillings@1318 6 <checkbox id="checkboxtest" mandatory="true">
nickjillings@1318 7 <statement>Please select with which activities you have any experience (example checkbox question)</statement>
nickjillings@1318 8 <option name="musician">Playing a musical instrument</option>
nickjillings@1318 9 <option name="soundengineer">Recording or mixing audio</option>
nickjillings@1318 10 <option name="developer">Developing audio software</option>
nickjillings@1318 11 <option name="hwdesigner">Designing or building audio hardware</option>
nickjillings@1318 12 <option name="researcher">Research in the field of audio</option>
nickjillings@1318 13 </checkbox>
nickjillings@1318 14 <statement>This is an example of an 'APE'-style test, with two pages, using the test stimuli in 'example_eval/'.</statement>
nickjillings@1318 15 </PreTest>
nickjillings@1318 16 <PostTest>
nickjillings@1318 17 <question id="location" mandatory="true" boxsize="large">Please enter your location. (example mandatory text question)</question>
nickjillings@1318 18 <number id="age" min="0">Please enter your age (example non-mandatory number question)</number>
nickjillings@1318 19 <radio id="rating">
nickjillings@1318 20 <statement>Please rate this interface (example radio button question)</statement>
nickjillings@1318 21 <option name="bad">Bad</option>
nickjillings@1318 22 <option name="poor">Poor</option>
nickjillings@1318 23 <option name="good">Good</option>
nickjillings@1318 24 <option name="great">Great</option>
nickjillings@1318 25 </radio>
nickjillings@1318 26 <statement>Thank you for taking this listening test. Please click 'submit' and your results will appear in the 'saves/' folder.</statement>
nickjillings@1318 27 </PostTest>
nickjillings@1318 28 <Metric>
nickjillings@1318 29 <metricEnable>testTimer</metricEnable>
nickjillings@1318 30 <metricEnable>elementTimer</metricEnable>
nickjillings@1318 31 <metricEnable>elementInitialPosition</metricEnable>
nickjillings@1318 32 <metricEnable>elementTracker</metricEnable>
nickjillings@1318 33 <metricEnable>elementFlagListenedTo</metricEnable>
nickjillings@1318 34 <metricEnable>elementFlagMoved</metricEnable>
nickjillings@1318 35 <metricEnable>elementListenTracker</metricEnable>
nickjillings@1318 36 </Metric>
nickjillings@1318 37 <interface>
nickjillings@1318 38 <check name="fragmentMoved"/>
nickjillings@1318 39 <check name="scalerange" min="25" max="75"/>
nickjillings@1318 40 <option name='playhead'/>
nickjillings@1318 41 <option name="page-count"/>
nickjillings@1318 42 </interface>
nickjillings@1318 43 </setup>
nickjillings@1318 44 <audioHolder id='test-0' hostURL="example_eval/" randomiseOrder='true' repeatCount='0' loop='true' elementComments='true' loudness="-12">
nickjillings@1318 45 <interface name="preference">
nickjillings@1318 46 <scale position="0">Min</scale>
nickjillings@1318 47 <scale position="100">Max</scale>
nickjillings@1318 48 <scale position="50">Middle</scale>
nickjillings@1318 49 <scale position="20">20</scale>
nickjillings@1318 50 <commentBoxPrefix>Comment on fragment</commentBoxPrefix>
nickjillings@1318 51 </interface>
nickjillings@1318 52 <interface name="depth">
nickjillings@1318 53 <title>Depth</title>
nickjillings@1318 54 <scale position="0">Low</scale>
nickjillings@1318 55 <scale position="100">High</scale>
nickjillings@1318 56 <scale position="50">Middle</scale>
nickjillings@1318 57 </interface>
nickjillings@1318 58 <audioElements url="0.wav" id="0" type="anchor"/>
nickjillings@1318 59 <audioElements url="1.wav" id="1"/>
nickjillings@1318 60 <audioElements url="2.wav" id="2"/>
nickjillings@1318 61 <audioElements url="3.wav" id="3"/>
nickjillings@1318 62 <audioElements url="4.wav" id="4"/>
nickjillings@1318 63 <PreTest>
nickjillings@1318 64 <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>
nickjillings@1318 65 </PreTest>
nickjillings@1318 66 <PostTest>
nickjillings@1318 67 <question id="genre" mandatory="true">Please enter the genre.</question>
nickjillings@1318 68 </PostTest>
nickjillings@1318 69 </audioHolder>
nickjillings@1318 70 <audioHolder id='test-1' hostURL="example_eval/" randomiseOrder='true' repeatCount='0' loop='false' elementComments='true'>
nickjillings@1318 71 <interface name="preference">
nickjillings@1318 72 <title>Example Test Question</title>
nickjillings@1318 73 <scale position="0">Min</scale>
nickjillings@1318 74 <scale position="100">Max</scale>
nickjillings@1318 75 <scale position="50">Middle</scale>
nickjillings@1318 76 <scale position="75">75</scale>
nickjillings@1318 77 <scalerange min="25" max="75"/>
nickjillings@1318 78 <commentBoxPrefix>Comment on fragment</commentBoxPrefix>
nickjillings@1318 79 </interface>
nickjillings@1318 80 <audioElements url="0.wav" gain="-6" id="0" type="anchor" marker="20"/>
nickjillings@1318 81 <audioElements url="1.wav" gain="0.0" id="1" type="reference" marker="80"/>
nickjillings@1318 82 <audioElements url="2.wav" gain="0.0" id="2"/>
nickjillings@1318 83 <audioElements url="3.wav" gain="0.0" id="3"/>
nickjillings@1318 84 <audioElements url="4.wav" gain="0.0" id="4"/>
nickjillings@1318 85 <audioElements url="5.wav" gain="0.0" id="5"/>
nickjillings@1318 86 <audioElements url="6.wav" gain="0.0" id="6" type="outsidereference"/>
nickjillings@1318 87 <CommentQuestion id='mixingExperience' type="text">What is your general experience with numbers?</CommentQuestion>
nickjillings@1318 88 <CommentQuestion id="preference" type="radio">
nickjillings@1318 89 <statement>Please enter your overall preference</statement>
nickjillings@1318 90 <option name="worst">Very Bad</option>
nickjillings@1318 91 <option name="bad"></option>
nickjillings@1318 92 <option name="OK">OK</option>
nickjillings@1318 93 <option name="Good"></option>
nickjillings@1318 94 <option name="Great">Great</option>
nickjillings@1318 95 </CommentQuestion>
nickjillings@1318 96 <CommentQuestion id="preference" type="checkbox">
nickjillings@1318 97 <statement>Please describe the overall character</statement>
nickjillings@1318 98 <option name="funky">Funky</option>
nickjillings@1318 99 <option name="mellow">Mellow</option>
nickjillings@1318 100 <option name="laidback">Laid back</option>
nickjillings@1318 101 <option name="heavy">Heavy</option>
nickjillings@1318 102 </CommentQuestion>
nickjillings@1318 103 <PreTest>
nickjillings@1318 104 <statement>Example of an 'APE' style interface with outside reference 'six', hidden anchor 'zero' (which needs to be below 20%), hidden reference 'one' (which needs to be above 80%), randomisation of marker labels, and a forced scale usage of at least 25%-75%. </statement>
nickjillings@1318 105 </PreTest>
nickjillings@1318 106 <PostTest>
nickjillings@1318 107 <question id="genre" mandatory="true">Please enter the genre.</question>
nickjillings@1318 108 </PostTest>
nickjillings@1318 109 </audioHolder>
nickjillings@1318 110 </BrowserEvalProjectDocument>