changeset 2910:becd7e8e0a3a

Add ITU-R BS.1534 Templates
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Tue, 01 Aug 2017 10:56:43 +0100
parents e2b241c88b74
children bcb741f60298
files test_create/interfaces/specifications.json tests/templates/itur1534.xml
diffstat 2 files changed, 58 insertions(+), 37 deletions(-) [+]
line wrap: on
line diff
--- a/test_create/interfaces/specifications.json	Tue Aug 01 10:09:26 2017 +0100
+++ b/test_create/interfaces/specifications.json	Tue Aug 01 10:56:43 2017 +0100
@@ -10,14 +10,6 @@
             "show": [],
             "elements": []
         }, {
-            "name": "MUSHRA",
-            "interface": "MUSHRA",
-            "description": {
-                "en": "Multi-stimulus with hidden reference and anchor. Each fragment is shown on its own vertical slider. One fragment must be labelled as a reference and another labelled as an anchor. One external reference must also be shown. ITU-R BS.1116-3"
-            },
-            "scales": ["ACR"],
-            "template": "./tests/templates/itur1116.xml"
-        }, {
             "name": "Vertical Sliders",
             "interface": "MUSHRA",
             "description": {
@@ -72,38 +64,19 @@
                 "support": "none"
             }]
         }, {
-            "name": "ABC/HR",
+            "name": "ABC/HR (ITU-R BS.1116)",
             "interface": "MUSHRA",
             "description": {
-                "en": "Each stimulus is placed on a vertical slider. The scale is fixed with the labels 'Imperceptible' to 'Very Annoying'"
+                "en": "Double-blind triple-stimulus with hidden reference. Each fragment is shown on its own vertical slider. One fragment must be labelled as a reference and placed as fragment A. This must be copied again and then the tested difference as the third fragment. ITU-R BS.1116-3"
             },
-            "scales": ["ABC"],
-            "checks": [{
-                "name": "fragmentMoved",
-                "support": "none"
-            }, {
-                "name": "fragmentPlayed",
-                "support": "none"
-            }, {
-                "name": "fragmentFullPlayback",
-                "support": "none"
-            }, {
-                "name": "fragmentComments",
-                "support": "none"
-            }],
-            "show": [{
-                "name": "volume",
-                "support": "none"
-            }, {
-                "name": "page-count",
-                "support": "none"
-            }, {
-                "name": "playhead",
-                "support": "none"
-            }, {
-                "name": "comments",
-                "support": "none"
-            }]
+            "template": "./tests/templates/itur1116.xml"
+        }, {
+            "name": "MUSHRA (ITU-R BS.1534)",
+            "interface": "MUSHRA",
+            "description": {
+                "en": "Multiple Stimulus with hiddren reference and anchor. At least four fragments must be shown, an outside reference, hidden reference, hidden anchor and the test candidate. ITU-R BS.1534-3"
+            },
+            "template": "./tests/templates/itur1534.xml"
         }, {
             "name": "Bipolar",
             "interface": "horizontal",
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/templates/itur1534.xml	Tue Aug 01 10:56:43 2017 +0100
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+    <waet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="test-schema.xsd">
+        <setup interface="MUSHRA" projectReturn="save.php" randomiseOrder="true" loudness="-23">
+            <exitText>Thank you for participating in this listening test. You may now exit the test environment</exitText>
+            <metric>
+                <metricenable>testTimer</metricenable>
+                <metricenable>elementTimer</metricenable>
+                <metricenable>elementInitialPosition</metricenable>
+                <metricenable>elementTracker</metricenable>
+                <metricenable>elementFlagListenedTo</metricenable>
+                <metricenable>elementFlagMoved</metricenable>
+                <metricenable>elementListenTracker</metricenable>
+            </metric>
+            <interface>
+                <interfaceoption type="check" name="fragmentMoved" />
+            </interface>
+        </setup>
+        <page id="training" randomiseOrder="true" repeatCount="0" loop="true" synchronous="true" position="0" label="capital">
+            <interface>
+                <title>Quality</title>
+                <scales>
+                    <scalelabel position="100">Imperceptible</scalelabel>
+                    <scalelabel position="75">Perceptible but not annoying</scalelabel>
+                    <scalelabel position="50">Slightly annoying</scalelabel>
+                    <scalelabel position="25">Annoying</scalelabel>
+                    <scalelabel position="0">Very annoying</scalelabel>
+                </scales>
+            </interface>
+            <audioelement url="0.wav" id="training-0" type="reference" />
+            <audioelement url="1.wav" id="training-1" type="anchor" />
+            <audioelement url="0.wav" id="training-2" />
+        </page>
+        <page id="test-0" randomiseOrder="true" repeatCount="0" loop="true" synchronous="true" position="0" label="capital">
+            <interface>
+                <title>Quality</title>
+                <scales>
+                    <scalelabel position="100">Imperceptible</scalelabel>
+                    <scalelabel position="75">Perceptible but not annoying</scalelabel>
+                    <scalelabel position="50">Slightly annoying</scalelabel>
+                    <scalelabel position="25">Annoying</scalelabel>
+                    <scalelabel position="0">Very annoying</scalelabel>
+                </scales>
+            </interface>
+            <audioelement url="0.wav" id="test-0-0" type="reference" />
+            <audioelement url="1.wav" id="test-0-1" type="anchor" />
+            <audioelement url="0.wav" id="test-0-2" />
+        </page>
+    </waet>