From 2707e1b47a77a25db06c47d4ad1630f29bb0ae0a Mon Sep 17 00:00:00 2001 From: Hongchan Choi Date: Mon, 12 Sep 2016 11:23:39 -0700 Subject: [PATCH] pushing 0.1.5 --- bower.json | 2 +- build/omnitone.js | 7 ------- build/omnitone.min.js | 2 +- package.json | 2 +- src/omnitone.js | 7 ------- 5 files changed, 3 insertions(+), 17 deletions(-) diff --git a/bower.json b/bower.json index d3dc0b1..0c81490 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "omnitone", - "version": "0.1.4", + "version": "0.1.5", "description": "Spatial Audio Decoder in Web Audio API", "main": "src/main.js", "authors": [ diff --git a/build/omnitone.js b/build/omnitone.js index f633081..165f307 100644 --- a/build/omnitone.js +++ b/build/omnitone.js @@ -121,13 +121,6 @@ return /******/ (function(modules) { // webpackBootstrap */ Omnitone.VERSION = '0.1.5'; - /** - * Omnitone library logging function. - * @type {Function} - * @param {any} Message to be printed out. - */ - Omnitone.LOG = Utils.LOG; - /** * Load audio buffers based on the speaker configuration map data. * @param {AudioContext} context The associated AudioContext. diff --git a/build/omnitone.min.js b/build/omnitone.min.js index ea0255d..ef2cf0e 100644 --- a/build/omnitone.min.js +++ b/build/omnitone.min.js @@ -13,4 +13,4 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -"use strict";e.Omnitone=i(1)},function(t,e,i){"use strict";var n={},s=i(2),o=i(4),a=i(5),c=i(6),h=i(7),r=i(8),_=i(3);n.VERSION="0.1.5",n.LOG=_.LOG,n.loadAudioBuffers=function(t,e){return new Promise(function(i,n){new s(t,e,function(t){i(t)},n)})},n.createFOARouter=function(t,e){return new o(t,e)},n.createFOARotator=function(t){return new a(t)},n.createFOAPhaseMatchedFilter=function(t){return new c(t)},n.createFOAVirtualSpeaker=function(t,e){return new h(t,e)},n.createFOADecoder=function(t,e,i){return new r(t,e,i)},t.exports=n},function(t,e,i){"use strict";function n(t,e,i,n,o){this._context=t,this._buffers=new Map,this._loadingTasks={},this._resolve=i,this._reject=n,this._progress=o;for(var a=0;a ["+t+"])"),this._audioElementSource=this._context.createMediaElementSource(this._videoElement),this._foaRouter=new o(this._context,this._channelMap),this._foaRotator=new a(this._context),this._foaPhaseMatchedFilter=new c(this._context),this._audioElementSource.connect(this._foaRouter.input),this._foaRouter.output.connect(this._foaRotator.input),this._foaRotator.output.connect(this._foaPhaseMatchedFilter.input),this._foaVirtualSpeakers=[],this._bypass=this._context.createGain(),this._audioElementSource.connect(this._bypass);var e=Math.pow(10,this._postGainDB/20);_.LOG("Gain compensation: "+e+" ("+this._postGainDB+"dB)");var i=this;return new Promise(function(t,n){new s(i._context,i._speakerData,function(n){for(var s=0;s ["+t+"])"),this._audioElementSource=this._context.createMediaElementSource(this._videoElement),this._foaRouter=new o(this._context,this._channelMap),this._foaRotator=new a(this._context),this._foaPhaseMatchedFilter=new c(this._context),this._audioElementSource.connect(this._foaRouter.input),this._foaRouter.output.connect(this._foaRotator.input),this._foaRotator.output.connect(this._foaPhaseMatchedFilter.input),this._foaVirtualSpeakers=[],this._bypass=this._context.createGain(),this._audioElementSource.connect(this._bypass);var e=Math.pow(10,this._postGainDB/20);_.LOG("Gain compensation: "+e+" ("+this._postGainDB+"dB)");var i=this;return new Promise(function(t,n){new s(i._context,i._speakerData,function(n){for(var s=0;s