peaks.js icon indicating copy to clipboard operation
peaks.js copied to clipboard

Support for signals that aren't centered on zero?

Open hughrawlinson opened this issue 5 years ago • 1 comments

I'm working on a thing that will display audio in the web, but not the signal directly, instead an audio feature. Many of the audio features I intend to display are not positive and negative and center around 1, but in some cases fall between 0 and 1. Taking that base case now (forgetting that some audio features are multidimensional, or don't strictly have a bounded range), is displaying audio that way something you've considered? Or even just accepting an pre-computed buffer of audio feature data for a signal?

No worries if this is out of the scope of the project - I'm just checking to see if it's on your radar in case we could put our heads together rather than work on the same thing independently. Thanks!

hughrawlinson avatar Feb 19 '20 01:02 hughrawlinson

Nice project! No, this isn't something I've considered, although someone previously requested a spectrogram display (#275). Peaks.js right now is tied our particular waveform data format, but - in principle - it could be adapted to display other feature data. I'd be happy to talk more.

chrisn avatar Feb 19 '20 07:02 chrisn