WebGL-powered oscilloscope
 
 
 
Go to file
Chad von Nau 17d49abf78 update woscope-music submodule and readme 2015-11-12 19:16:05 -08:00
demo improvements from PR #1 feedback 2015-11-12 18:14:39 -08:00
dist Release 0.1.0 2015-11-12 18:15:20 -08:00
shaders move shaders to individual files, bundle with glslify 2015-11-09 05:33:44 -08:00
woscope-music@f98fb51b38 update woscope-music submodule and readme 2015-11-12 19:16:05 -08:00
.editorconfig add package files and build config 2015-11-09 05:01:44 -08:00
.gitignore add package files and build config 2015-11-09 05:01:44 -08:00
.gitmodules added woscope music submodule 2015-09-04 07:15:17 +00:00
.jshintrc add package files and build config 2015-11-09 05:01:44 -08:00
.travis.yml add travis config for continuous integration 2015-11-12 18:14:58 -08:00
LICENSE added readme and license 2015-10-14 12:29:14 +03:00
Readme.md update woscope-music submodule and readme 2015-11-12 19:16:05 -08:00
banner.txt add package files and build config 2015-11-09 05:01:44 -08:00
bower.json Release 0.1.0 2015-11-12 18:15:20 -08:00
index.html support dynamic canvas size, demo supports iPhone 2015-11-09 05:33:48 -08:00
index.js improvements from PR #1 feedback 2015-11-12 18:14:39 -08:00
package.json Release 0.1.0 2015-11-12 18:15:20 -08:00

Readme.md

woscope: oscilloscope emulator

This is a POC oscilloscope emulator with live demo

Full explanation available on the blag

Code is available under MIT license.

Example

<audio id="myAudio" controls src="woscope-music/khrang.m4a"></audio><br>
<canvas id="myCanvas" width="800" height="800"></canvas>
<script src="dist/woscope.js"></script>
<script>
    var myCanvas = document.getElementById('myCanvas'),
        myAudio = document.getElementById('myAudio');

    woscope({
        canvas: myCanvas,
        audio: myAudio,
        callback: function () { htmlAudio.play(); }
    });
</script>

Dev commands

npm install      # install dev dependencies
npm run demo     # run demo locally with livereload
npm run build    # lint and build dist files