wave-edit
selectable wave ui component demo
usage
wave =progressColor: '#DF79DF'waveColor: '#52F6A4'width: 800height: 800 / 6buffer: srcbuffer // audiobufferonclick: onclickwavecursorStyle: '1px solid orange'selectable: true;wavesrc;{if waveselectable return;if srcsource src;src}
src
above is an audiosource
but could easily be another abstraction over the web audio api.
Further documentation will be added in future(PRs welcome!), for now take a look at the constructor method in lib/wave-edit.js for available options.