audiojs / audio

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

audio.read('left') #44

Open dy opened 6 years ago

dy commented 6 years ago

Is there any sense in channel naming convention to shorten args?

audio.write(data, 'left') //vs audio.write(data, {channel: 0})
audio.read('right') //vs audio.read({channel: 1})
audio.shift(-100, 'right') //vs audio.shift(audio.time(100), {channel: 1})
audio.channel[0]