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

@descript/web-audio-js

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@descript/web-audio-js - npm Package Compare versions

Comparing version 0.15.3-patched.5 to 0.15.3-patched.6

2

package.json
{
"name": "@descript/web-audio-js",
"description": "Pure JS implementation of the Web Audio API",
"version": "0.15.3-patched.5",
"version": "0.15.3-patched.6",
"authors": [

@@ -6,0 +6,0 @@ "Nao Yonamine <mohayonao@gmail.com>",

@@ -233,2 +233,17 @@ 'use strict';

it('linearRampToValueAtTime after setValue', () => {
const param = new AudioParam(context, {
rate: CONTROL_RATE,
defaultValue: 0,
});
param.setValue(0.5);
param.linearRampToValueAtTime(0.1, 1);
expect(param.getTimeline().map(pluck)).toEqual([
// startTime, endTime, startValue, endValue
[LINEAR_RAMP_TO_VALUE_AT_TIME, fr(0), fr(1), 0.5, 0.1],
]);
});
it('exponentialRampToValueAtTime', () => {

@@ -235,0 +250,0 @@ const param = new AudioParam(context, {

@@ -142,3 +142,3 @@ 'use strict';

endFrame: Math.round(endTime * this.sampleRate),
startValue: this._defaultValue,
startValue: this._value,
endValue: value,

@@ -145,0 +145,0 @@ };

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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