This demo is a modernised version of the old demo.
It does not use the deprecated ScriptProcessorNode API. Also I attempted to explain in the comments how speed and frequency can be calculated from an audio source signal.
Would be great that could be integrated into this project.
Edit:
Does not run in Safari, because I did not polyfill requestIdleCallback, which however would be easy.
This demo is a modernised version of the old demo.
It does not use the deprecated
ScriptProcessorNode
API. Also I attempted to explain in the comments howspeed
andfrequency
can be calculated from an audio source signal.Would be great that could be integrated into this project.
Edit: Does not run in Safari, because I did not polyfill
requestIdleCallback
, which however would be easy.