Skip to content

Instantly share code, notes, and snippets.

@fgutz
fgutz / warning.js
Last active December 30, 2015 01:59
var Warning = (function(){
// web Audio API object
var sound = {
init : function() {
this.context = new webkitAudioContext();
this.oscillator = this.context.createOscillator();
this.oscillator.connect(this.context.destination);
this.oscillator.type = 3;
this.oscillator.frequency.value = 266;