-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
96 lines (90 loc) · 2.71 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
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="./scripts/nouislider.min.js"></script>
<script src="./scripts/index.js"></script>
<link rel="stylesheet" type="text/css" href="index.css">
<title>Youtube Video Pitch Shifter</title>
</head>
<body>
<div>
<h1>Youtube Video Pitch Shifter</h1>
</div>
<div>
<p>Currently accepting Youtube links in two formats: </p>
<ul><li>http://youtube.com/watch?v=_________</li>
<li>http://youtu.be/_________</li></ul>
<p>Please make sure your link is in one of these two formats before submitting. Do not submit embed URLs.</p>
<p>After submitting the Youtube link, please give the system a few minutes to download and convert the video into an audio file. </p>
<p>Press "play" after putting your key change in the box.</p>
<p>Also, please only use the audio controls in the left box.</p>
<p>This site uses cookies to keep track of your previous searches.</p>
</div>
<div class="mainContentWrapper">
<table style="width:70%" align="center">
<tr><td>
<div id="inputArea">
<div id="label">
Enter your Youtube link here:
</div>
<div>
<input type="url" id="youtubeLinkBox">
<button type="button" id="linkbox" onclick="loadVideo()">Submit</button>
</div>
<div id="label">
or upload a file here:
</div>
<div>
<input type="file">
</div>
</div></td>
<td>
<div id = "selectionRadioWrapper">
<div id="semitonesWrapper">
Shift up/down by <input type="textbox" id="semitonesBox" size="3"> semitones / halfsteps
</div>
</div>
<td>
<div id="calculatorWrapper">
<table><tr><th>Semitone calculator</th></tr>
<tr><td>Original Key:</td>
<td>Desired Key:</td>
<td><button id="calculatorButton">Calculate</button></td></tr>
<tr><td><select id="origKey">
<!--options will go here-->
</select>
</td>
<td><select id="desKey">
<!--options will go here-->
</select>
</td>
<td><input type="textbox" id="calcResult" size=7></td></tr>
</table>
<div id="calcError">Please select both keys.</div>
</div>
</td>
</tr>
<tr>
<td>
audio controls will go here
<pre id="log"></pre>
</td>
<td><div id="player">
<!--iframe and player will replace this div.-->
Embedded Youtube video will go here.
</div></td>
</tr>
</table>
</div>
<div id="referencesContainer">
<div id="chartTitle"><h3>Semitone (half-step) Transposition Chart</h3></div>
<button id="showHideChart" onclick="showHideChart()">Show/Hide</button>
<div id="transpositionChart">
<!--gets created in js-->
</div>
</div>
</body>
</html>