Customizable HTML canvas audio visualizer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Hyperlyze/index.html

26 lines
1.2 KiB

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Customizable Visualizer</title>
<script src="./script.js" defer async type="module"></script>
<link rel="stylesheet" href="./styles.css">
</head>
<body>
<div id="main">
<div id="controls">
<button id="begin" onclick="play()">Start Visualizer/Play</button>
<input type="text" id="get-src" class="ctrl" value="https://media.wubzy.xyz/ipnU.mp3" placeholder='Audio URL...'><label for="get-src"></label>
<button class="invis ctrl ctrl-btn" id="play" onclick="play()">Play</button>
<button class="invis ctrl ctrl-btn" id="pause" onclick="pause()">Pause</button>
<button id="reload" class="invis ctrl ctrl-btn" onclick="reload()">Reload Player</button>
</div>
<div id="visual-master">
<canvas id="visualizer"></canvas>
</div>
</div>
</body>
</html>