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

audio-buffer-from

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

audio-buffer-from - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

index.js

@@ -38,3 +38,3 @@ /**

options = pick(options, {
format: 'format type dtype',
format: 'format type dtype dataType',
channels: 'channel channels numberOfChannels channelCount',

@@ -61,3 +61,3 @@ sampleRate: 'sampleRate rate',

if (!sampleRate) sampleRate = 44100
length = sampleRate*options.duration
length = sampleRate * options.duration
}

@@ -64,0 +64,0 @@ else length = options.length

{
"name": "audio-buffer-from",
"version": "1.1.0",
"version": "1.1.1",
"description": "Create AudioBuffer from any source",

@@ -29,3 +29,3 @@ "main": "index.js",

"dependencies": {
"audio-buffer": "^4.0.1",
"audio-buffer": "^4.0.4",
"audio-context": "^1.0.1",

@@ -32,0 +32,0 @@ "audio-format": "^2.0.0",

@@ -405,4 +405,7 @@ 'use strict'

let d = createBuffer(null, {duration: 0.005, channels: 2})
t.equal(d.length, 221)
t.end()
})
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