audiojs / audio

Class for high-level audio manipulations [NOT MAINTAINED]
MIT License
240 stars 9 forks source link

Blob support #47

Closed samanmohamadi closed 6 years ago

samanmohamadi commented 6 years ago

Hi, I tried blob but it seems that blob is not supported. this: (new Audio(blob,{length:blob.size}).remove(1,2); throws: Value must be an array or buffer.

dy commented 6 years ago

@samanmohamadi please use Audio.decode for now. Soon (#48) will enable your approach.

Audio.decode(new Blob([lena.mp3]), (err, audio) => {});