-
Notifications
You must be signed in to change notification settings - Fork 23
/
index.html
230 lines (198 loc) · 8.47 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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
<!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="utf-8">
<title>108</title>
<script>
document.getElementsByTagName( 'html' )[0].className += ' js';
document.getElementsByTagName( 'html' )[0].className = document.getElementsByTagName( 'html' )[0].className.replace( 'no-js', '' );
</script>
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
<meta name="description" content="A minimal beat machine played in the browser.">
<!-- CSS -->
<link type="text/css" rel="stylesheet" href="dist/fonts/lab-mono.css">
<link type="text/css" rel="stylesheet" href="dist/css/108.css?20180226">
<!-- FAVICON madness -->
<link rel="apple-touch-icon" sizes="57x57" href="dist/meta/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="dist/meta/apple-touch-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="dist/meta/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="dist/meta/apple-touch-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="dist/meta/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="dist/meta/apple-touch-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="dist/meta/apple-touch-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="dist/meta/apple-touch-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="dist/meta/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="dist/meta/favicon-32x32.png--blank" sizes="32x32">
<link rel="icon" type="image/png" href="dist/meta/android-chrome-192x192.png" sizes="192x192">
<link rel="icon" type="image/png" href="dist/meta/favicon-96x96--blank.png" sizes="96x96">
<link rel="icon" type="image/png" href="dist/meta/favicon-16x16--blank.png" sizes="16x16">
<link rel="manifest" href="dist/meta/manifest.json">
<link rel="mask-icon" href="dist/meta/safari-pinned-tab.svg" color="#252529">
<meta name="msapplication-TileColor" content="#252529">
<meta name="msapplication-TileImage" content="dist/meta/mstile-144x144.png">
<meta name="msapplication-config" content="dist/meta/browserconfig.xml">
<meta name="theme-color" content="#252529">
<!-- FACEBOOK meta -->
<meta property="og:site_name" content="108">
<meta property="og:description" content="A minimal beat machine played in the browser.">
<meta property="og:type" content="website">
<meta property="og:image" content="dist/meta/facebook.png">
<!-- TWITTER meta -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="http://martinwecke.de/108">
<meta name="twitter:title" content="108">
<meta name="twitter:description" content="A minimal beat machine played in the browser.">
<meta name="twitter:image" content="http://martinwecke.de/108/dist/meta/facebook.png">
<meta name="twitter:creator" content="@martinwecke">
<!-- JS -->
<script type="text/javascript" src="dist/js/dependencies.min.js?20180226"></script>
<script type="text/javascript" src="src/js/debug.js?20180226"></script>
<script type="text/javascript" src="src/js/viewport.js?20180226"></script>
<script type="text/javascript" src="src/js/sequencer.js?20180227"></script>
<script type="text/javascript" src="src/js/timeline.js?20180226"></script>
<script type="text/javascript" src="src/js/ui.js?20180226"></script>
<script type="text/javascript" src="src/js/url.js?20180226"></script>
<script type="text/javascript" src="src/js/intro.js?20180226"></script>
<script type="text/javascript" src="src/js/title.js?20180226"></script>
<script type="text/javascript" src="src/js/history.js?20180226"></script>
<script type="text/javascript" src="src/js/recorder.js?20180226"></script>
<!-- PIWIK -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(['setDomains', ['*.martinwecke.de','*.2016.martinwecke.de']]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
( function() {
var u='//stats.hatsumatsu.de/';
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 7]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
} )();
</script>
<noscript>
<img src="//stats.hatsumatsu.de/piwik.php?idsite=7" style="border:0;" alt="">
</noscript>
<!-- / PIWIK -->
</head>
<body id="body">
<!-- TITLE -->
<h1>
108
</h1>
<!-- TIMELINE -->
<div class="timeline-wrapper">
</div>
<!-- CONTROLS -->
<div class="ui--controls">
<div class="button-row">
<a href="#" class="ui-toggle ui-toggle--controls" title="Toggle controls">
ctrl
</a>
<a href="#" class="control-button" data-sample="0" data-key="c" title="Play sample">
C
</a>
<a href="#" class="control-button" data-sample="1" data-key="v" title="Play sample">
V
</a>
<a href="#" class="control-button" data-sample="2" data-key="b" title="Play sample">
B
</a>
<a href="#" class="control-button" data-sample="3" data-key="n" title="Play sample">
N
</a>
<a href="#" class="control-button" data-sample="4" data-key="m" title="Play sample">
M
</a>
<a href="#" class="control-button control-button--narrow control-button--no-feedback" data-key="z" data-action="undo" title="undo">
Z
</a>
<a href="#" class="control-button control-button--narrow control-button--no-feedback" data-key="space" data-action="play" title="play / pause">
_
</a>
<a href="#" class="control-button control-button--narrow control-button--no-feedback" data-key="q" data-action="clear" title="Clear loop">
X
</a>
<a href="#" class="control-button control-button--narrow control-button--no-feedback" data-key="r" data-action="record" title="Record audio">
R
</a>
<a href="#" class="control-button control-button--narrow control-button--no-feedback" data-key="shift" data-action="metronome" title="Toggle metronome">
/
</a>
</div>
</div>
<!-- UI SHARE -->
<div class="ui--share" data-modal="share">
<a href="#" class="ui-toggle ui-toggle--share" data-modal-action="toggle">
share
</a>
<div class="ui-modal ui-modal--share" id="share">
<a href="#" class="ui-modal-close ui-modal-close--share" data-modal-action="toggle">
x
</a>
<div class="ui-modal-content">
<p>
Share your beat:
</p>
<p>
<a href="#" class="share-link" data-service="facebook">
@Facebook
</a>
</p>
<p>
<a href="#" class="share-link" data-service="twitter">
@Twitter
</a>
</p>
<div class="share-url">
<input type="text" class="share-url-input" id="share-url-input">
<a href="#" class="share-url-button" data-clipboard-target="#share-url-input">
copy
</a>
</div>
</div>
</div>
</div>
<!-- UI INFO -->
<div class="ui--info" data-modal="info">
<a href="#" class="ui-toggle ui-toggle--info" data-modal-action="toggle">
info
</a>
<div class="ui-modal ui-modal--info" id="info">
<a href="#" class="ui-modal-close ui-modal-close--info" data-modal-action="toggle">
x
</a>
<div class="ui-modal-content">
<p>
<a href="http://martinwecke.de/108">108</a> is a minimal beat machine in the browser.
</p>
<p>
Use the <span class="key">C</span> <span class="key">V</span> <span class="key">B</span> <span class="key">N</span> <span class="key">M</span> keys on your keyboard to play samples. <span class="key">Z</span> removes the previously added note, <span class="key">x</span> clears the sequence and <span class="key">space</span> starts/stops playback. <span class="key">Shift</span> toggles a metronome in case you need one.
</p>
<p>
108 is built by <a href="http://martinwecke.de" target="_blank">Martin Wecke</a>. Find out <a href="https://github.com/hatsumatsu/108" target="_blank">how it works</a>.
</p>
<div class="modal-actions modal-actions--info">
<a href="#" class="button" data-modal-action="toggle" data-sequencer-role="buttonStart">
Start!
</a>
</div>
</div>
</div>
</div>
<!-- INTRO -->
<div class="intro">
<span class="intro-title">
108
</span>
</div>
<!-- NO JS MESSAGE -->
<noscript>
<div class="ui-modal ui-modal--nojs visible">
<div class="ui-modal-content">
No Javascript, no music...
</div>
</div>
</noscript>
</body>
</html>