0.2.0 • Published 2 years ago

concat-blobs v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Concatanate blobs into a single blobs

Installation

# node_modules/concat-blobs will include this repo
npm install concat-blobs

Usage

import concatBlobs from "concat-blobs";

const resultBlobs = concatBlobs(array_of_urls, blob_type);

API

concatBlobs(array_of_urls, blob_type, object?)

array_of_urls -> string with url from audio. Example: 'fixtures/audio1.mp3', 'fixtures/audio2.mp3'

Type: array

blob_type -> type audio. Examples: 'audio/mpeg', 'audio/wav', 'audio/ogg'

Type: string

object? -> return { arrayBuffers, audioBlobConcat, audioBufferConcat, audioBuffers, urlBlobs }

Type: boolean

License

MIT (c) Jandrey Oliveira.