Open dy opened 6 years ago
Similar to Image:
Image
Audio('./x.wav', (err, a) => {}) Audio(blob).on('load', a => {}) Audio(file).then(a => {})
.decode
.load
Audio(url).then(a => {})
thenable
Otherwise it is not clear the natural way of creating blobs: Audio.load(blob),Audio.decode(blob) or Audio.from(blob)?
Audio.load(blob)
Audio.decode(blob)
Audio.from(blob)
Similar to
Image
:.decode
,.load
methods.Audio(url).then(a => {})
: audio isthenable
.Otherwise it is not clear the natural way of creating blobs:
Audio.load(blob)
,Audio.decode(blob)
orAudio.from(blob)
?