audio-buffer-from
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -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() | ||
}) |
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
21409
446
Updatedaudio-buffer@^4.0.4