Skip to content

Latest commit

 

History

History
39 lines (21 loc) · 1.11 KB

README.md

File metadata and controls

39 lines (21 loc) · 1.11 KB

Spectrogram

Live sound spectrogram in JavaScript. It can be configured to change buffer size, FFT function, colormap, window type, minimum and maximum frequencies, loudness sensibility, scrolling direction, scrolling speed and pause scrolling.

It has the option to display frequencies in linear mode or in Mel scale (logarithmic scale, see https://en.wikipedia.org/wiki/Mel_scale).

You can easily add new colormaps, for example to add the colormap "PuBu" add

<option value="PuBu">Colormap: PuBu</option>

after line 61 of index.html.

On the upper left corner it displays the instantaneous value of the frequency with the maximum loudness.

The loudness scales in dB units are not calibrated.

Usage

  • Clone the repository
  • Open the file index.html with any web browser

Live Demo

https://ciiec.buap.mx/Spectrogram/

Credits

License

MIT