-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.old.html
More file actions
63 lines (57 loc) · 2.67 KB
/
Copy pathindex.old.html
File metadata and controls
63 lines (57 loc) · 2.67 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html>
<head>
<link rel="icon" href="audio49.png">
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="description" content="Localhackday : ">
<link rel="stylesheet" type="text/css" media="screen" href="css/style.css">
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="soundboard.js"></script>
<title>Soundboard</title>
</head>
<body>
<!--<div id="main_content_wrap" class="outer">-->
<section id="main_content" class="inner">
<img src="audio49.png" alt="speaker">
<h1>Looping Soundboard of Uselessness</h1>
<h4>Insert tempo here (values in range from 60 to 450 only please)</h4>
<input type="number" id="userTempo" value="">
<h4>Type in a number then hit <code>ENTER</code> or <code>RETURN</code></h4>
<div id="continuousMusic">
<h2>Continuous Soundtrack</h2>
<button type="button" onclick="playAudio('overtime')">Overtime</button>
<button type="button" onclick="playAudio('how')">I Cry</button>
<button type="button" onclick="playAudio('eecs')">EECS</button>
</div>
<h2>Accent(s)</h2>
<div id="beatHits">
<button type="button" onclick="playAudio('meme')">Nice Meme</button>
</div>
<audio>
Your browser does not support audio tags.
</audio>
<!-- Continuous Music -->
<div id="contMusicAudio">
<audio loop id="overtime" data-tempo="115">
<source src="audio/Overtime.mp3" type="audio/mp3">
</audio>
<audio loop id="how" data-tempo="94">
<source src="audio/how.mp3" type="audio/mp3">
</audio>
<audio loop id="eecs" data-tempo="143">
<source src="audio/eecs.mp3" type="audio/mp3"></source>
</audio>
</div>
<!-- Beat hits -->
<div id="beatHitMusicAudio">
<audio id="meme">
<source src="audio/nicememe.mp3" type="audio/mp3">
</audio>
</div>
<div><br>Additional instructions about this project: Click the buttons to play/pause the audio files (we did not fix audio balance issues). Hitting the blue button will periodicially loop you a nice meme!</div>
<div><br>Icon made by <a href="http://www.freepik.com" title="Freepik">Freepik</a> from <a href="http://www.flaticon.com" title="Flaticon">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0">CC BY 3.0</a></div>
</section>
<!--</div>-->
</body>
</html>