Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Spectrum analysis demo using D3 and HTML5 audio
JavaScript Ruby
Branch: master
Failed to load latest commit information.
public move to public dir
Gemfile add rack to gemfile
Gemfile.lock add rack to gemfile readme cleanup unused

Spectrum Analyzer Demo

See it here:

This is a spectrum analyzer demo that I did for fun using the HTML5 Web Audio API, dsp.js and d3.js.

Local Installation

There is a file included so that you can serve the project locally using Rack

  • Make sure rack is installed
  • Clone the git repo

git clone

cd d3-audio-spectrum


A frequency sweep mp3 is included for demo purposes but any audio file can be used.

Something went wrong with that request. Please try again.