Skip to content

Instantly share code, notes, and snippets.

Created Dec 20, 2016
What would you like to do?
Web Audio Example
var context= new (window.AudioContext || window.webkitAudioContext)();
var oscillator = context.createOscillator();
oscillator.frequency.value = 5000;
// Only be heard by those under 40
// oscillator.frequency.value = 15000;
// Only be heard by those under 18
//oscillator.frequency.value = 17500;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment