WebGL-powered oscilloscope
 
 
 
Go to file
Chad von Nau 6e8e49f494 update readme with exmaple and dev commands 2015-11-09 13:19:35 -08:00
demo
shaders
woscope-music@13b4f6af42
.editorconfig
.gitignore
.gitmodules
.jshintrc
LICENSE
Readme.md update readme with exmaple and dev commands 2015-11-09 13:19:35 -08:00
banner.txt
bower.json
index.html
index.js
package.json

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.mp3"></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    # build dist files
npm run lint     # check source files with jshint