-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
67 lines (54 loc) · 2.63 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
<!DOCTYPE html>
<html>
<head>
<link href="http://fonts.googleapis.com/css?family=Droid+Sans+Mono:regular" rel="stylesheet" type="text/css" >
<link rel=StyleSheet href="morningstar.css" type="text/css" media=screen>
<title>Morning Star Synth</title>
<link rel="icon" href="favicon.ico" type="image/x-icon">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="http://github.com/notmasteryet/audiodata/raw/master/audiodata.js"></script>
<script type="text/javascript" src="https://raw.github.com/corbanbrook/dsp.js/master/dsp.js"></script>
<script type="text/javascript" src="../KievII/third_part/EightMedia-hammer.js/hammer.js"></script>
<script type="text/javascript" src="../KievII/kievII.js"></script>
<script type="text/javascript" src="audio/ndprocess.js"></script>
<script type="text/javascript" src="audio/ADNonDescript.js"></script>
<script type="text/javascript" src="audio/WAAMorningStar.js"></script>
<script type="text/javascript" src="morningstar.js"></script>
</head>
<body>
<div ID="div-message">
<p id ="message"></p>
</div>
<div ID="info-message">
<p>Morning Start Synth. Made with <a href="http://kievii.net" target="_blank">KievII</a>. Info / docs <a href="http://blog-placeholder" target="_blank">here</a>. Follow the author on <a href="https://twitter.com/#!/janesconference" target="_blank">Twitter</a>.</p>
</div>
<!-- <div ID="center_div" class="shadow">-->
<div ID="center_div">
<canvas id="plugin" width="920" height="570"></canvas>
</div>
<script type="text/javascript">
// This should fix "console not defined" problem.
if(typeof console === "undefined") {
console = { log: function() { } };
}
// Function.prototype.bind polyfill
if ( !Function.prototype.bind ) {
Function.prototype.bind = function( obj ) {
if(typeof this !== 'function') // closest thing possible to the ECMAScript 5 internal IsCallable function
throw new TypeError('Function.prototype.bind - what is trying to be bound is not callable');
var slice = [].slice,
args = slice.call(arguments, 1),
self = this,
nop = function () {},
bound = function () {
return self.apply( this instanceof nop ? this : ( obj || {} ),
args.concat( slice.call(arguments) ) );
};
bound.prototype = this.prototype;
return bound;
};
}
MORNINGSTAR.init();
</script>
</body>
</html>