Skip to content

Instantly share code, notes, and snippets.

View OUNAVCON's full-sized avatar
💭
I may be slow to respond.

OUNAVCON

💭
I may be slow to respond.
View GitHub Profile
@OUNAVCON
OUNAVCON / morse.js
Last active April 27, 2016 21:13 — forked from eholk/morse.js
A Morse Code generator in Java Script
function MorseNode(ac, rate) {
// ac is an audio context.
this._oscillator = ac.createOscillator();
this._gain = ac.createGain();
this._gain.gain.value = 0;
this._oscillator.frequency.value = 750;
this._oscillator.connect(this._gain);