Skip to content

Instantly share code, notes, and snippets.

View HelaGone's full-sized avatar
💭
typing code

CubeInTheBox HelaGone

💭
typing code
View GitHub Profile
<!DOCTYPE html>
<html>
<head><title>SOUND</title></head>
<body>
<div>Frequence: <span id="frequency"></span></div>
<script type="text/javascript">
var audioCtx = new (window.AudioContext || window.webkitAudioContext)();
var oscillatorNode = audioCtx.createOscillator();
var gainNode = audioCtx.createGain();