An oscilloscope in JavaScript using the Web Audio API and canvas.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
dist
src
.gitignore
Gruntfile.js
LICENSE
README.md
package.json

README.md

Scope

An oscilloscope in JavaScript using the Web Audio API and canvas.

Tiny little demo available here.


Usage

var canvas = document.querySelector('canvas'),
  ac = new AudioContext(),
  osc = ac.createOscillator(),
  scope = new Scope( ac, canvas );

osc.connect( scope.input );
osc.start();
scope.start();