React-hifi
A composable Abstraction for AudioContext API with a easy to use react API.
check the documentation
Installation
npm i react-hifi# or yarn add react-hifi
Example
;;; render
Plugins
A plugin is simply an object wich match the interface below passed to pluginFactory. This library give you access to a few basic plugin :
- Volume
- Stereo
- BiQuadFilter
- Equalizer (basicaly an array of BiQuadFilter)
- AnalyserByFrequency (visualisation)
- Oscilator (visualisation)
Plugins can do everything allowed by the html5 audio api.
lets rewrite the volume plugin
;;; ; render