audio-node-flow
v1.0.5
Published
Flow control library for Web Audio API.
Downloads
4
Readme
audio-node-flow
Flow control library for Web Audio API.
Installation
npm install audio-node-flow
Usage
Flow control
source -> nodeA -> nodeB -> nodeC -> nodeD -> destination
-> nodeE -> destination
var AudioNodeFlow = require("audio-node-flow").AudioNodeFlow;
new AudioNodeFlow(source)
.connect(nodeA)
.sequence([nodeB, nodeC])
.connectAll([nodeD, nodeE])
.connect(context.destination);
Tests
npm test
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
License
MIT