A simple offset node (or constant value) for Web Audio API.
You can grab the latest browser build from dist/ or install through npm with npm install waaoffset
Create :
varcontext=newAudioContext(),offsetNode=newWAAOffsetNode(context)Connect :
// `WAAOffsetNode.connect` takes the same arguments as `AudioNode.connect`offsetNode.connect(someOtherNode)Control :
// `WAAOffsetNode.offset` is an `AudioParam`offsetNode.offset.setValueAtTime(0.5,10)npm run build
Run npm build.tests. It will create a waatest folder in the root of the package. Then open waatest/index.html in a web browser.