annotate index.html @ 1353:41574c5bc5ee

Added WAVE.js, conversion of some C scripts to JS for WAVE file manipulation. By default, will use the WAVE decoder first before fallback to browser decoders. All browsers now support Integer 8-/16-/24-/34-bit and IEEE Float 32 WAVE files.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Sat, 16 Jan 2016 14:51:02 +0000
parents a7e81c4f4ace
children c0022a09c4f6
rev   line source
nickjillings@1318 1 <!DOCTYPE html>
nickjillings@1318 2 <html lang="en">
nickjillings@1318 3 <head>
nickjillings@1318 4 <meta charset="utf-8" />
nickjillings@1318 5
nickjillings@1318 6
nickjillings@1318 7 <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
nickjillings@1318 8 Remove this if you use the .htaccess -->
nickjillings@1318 9 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
nickjillings@1318 10
nickjillings@1318 11 <title>Web Audio Evaluation Tool</title>
nickjillings@1318 12 <meta name="description" content="" />
nickjillings@1318 13 <meta name="author" content="" />
nickjillings@1318 14
nickjillings@1318 15 <!-- Load up the default core JS and CSS files-->
nickjillings@1318 16 <link rel='stylesheet' type='text/css' href='core.css'>
nickjillings@1318 17 <!-- Use jQuery hosted from Google CDN -->
nickjillings@1318 18 <!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>-->
nickjillings@1318 19 <script src="jquery-2.1.4.js"></script>
nickjillings@1318 20 <script src='core.js'></script>
nickjillings@1318 21 <script src='loudness.js'></script>
nickjillings@1319 22 <script src='xmllint.js'></script>
nickjillings@1353 23 <script src='WAVE.js'></script>
nickjillings@1318 24 <script type="text/javascript">
nickjillings@1318 25 // SEARCH QUERY: By using the GET Request option ?url=loca/path/to/project.xml in the URL bar, you can load a project quickly
nickjillings@1318 26 if (window.location.search.length != 0)
nickjillings@1318 27 {
nickjillings@1318 28 var search = window.location.search.split('?')[1];
nickjillings@1318 29 // Now split the requests into pairs
nickjillings@1318 30 var searchQueries = search.split('&');
nickjillings@1318 31 for (var i in searchQueries)
nickjillings@1318 32 {
nickjillings@1318 33 // Split each request into
nickjillings@1318 34 searchQueries[i] = searchQueries[i].split('=');
nickjillings@1318 35 if (searchQueries[i][0] == "url")
nickjillings@1318 36 {
nickjillings@1318 37 url = searchQueries[i][1];
nickjillings@1318 38 }
nickjillings@1318 39 }
nickjillings@1318 40 loadProjectSpec(url);
nickjillings@1318 41 window.onbeforeunload = function() {
nickjillings@1318 42 return "Please only leave this page once you have completed the tests. Are you sure you have completed all testing?";
nickjillings@1318 43 };
nickjillings@1318 44 }
nickjillings@1318 45 </script>
nickjillings@1318 46 </head>
nickjillings@1318 47
nickjillings@1318 48 <body>
nickjillings@1318 49 <!-- Load up the default page interface allowing for project setting loads, even if hard-coded-->
nickjillings@1318 50 <!-- Actual test interface design should be contained in the .js for ease of dynamic content-->
nickjillings@1318 51 <div id='topLevelBody'>
nickjillings@1318 52 <h1>Web Audio Evaluation Tool</h1>
nickjillings@1318 53 <h2>Start menu </h2>
nickjillings@1318 54 <ul>
nickjillings@1318 55 <li><a href="index.html?url=example_eval/project.xml" target="_blank">APE interface test example</a></li>
nickjillings@1318 56 <li><a href="index.html?url=example_eval/mushra_example.xml" target="_blank">MUSHRA interface test example</a></li>
nickjillings@1330 57 <li><a href="index.html?url=example_eval/AB_example.xml" target="_blank">AB interface test example</a></li>
nickjillings@1318 58 <li><a href="test_create/test_create.html" target="_blank">Test creator</a></li>
nickjillings@1318 59 <li><a href="analyse.html" target="_blank">Analysis and diagnostics of results</a></li>
nickjillings@1318 60 </ul>
nickjillings@1318 61
nickjillings@1318 62 <br>
nickjillings@1318 63
nickjillings@1318 64 <ul>
nickjillings@1318 65 <li><a href="LICENSE.txt" target="_blank">License</a></li>
nickjillings@1318 66 <li><a href="CITING.txt" target="_blank">Citing</a></li>
nickjillings@1318 67 <li><a href="docs/Instructions/Instructions.pdf" target="_blank">Instructions</a></li>
nickjillings@1318 68 </ul>
nickjillings@1318 69
nickjillings@1318 70
nickjillings@1318 71 </div>
nickjillings@1318 72 </body>
nickjillings@1318 73 </html>