There's a version I wrote using web components: https://github.com/openmusic/oscilloscope It probably can be simplified to not use web components and just use plain JS.
There's a version I wrote using web components: https://github.com/openmusic/oscilloscope
It probably can be simplified to not use web components and just use plain JS.