audiojs / audio

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

Engage power of ES6 & ES7 #42

Open dy opened 6 years ago

dy commented 6 years ago

In particular, asyncs and proxies may facilitate load and samples access, like https://github.com/sindresorhus/negative-array

//get last sample of left channel
audio[0][-1]

//load in single scope
let audio = await Audio.load(url)