# HG changeset patch # User Nicholas Jillings # Date 1460553664 -3600 # Node ID 30bffc455b4dd35ea374b084d8102c57d4d85e6f # Parent cb27ece65a5c0ebcec9d2635f3da8705dc9443d3 Included crossFade in node schema. Specification now converts restricted data classes into their correct type. diff -r cb27ece65a5c -r 30bffc455b4d core.js --- a/core.js Tue Apr 12 11:48:40 2016 +0100 +++ b/core.js Wed Apr 13 14:21:04 2016 +0100 @@ -1278,13 +1278,13 @@ this.timer.startTest(); if (id == undefined) { id = -1; - console.log('FATAL - Passed id was undefined - AudioEngineContext.play(id)'); + console.error('FATAL - Passed id was undefined - AudioEngineContext.play(id)'); return; } else { interfaceContext.playhead.setTimePerPixel(this.audioObjects[id]); } if (this.loopPlayback) { - var setTime = audioContext.currentTime; + var setTime = audioContext.currentTime+specification.crossFade; for (var i=0; i 0) { + dataType = rest[0].getAttribute("base"); + if (typeof dataType == "string") { + dataType = dataType.substr(3); + } else { + dataType = "string"; + } + } else { + dataType = "string"; + } + } if (attribute == null) { return attribute; diff -r cb27ece65a5c -r 30bffc455b4d test-schema.xsd --- a/test-schema.xsd Tue Apr 12 11:48:40 2016 +0100 +++ b/test-schema.xsd Wed Apr 13 14:21:04 2016 +0100 @@ -52,6 +52,13 @@ + + + + + + +