Skip to content

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.

Notifications You must be signed in to change notification settings

Tiny-Prism-Labs/Spectrogram_SimpleJS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.1%
  • Other 0.9%