-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
100 lines (90 loc) · 3.53 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Fun with Bitwise Noise</title>
<link rel="stylesheet" href="reveal.js/css/reveal.css">
<link rel="stylesheet" href="reveal.js/css/theme/sky.css">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="reveal.js/lib/css/zenburn.css">
<style>
.flat-button {
position: relative;
vertical-align: top;
width: 100%;
height: 60px;
padding: 0;
font-size: 22px;
color:white;
text-align: center;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
background: #454545;
border: 0;
border-bottom: 2px solid #2f2e2e;
cursor: pointer;
-webkit-box-shadow: inset 0 -2px #2f2e2e;
box-shadow: inset 0 -2px #2f2e2e;
}
</style>
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'reveal.js/css/print/pdf.css' : 'reveal.js/css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
</head>
<body>
<div class="reveal">
<div class="slides">
<section data-markdown="md_slides/slide0.md" ></section>
<section data-markdown="md_slides/slide1.md" ></section>
<section data-markdown="md_slides/slide2.md" ></section>
<section data-markdown="md_slides/slide3.md" ></section>
<section data-markdown="md_slides/slide4.md" ></section>
<section data-markdown="md_slides/slide5.md" ></section>
<section data-markdown="md_slides/slide6.md" ></section>
<section data-markdown="md_slides/slide7.md" ></section>
<section data-markdown="md_slides/slide8.md" ></section>
<section data-markdown="md_slides/slide9.md" ></section>
<section data-markdown="md_slides/slide10.md" ></section>
<section>
<h3>Audio Example #2</h3>
<pre><code>(t*(t>>5|t>>8))>>(t>>16)</code></pre>
<button class="flat-button" id="playBtn1">MAKE SOME NOISE</button>
</section>
<section data-markdown="md_slides/slide11.md" ></section>
<section data-markdown="md_slides/slide12.md" ></section>
<section data-markdown="md_slides/slide13.md" ></section>
<section data-markdown="md_slides/slide14.md" ></section>
<section>
<h3>Audio Example #3</h3>
<pre><code>((t*("36364689"[t>>13&7]&15))/12&128)+(((((t>>12)^(t>>12)-2)%11*t)/4|t>>13)&127)</code></pre>
<button class="flat-button" id="playBtn2">MAKE SOME NOISE</button>
</section>
<section>
<h3>Thank you</h3>
<img src="files/skeletor.gif"/>
</section>
<section data-markdown="md_slides/slide15.md" ></section>
</div>
</div>
<script src="reveal.js/lib/js/head.min.js"></script>
<script src="reveal.js/js/reveal.js"></script>
<script>
Reveal.initialize({
history: true,
dependencies: [
{ src: 'reveal.js/plugin/markdown/marked.js' },
{ src: 'reveal.js/plugin/markdown/markdown.js' },
{ src: 'reveal.js/plugin/notes/notes.js', async: true },
{ src: 'reveal.js/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } }
]
});
</script>
<script src="jsdemos/audioBufferDemo.js"></script>
<script src="jsdemos/audioBufferStream.js"></script>
</body>
</html>