multi-channel-web-audio
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -25,5 +25,5 @@ "use strict"; | ||
const audioData = request.response; | ||
console.log("response", request.response); | ||
// console.log("response", request.response); | ||
this.audioCtx.decodeAudioData(audioData, buffer => { | ||
console.log(`got audio buffer for sample "${key}"`); | ||
// console.log(`got audio buffer for sample "${key}"`); | ||
sample.bufferData = buffer; | ||
@@ -66,3 +66,3 @@ resolve(); | ||
} | ||
console.log(`found sample "${key}", play on channel #${channel}`); | ||
// console.log(`found sample "${key}", play on channel #${channel}`); | ||
if (sample.bufferData === null) { | ||
@@ -69,0 +69,0 @@ throw Error(`buffer not (yet?) loaded on call to play "${key}"`); |
{ | ||
"name": "multi-channel-web-audio", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Multi channel, multi speaker audio for the browser", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -67,5 +67,5 @@ interface BufferedSample { | ||
const audioData = request.response; | ||
console.log("response", request.response); | ||
// console.log("response", request.response); | ||
this.audioCtx.decodeAudioData(audioData, buffer => { | ||
console.log(`got audio buffer for sample "${key}"`); | ||
// console.log(`got audio buffer for sample "${key}"`); | ||
sample.bufferData = buffer; | ||
@@ -125,3 +125,3 @@ resolve(); | ||
} | ||
console.log(`found sample "${key}", play on channel #${channel}`); | ||
// console.log(`found sample "${key}", play on channel #${channel}`); | ||
@@ -128,0 +128,0 @@ if (sample.bufferData === null) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
80176