-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (32 loc) · 1.14 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Just 40Hz binaural beats</title>
<script>var SCITTLE_NREPL_WEBSOCKET_PORT = 1340;</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/scittle.js" type="application/javascript"></script>
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/scittle.nrepl.js" type="application/javascript"></script> -->
<script type="application/x-scittle" src="beats.cljs"></script>
<style>
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
gap: 1rem;
margin: 0;
}
</style>
</head>
<body>
<h1>Just 40Hz binaural beats</h1>
<audio></audio>
<button onclick="start_app()"> play </button>
<div class="slidecontainer">
<input type="range" min="100000" max="450000" value="15274"
class="slider" id="frequencyRange" onchange="update_app(this.value)"> </div>
<div id="frequencyDisplay"> </div>
<a href="https://github.com/benjamin-asdf/just-40hz-binaural-beats">code</a>
</body>
</html>