gl-spectrum
gl-spectrum copied to clipboard
:chart_with_downwards_trend: Spectrum visualizer
https://github.com/a-vis/spectrum/blob/8b018741162db662132aafddc8685030ad8a8e0f/core.js#L33 Should be `Emitter.call(this)`. Otherwise an `Cannot read property '_events' of undefined` error will be thrown at startup.
I was looking for a quick demo, but it appears http://audio-lab.github.io/gl-spectrum/ is returning 404.
Because visualizing audio is a bit tricky. Probably should address in [audio-spectrum](https://github.com/audio-lab/audio-spectrum). And API should be simpler. Like ```js let draw = createSpectrum() draw(data); ```
I see that you have MIT listed in the package.json, https://github.com/audio-lab/gl-spectrum/blob/master/package.json#L60 But I'm not seeing one in the repo, accept a pr? I'm looking into possibly including this in Min...
Swiping left/right over the min/max frequency scales the plot, which it should not
Really triangles look unwieldy, production-ready spectrums are easier. Mb just create an alternate spectrum tho?
- [x] line mode for webgl - [x] trail for 2d - [ ] channels for 2d and gl - [ ] test viewports - [x] display axes in responsive...