-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
155 lines (142 loc) · 3.93 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!DOCTYPE html>
<html>
<head>
<title>Jazzify</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/main.css">
<script src="js/jquery-3.1.1.js"></script>
<script src="js/p5.min.js"></script>
<script src="js/p5.sound.js"></script>
<script src="js/functions.js"></script>
<script src="js/load.js"></script>
<script src="js/Tone.js"></script>
<script src="js/playChords.js"></script>
<script src="js/account_functions.js"></script>
</head>
<body>
<div id="page">
<div>
<div id="titleBox" class="startTitle" class="center">
</div>
</div>
<div id="startMsg" class="invisible">
<p>
Scroll to start
</p>
<img id="scrollPic" src="https://png.icons8.com/metro/1600/circled-up-2.png">
</div>
<div id="songEditor" class="invisible">
<div id="microphoneBox">
<p id="amRecording">Click to record</p>
<img id="mic" src="https://png.icons8.com/metro/1600/microphone.png">
</div>
<div id="selectJazz">
<p>
Standard
</p>
<input type="radio" id="standard" checked="checked" name="jazzlevel">
<p>
Jazzy
</p>
<input type="radio" id="jazzy" name="jazzlevel">
<p>
Random
</p>
<input type="radio" id="random" name="jazzlevel">
</div>
<div id="login" class="loginBox">
<p>
Username
</p>
<input type="text" name="username" id="username"><br>
<p>
Password
</p>
<input type="password" name="password" id="password"><br>
<p id="loginUser" class="knob">
Login
</p>
<p class="knob back">
Back
</p>
</div>
<div id="newAccount" class="loginBox">
<p>
Username
</p>
<input type="text" name="newUsername" id="newUsername"><br>
<p>
Password
</p>
<input type="password" name="newPassword" id="newPassword"><br>
<p id="createAccount" class="knob">
Create Account
</p>
<p class="knob back">
Back
</p>
</div>
<div id="accountOptions" class="loginBox">
<p id="createYourAccount" class="knob">Create Account</p>
<p id="showLogin" class="knob">Log In</p>
</div>
<div id="userSongs" class="loginBox">
<div id="oldSongs" class="loginBox">
</div>
<div id="currentSong" class="loginBox">
<p>
Song Name
</p>
<input type="text" name="songName" id="songName"><br>
<p id="saveSong" class="knob">
Save Song
</p>
<p id="logOut" class="knob">
Log Out
</p>
</div>
</div>
<div id="noteEditor">
<div id="currNote">
<p>Chord</p>
<div id="freqBox">
<p id="noteFreq"></p>
</div>
<div>
<label>
<input type="radio" id="major" name="majormin" checked="checked">
<span class="mm"> Major </span>
</label>
<br>
<label>
<input type="radio" id="minor" name="majormin">
<span class="mm"> Minor </span>
</label>
</div>
<input type="range" min="0" max="10" value="5" id="noteSelector" class="slider">
<div id="selectTone">
<p>Tone</p>
<img class="instrument" id="instpic" src="http://www.freepngimg.com/thumb/piano/8-2-piano-picture-thumb.png">
</div>
</div>
</div>
<div id="recordBox">
<script src='js/record.js'></script>
</div>
</div>
</div>
<!-- The Modal -->
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<p id="soundGood">Sound good?</p>
<audio id="myAudio" controls>
Your browser does not support the audio element.
</audio>
<button id="generate">Generate accompaniment</button>
<button id="cancel">Record again</button>
</div>
</div>
</body>
</html>