forked from HSU-ANT/beaqlejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
178 lines (139 loc) · 6.74 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
<!--
BeaqleJS - HTML5 and JavaScript framework for listening tests, <https://github.com/HSU-ANT/beaqlejs>
This file and all corresponding parts of BeaqleJS are published under the GPLv3 license, <http://www.gnu.org/licenses/>
-->
<title>BeaqleJS</title>
<!-- load the test config file -->
<script src="config/example_config_mushra.js" type="text/javascript"></script>
<!---->
<link type="text/css" href="css/smoothness/jquery-ui-1.8.18.custom.css" rel="Stylesheet" />
<link type="text/css" href="css/styles.css" rel="Stylesheet" />
<script src="js/jquery.js" type="text/javascript"></script>
<script src="js/jquery-ui.custom.min.js" type="text/javascript" ></script>
<script src="js/beaqle.js" type="text/javascript"></script>
<script type="text/javascript">
/* <![CDATA[ */
var testHandle;
window.onload=function() {
// Uncomment one of the following lines to choose the desired test class
testHandle = new MushraTest(TestConfig); // <-- MUSHRA test class
//testHandle = new AbxTest(TestConfig); // <-- ABX test class
$('#Footer').prepend(testHandle.browserFeatureString() + '<br/>');
};
/* ]]> */
</script>
</head>
<body>
<div id="Wrapper">
<div id="TestTitle" class="commonBox">
<!-- overall title at the top
DO NOT EDIT! This box is automatically filled with content!
-->
Loading...
</div>
<!-- is displayed during load -->
<div id="LoadOverlay" class="commonBox">
<img src="img/ajax-loader.gif"/> Loading...
</div>
<!-- introduction before the test starts -->
<div id="TestIntroduction" class="commonBox">
<!-- edit here if you want to change the welcome message and instructions -->
<div style="text-align:left">
Thanks for your interest in participating in the listening test. The overall test will roughly take 15 minutes. Please take the time and carefully rate every item.
<br />
<br />
Instructions:
<ul>
<li>Most important: use high quality studio headphones and a good soundcard!</li>
<li>Listen through all test files and test sets before you do any ratings to get used to the material.</li>
<li>Rate the quality of the test items only compared to the reference on top.</li>
<li>Try to rate the overall impression of a test item and don't concentrate on single aspects. </li>
</ul>
</div>
<br />
<br />
<!-- this button starts the first test -->
<button id="BtnStartTest" onclick="testHandle.startTests();">Start!</button>
</div>
<!-- final text after all tests have passed -->
<div id="TestEnd" class="commonBox">
<!-- edit here if you want to change the thank you message -->
Thank you very much!
<br />
<br />
<!-- show some informations before submitting the results -->
<div id="SubmitBox">
<div id="SubmitError" class="error">
We are sorry, but the following error occured during your submission:
<p id="ErrorCode"></p>
</div>
<p class="submitOnline">
<!-- edit here if you want to change the information about online submission, e.g. add privacy policy information -->
Please submit the results to our server. Entering a name or email address is not mandatory
but it would help us to contact you if we have further questions. You can also leave a comment.
</p>
<p class="submitDownload">
<!-- edit here if you want to change the information about online submission, e.g. add privacy policy information -->
Please download and save the results. Entering a name or email address is not mandatory
but it would help us to contact you if we have further questions. You can also leave a comment.
</p>
<table border=0 style="margin-left: auto;margin-right: auto;">
<tr><td>Name:</td><td><input id="UserName" type="text" size="40" maxlength="40" /></td></tr>
<tr><td>Email:</td><td><input id="UserEMail" type="text" size="40" maxlength="40" /></td></tr>
<tr><td></td><td><textarea id="UserComment" cols="40" rows="4">Your comment...</textarea></td></tr>
</table>
<br />
<button id="BtnSubmitData" class="submitOnline" onclick="testHandle.SubmitTestResults();">Submit</button>
<button id="BtnDownloadData" class="submitDownload" onclick="testHandle.DownloadTestResults();">Download</button>
<p class="submitEmail error">
<!-- edit here if you want to change the information about email submission, e.g. add privacy policy information -->
Results should be send to <span class="supervisorEmail"></span>
</p>
</div>
<!-- the test results are displayed in this box -->
<div id="ResultsBox">
</div>
</div>
<div id="TableContainer" class="commonBox">
<!-- container for the test items and sliders
DO NOT EDIT! This box is automatically filled with content!
-->
<!-- heading for the single test -->
<div id="TestHeading">
</div>
</div>
<!-- controls to go to next/previous test -->
<div id="TestControls" class="commonBox">
<button id="BtnNextTest">Next Test</>
<button id="BtnPrevTest">Previous Test</>
</div>
<!-- playback control -->
<div id="PlayerControls" class="commonBox">
<div id="duration">
<span>00:00</span>
</div>
<div id="TimeLine">
<div id="ProgressBar"></div>
<div id="ABRange"></div>
</div>
<div>
<input id="ChkLoopAudio" type="checkbox" value="Loop" /><label for="BtnLoopAudio">Loop</label>
</div>
<div id="Volume">
Volume
<div id="VolumeSlider"></div>
</div>
<br style="clear:both"/>
</div>
<!-- Footer -->
<div id="Footer">
This listening test has been created with <a href="https://github.com/HSU-ANT/beaqlejs" target="_blank">BeaqleJS</a>
</div>
</div>
</body>
</html>