changeset 2132:93a87f26323c

Merge
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Tue, 23 Feb 2016 17:57:21 +0000
parents ade3acb0cee3 (current diff) 0038731dc1fe (diff)
children 4213eaa52b72
files core.css core.js demo.html docs/Instructions/Instructions.pdf docs/Instructions/Instructions.tex example_eval/horizontal_example.xml interfaces/AB.css interfaces/AB.js interfaces/ape.js interfaces/blank.js interfaces/discrete.js interfaces/horizontal-sliders.js interfaces/mushra.js loudness.js save.php scripts/evaluation_stats.py scripts/generate_report.py scripts/score_parser.php scripts/timeline_view_movement.py test-schema.xsd test_create/style.css test_create/test_core.js test_create/test_create.html
diffstat 2 files changed, 41 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/analysis/analysis.js	Tue Feb 23 17:57:21 2016 +0000
@@ -0,0 +1,29 @@
+/*
+* Analysis script for WAET
+*/
+
+var chartContext;
+window.onload = function() {
+    // Load the Visualization API and the corechart package.
+      google.charts.load('current', {'packages':['corechart']});
+    chartContext = new Chart();
+}
+
+function Chart() {
+    this.data = null;
+    
+    this.getValueData = function() {
+        var XMLHttp = new XMLHttpRequest();
+        XMLHttp.parent = this;
+        XMLHttp.open("GET","comment_parser.php?format=JSON",true);
+        XMLHttp.onload = function() {
+            // Now we have the JSON data, extract
+            this.parent.data = JSON.parse(this.responseText);
+        }
+        XMLHttp.send();
+    }
+    
+    this.drawMean = function() {
+        // First we must get the value data
+    }
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/analysis/index.html	Tue Feb 23 17:57:21 2016 +0000
@@ -0,0 +1,12 @@
+<html lang="en">
+    <head>
+        <meta charset="utf-8" />
+        <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
+        <script type="text/javascript" src="analysis.js"></script>
+    </head>
+    <body>
+        <h1>Web Audio Evaluation Toolbox: Analysis</h1>
+        <div id="test-pages"></div>
+        <div id=""
+    </body>
+</html>
\ No newline at end of file