Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

multi-channel-web-audio

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multi-channel-web-audio - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

6

dist/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc