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

@soundtouchjs/audio-worklet

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@soundtouchjs/audio-worklet - npm Package Compare versions

Comparing version 0.1.16 to 0.1.17

7

CHANGELOG.md
Changelog
### 0.1.17 (2023-03-14)
### Bug Fixes
* Correct early audio cutoff and handle single channel audio ([#20](https://github.com/cutterbl/soundtouchjs-audio-worklet/issues/20)) ([cee578f](https://github.com/cutterbl/soundtouchjs-audio-worklet/commit/cee578f807c8a564813f7461e3518c18c26cd742))
### 0.1.16 (2022-05-03)

@@ -3,0 +10,0 @@

2

dist/soundtouch-audio-node.js
/*
* SoundTouch Audio Worklet v0.1.16 AudioWorklet using the
* SoundTouch Audio Worklet v0.1.17 AudioWorklet using the
* SoundTouch audio processing library

@@ -4,0 +4,0 @@ *

/*
* SoundTouch Audio Worklet v0.1.16 AudioWorklet using the
* SoundTouch Audio Worklet v0.1.17 AudioWorklet using the
* SoundTouch audio processing library

@@ -1789,3 +1789,3 @@ *

}
return Math.min(numFrames, this.leftChannel.length - position);
return numFrames;
}

@@ -1874,3 +1874,3 @@ }]);

var left = outputs[0][0];
var right = outputs[0][1];
var right = outputs[0].length > 1 ? outputs[0][1] : outputs[0][0];
var samples = this._samples;

@@ -1881,3 +1881,3 @@ if (!left || left && !left.length) {

var framesExtracted = this._filter.extract(samples, inputs[0][0].length);
if (!framesExtracted) {
if (isNaN(samples[0]) || !framesExtracted) {
this._sendMessage('PROCESSOR_END');

@@ -1891,2 +1891,6 @@ return false;

right[i] = samples[i * 2 + 1];
if (isNaN(left[i]) || isNaN(right[i])) {
left[i] = 0;
right[i] = 0;
}
}

@@ -1893,0 +1897,0 @@ return true;

{
"name": "@soundtouchjs/audio-worklet",
"version": "0.1.16",
"version": "0.1.17",
"description": "An ES2015+ AudioWorklet implementation of the SoundTouchJS library",

@@ -5,0 +5,0 @@ "module": "dist/soundtouch-audio-node.js",

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