mic-selector
returns a jQuery select
element populated with option
elements for all available microphone inputs. on change, the element triggers a 'bang' event with a MediaStreamAudioSourceNode
for the chosen input.
install
npm i --save mic-selector
usage
var $ = var audioCtx = new windowAudioContext || windowwebkitAudioContextvar $micSelector = audioCtx $micSelector