Small and dependency-free library for declaratively manipulating the Web Audio API.
virtual-audio-graph manages the state of the audio graph so this does not have to be done manually. Simply declare what you would like the audio graph to look like and virtual-audio-graph takes care of the rest.
npm i -S virtual-audio-graph
virtual-audio-graph is designed to be small and weighs in at 7.5kB minified (2.4kB minified & gzipped) according to bundlephobia (https://firstname.lastname@example.org).
First check out the virtual-audio-graph guide for working examples and to understand how the library works.
For an example of virtual-audio-graph working in a real application you can take a look at Andromeda which is one of my other projects.