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

audio-buffer-list

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

audio-buffer-list - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

package.json
{
"name": "audio-buffer-list",
"version": "1.2.0",
"version": "1.2.1",
"description": "Data structure for sequence of AudioBuffers",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -25,2 +25,4 @@ # audio-buffer-list [![Build Status](https://travis-ci.org/audiojs/audio-buffer-list.svg?branch=master)](https://travis-ci.org/audiojs/audio-buffer-list) [![experimental](http://badges.github.io/stability-badges/dist/experimental.svg)](http://github.com/badges/stability-badges)

Creates new audio buffer list instance, `new` is not strictly required.
`source` can be _AudioBuffer_, _AudioBuffer_ array, _AudioBufferList_, _AudioBufferList_ array or callback.

@@ -30,4 +32,2 @@

`new` is not strictly required.
### `list.insert(buffer, offset=0)`

@@ -47,3 +47,3 @@

## AudioBuffer properties & methods
## [AudioBuffer](https://github.com/audiojs/audio-buffer) properties & methods

@@ -76,3 +76,3 @@ ### `list.duration`

## BufferList properties and methods
## [BufferList](https://github.com/rvagg/bl) properties and methods

@@ -85,14 +85,27 @@ ### `list.length`

### `list.slice(start?, end?)`
Insert new AudioBuffer, AudioBufferList or array of them to the end.
### `list.shallowSlice(start?, end?)`
### `list.slice(start=0, end=-0)`
Return merged AudioBuffer representing indicated interval.
### `list.shallowSlice(start=0, end=-0)`
Return sublist — a handle for the data of the indicated interval.
### `list.get(idx, channel)`
Get single sample value at the coordinate.
### `list.duplicate()`
Create new AudioBufferList consisting of the same AudioBuffers as the initial list.
### `list.copy(dest, destStart?, srcStart?, srcEnd?)`
Put data into destination AudioBuffer.
### `list.consume(length)`
Delete data from the beginning.

@@ -99,0 +112,0 @@

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