-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
123 lines (102 loc) · 4.92 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Latest compiled and minified CSS -->
<!-- <link href="https://fonts.googleapis.com/css?family=Roboto:100,300" rel="stylesheet"> -->
<link href="resources/public/css/main.min.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="jumbotron">
<h1>The Rhythm of Time</h1>
</div>
</div> <!-- /col-xs-12 -->
</div> <!-- /row -->
<div class="sequencer-row sliding-effect" id="sequencer-row">
<div class="sequencer-xs12-sm4 sequencer-col">
<div class="controls mobile-audio">
<p>This experience requires sound</p>
<p>Silent?</p>
<button id="sound">Press for Audio</button>
</div>
<canvas id="sequencer"></canvas>
<div class="controls">
<table class="table">
<!-- <caption>Optional table caption.</caption> -->
<tbody>
<tr>
<th scope="row">Melody</th>
<td><button class="btn btn-default btn-small" id="melody-i">I</button></td>
<td><button class="btn btn-default btn-small" id="melody-ii">II</button></td></tr>
<tr>
<th scope="row">Timbre</th>
<td><button class="btn btn-default btn-small" id="timbre-a">A</button></td>
<td><button class="btn btn-default btn-small" id="timbre-b">B</button></td></tr>
</tbody>
</table>
</div>
<div class="controls">
<div class="flex-container">
<button onclick="startSketch();" class="btn btn-default">Start</button>
<button onclick="stopSketch();" class="btn btn-default">Stop</button>
<button onclick="resetSequencer();" class="btn btn-default">Reset</button>
</div>
</div>
<div class="tempo-box controls">
<p><small>Tempo 1</small></p>
<input autocomplete="off" id="tempo-trk1" type="range" min="1" max="120" step="1">
<br />
<p><small>Tempo 2</small></p>
<input autocomplete="off" id="tempo-trk2" type="range" min="1" max="120" step="1">
<hr />
<p>Volume</p><br />
<input autocomplete="off" id="volume" type="range" min="0.0" max="1.0" step="0.05" value="0.15">
</div>
</div> <!-- /col -->
<div class="text-col-xs12-sm4">
<div class="text-col">
<p>Like the electronic music sequencer, the narrative threads of our life run in parallel. Sometimes these threads are in sync and everything falls into place, other times they clash in a dissonant racket.</p>
<p>The notes of our past repeat indefinitely into the future.</p><br />
<button id="film-button" class="btn btn-default" name="sequencer" type="button" onclick="turnPage();">Turn the Page >></button>
</div>
</div> <!-- /col -->
</div> <!-- /row -->
<div class="row" id="back-to-sequencer" style="display: none;">
<div class="turn-back-col-sm8">
<p>The notes of our past repeat indefinitely into the future.</p>
</div> <!-- /turn-back-col-sm8 -->
<div class="turn-back-col-sm4-xs12">
<button id="film-button" class="btn btn-default" name="sequencer" type="button" onclick="turnBack();"><< Back to the Sequencer</button>
</div> <!-- /turn-back-col-sm4-xs12 -->
</div> <!-- /row -->
<hr />
<div class="row">
<div class="col-xs-12">
<div id="movie" class="embed-responsive embed-responsive-16by9">
<iframe src="https://player.vimeo.com/video/168568883?title=0&byline=0&portrait=0" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
</div>
</div> <!-- /col-xs-12 -->
</div> <!-- /row -->
</div> <!-- /container -->
<footer>
<div class="container">
<div class="row">
<div class="footer-social-col8-12">
<span class="socialIcons" id="logoContainer">
<a href="http://www.schmud.de" target="_blank" class="popupShare">Author: D. Schmüdde</a>
</span>
</div> <!-- /column -->
<div class="footer-clojure-col4 small-title">
<img src="resources/public/img/clojure.png" alt="Clojure Logo" /> <small>Made With ClojureScript</small>
</div> <!-- /column -->
</div> <!-- /row -->
</div> <!-- /container -->
</footer>
<script src="resources/public/js/interactions.js" type="text/javascript"></script>
<script src="resources/public/js/compiled/rhythm_of_time.js" type="text/javascript"></script>
</body>
</html>