-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·148 lines (134 loc) · 6.21 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
<html>
<head>
<meta charset="UTF-8">
<title>Timbral Searching</title>
<link rel="stylesheet" type="text/css" href="all.css">
<link href='https://fonts.googleapis.com/css?family=Roboto:300,500' rel='stylesheet' type='text/css'>
</head>
<body onload="start();">
<canvas></canvas>
<div id="query_box" class="box">
<form id="query-form" class="query-form">
<!--<input id="query_terms_input" type="text" placeholder="BlogPostDemo.json">-->
<!--<input type="submit" id="go_button" value="Go!">-->
<p>Select x-axis attribute</p>
<select id="x_axis_map_descriptors_selector" onchange="start()">
<option value="timbre.brightness">Brightness</option>
<option value="timbre.hardness">Hardness</option>
<option value="timbre.depth">Depth</option>
<option value="timbre.roughness">Roughness</option>
<option value="timbre.warmth">Warmth</option>
<option value="timbre.sharpness">Sharpness</option>
<option value="timbre.boominess">Boominess</option>
</select>
<p><br>Select y-axis attribute</p>
<select id="y_axis_map_descriptors_selector" onchange="start()">
<option value="timbre.brightness">Brightness</option>
<option value="timbre.hardness">Hardness</option>
<option value="timbre.depth">Depth</option>
<option value="timbre.roughness">Roughness</option>
<option value="timbre.warmth">Warmth</option>
<option value="timbre.sharpness">Sharpness</option>
<option value="timbre.boominess">Boominess</option>
</select>
<p><br>Select source to display</p>
<select id="source_selector" onchange="start()">
<option value="all">- Show all sources</option>
<!-- sfx -->
<option value="-bang-doorclose-explosion-boom-footsteps-impact-knock-punch-rumble-slap-swoosh-tap-thud-thump-whoosh">- Sound effects</option>
<option value="bang">Bang</option>
<option value="doorclose">Door closing</option>
<option value="explosion">Explosion</option>
<option value="boom">Boom</option>
<option value="footsteps">Footsteps</option>
<option value="impact">Impact</option>
<option value="knock">Knock</option>
<option value="punch">Punch</option>
<option value="rumble">Rumble</option>
<option value="slap">Slap</option>
<option value="swoosh">Swoosh</option>
<option value="tap">Tap</option>
<option value="thud">Thud</option>
<option value="thump">Thump</option>
<option value="whoosh">Whoosh</option>
<!-- percussion-->
<option value="-beat-click-drum-hit-kick-snare">- Percussion</option>
<option value="beat">Beat</option>
<option value="click">Click</option>
<option value="drum">Drums</option>
<option value="hit">Hit</option>
<option value="kick">Kick</option>
<option value="snare">Snare</option>
<!-- electronic-->
<option value="-ambience-atmosphere-beep-pad-synth-tone">- Electronic</option>
<option value="ambience">Ambience</option>
<option value="atmosphere">Atmosphere</option>
<option value="beep">Beep</option>
<option value="pad">Pad</option>
<option value="synth">Synth</option>
<option value="tone">Tone</option>
<!-- environmental -->
<option value="-breeze-rain-thunder-wind">- Environment</option>
<option value="breeze">Breeze</option>
<option value="rain">Rain</option>
<option value="thunder">Thunder</option>
<option value="wind">Wind</option>
<!-- instruments -->
<option value="-bass-bell-chime-gong-guitar-horn-piano">- Instruments</option>
<option value="bass">Bass</option>
<option value="bell">Bell</option>
<option value="chime">Chime</option>
<option value="gong">Gong</option>
<option value="guitar">Guitar</option>
<option value="horn">Horn</option>
<option value="piano">Piano</option>
<!-- human noises -->
<option value="-breathing-crying-laugh-scream-talking-voice">-Human sounds</option>
<option value="breathing">Breathing</option>
<option value="crying">Crying</option>
<option value="laugh">Laugh</option>
<option value="scream">Scream</option>
<option value="talking">Talking</option>
<option value="voice">Voice</option>
<!-- misc -->
<option value="-chord-drone-drone-hum-music-noise-sound">- Miscellaneous</option>
<option value="chord">Chord</option>
<option value="drone">Drone</option>
<option value="hum">Hum</option>
<option value="music">Music</option>
<option value="noise">Noise</option>
<option value="sound">Sound</option>
<!--<option value="xy&timbre.hardness&timbre.depth">Hardness + Depth</option>-->
<!--<option value="tsne&lowlevel.mfcc.mean">MFCC (similarity)</option>-->
</select>
<p><br>Select reverberant stimuli</p>
<select id="reverb_selector" onchange="start()">
<option value="all">Show all sounds</option>
<option value="2:H">Reverberant sounds only</option>
<option value="1:L">Non-reverberant sounds only</option>
</select>
</form>
<div id="info_placeholder"></div>
</div>
<div id="instructions_box" class="box">
Click on points to listen to sounds<br>
Click + drag to navigate the map<br>
Scroll wheel to zoom<br>
</div>
<div id="x_axis_box" class="box">
</div>
<div id="y_axis_box" class="box">
</div>
<div id="sound_info_box" class="box">
</div>
<div id="logo_box" class="box">
TIMBRAL EXPLORER <!--SOUND MAP VISUALIZER-->
</div>
<!-- javascript loading must be at the end -->
<script src="inputevents.js"></script>
<script src="audioengine.js"></script>
<script src="tsne.js"></script>
<script src="utils.js"></script>
<script src="all.js"></script>
</body>
</html>