Skip to content

Instantly share code, notes, and snippets.

View ibyteyou's full-sized avatar
🌴
On vacation

ibyteyou

🌴
On vacation
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();