audio-buffer-list
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"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 @@ |
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
17529
116